/* =====================================================
   CAFE BASHO 1922 × OSHIMA DONUTS 伊賀上野店
   ===================================================== */

:root {
  --c-bg:        #f4efe6;
  --c-bg-deep:   #ece4d3;
  --c-paper:     #faf6ee;
  --c-ink:       #2b2320;
  --c-ink-soft:  #524640;
  --c-accent:    #8a6a3a;
  --c-accent-d:  #6b4f25;
  --c-line:      #d7ccb6;
  --c-gold:      #b68b4c;

  --f-serif-en:  'Cormorant Garamond', 'Noto Serif JP', serif;
  --f-serif-jp:  'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', '游明朝', serif;
  --f-body:      'Noto Serif JP', 'Shippori Mincho', 'Hiragino Mincho ProN', serif;

  --max:         1200px;
  --gutter:      clamp(20px, 5vw, 60px);
  --section-pad: clamp(80px, 10vw, 140px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.9;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .3s, color .3s; }
a:hover { opacity: .7; }

[hidden] { display: none !important; }

.sp-only { display: none; }
@media (max-width: 640px) {
  .sp-only { display: inline; }
}

/* =====================================================
   INTRO SPLASH
   ===================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 22, 16, 0.55), rgba(30, 22, 16, 0.7)),
    url('../images/top-1.jpeg') center/cover no-repeat;
  filter: saturate(.85);
  animation: introZoom 12s ease-out forwards;
}
@keyframes introZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0);  }
}
.intro__inner {
  position: relative;
  text-align: center;
  color: #f4ead4;
  padding: 0 var(--gutter);
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Without the illustration, a small upward shift places the optical
     centre at the upper golden section (~38.2% from top). */
  margin-top: -4vh;
  z-index: 2;
}
/* Two hairlines bookend the typography. Widths follow the φ scale
   (55 above / 89 below) so the lower edge feels slightly heavier,
   settling the composition without needing a graphic counterweight. */
.intro__inner::before,
.intro__inner::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--c-gold);
  opacity: .55;
}
.intro__inner::before { width: 55px; margin: 0 auto 34px; }
.intro__inner::after  { width: 89px; margin: 34px auto 0;  opacity: .35; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Staggered fade-in for splash text (after illustration draws) */
.intro__since      { opacity: 0; animation: fadeUp .9s ease 2.2s forwards; }
.intro__logo       { opacity: 0; animation: fadeUp .9s ease 2.5s forwards; }
.intro__lead       { opacity: 0; animation: fadeUp .9s ease 2.9s forwards; }
.intro__enter      { opacity: 0; animation: fadeUp .9s ease 3.3s forwards; }

/* =====================================================
   INTRO ILLUSTRATION — hand-drawn BASHO character,
   progressively "inked" from top to bottom on load
   ===================================================== */
/* Illustration hidden — typography carries the composition on its own. */
.intro__illust { display: none; }
.intro__illust img {
  display: block;
  width: 100%;
  height: auto;
  /* SVG filter: strips the white JPEG background to true transparency
     and recolors the black lines to warm gold in one pass. */
  filter: url(#bashoInk);
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to bottom,
      #000 45%,
      rgba(0,0,0,.55) 50%,
      transparent 56%);
          mask-image:
    linear-gradient(to bottom,
      #000 45%,
      rgba(0,0,0,.55) 50%,
      transparent 56%);
  -webkit-mask-size: 100% 220%;
          mask-size: 100% 220%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 0 100%;
          mask-position: 0 100%;
  animation: inkDraw 2.6s cubic-bezier(.55,.08,.35,1) .3s forwards;
}
/* Pen-tip highlight removed — the user prefers a clean, non-glowing look */
.intro__illust-tip { display: none; }

@keyframes inkDraw {
  from { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
  to   { -webkit-mask-position: 0   0%; mask-position: 0   0%; }
}
@keyframes inkTip {
  0%   { opacity: 0;  transform: translateY(0%); }
  8%   { opacity: .9; }
  92%  { opacity: .9; }
  100% { opacity: 0;  transform: translateY(100%); }
}
/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .intro__illust img { animation: none; -webkit-mask-image: none; mask-image: none; }
  .intro__illust-tip { display: none; }
}
.intro__since {
  font-family: var(--f-serif-en);
  letter-spacing: .8em;
  font-size: 13px;
  opacity: .75;
  margin-bottom: 21px;
  /* Kerning pulls the right edge in so the block reads optically centred */
  text-indent: .8em;
}
.intro__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* φ-based vertical rhythm: 13px ≈ 21 / φ, keeps text block tight */
  gap: 13px;
  font-weight: 400;
  line-height: 1.15;
}
/* Display pair — "CAFE BASHO" and "1922" share the same scale */
.intro__logo-main,
.intro__logo-year {
  font-family: var(--f-serif-en);
  font-size: clamp(40px, 5.2vw, 56px);
  letter-spacing: .12em;
}
.intro__logo-year {
  /* Lining + tabular figures so 1922 sits at cap-height with the letters */
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}
/* Secondary pair — sized at roughly 1/φ² of the display size */
.intro__logo-sub,
.intro__logo-branch {
  font-family: var(--f-serif-en);
  font-size: clamp(12px, 1.35vw, 14px);
  letter-spacing: .42em;
  opacity: .9;
}
.intro__logo-branch {
  font-family: var(--f-serif-jp);
  letter-spacing: .5em;
}
/* "×" — sits at roughly 1/φ of the display size, matches logo colour */
.intro__logo-x {
  font-family: var(--f-serif-en);
  font-size: clamp(22px, 2.8vw, 32px);
  opacity: .85;
  line-height: 1;
}
/* Shared row wrapper: single baseline, centered, wraps on narrow screens */
.intro__logo-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  /* Gaps sized in the φ scale: 34px between display words, 21px for sub row */
  gap: 0 34px;
}
.intro__logo-row--bottom { gap: 0 21px; }
.intro__lead {
  margin-top: 55px;        /* φ-scale step: 34 × φ ≈ 55 */
  font-family: var(--f-serif-jp);
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: .3em;
  line-height: 2.4;
  opacity: .82;
}
.intro__enter {
  margin-top: 89px;        /* next φ-scale step: 55 × φ ≈ 89 */
  padding: 17px 55px;      /* 55 = φ-step; 17 keeps it slender */
  background: transparent;
  border: 1px solid rgba(244, 234, 212, 0.5);
  color: #f4ead4;
  font-family: var(--f-serif-en);
  font-size: 12px;
  letter-spacing: .55em;
  cursor: pointer;
  position: relative;
  transition: all .4s ease;
}
.intro__enter::before,
.intro__enter::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 21px;             /* φ-scale small unit */
  height: 1px;
  background: rgba(244, 234, 212, 0.5);
  transition: width .4s ease, background .4s ease;
}
.intro__enter::before { right: 100%; margin-right: 13px; }
.intro__enter::after  { left:  100%; margin-left:  13px; }
.intro__enter:hover {
  background: rgba(244, 234, 212, 0.92);
  color: #2b2320;
  letter-spacing: .7em;
  border-color: rgba(244, 234, 212, 0.92);
}
.intro__enter:hover::before,
.intro__enter:hover::after { width: 34px; }
.intro__enter span { display: inline-block; padding-left: .55em; /* optically centre wide-letter-spacing text */ }

/* =====================================================
   SIDE NAVIGATION (fixed to right edge, vertical)
   ===================================================== */
.side-nav {
  position: fixed;
  top: 50%;
  right: clamp(16px, 2.4vw, 36px);
  transform: translateY(-50%);
  z-index: 90;
}
.side-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.side-nav__list a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 0 8px 24px;
  position: relative;
  transition: color .35s ease, padding-right .4s ease;
  color: var(--c-ink-soft);
}
.side-nav__list a em {
  font-family: var(--f-serif-en);
  font-size: 12px;
  letter-spacing: .32em;
  font-style: normal;
  line-height: 1;
}
.side-nav__list a span {
  font-family: var(--f-serif-jp);
  font-size: 10px;
  letter-spacing: .2em;
  opacity: .7;
  line-height: 1;
}
/* Active marker — thin line that extends from the text leftward */
.side-nav__list a::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  margin-right: 10px;
  transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.side-nav__list a:hover,
