/* ========================================
   月の雄 Tsukinoyu — 版型 A：Sumi-e 水墨風
   ======================================== */

/* ── CSS 變數系統 ── */
:root {
  /* 色彩 — 更強烈的墨色對比，略帶冷灰 */
  --bg-primary:    #f5f1ea;
  --bg-secondary:  #eae5db;
  --bg-card:       #faf8f4;
  --bg-dark:       #0d0d0a;
  --bg-overlay:    rgba(245, 241, 234, 0.90);

  --text-primary:  #0d0d0a;
  --text-muted:    #4a4a42;
  --text-subtle:   #8a867c;

  --accent-red:    #8b2500;
  --accent-red-dark: #6b1c00;
  --accent-red-light: #a83220;
  --accent-border: rgba(13, 13, 10, 0.10);
  --accent-gold:   #6b5a1e;

  /* 字型 — Zen Old Mincho 更有毛筆手書感 */
  --font-ja:    'Zen Old Mincho', 'Noto Serif TC', serif;
  --font-ja-display: 'Zen Antique Soft', 'Zen Old Mincho', serif;
  --font-en:    'Cormorant Garamond', 'Georgia', serif;
  --font-body:  'Noto Serif TC', serif;

  /* 間距 */
  --section-py: clamp(5rem, 10vw, 9rem);
  --container:  1280px;
  --gap-lg:     4rem;
  --gap-md:     2.5rem;
  --gap-sm:     1.5rem;

  /* 動畫 */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  /* 和紙紙紋效果 */
  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── 進場動畫：水墨圓展開 ── */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f5f1ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.5s ease, visibility 1.5s;
}

#intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 水墨圓 */
.intro-ink-circle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--bg-dark);
  border-radius: 50%;
  animation: inkExpand 3s var(--ease-in-out) 0.2s forwards;
  transform: scale(0);
}

@keyframes inkExpand {
  0%   { transform: scale(0); opacity: 1; }
  60%  { transform: scale(150); opacity: 1; }
  100% { transform: scale(200); opacity: 1; }
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bg-primary);
  opacity: 0;
  animation: fadeIn 0.6s ease 1.2s forwards;
}

.intro-logo-img {
  max-height: clamp(180px, 35vh, 320px);
  width: auto;
  filter: invert(1);
  display: block;
}

.intro-ink-circle-out {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--bg-primary);
  border-radius: 50%;
  animation: inkShrink 1.2s var(--ease-in-out) 4.5s forwards;
  transform: scale(200);
}

@keyframes inkShrink {
  0%   { transform: scale(200); }
  100% { transform: scale(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Header / Nav ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 244, 238, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--accent-border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* Header：Logo + Nav + Actions */
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* nav 居中填滿 */
nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--accent-red);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.nav-links li a:hover {
  color: var(--text-primary);
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--accent-border);
  white-space: nowrap;
}

.nav-cart {
  position: relative;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-cart:hover { color: var(--accent-red); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--accent-red);
  color: white;
  border-radius: 50%;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.btn-reserve {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.2rem;
  background: var(--bg-dark);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.btn-reserve:hover {
  background: var(--accent-red);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
}

/* ── Hero Section（豎排風格） ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(248, 244, 238, 0.0) 0%,
    rgba(248, 244, 238, 0.4) 50%,
    rgba(248, 244, 238, 0.85) 100%
  );
}

/* 大型水墨文字背景 */
.hero-kanji-bg {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-ja-display);
  font-size: clamp(12rem, 22vw, 20rem);
  font-weight: 800;
  color: rgba(26, 21, 9, 0.04);
  writing-mode: vertical-rl;
  letter-spacing: -0.1em;
  user-select: none;
  line-height: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 8vw, 8rem);
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* 豎排標題區 */
.hero-text-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 5.5s forwards;
}

.hero-title-main {
  font-family: var(--font-ja-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1;
  color: var(--text-primary);
}

.hero-title-sub {
  font-family: var(--font-ja);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 300;
}

/* 橫向內容欄 */
.hero-text-horizontal {
  opacity: 0;
  animation: fadeUp 0.8s ease 5.7s forwards;
}

.hero-en-title {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2.2;
  letter-spacing: 0.08em;
  max-width: 380px;
  margin-bottom: 3rem;
}

.hero-stamp {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: var(--accent-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-ja);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%);
  transition: transform 0.3s;
}

.hero-stamp:hover {
  transform: rotate(-3deg) scale(1.05);
}

.hero-stamp small {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
  font-family: var(--font-en);
  font-style: italic;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.9rem 2.2rem;
  background: var(--bg-dark);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--accent-red);
}

.btn-outline {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.btn-outline:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

/* 輪播指示 */
.hero-nav {
  position: absolute;
  bottom: 3rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.hero-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.hero-nav-item.active {
  opacity: 1;
}

.hero-nav-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-nav-line {
  width: 30px;
  height: 1px;
  background: var(--text-muted);
  transition: width 0.3s;
}

.hero-nav-item.active .hero-nav-line {
  width: 50px;
  background: var(--accent-red);
}

/* ── 共用 Section ── */
.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 4rem);
}

.section-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--accent-red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-ja-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.section-title-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* 紅線裝飾 */
.red-rule {
  width: 40px;
  height: 2px;
  background: var(--accent-red);
  margin-bottom: 1.5rem;
}

/* ── Brand Story ── */
#brand-story {
  padding: var(--section-py) 0;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.brand-story-text {
  padding-right: 3rem;
}

.brand-story-text p {
  font-size: 0.9rem;
  line-height: 2.4;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.brand-chef-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.brand-chef-title .chef-ja {
  font-family: var(--font-ja);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
}

.brand-chef-title .chef-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.brand-philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-border);
}

.philosophy-item {
  text-align: center;
}

.philosophy-kanji {
  font-family: var(--font-ja);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(26, 21, 9, 0.12);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.philosophy-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* 圖片視覺欄 */
.brand-story-visual {
  position: relative;
}

.photo-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #e0d8c8 0%, #c8c0b0 100%);
  position: relative;
  overflow: hidden;
}

.chef-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.chef-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.chef-slide.active {
  opacity: 1;
}

.photo-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 160px;
  height: 200px;
  border: 2px solid var(--accent-red);
  opacity: 0.25;
}

/* ── Menu Section ── */
#menu-preview {
  padding: var(--section-py) 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.menu-view-all {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.menu-view-all:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.menu-card {
  background: var(--bg-card);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  border-top: 3px solid var(--text-primary);
}

.menu-card.featured {
  border-top-color: var(--accent-red);
}

.menu-featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent-red);
  color: white;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.7rem;
}

.menu-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.menu-price-num {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: 0.02em;
}