.side-nav__list a.is-active {
  color: var(--c-accent-d);
  opacity: 1;
}
.side-nav__list a:hover::before,
.side-nav__list a.is-active::before {
  width: 32px;
}
.side-nav__list a.is-active em {
  color: var(--c-accent-d);
}

/* On the dark TOP hero, invert the colors */
body[data-page="top"] .side-nav__list a {
  color: rgba(244, 234, 212, 0.72);
}
body[data-page="top"] .side-nav__list a:hover,
body[data-page="top"] .side-nav__list a.is-active,
body[data-page="top"] .side-nav__list a.is-active em {
  color: #f4ead4;
}

/* Mobile hamburger toggle (top-right) */
.side-nav__toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: clamp(16px, 3vw, 28px);
  width: 40px; height: 40px;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(215, 204, 182, 0.7);
  cursor: pointer;
  z-index: 110;
}
.side-nav__toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1px;
  background: var(--c-ink);
  transition: transform .3s, opacity .3s, top .3s;
}
.side-nav__toggle span:nth-child(1) { top: 13px; }
.side-nav__toggle span:nth-child(2) { top: 19px; }
.side-nav__toggle span:nth-child(3) { top: 25px; }
.side-nav__toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.side-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.side-nav__toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .side-nav__toggle { display: block; }

  .side-nav {
    position: fixed;
    inset: 0;
    top: 0; right: 0; left: auto; bottom: 0;
    width: min(82vw, 340px);
    background: var(--c-paper);
    padding: 100px 40px 40px;
    transform: translate(100%, 0);
    transition: transform .45s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,0.1);
  }
  .side-nav.is-open { transform: translate(0, 0); }
  .side-nav__list { gap: 20px; text-align: left; }
  .side-nav__list a {
    align-items: flex-start;
    padding: 10px 0;
  }
  .side-nav__list a em { font-size: 15px; }
  .side-nav__list a span { font-size: 11px; }
  .side-nav__list a::before {
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: 10px;
  }
  body[data-page="top"] .side-nav__list a { color: var(--c-ink-soft); }
  body[data-page="top"] .side-nav__list a:hover,
  body[data-page="top"] .side-nav__list a.is-active { color: var(--c-accent-d); }
}

/* =====================================================
   VIEWS (independent pages)
   ===================================================== */
main {
  padding-top: 0;
  padding-right: clamp(60px, 8vw, 140px); /* breathing room for side nav */
}
@media (max-width: 880px) {
  main { padding-right: 0; }
}