.menu-price-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.menu-course-name {
  font-family: var(--font-ja);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.menu-course-desc {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.menu-divider {
  width: 100%;
  height: 1px;
  background: var(--accent-border);
  margin-bottom: 1.5rem;
}

.menu-items {
  list-style: none;
  margin-bottom: 2rem;
}

.menu-items li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--accent-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-items li:last-child { border-bottom: none; }

.item-course-label {
  font-family: var(--font-ja);
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 400;
  min-width: 48px;
  letter-spacing: 0.1em;
}

.menu-note {
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 2;
  letter-spacing: 0.05em;
}

/* ── Kaiseki Menu (菊乃井風格) ── */
.menu-kaiseki {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.menu-kaiseki-header {
  margin-bottom: 3rem;
}

.menu-kaiseki-name {
  font-family: var(--font-ja-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.menu-kaiseki-desc {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.menu-kaiseki-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.menu-kaiseki-divider {
  width: 40px;
  height: 1px;
  background: var(--text-subtle);
  margin: 2.5rem auto;
}

.menu-kaiseki-courses {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-kaiseki-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.8rem clamp(2rem, 5vw, 4rem);
  background: var(--bg-primary);
}

.menu-kaiseki-item.alt {
  background: var(--bg-secondary);
}

.kaiseki-course-name {
  font-family: var(--font-ja-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--accent-red);
  min-width: 70px;
  flex-shrink: 0;
}

.kaiseki-dish-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  line-height: 1.9;
  text-align: left;
}

.menu-kaiseki-note {
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ── Gallery Section ── */
#gallery {
  padding: var(--section-py) 0;
}

.gallery-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  margin-bottom: 4rem;
  align-items: end;
}

.gallery-grid, .gallery-grid-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-grid {
  grid-template-rows: 300px 220px;
}

.gallery-grid-7 {
  grid-template-rows: 300px 220px 280px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: #d8d0c0;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-item:hover {
  box-shadow: 0 8px 30px rgba(26, 21, 9, 0.15);
}

.gallery-placeholder-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-placeholder-label {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #fff;
}

/* ── Shop Preview ── */
#shop-preview {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.shop-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.shop-column-title {
  font-family: var(--font-ja-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}

.shop-column-subtitle {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.shop-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  overflow: hidden;
  transition: box-shadow 0.4s;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--accent-red);
  color: white;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
}

.product-info {
  padding: 1.2rem 1.25rem 1.5rem;
}

.product-era {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.62rem;
  color: var(--accent-red);
  margin-bottom: 0.4rem;
  letter-spacing: 0.1em;
}

.product-name {
  font-family: var(--font-ja);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.product-name-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
}

.product-price span {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.btn-add-cart {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-add-cart:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

/* ── Reservation ── */
#reservation {
  padding: var(--section-py) 0;
}

.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
}

.reservation-info p {
  font-size: 0.88rem;
  line-height: 2.4;
  color: var(--text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.08em;
}

.reservation-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reservation-details li {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--accent-border);
}

.detail-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--accent-red);
  width: 75px;
  flex-shrink: 0;
  padding-top: 2px;
  letter-spacing: 0.1em;
}

.detail-value {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.reservation-form {
  background: var(--bg-dark);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.reservation-form .section-label {
  color: rgba(248, 244, 238, 0.5);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(248, 244, 238, 0.5);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(248, 244, 238, 0.06);
  border: 1px solid rgba(248, 244, 238, 0.15);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus {
  border-color: rgba(248, 244, 238, 0.5);
}

.form-input::placeholder {
  color: rgba(248, 244, 238, 0.25);
}

.form-select option {
  background: var(--bg-dark);
  color: var(--bg-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* form 內的 btn-primary 適配暗背景 */
.reservation-form .btn-primary {
  background: var(--bg-primary);
  color: var(--bg-dark);
}

.reservation-form .btn-primary:hover {
  background: var(--accent-red);
  color: white;
}

/* ── Brand Intro ── */
.brand-intro {
  margin-bottom: 5rem;
}

.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.brand-intro-img {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

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

.chef-single {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-intro-body {
  margin-top: 1.5rem;
}

.brand-intro-body p {
  font-size: 0.92rem;
  line-height: 2.2;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

/* ── Menu Single Card ── */
.menu-cards-single {
  display: flex;
  justify-content: center;
}

.menu-cards-single .menu-card {
  max-width: 520px;
  width: 100%;
}

/* ── Reservation CTA ── */
.reservation-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.reservation-map {
  max-width: 320px;
  margin: 0 auto;
}

.reservation-map a {
  display: block;
  transition: opacity 0.3s;
}

.reservation-map a:hover {
  opacity: 0.85;
}

.map-hint {
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.reservation-map img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--accent-border);
}

.reservation-booking {
  text-align: center;
}

.reservation-cta-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.btn-reserve-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ja);
  font-size: 1rem;
  letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  transition: all 0.4s var(--ease-out);
}

.btn-reserve-large:hover {
  background: var(--accent-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 37, 0, 0.2);
}

.btn-reserve-arrow {
  transition: transform 0.3s;
}

.btn-reserve-large:hover .btn-reserve-arrow {
  transform: translateX(4px);
}

.reservation-cta-note {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* ── Announcement Lightbox ── */
.ann-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease;
}

.ann-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.ann-content {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.ann-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-subtle);
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.ann-close:hover {
  color: var(--text-primary);
}

.ann-image {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.ann-title {
  font-family: var(--font-ja-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.ann-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.ann-link {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--accent-red);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--accent-red);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.ann-link:hover {
  opacity: 0.7;
}

/* ── Language Toggle ── */
.lang-toggle {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--accent-border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

/* ── Footer ── */
#site-footer {
  background: var(--bg-dark);
  color: var(--bg-primary);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: var(--font-ja-display);
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  color: var(--bg-primary);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-brand-sub {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.7rem;
  color: rgba(248, 244, 238, 0.4);
  display: block;
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.8rem;
  line-height: 2.2;
  color: rgba(248, 244, 238, 0.55);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(248, 244, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(248, 244, 238, 0.5);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.footer-col h4 {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(248, 244, 238, 0.4);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(248, 244, 238, 0.6);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--bg-primary); }

.footer-info {
  font-size: 0.8rem;
  color: rgba(248, 244, 238, 0.55);
  line-height: 2;
  letter-spacing: 0.05em;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 244, 238, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.65rem;
  color: rgba(248, 244, 238, 0.3);
  letter-spacing: 0.1em;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-inner { gap: 1rem; }
  nav { display: none; }
  .nav-links, .btn-reserve { display: none; }
  .nav-hamburger { display: flex; }

  .hero-text-vertical { display: none; }
  .hero-kanji-bg { display: none; }

  .brand-intro-grid,
  .brand-story-grid,
  .menu-cards,
  .gallery-intro,
  .reservation-layout { grid-template-columns: 1fr; }

  .shop-column .product-cards-row { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1) { grid-column: span 2; height: 250px; }
  .gallery-item { height: 200px; }

  .shop-row { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }

  .menu-header, .shop-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-philosophy { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════
   櫻花飄落效果
   每片花瓣是一個橢圓，有隨機大小、
   落下速度、左右搖擺，製造自然感
   ═══════════════════════════════════ */
#sakura-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  top: -50px;
  border-radius: 150% 0 150% 0;
  opacity: 0;
  will-change: transform;
  animation:
    sakuraFall linear infinite,
    sakuraSway ease-in-out infinite alternate;
}

/* 花瓣從畫面外頂部開始，慢慢落到底部 */
@keyframes sakuraFall {
  0%   { top: -50px; opacity: 0; transform: rotate(0deg) translateX(0); }
  5%   { opacity: 0.85; }
  90%  { opacity: 0.6; }
  100% { top: 105vh; opacity: 0; transform: rotate(540deg) translateX(0); }
}

/* 左右搖晃，模擬微風 */
@keyframes sakuraSway {
  0%   { margin-left: -30px; }
  100% { margin-left:  30px; }
}