/* Views — TOP is locked to viewport, others flow naturally and scroll if needed */
.view {
  display: none;
  padding: clamp(40px, 6vh, 70px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
}
.view.is-active {
  display: flex;
}
/* TOP only: hard-locked to one viewport, no scroll */
.view--top {
  padding: 0;
  max-width: none;
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  justify-content: stretch;
}
.view--top.is-active { display: block; }

.view__head--compact { margin-bottom: clamp(20px, 3vh, 36px); }
.view__head--compact .view__title { font-size: clamp(18px, 2.4vw, 26px); }
.view__head--compact .view__title::after { margin-top: 18px; }

/* Page entry animation — content rises & fades up */
.view.is-active > * {
  opacity: 0;
  transform: translateY(28px);
  animation: pageEnter .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.view.is-active > *:nth-child(1) { animation-delay: .15s; }
.view.is-active > *:nth-child(2) { animation-delay: .28s; }
.view.is-active > *:nth-child(3) { animation-delay: .41s; }
.view.is-active > *:nth-child(4) { animation-delay: .54s; }
.view.is-active > *:nth-child(5) { animation-delay: .67s; }
.view.is-active > *:nth-child(6) { animation-delay: .80s; }

@keyframes pageEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TOP view has hero full-bleed; skip translateY on hero to avoid jump */
.view--top.is-active > .top__hero {
  opacity: 0;
  transform: none;
  animation: fadeOnly 1.1s ease .3s forwards;
}
@keyframes fadeOnly { to { opacity: 1; } }

.view__head {
  text-align: center;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.view__kicker {
  font-family: var(--f-serif-en);
  letter-spacing: .5em;
  font-size: 12px;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.view__title {
  font-family: var(--f-serif-jp);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: .15em;
  line-height: 1.6;
  color: var(--c-ink);
}
.view__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--c-accent);
  margin: 16px auto 0;
}

/* "Cafe Menu" English-style title */
.view__title--cafe {
  font-family: var(--f-serif-en);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: .12em;
  text-indent: .12em;
  font-weight: 400;
  color: var(--c-ink);
  font-style: italic;
}
.view__head--compact .view__title--cafe {
  font-size: clamp(28px, 3.4vw, 40px);
}

/* =====================================================
   TOP
   ===================================================== */
.view--top {
  /* cancel main's right padding so the hero is truly full-bleed */
  margin-right: calc(-1 * clamp(60px, 8vw, 140px));
}
@media (max-width: 880px) {
  .view--top { margin-right: 0; }
}
.top__hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.top__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(30, 22, 16, 0.45) 0%, rgba(30, 22, 16, 0.15) 65%, rgba(30, 22, 16, 0) 100%),
    linear-gradient(rgba(30, 22, 16, 0.55), rgba(30, 22, 16, 0.75)),
    url('../images/top-2.jpeg') center 20%/cover no-repeat;
  animation: introZoom 16s ease-out forwards;
}
.top__hero-inner {
  position: relative;
  text-align: center;
  color: #f4ead4;
  padding: 0 var(--gutter);
  max-width: 900px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.top__since {
  font-family: var(--f-serif-en);
  letter-spacing: .6em;
  font-size: 11px;
  opacity: 1;
  margin-bottom: 28px;
}
.top__title {
  font-family: var(--f-serif-en);
  font-weight: 400;
  font-size: clamp(28px, 4.8vw, 52px);
  letter-spacing: .08em;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.top__title-x {
  font-size: .7em;
  color: var(--c-gold);
  margin: 6px 0;
}
.top__place {
  font-family: var(--f-serif-jp);
  letter-spacing: .6em;
  font-size: clamp(13px, 1.8vw, 16px);
  margin-top: 20px;
  opacity: 1;
}
.top__lead {
  margin-top: 36px;
  font-family: var(--f-serif-jp);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: .2em;
  line-height: 2.2;
  opacity: 1;
  color: #f8efd9;
}
.top__cta {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  color: #f4ead4;
  font-family: var(--f-serif-en);
  letter-spacing: .5em;
  font-size: 12px;
  padding: 16px 42px;
  border: 1px solid rgba(244, 234, 212, 0.75);
  background: rgba(30, 22, 16, 0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: background .4s ease, color .4s ease, letter-spacing .4s ease;
}
.top__cta:hover {
  background: rgba(244, 234, 212, 0.92);
  color: #2b2320;
  opacity: 1;
  letter-spacing: .7em;
  text-shadow: none;
}
.top__cta i {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.top__intro {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  text-align: center;
}
.top__intro-kicker {
  font-family: var(--f-serif-en);
  letter-spacing: .5em;
  font-size: 12px;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.top__intro-title {
  font-family: var(--f-serif-jp);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: .15em;
  line-height: 1.8;
  margin-bottom: 36px;
}
.top__intro-body {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .08em;
  color: var(--c-ink-soft);
}

/* =====================================================
   HISTORY (compressed to 100vh)
   ===================================================== */
.history__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(20px, 3vh, 34px);
  font-size: 13px;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--c-ink-soft);
}
.history__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(20px, 3vh, 36px);
}
@media (max-width: 880px) {
  .history__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.history__item { text-align: center; }
.history__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 32vh;
  background-size: cover;
  background-position: center;
  filter: saturate(.85);
  transition: transform .6s ease;
}
.history__item:hover .history__img { transform: scale(1.02); }
/* Placeholder frame (no image yet) */
.history__img--placeholder {
  position: relative;
  background: linear-gradient(180deg, #f4ecdc 0%, #ece1c9 100%);
  border: 1px solid var(--c-line);
  filter: none;
}
.history__img--placeholder::before,
.history__img--placeholder::after {
  content: "";
  position: absolute;
  background: var(--c-accent);
  opacity: .35;
}
.history__img--placeholder::before {
  top: 50%; left: 22%; right: 22%;
  height: 1px;
}
.history__img--placeholder::after {
  left: 50%; top: 32%; bottom: 32%;
  width: 1px;
}
.history__item:hover .history__img--placeholder { transform: none; }
.history__item figcaption { padding: 12px 6px 0; }
.history__year {
  font-family: var(--f-serif-en);
  letter-spacing: .35em;
  font-size: 12px;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.history__text {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
}

/* =====================================================
   HISTORY → SHOP guidance CTA
   (editorial inline button matching top__cta language)
   ===================================================== */
.history__cta-wrap {
  text-align: center;
  padding: clamp(20px, 3vh, 32px) var(--gutter);
  border-top: 1px solid var(--c-line);
  position: relative;
}
.history__cta-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: .85;
}
.history__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(28px, 4vw, 48px);
  font-family: var(--f-serif-en);
  font-size: 12px;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--c-ink);
  background: transparent;
  border: 1px solid var(--c-line);
  text-decoration: none;
  position: relative;
  transition:
    background .45s ease,
    color .45s ease,
    border-color .45s ease,
    letter-spacing .45s ease;
}
.history__cta i {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.history__cta:hover {
  color: var(--c-paper);
  background: var(--c-gold);
  border-color: var(--c-gold);
  letter-spacing: .68em;
  text-indent: .68em;
}
.history__cta:hover i {
  width: 40px;
}

/* Per-language tweaks */
html[lang="zh"] .history__cta,
html[lang="ko"] .history__cta {
  font-family: var(--f-serif-jp);
  letter-spacing: .25em;
  text-indent: .25em;
  font-size: 13px;
}
html[lang="zh"] .history__cta:hover,
html[lang="ko"] .history__cta:hover {
  letter-spacing: .32em;
  text-indent: .32em;
}

@media (max-width: 540px) {
  .history__cta {
    padding: 14px 28px;
    font-size: 11px;
    letter-spacing: .4em;
    gap: 14px;
  }
}

/* =====================================================
   MENU (tabs + panels, one screen)
   ===================================================== */
.menu__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(28px, 4vh, 48px);
  flex-wrap: wrap;
  position: relative;
}
.menu__tabs::before,
.menu__tabs::after {
  content: "";
  flex: 0 0 auto;
  width: clamp(20px, 4vw, 60px);
  height: 1px;
  background: var(--c-line);
  margin: 0 clamp(12px, 2vw, 28px);
}
.menu__tab {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px clamp(14px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  color: var(--c-ink-soft);
  position: relative;
  transition: color .3s ease;
}
.menu__tab em {
  font-family: var(--f-serif-en);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .42em;
  text-indent: .42em;
  line-height: 1;
  transition: letter-spacing .4s ease;
}
.menu__tab span {
  font-family: var(--f-serif-jp);
  font-size: 10px;
  letter-spacing: .25em;
  text-indent: .25em;
  opacity: .65;
  line-height: 1;
  transition: opacity .4s ease;
}
.menu__tab:hover em { letter-spacing: .5em; }
.menu__tab:hover span { opacity: 1; }
.menu__tab.is-active em { letter-spacing: .48em; }
.menu__tab.is-active span { opacity: 1; }
.menu__tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transform: translateX(-50%);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.menu__tab:hover,
.menu__tab.is-active {
  color: var(--c-accent-d);
}
.menu__tab.is-active::after { width: 100%; }

.menu__panels {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.menu__panel {
  display: none;
  width: 100%;
}
.menu__panel.is-active {
  display: block;
  animation: panelFade .5s ease both;
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Sweets sub-tabs — refined editorial inline list
   (CAFE BASHO 1922 / OSHIMA DONUTS / ASAKUSA HIMURODO / KURIHO / IMOKO)
   ===================================================== */
.menu__subtabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto clamp(28px, 4vh, 44px);
  padding: clamp(8px, 1.5vh, 14px) 0;
  list-style: none;
  position: relative;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  max-width: 1100px;
}
.menu__subtab {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: clamp(10px, 1.6vh, 16px) clamp(14px, 2.2vw, 32px);
  position: relative;
  color: var(--c-ink-soft);
  transition: color .35s ease;
  font-weight: 400;
  -webkit-tap-highlight-color: transparent;
}
.menu__subtab em {
  font-family: var(--f-serif-en);
  font-style: normal;
  font-size: clamp(10px, .95vw, 12px);
  letter-spacing: .38em;
  text-indent: .38em;
  line-height: 1;
  display: inline-block;
  transition: letter-spacing .4s ease, color .35s ease;
}
/* Hairline separator between sub-tabs */
.menu__subtab + .menu__subtab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  bottom: 30%;
  width: 1px;
  background: var(--c-line);
  opacity: .55;
}
/* Animated gold underline */
.menu__subtab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transform: translateX(-50%);
  transition: width .55s cubic-bezier(.2,.7,.2,1);
}
.menu__subtab:hover {
  color: var(--c-ink);
}
.menu__subtab:hover em {
  letter-spacing: .44em;
}
.menu__subtab.is-active {
  color: var(--c-gold);
}
.menu__subtab.is-active em {
  letter-spacing: .44em;
  text-indent: .44em;
}
.menu__subtab.is-active::after {
  width: 60%;
}

/* Decorative dot above active sub-tab */
.menu__subtab.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-gold);
  transform: translateX(-50%);
  opacity: .9;
  background-image: none;
}

.menu__subpanels {
  position: relative;
}
.menu__subpanel {
  display: none;
}
.menu__subpanel.is-active {
  display: block;
  animation: subpanelFade .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes subpanelFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tablet: tighter spacing, smaller separators */
@media (max-width: 880px) {
  .menu__subtabs {
    gap: 0;
    padding: clamp(6px, 1vh, 10px) 0;
  }
  .menu__subtab {
    padding: 10px clamp(8px, 2vw, 18px);
  }
  .menu__subtab em {
    font-size: 10px;
    letter-spacing: .28em;
    text-indent: .28em;
  }
  .menu__subtab.is-active em {
    letter-spacing: .32em;
    text-indent: .32em;
  }
}

/* Mobile: stack into 2 rows for readability, drop vertical separators */
@media (max-width: 540px) {
  .menu__subtabs {
    border-top: 0;
    border-bottom: 1px solid var(--c-line);
    padding: 0 0 clamp(6px, 1.2vh, 12px);
  }
  .menu__subtab {
    padding: 8px 12px;
  }
  .menu__subtab em {
    font-size: 9.5px;
    letter-spacing: .22em;
    text-indent: .22em;
  }
  .menu__subtab + .menu__subtab::before { display: none; }
}

.menu__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: 1000px;
  margin: 0 auto;
}
.menu__grid--4 { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }
@media (max-width: 880px) {
  .menu__grid,
  .menu__grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Text-only menu — refined editorial layout ---- */
.menu__grid--text {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 48px) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.menu__grid--text.menu__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}
@media (max-width: 880px) {
  .menu__grid--text,
  .menu__grid--text.menu__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .menu__grid--text,
  .menu__grid--text.menu__grid--4 {
    grid-template-columns: 1fr;
  }
}

.menu__item {
  list-style: none;
  background: transparent;
  border: 0;
  position: relative;
  padding: clamp(28px, 4vh, 44px) clamp(16px, 2vw, 28px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 0;
  transition: color .35s ease;
}

/* Vertical hairline dividers between columns */
.menu__item::before {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
  background: var(--c-line);
  opacity: .65;
}
.menu__grid--text > .menu__item:first-child::before { display: none; }

/* Wrap to next row → reset divider for the first item of each row */
@media (max-width: 880px) {
  .menu__grid--text > .menu__item:nth-child(2n+1)::before { display: none; }
}
@media (min-width: 881px) {
  .menu__grid--text:not(.menu__grid--4) > .menu__item:nth-child(3n+1)::before { display: none; }
  .menu__grid--text.menu__grid--4 > .menu__item:nth-child(4n+1)::before { display: none; }
}
@media (max-width: 480px) {
  .menu__item::before { display: none; }
  .menu__item + .menu__item {
    border-top: 1px solid var(--c-line);
  }
}

/* Tag — small caps with flanking hairlines */
.menu__item .menu__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-serif-en);
  font-size: 9px;
  letter-spacing: .55em;
  text-indent: .55em;
  color: var(--c-accent);
  margin: 0;
  font-weight: 400;
}
.menu__item .menu__card-tag::before,
.menu__item .menu__card-tag::after {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--c-accent);
  opacity: .55;
  text-indent: 0;
}

/* Item name — refined serif typography */
.menu__item .menu__card-name {
  font-family: var(--f-serif-jp);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: .18em;
  line-height: 1.65;
  color: var(--c-ink);
  font-weight: 400;
  margin: 0;
  position: relative;
  padding-bottom: 14px;
}
.menu__item .menu__card-name::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transform: translateX(-50%);
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.menu__item:hover .menu__card-name {
  color: var(--c-accent-d);
}
.menu__item:hover .menu__card-name::after {
  width: 28px;
}

/* English language: lighter letter-spacing, italic name flourish */
html[lang="en"] .menu__item .menu__card-name {
  font-family: var(--f-serif-en);
  letter-spacing: .04em;
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
}

/* Card price (under .menu__card-name in featured cards like KURIHO) */
.menu__item .menu__card-price {
  margin: 14px 0 0;
  padding-top: 12px;
  font-family: var(--f-serif-en);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: .14em;
  color: var(--c-gold);
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.menu__item .menu__card-price::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--c-line);
  transform: translateX(-50%);
  transition: width .4s ease, background .4s ease;
}
.menu__item:hover .menu__card-price::before {
  width: 32px;
  background: var(--c-gold);
}

/* Per-tab availability note */
.menu__panel-note {
  text-align: center;
  margin: clamp(14px, 2.5vh, 24px) auto 0;
  font-family: var(--f-serif-jp);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--c-ink-soft);
  opacity: .85;
}
html[lang="en"] .menu__panel-note {
  font-family: var(--f-serif-en);
  letter-spacing: .08em;
  font-style: italic;
}

/* =====================================================
   Drink panel — compact 4-column "1-page" layout
   COFFEE | TEA | FLOAT | OTHERS
   ===================================================== */
.menu__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 3vh, 36px) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.menu__col {
  position: relative;
  padding: clamp(8px, 1.4vh, 16px) clamp(14px, 1.6vw, 26px);
}
.menu__col + .menu__col::before {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 0;
  width: 1px;
  background: var(--c-line);
  opacity: .65;
}
.menu__col-title {
  font-family: var(--f-serif-en);
  font-size: clamp(13px, 1.25vw, 16px);
  letter-spacing: .42em;
  text-indent: .42em;
  text-align: center;
  color: var(--c-gold);
  margin: 0 0 clamp(14px, 2vh, 22px);
  padding-bottom: clamp(8px, 1.2vh, 14px);
  border-bottom: 1px solid var(--c-line);
  font-weight: 400;
}
.menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.3vh, 14px);
}
.menu__line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: clamp(2px, .4vh, 6px) 0;
}
.menu__line-name {
  font-family: var(--f-serif-jp);
  font-size: clamp(13px, 1.05vw, 15px);
  letter-spacing: .08em;
  line-height: 1.45;
  color: var(--c-ink);
}
.menu__line-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.menu__line-temp {
  font-family: var(--f-serif-en);
  font-style: normal;
  font-size: clamp(9px, .8vw, 10.5px);
  letter-spacing: .22em;
  color: var(--c-ink-soft);
  opacity: .85;
}
.menu__line-price {
  font-family: var(--f-serif-en);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: .04em;
  color: var(--c-gold);
  white-space: nowrap;
}

/* Per-language tweaks for compact list */
html[lang="en"] .menu__line-name {
  font-family: var(--f-serif-en);
  letter-spacing: .02em;
  font-style: italic;
  font-size: clamp(13.5px, 1.1vw, 15.5px);
}
html[lang="zh"] .menu__line-name,
html[lang="ko"] .menu__line-name {
  letter-spacing: .04em;
}

/* Tablet: 2 columns × 2 rows  (COFFEE | TEA \n FLOAT | OTHERS) */
@media (max-width: 880px) {
  .menu__cols {
    grid-template-columns: 1fr 1fr;
  }
  .menu__col + .menu__col::before { display: none; }
  .menu__col {
    border-top: 1px solid var(--c-line);
    padding: clamp(14px, 2vh, 22px) clamp(12px, 3vw, 22px);
  }
  .menu__col:nth-child(-n+2) { border-top: 0; }
  /* Vertical hairline between left/right pair */
  .menu__col:nth-child(2n)::before {
    content: "";
    display: block;
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 0;
    width: 1px;
    background: var(--c-line);
    opacity: .55;
  }
}

/* Mobile: 1 column stack */
@media (max-width: 540px) {
  .menu__cols {
    grid-template-columns: 1fr;
  }
  .menu__col {
    border-top: 1px solid var(--c-line);
    padding: clamp(16px, 2.5vh, 24px) 4px;
  }
  .menu__col:first-child { border-top: 0; }
  .menu__col:nth-child(2n)::before { display: none; }
}

.menu__card {
  position: relative;
  cursor: pointer;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .4s ease;
}
.menu__card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
  box-shadow: 0 16px 40px rgba(60, 40, 20, 0.12);
}
.menu__card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 42vh;
  background-size: cover;
  background-position: center;
  filter: saturate(.9);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.menu__card:hover .menu__card-img {
  transform: scale(1.08);
  filter: saturate(1);
}
.menu__card::after {
  content: "VIEW";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 24px;
  border: 1px solid rgba(244, 234, 212, 0.9);
  color: #f4ead4;
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .4em;
  background: rgba(30, 22, 16, 0.0);
  opacity: 0;
  transition: opacity .4s ease, background .4s ease, top .5s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.menu__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(30, 22, 16, 0.0), rgba(30, 22, 16, 0.45));
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 1;
}
.menu__card:hover::before { opacity: 1; }
.menu__card:hover::after { opacity: 1; }
.menu__card-body {
  padding: 12px 12px 14px;
  text-align: center;
  position: relative;
  z-index: 3;
  background: var(--c-paper);
}
.menu__card-tag {
  font-family: var(--f-serif-en);
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.menu__card-name {
  font-family: var(--f-serif-jp);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--c-ink);
  line-height: 1.4;
}
.menu__note {
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: var(--c-ink-soft);
  margin-top: clamp(40px, 5vw, 60px);
  letter-spacing: .08em;
}

/* =====================================================
   HOURS
   ===================================================== */
.hours__card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--c-paper);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--c-line);
  text-align: center;
}
.hours__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.hours__table th,
.hours__table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--c-line);
  font-weight: 400;
  text-align: left;
  letter-spacing: .1em;
  font-size: 13px;
}
.hours__table th {
  font-family: var(--f-serif-jp);
  color: var(--c-ink);
  width: 40%;
}
.hours__table td {
  font-family: var(--f-serif-en);
  color: var(--c-ink-soft);
  text-align: right;
}
.hours__note {
  font-size: 12px;
  line-height: 2;
  color: var(--c-ink-soft);
  margin-bottom: 32px;
}
.hours__tel {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border: 1px solid var(--c-accent);
  color: var(--c-accent-d);
}
.hours__tel-label {
  font-family: var(--f-serif-en);
  letter-spacing: .3em;
  font-size: 12px;
}
.hours__tel-number {
  font-family: var(--f-serif-en);
  font-size: 22px;
  letter-spacing: .1em;
}

/* =====================================================
   ACCESS
   ===================================================== */
.access__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) {
  .access__inner { grid-template-columns: 1fr; }
}
.access__info {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: clamp(24px, 3vw, 40px);
}
.access__info > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.access__info > div:last-child { border-bottom: none; }
.access__info dt {
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.access__info dd {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .08em;
  color: var(--c-ink);
}
.access__info a {
  color: var(--c-accent-d);
  border-bottom: 1px solid var(--c-line);
}
.access__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 60vh;
  border: 1px solid var(--c-line);
  background: var(--c-bg-deep);
}
.access__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.85) contrast(.95);
}

/* =====================================================
   MEDIA
   ===================================================== */
.media__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  font-size: 14px;
  line-height: 2.2;
  color: var(--c-ink-soft);
  letter-spacing: .08em;
}
.media__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.media__item {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s ease, border-color .3s ease;
}
.media__item:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
}
.media__item span {
  font-family: var(--f-serif-jp);
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--c-ink);
}
.media__item em {
  font-family: var(--f-serif-en);
  font-size: 10px;
  letter-spacing: .4em;
  color: var(--c-accent);
  font-style: normal;
}

/* ---- MEDIA: Coming Soon (準備中) ---- */
.media__coming {
  max-width: 560px;
  margin: clamp(24px, 6vh, 80px) auto 0;
  padding: clamp(40px, 6vh, 72px) clamp(24px, 4vw, 48px);
  text-align: center;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.media__coming-en {
  font-family: var(--f-serif-en);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: .55em;
  text-indent: .55em;
  color: var(--c-accent);
  margin-bottom: 21px;
}
.media__coming-jp {
  font-family: var(--f-serif-jp);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--c-ink);
  margin-bottom: 34px;
}
.media__coming-note {
  font-family: var(--f-serif-jp);
  font-size: 12px;
  line-height: 2;
  letter-spacing: .15em;
  color: var(--c-ink-soft);
}

/* (Footer removed — each page is self-contained to 100vh) */

/* =====================================================
   PAGE TRANSITION CURTAIN — "opening" feel
   (appear quickly, then split apart to reveal new page)
   ===================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
/* Appear instantly — no fade-in */
.page-transition.is-active {
  visibility: visible;
  opacity: 1;
}

/* Two panels sit at center covering the screen. They only animate OPEN. */
.page-transition__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #1a120d;
  will-change: transform;
}
.page-transition__panel--left {
  left: 0;
  box-shadow: 1px 0 0 var(--c-gold);
}
.page-transition__panel--right {
  right: 0;
  box-shadow: -1px 0 0 var(--c-gold);
}

/* Phase OPEN: panels split apart — left goes left, right goes right */
.page-transition.is-out .page-transition__panel--left {
  animation: curtainOpenLeft .9s cubic-bezier(.77,0,.18,1) forwards;
}
.page-transition.is-out .page-transition__panel--right {
  animation: curtainOpenRight .9s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes curtainOpenLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes curtainOpenRight {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

/* Glowing seam — a thin vertical gold line at the split point
   fades in as curtain appears, travels outward as it opens */
.page-transition__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--c-gold);
  box-shadow: 0 0 18px rgba(182, 139, 76, 0.85);
  transform: translateX(-50%);
  opacity: 0;
}
.page-transition.is-active .page-transition__seam { opacity: 1; }
.page-transition.is-out  .page-transition__seam {
  animation: seamFade .35s ease forwards;
}
@keyframes seamFade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Brand label — briefly glimmers while the curtain is closed */
.page-transition__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #f4ead4;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.page-transition.is-active .page-transition__label { opacity: .92; }
.page-transition.is-out    .page-transition__label {
  opacity: 0;
  transition: opacity .25s ease;
}
.page-transition__since {
  font-family: var(--f-serif-en);
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: .45em;
}
.page-transition__year {
  font-family: var(--f-serif-en);
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: .5em;
  color: var(--c-gold);
}

/* =====================================================
   LIGHTBOX — curtain-open screen transition
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
}
.lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* Curtain backdrop: expands from a thin horizontal line to full screen */
.lightbox__backdrop {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 0;
  background: rgba(15, 10, 7, 0.94);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: height .7s cubic-bezier(.77,0,.18,1);
  cursor: pointer;
}
.lightbox.is-open .lightbox__backdrop {
  height: 100%;
}

/* Inner wrapper — fades/zooms in AFTER the curtain has opened */
.lightbox__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.lightbox.is-open .lightbox__inner {
  opacity: 1;
  transform: scale(1);
  transition-delay: .45s;
  pointer-events: auto;
}

.lightbox__figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: min(92vw, 1100px);
  max-height: calc(100vh - 80px);
}

/* Image reveal: clip-path wipes from center outward */
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  background: #1a120d;
  clip-path: inset(0 50% 0 50%);
  transition: clip-path .9s cubic-bezier(.77,0,.18,1);
}
.lightbox.is-open .lightbox__img {
  clip-path: inset(0 0 0 0);
  transition-delay: .55s;
}

.lightbox__caption {
  font-family: var(--f-serif-jp);
  color: #f4ead4;
  letter-spacing: .35em;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.lightbox.is-open .lightbox__caption {
  opacity: .95;
  transform: translateY(0);
  transition-delay: 1s;
}

/* Top/bottom thin golden lines that sweep in with the curtain */
.lightbox__backdrop::before,
.lightbox__backdrop::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--c-gold);
  opacity: 0;
  transition: opacity .3s ease;
}
.lightbox__backdrop::before { top: 0; }
.lightbox__backdrop::after  { bottom: 0; }
.lightbox.is-open .lightbox__backdrop::before,
.lightbox.is-open .lightbox__backdrop::after {
  opacity: .55;
  transition-delay: .7s;
}

/* Close button */
.lightbox__close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(244, 234, 212, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .4s ease;
  z-index: 10;
}
.lightbox__close:hover {
  background: rgba(244, 234, 212, 0.9);
  transform: rotate(90deg);
}
.lightbox__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: #f4ead4;
  transition: background .3s ease;
}
.lightbox__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox__close:hover span { background: #2b2320; }

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 640px) {
  .lightbox__close {
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
  }
  .lightbox__caption {
    font-size: 12px;
    letter-spacing: .2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =====================================================
   SHOP — gallery + media logos
   ===================================================== */
.view--shop .view__head {
  margin-bottom: clamp(20px, 3vh, 36px);
}
.shop__lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(24px, 4vh, 44px);
  font-family: var(--f-serif-jp);
  font-size: 13px;
  line-height: 2;
  letter-spacing: .08em;
  color: var(--c-ink-soft);
}

/* Gallery — 3-col mosaic with one wide hero on top */
.shop__gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.5vw, 18px);
  max-width: 1100px;
  margin: 0 auto clamp(36px, 6vh, 72px);
}
.shop__photo {
  position: relative;
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f4ecdc 0%, #ece1c9 100%);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.shop__photo--wide {
  grid-column: span 6;
  aspect-ratio: 16 / 7;
}
.shop__photo:hover { transform: translateY(-3px); }
/* Crosshair markers indicating "photo will go here" */
.shop__photo::before,
.shop__photo::after {
  content: "";
  position: absolute;
  background: var(--c-accent);
  opacity: .25;
  pointer-events: none;
}
.shop__photo::before {
  top: 50%; left: 22%; right: 22%;
  height: 1px;
}
.shop__photo::after {
  left: 50%; top: 32%; bottom: 32%;
  width: 1px;
}
.shop__photo-label {
  position: relative;
  z-index: 1;
  font-family: var(--f-serif-jp);
  font-size: 11px;
  letter-spacing: .35em;
  text-indent: .35em;
  color: var(--c-accent-d);
  background: rgba(250, 246, 238, 0.85);
  padding: 6px 14px;
  border: 1px solid var(--c-line);
}

@media (max-width: 880px) {
  .shop__gallery { gap: 8px; }
  .shop__photo { grid-column: span 3; }
  .shop__photo--wide { grid-column: span 6; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .shop__gallery { grid-template-columns: repeat(2, 1fr); }
  .shop__photo { grid-column: span 1; }
  .shop__photo--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* Media & Press section */
/* =====================================================
   SHOP — Access (map + info) section
   ===================================================== */
.shop__access {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  margin: clamp(32px, 5vh, 56px) auto 0;
  max-width: 1100px;
  padding: clamp(28px, 4vh, 48px) var(--gutter) 0;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 880px) {
  .shop__access {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vh, 36px);
  }
}

.shop__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line);
  background: var(--c-bg-deep);
  display: flex;
  flex-direction: column;
}
.shop__map iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.85) contrast(.95);
}
.shop__map-link {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .35em;
  text-indent: .35em;
  color: var(--c-ink-soft);
  padding: 14px 16px;
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  transition: color .35s ease, background .35s ease;
}
.shop__map-link:hover {
  color: var(--c-gold);
  background: var(--c-bg);
}

.shop__info {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shop__info > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: baseline;
  padding: clamp(14px, 2vh, 20px) 0;
  border-bottom: 1px solid var(--c-line);
}
.shop__info > div:last-child { border-bottom: 0; }
.shop__info dt {
  font-family: var(--f-serif-en);
  font-size: 10.5px;
  letter-spacing: .32em;
  text-indent: .32em;
  color: var(--c-accent);
  margin: 0;
}
.shop__info dd {
  margin: 0;
  font-family: var(--f-serif-jp);
  font-size: 13.5px;
  line-height: 1.85;
  letter-spacing: .06em;
  color: var(--c-ink);
}
.shop__info dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .35s ease, border-color .35s ease;
}
.shop__info dd a:hover {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}
@media (max-width: 540px) {
  .shop__info > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
}

/* English / CJK letter-spacing tuning */
html[lang="en"] .shop__info dd {
  font-family: var(--f-serif-en);
  letter-spacing: .02em;
  font-style: italic;
  font-size: 14px;
}
html[lang="zh"] .shop__info dd,
html[lang="ko"] .shop__info dd {
  letter-spacing: .04em;
}

/* =====================================================
   SHOP — External link directory
   (SNS / Review / Gourmet / Other)
   ===================================================== */
.shop__links {
  max-width: 1100px;
  margin: clamp(28px, 4vh, 48px) auto 0;
  padding: clamp(24px, 3vh, 40px) var(--gutter) 0;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.shop__link-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
  padding: clamp(14px, 2vh, 20px) 0;
  border-bottom: 1px solid var(--c-line);
}
.shop__link-row:last-child { border-bottom: 0; }
.shop__link-label {
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--c-accent);
  margin: 0;
  font-weight: 400;
}
.shop__link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.5vw, 18px);
}
.shop__link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 44px;
  padding: 0 18px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  font-family: var(--f-serif-jp);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-ink-soft);
  text-decoration: none;
  transition: color .35s ease, border-color .35s ease, background .35s ease, transform .35s ease;
}
.shop__link-list a:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
  background: var(--c-bg);
  transform: translateY(-2px);
}
html[lang="en"] .shop__link-list a {
  font-family: var(--f-serif-en);
  letter-spacing: .04em;
  font-style: italic;
  font-size: 13px;
}

@media (max-width: 640px) {
  .shop__link-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }
  .shop__link-list a {
    min-width: 96px;
    height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }
}

/* =====================================================
   LANGUAGE SWITCHER (collapsible, top-right)
   ===================================================== */
.lang-switcher {
  position: fixed;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  z-index: 950;
  font-family: var(--f-serif-en);
  user-select: none;
  transition: opacity .4s ease, transform .4s ease;
}

/* Trigger button ("LANGUAGE ▾") */
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(250, 246, 238, 0.82);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  cursor: pointer;
  color: var(--c-ink);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .35em;
  text-indent: .35em;
  line-height: 1;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}
.lang-switcher__toggle:hover {
  color: var(--c-accent-d);
  border-color: var(--c-accent);
  background: rgba(250, 246, 238, 0.95);
}
.lang-switcher__label {
  display: inline-block;
}
.lang-switcher__caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s ease;
  margin-left: -4px;
}
.lang-switcher.is-open .lang-switcher__caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}

/* Dropdown menu */
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 180px;
  background: rgba(250, 246, 238, 0.96);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(60, 40, 20, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: langMenuIn .3s cubic-bezier(.2,.7,.2,1);
}
.lang-switcher__menu[hidden] { display: none; }

@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-switcher__menu li { margin: 0; }
.lang-switcher__menu button {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  width: 100%;
  gap: 14px;
  padding: 11px 16px;
  background: transparent;
  border: 0;
  color: var(--c-ink-soft);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background .25s ease, color .25s ease;
}
.lang-switcher__menu button:hover {
  background: var(--c-bg-deep);
  color: var(--c-ink);
}
.lang-switcher__menu button em {
  font-family: var(--f-serif-en);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .12em;
  min-width: 24px;
  color: var(--c-accent-d);
}
.lang-switcher__menu button span {
  font-family: var(--f-serif-jp);
  font-size: 12px;
  letter-spacing: .14em;
}
.lang-switcher__menu button[aria-pressed="true"] {
  background: var(--c-bg-deep);
  color: var(--c-ink);
}
.lang-switcher__menu button[aria-pressed="true"] em {
  color: var(--c-gold);
  font-weight: 600;
}

/* Use locale-appropriate font in menu rows */
.lang-switcher__menu li:nth-child(3) button span { font-family: 'Noto Serif SC', 'Songti SC', serif; }
.lang-switcher__menu li:nth-child(4) button span { font-family: 'Noto Serif KR', 'Apple SD Gothic Neo', serif; }

/* Hidden during intro */
.intro:not(.is-hidden) ~ .lang-switcher,
body:has(.intro:not(.is-hidden)) .lang-switcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

/* On tablet/mobile, the hamburger lives at top-right.
   Move the language switcher to the top-left to avoid overlap. */
@media (max-width: 880px) {
  .lang-switcher {
    right: auto;
    left: clamp(12px, 3vw, 20px);
    top: 16px;
  }
  .lang-switcher__toggle {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: .3em;
  }
  .lang-switcher__menu {
    right: auto;
    left: 0;
    min-width: 170px;
  }
}
@media (max-width: 640px) {
  .lang-switcher__toggle { padding: 7px 12px; }
}

/* =====================================================
   MULTILINGUAL FONT STACKS
   (Apply CJK-appropriate fonts when language changes)
   ===================================================== */
html[lang="zh"] body,
html[lang="zh"] {
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', 'STSong', serif;
}
html[lang="zh"] {
  --f-serif-jp: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --f-body:     'Noto Serif SC', 'Songti SC', 'SimSun', serif;
}

html[lang="ko"] body,
html[lang="ko"] {
  font-family: 'Noto Serif KR', 'Apple SD Gothic Neo', 'Nanum Myeongjo', 'Malgun Gothic', serif;
}
html[lang="ko"] {
  --f-serif-jp: 'Noto Serif KR', 'Apple SD Gothic Neo', 'Nanum Myeongjo', serif;
  --f-body:     'Noto Serif KR', 'Apple SD Gothic Neo', 'Nanum Myeongjo', serif;
}

html[lang="en"] {
  --f-serif-jp: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --f-body:     'Cormorant Garamond', Georgia, 'Noto Serif JP', serif;
}

/* English language adjusts long-running JP letter-spacing values to look right */
html[lang="en"] .top__since,
html[lang="en"] .top__place,
html[lang="en"] .hours__title,
html[lang="en"] .access__title,
html[lang="en"] .media__title,
html[lang="en"] .history__poem-by,
html[lang="en"] .media__coming-jp {
  letter-spacing: .2em;
}
html[lang="en"] .intro__logo-branch {
  letter-spacing: .35em;
}

/* For zh/ko, slightly relax JP-style wide letter-spacing on labels */
html[lang="zh"] .top__since,
html[lang="ko"] .top__since,
html[lang="zh"] .top__place,
html[lang="ko"] .top__place,
html[lang="zh"] .hours__title,
html[lang="ko"] .hours__title,
html[lang="zh"] .access__title,
html[lang="ko"] .access__title,
html[lang="zh"] .media__title,
html[lang="ko"] .media__title {
  letter-spacing: .35em;
}

/* =========================================================
   ART GALLERY  (museum-style grid, hybrid: artworks + architecture)
   ========================================================= */
.view--art {
  padding: clamp(56px, 8vh, 96px) clamp(24px, 6vw, 88px) clamp(80px, 10vh, 120px);
}

.art__lead {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vh, 64px);
  text-align: center;
  font-family: var(--f-serif-jp);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2.2;
  color: var(--c-ink-soft);
  letter-spacing: .12em;
}

.art__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 40px);
}

@media (max-width: 980px) {
  .art__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .art__grid { grid-template-columns: 1fr; }
}

.art__item {
  position: relative;
  cursor: pointer;
  background: transparent;
  transition: transform .5s ease;
}
.art__item:hover {
  transform: translateY(-4px);
}
.art__item:hover .art__img::after {
  opacity: 1;
}
.art__item:hover .art__title {
  color: var(--c-gold);
}

/* Image frame */
.art__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--c-bg-deep);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--c-line);
}
.art__img::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
  z-index: 2;
}
.art__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 1;
}
.art__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.art__img-label {
  position: relative;
  z-index: 3;
  font-family: var(--f-serif-jp);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(255,255,255,.55);
}

/* Caption block */
.art__caption {
  text-align: left;
  padding: 0 4px;
}

.art__tag {
  display: inline-block;
  margin: 0 0 8px;
  padding-bottom: 4px;
  font-family: var(--f-serif-en);
  font-size: 10px;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--c-gold);
  border-bottom: 1px solid var(--c-line);
}

.art__title {
  margin: 0 0 6px;
  font-family: var(--f-serif-jp);
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: .14em;
  color: var(--c-ink);
  transition: color .4s ease;
}

.art__meta {
  margin: 0 0 10px;
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--c-ink-soft);
  font-style: italic;
}

.art__text {
  margin: 0;
  font-family: var(--f-serif-jp);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: .08em;
  color: var(--c-ink-soft);
}

.art__note {
  max-width: 720px;
  margin: clamp(48px, 6vh, 72px) auto 0;
  padding-top: clamp(24px, 3vh, 36px);
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-family: var(--f-serif-jp);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--c-ink-soft);
  line-height: 1.9;
}

/* =========================================================
   SHOP - CONTACT (LINE)
   ========================================================= */
.shop__contact {
  margin: clamp(56px, 7vh, 88px) auto 0;
  max-width: 760px;
  padding: clamp(36px, 5vh, 56px) clamp(24px, 4vw, 56px);
  text-align: center;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.shop__contact::before,
.shop__contact::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  transform: translateX(-50%);
}
.shop__contact::before { top: -3.5px; }
.shop__contact::after  { bottom: -3.5px; }

.shop__contact-kicker {
  margin: 0 0 14px;
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .55em;
  text-indent: .55em;
  color: var(--c-gold);
}

.shop__contact-lead {
  margin: 0 0 clamp(22px, 3vh, 32px);
  font-family: var(--f-serif-jp);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: .14em;
  color: var(--c-ink);
  line-height: 1.9;
}

.shop__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(28px, 4vw, 44px);
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: 0;
  font-family: var(--f-serif-jp);
  font-size: 12.5px;
  letter-spacing: .42em;
  text-indent: .42em;
  text-decoration: none;
  position: relative;
  transition: color .45s ease,
              border-color .45s ease,
              background .45s ease,
              transform .45s ease,
              letter-spacing .45s ease;
}
.shop__contact-btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .45s ease;
}
.shop__contact-btn:hover {
  color: var(--c-paper);
  background: var(--c-gold);
  border-color: var(--c-gold);
  transform: translateY(-2px);
  letter-spacing: .56em;
  text-indent: .56em;
}
.shop__contact-btn:hover::before {
  border-color: rgba(255, 255, 255, .35);
}
.shop__contact-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-soft);
  transition: color .45s ease;
}
.shop__contact-btn-icon svg {
  display: block;
}
.shop__contact-btn:hover .shop__contact-btn-icon {
  color: var(--c-paper);
}
.shop__contact-btn i {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin-left: 4px;
  transition: width .45s ease;
}
.shop__contact-btn:hover i {
  width: 38px;
}

@media (max-width: 540px) {
  .shop__contact-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 12px;
    letter-spacing: .2em;
    text-indent: .2em;
  }
  .shop__contact-btn:hover {
    letter-spacing: .26em;
    text-indent: .26em;
  }
}

/* =========================================================
   MENU — Coming Soon (sub-panel placeholder)
   ========================================================= */
.menu__coming {
  max-width: 640px;
  margin: clamp(20px, 4vh, 40px) auto;
  padding: clamp(40px, 6vh, 64px) clamp(28px, 5vw, 56px);
  text-align: center;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  position: relative;
}
.menu__coming::before,
.menu__coming::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  transform: translateX(-50%);
}
.menu__coming::before { top: -3.5px; }
.menu__coming::after  { bottom: -3.5px; }

.menu__coming-en {
  margin: 0 0 14px;
  font-family: var(--f-serif-en);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: .58em;
  text-indent: .58em;
  color: var(--c-gold);
}
.menu__coming-jp {
  margin: 0 0 18px;
  padding-bottom: 18px;
  font-family: var(--f-serif-jp);
  font-size: 13px;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--c-ink);
  position: relative;
}
.menu__coming-jp::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--c-line);
  transform: translateX(-50%);
}
.menu__coming-note {
  margin: 0;
  font-family: var(--f-serif-jp);
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.95;
  color: var(--c-ink-soft);
}

/* =========================================================
   OSHIMA DONUTS — full menu (Main + 4 categories)
   ========================================================= */

/* Category title (used by both Main and 4-cat columns) */
.oshima-cat {
  margin: 0 0 18px;
  padding-bottom: 10px;
  font-family: var(--f-serif-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--c-gold);
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.oshima-cat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 1px;
  background: var(--c-gold);
}

/* ----- MAIN (featured) ----- */
.oshima-main {
  max-width: 1080px;
  margin: 0 auto clamp(36px, 5vh, 56px);
  padding: clamp(20px, 3vh, 28px) clamp(20px, 3vw, 36px) clamp(24px, 3.5vh, 32px);
  background:
    linear-gradient(180deg, rgba(176, 141, 87, .04), rgba(176, 141, 87, 0)) ,
    var(--c-paper);
  border: 1px solid var(--c-line);
  position: relative;
}
.oshima-cat--main {
  text-align: center;
  letter-spacing: .55em;
  text-indent: .55em;
}
.oshima-cat--main::after {
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
}

.oshima-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.oshima-main__item {
  padding: 18px clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  border-right: 1px solid var(--c-line);
  position: relative;
}
.oshima-main__item:last-child { border-right: none; }

.oshima-main__name { display: flex; flex-direction: column; gap: 4px; }
.oshima-main__jp {
  margin: 0;
  font-family: var(--f-serif-jp);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: .14em;
  color: var(--c-ink);
}
.oshima-main__en {
  margin: 0;
  font-family: var(--f-serif-en);
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--c-ink-soft);
  font-style: italic;
}

.oshima-main__price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.oshima-main__new {
  font-family: var(--f-serif-en);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: .08em;
  color: var(--c-ink);
  font-weight: 500;
}
.oshima-main__old {
  font-family: var(--f-serif-en);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--c-ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(176, 141, 87, .55);
}
.oshima-main__badge {
  font-family: var(--f-serif-jp);
  font-size: 10px;
  letter-spacing: .26em;
  text-indent: .26em;
  color: var(--c-paper);
  background: var(--c-gold);
  padding: 4px 10px 3px;
  border-radius: 999px;
}

/* Promo item highlight */
.oshima-main__item.is-promo {
  background: rgba(176, 141, 87, .05);
}
.oshima-main__item.is-promo::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--c-gold);
}

/* ----- 4-column variations ----- */
.oshima-cols {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
}
.oshima-col { min-width: 0; }

.oshima-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.oshima-list > li {
  padding: 11px 0;
  border-bottom: 1px dashed var(--c-line);
}
.oshima-list > li:last-child { border-bottom: none; }

.oshima-jp {
  margin: 0 0 2px;
  font-family: var(--f-serif-jp);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.oshima-en {
  margin: 0;
  font-family: var(--f-serif-en);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--c-ink-soft);
  font-style: italic;
}
.oshima-sub {
  margin: 4px 0 0;
  font-family: var(--f-serif-jp);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--c-ink-soft);
  line-height: 1.6;
}
.oshima-tag {
  display: inline-block;
  font-family: var(--f-serif-jp);
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--c-gold);
  border: 1px solid var(--c-gold);
  padding: 1px 7px 0;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 980px) {
  .oshima-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .oshima-main__list { grid-template-columns: 1fr; }
  .oshima-main__item {
    border-right: none;
    border-bottom: 1px solid var(--c-line);
  }
  .oshima-main__item:last-child { border-bottom: none; }
}
@media (max-width: 540px) {
  .oshima-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT page (LINE)
   ========================================================= */
.view--contact {
  padding: clamp(56px, 8vh, 96px) clamp(24px, 6vw, 88px) clamp(80px, 10vh, 120px);
}

.contact__lead {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vh, 64px);
  text-align: center;
  font-family: var(--f-serif-jp);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 2.2;
  letter-spacing: .12em;
  color: var(--c-ink);
}
.contact__lead strong {
  display: inline-block;
  margin: 6px 4px 2px;
  padding: 2px 14px;
  font-weight: 500;
  background: linear-gradient(transparent 62%, rgba(176, 141, 87, .18) 62%);
  letter-spacing: .18em;
  color: var(--c-ink);
}

.contact__panel {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(36px, 5vh, 56px) clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  position: relative;
}
.contact__panel::before,
.contact__panel::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
}
.contact__panel::before { top: -4px; left: -4px; }
.contact__panel::after  { bottom: -4px; right: -4px; }

.contact__qr {
  margin: 0;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.contact__qr img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.contact__action {
  text-align: center;
}

.contact__id {
  margin: 0 0 clamp(20px, 2.4vh, 28px);
  font-family: var(--f-serif-jp);
  font-size: 13px;
  letter-spacing: .26em;
  color: var(--c-ink-soft);
}
.contact__id em {
  font-style: normal;
  font-family: var(--f-serif-en);
  font-size: 16px;
  letter-spacing: .12em;
  color: var(--c-ink);
  margin-left: 6px;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(32px, 5vw, 56px);
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: 0;
  font-family: var(--f-serif-jp);
  font-size: 13px;
  letter-spacing: .42em;
  text-indent: .42em;
  text-decoration: none;
  position: relative;
  transition: color .45s ease,
              border-color .45s ease,
              transform .45s ease,
              letter-spacing .45s ease;
}
.contact__btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .45s ease;
}
.contact__btn:hover {
  color: var(--c-paper);
  background: var(--c-gold);
  border-color: var(--c-gold);
  transform: translateY(-2px);
  letter-spacing: .56em;
  text-indent: .56em;
}
.contact__btn:hover::before {
  border-color: rgba(255, 255, 255, .35);
}
.contact__btn-icon {
  display: inline-flex;
  color: var(--c-ink-soft);
  transition: color .45s ease;
}
.contact__btn-icon svg { display: block; }
.contact__btn:hover .contact__btn-icon {
  color: var(--c-paper);
}
.contact__btn i {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin-left: 4px;
  transition: width .45s ease;
}
.contact__btn:hover i { width: 38px; }

.contact__hint {
  margin: clamp(20px, 2.4vh, 28px) 0 0;
  font-family: var(--f-serif-jp);
  font-size: 11.5px;
  letter-spacing: .14em;
  line-height: 1.85;
  color: var(--c-ink-soft);
}

.contact__note {
  max-width: 720px;
  margin: clamp(48px, 6vh, 72px) auto 0;
  padding-top: clamp(24px, 3vh, 36px);
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-family: var(--f-serif-jp);
  font-size: 11.5px;
  letter-spacing: .14em;
  line-height: 1.9;
  color: var(--c-ink-soft);
}

@media (max-width: 720px) {
  .contact__panel {
    grid-template-columns: 1fr;
    padding: clamp(28px, 4vh, 40px) clamp(20px, 5vw, 32px);
  }
  .contact__qr {
    max-width: 240px;
    margin: 0 auto;
  }
  .contact__btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    letter-spacing: .2em;
    text-indent: .2em;
  }
  .contact__btn:hover {
    letter-spacing: .26em;
    text-indent: .26em;
  }
}

/* =========================================================
   SIDE NAV - SOCIAL ICONS (Instagram / LINE)
   ========================================================= */
.side-nav__social {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  border-top: 1px solid var(--c-line);
}
.side-nav__social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 6px 10px;
  color: var(--c-ink-soft);
  text-decoration: none;
  font-family: var(--f-serif-en);
  font-size: 10px;
  letter-spacing: .28em;
  transition: color .35s ease, transform .35s ease;
}
.side-nav__social-link svg {
  display: block;
  transition: color .35s ease;
}
.side-nav__social-link:hover {
  color: var(--c-accent-d);
  transform: translateX(-2px);
}
.side-nav__social-link--ig:hover,
.side-nav__social-link--line:hover { color: var(--c-accent-d); }

.side-nav__social-label {
  line-height: 1;
}

/* TOP page — invert for dark hero */
body[data-page="top"] .side-nav__social {
  border-top-color: rgba(244,234,212,.18);
}
body[data-page="top"] .side-nav__social-link {
  color: rgba(244, 234, 212, 0.72);
}
body[data-page="top"] .side-nav__social-link:hover {
  color: #f4ead4;
}
body[data-page="top"] .side-nav__social-link--ig:hover,
body[data-page="top"] .side-nav__social-link--line:hover { color: var(--c-gold); }

/* Mobile drawer — show as larger horizontal pills */
@media (max-width: 880px) {
  .side-nav__social {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 36px;
    padding-top: 28px;
  }
  .side-nav__social-link {
    padding: 10px 16px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .22em;
    transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
  }
  .side-nav__social-link:hover {
    transform: translateY(-2px);
  }
  .side-nav__social-link--ig:hover,
  .side-nav__social-link--line:hover {
    color: var(--c-paper);
    background: var(--c-gold);
    border-color: var(--c-gold);
  }
  body[data-page="top"] .side-nav__social { border-top-color: var(--c-line); }
  body[data-page="top"] .side-nav__social-link { color: var(--c-ink-soft); }
}
