/**
 * FONDUE HOUSE DU PONT – Luzern
 * Brand Experience Style Sheet: "FONDUE UNDER THE BRIDGE"
 * 
 * Palette:
 * - Linen Tablecloth: #f5efe3 / #faf6ee
 * - Woodblock Ink: #241e19 / #191410
 * - Melted Gruyère / Fondue Gold: #df9c28 / #f2b842
 * - Alpine Slate & River Twilight: #111518 / #1a2226
 * - Swiss Heritage Red: #be2820 / #9e1f18
 * - Clean Menu Paper: #fbf9f4 / #ffffff
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Playfair+Display:ital,wght@0,600;0,800;1,600&family=Syne:wght@700;800;900&display=swap');

:root {
  --color-tablecloth: #f5efe3;
  --color-tablecloth-warm: #ede4d3;
  --color-ink: #241e19;
  --color-ink-muted: #665b50;
  --color-cheese-gold: #df9c28;
  --color-cheese-light: #f3be50;
  --color-river-slate: #111518;
  --color-river-deep: #0b0e10;
  --color-river-border: #263339;
  --color-swiss-red: #be2820;
  --color-swiss-red-hover: #9e1f18;
  --color-paper: #fbf9f4;
  --color-paper-card: #ffffff;
  --color-border: rgba(45, 36, 28, 0.14);
  
  --font-display: "Syne", "Cinzel", "Playfair Display", Georgia, serif;
  --font-serif: "Playfair Display", "Cinzel", Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Consolas", "Courier New", monospace;

  --spring-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.24);
  --smooth-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Resets & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background-color: var(--color-paper);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOPBAR & MOBILE NAVIGATION
   ========================================================================== */

/* Ultra-minimal narrow black topbar for Scene 1 */
.scene1-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--color-river-slate);
  color: #f5efe3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 50;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  animation: navFadeIn 0.6s ease-out 0.75s backwards;
}

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

.scene1-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f5efe3;
  padding: 0.4rem 0.6rem;
  border-radius: 3px;
  transition: color 0.2s, background-color 0.2s;
}

.scene1-menu-btn:hover {
  color: var(--color-cheese-light);
  background-color: rgba(255, 255, 255, 0.08);
}

.scene1-menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.scene1-menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
}

.scene1-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scene1-link {
  color: #cfd6dc;
  transition: color 0.2s;
}

.scene1-link:hover {
  color: #ffffff;
}

.scene1-link-reserve {
  color: var(--color-cheese-light);
  font-weight: 700;
}

.scene1-link-reserve:hover {
  color: #ffffff;
}

.scene1-sep {
  color: #526068;
}

.scene1-langs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.scene1-lang-item {
  color: #8b99a3;
  font-size: 0.75rem;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  transition: color 0.2s, background-color 0.2s;
}

.scene1-lang-item:hover {
  color: #ffffff;
}

.scene1-lang-item.active {
  color: #ffffff;
  background-color: rgba(223, 156, 40, 0.25);
  font-weight: 700;
}

/* Standard Inner Pages Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-river-slate);
  color: #f5efe3;
  z-index: 100;
  border-bottom: 1px solid var(--color-river-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-cheese-light);
  letter-spacing: 0.05em;
}

.main-nav {
  display: none;
}

@media (min-width: 900px) {
  .main-nav {
    display: block;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem;
}

.nav-link {
  color: #b5c2cb;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-lang-selector {
  display: flex;
  gap: 0.3rem;
  margin-right: 0.5rem;
}

.header-lang-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b99a3;
  padding: 2px 4px;
  border-radius: 2px;
}

.header-lang-link.active {
  color: #ffffff;
  background-color: rgba(223, 156, 40, 0.3);
}

.btn-book-header {
  background-color: var(--color-swiss-red);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s;
  letter-spacing: 0.03em;
}

.btn-book-header:hover {
  background-color: var(--color-swiss-red-hover);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--color-paper);
  color: var(--color-ink);
  z-index: 1000;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right 0.3s var(--smooth-ease);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 21, 24, 0.65);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.mobile-drawer-close {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-ink);
  padding: 0.2rem 0.5rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav-link.active {
  color: var(--color-swiss-red);
}

.mobile-drawer-footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}


/* ==========================================================================
   SCENE 1: SIGN AWAKENING (0–100vh)
   ========================================================================== */

.scene-sign {
  position: relative;
  min-height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-tablecloth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene1-pattern-bg {
  position: absolute;
  inset: -50px;
  background-image: url('../images/pattern-tablecloth.svg');
  background-repeat: repeat;
  background-size: 260px 260px;
  z-index: 1;
  animation: slowTableclothDrift 60s linear infinite, tableclothIntro 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  will-change: transform;
}

@keyframes slowTableclothDrift {
  0% { background-position: 0 0; }
  100% { background-position: 520px 0; }
}

@keyframes tableclothIntro {
  0% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Official DU PONT Tavern Signboard (58–70% Viewport Width) */
.scene1-signplate {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(310px, 66vw, 940px);
  max-width: 92vw;
  transform: translate(-50%, -50%) rotate(-2.5deg);
  z-index: 10;
  text-align: center;
  cursor: pointer;
  user-select: none;
  animation: signplateAwaken 0.9s var(--spring-bounce) 0.15s backwards;
  will-change: transform, opacity;
}

@keyframes signplateAwaken {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18vh)) rotate(-4deg) scale(0.82);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-2.5deg) scale(1);
  }
}

.signplate-board {
  background: linear-gradient(135deg, #181d20 0%, #101416 100%);
  color: #fbf8f2;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 3.5vw, 2.5rem);
  border: 4px solid #2e3b42;
  border-radius: 8px;
  box-shadow: 
    0 24px 48px rgba(22, 17, 12, 0.32),
    0 6px 14px rgba(22, 17, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Authentic corner rivets / brass corners */
.signplate-board::before,
.signplate-board::after {
  content: "•";
  position: absolute;
  font-size: 1.5rem;
  color: var(--color-cheese-gold);
  line-height: 1;
}
.signplate-board::before { top: 8px; left: 12px; }
.signplate-board::after { top: 8px; right: 12px; }

.signplate-header-pennant {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-cheese-gold);
  margin-bottom: 0.4rem;
}

.swiss-cross-mark {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--color-swiss-red);
  color: #ffffff;
  font-weight: 900;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
  border-radius: 2px;
}

/* Massive Official DU PONT Wordmark */
.signplate-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0.2rem 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.signplate-sub-strip {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b5c2cb;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: clamp(0.5rem, 1.2vw, 0.9rem);
  width: 100%;
  margin-top: 0.4rem;
}

.signplate-badge {
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
  font-size: clamp(0.68rem, 1.2vw, 0.85rem);
  color: #8b99a3;
  letter-spacing: 0.06em;
}

/* Scroll Cue to Scene 2 */
.scene1-scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s, color 0.2s;
}

.scene1-scroll-cue:hover {
  color: var(--color-swiss-red);
  transform: translateX(-50%) translateY(3px);
}

.scene1-pot-icon {
  animation: potWobble 2.5s ease-in-out infinite;
}

@keyframes potWobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}


/* ==========================================================================
   SCENE 2: 锅盖打开 (100–210vh)
   ========================================================================== */

.scene-lid {
  position: relative;
  min-height: 150vh;
  background: var(--color-river-deep);
  z-index: 15;
}

.scene-lid-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-lid-stage {
  position: absolute;
  inset: 0;
  background-image: url('../images/fondue-cheese-close.jpg');
  background-size: cover;
  background-position: center center;
  clip-path: circle(var(--lid-radius, 0%) at 50% 50%);
  -webkit-clip-path: circle(var(--lid-radius, 0%) at 50% 50%);
  will-change: clip-path;
  transition: clip-path 0.05s linear;
}

.scene-lid-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(12, 15, 17, 0.35) 0%, rgba(10, 12, 14, 0.85) 85%);
}

.scene-lid-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1100px;
  padding: 0 2rem;
  text-align: center;
}

.scene2-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.4vw, 5.2rem);
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.scene2-line {
  display: block;
  opacity: 0;
  transition: transform 0.65s var(--smooth-ease), opacity 0.65s var(--smooth-ease);
}

.scene2-line-1 {
  transform: translateX(-50px);
}

.scene2-line-2 {
  transform: translateX(50px);
  color: var(--color-cheese-light);
  transition-delay: 0.15s;
}

.scene2-headline.in-view .scene2-line {
  opacity: 1;
  transform: translateX(0);
}

.scene2-scale-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(17, 21, 24, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.scene2-address {
  font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  color: #cfd6dc;
  font-weight: 500;
}

.scene2-reserve-btn {
  background: var(--color-swiss-red);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.2s;
}

.scene2-reserve-btn:hover {
  background: var(--color-swiss-red-hover);
  transform: translateY(-1px);
}


/* ==========================================================================
   SCENE 3: 拉丝菜单 (210–360vh)
   ========================================================================== */

.scene-cheese-menu {
  position: relative;
  background-color: var(--color-paper);
  padding: 7rem 0 8rem;
  z-index: 20;
  overflow: hidden;
}

.scene3-lead-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.scene3-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cheese-gold);
  margin-bottom: 0.5rem;
}

.scene3-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.scene3-cert-seal {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3b6d44;
  background-color: #eaf4ed;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.scene3-intro {
  font-size: 1.05rem;
  color: var(--color-ink-muted);
}

/* Continuous Stretched Cheese SVG Strand Down Center */
.cheese-thread-wrap {
  position: absolute;
  top: 14rem;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  pointer-events: none;
  z-index: 1;
}

.cheese-thread-svg {
  width: 100%;
  height: 100%;
}

.cheese-thread-path {
  fill: none;
  stroke: var(--color-cheese-gold);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(223, 156, 40, 0.45));
}

/* Alternating Table Menu Food Stream (No Generic Card Grids) */
.cheese-dish-stream {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7rem);
}

.cheese-dish-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 800px) {
  .cheese-dish-row {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
  .cheese-dish-row.reverse {
    direction: rtl;
  }
  .cheese-dish-row.reverse > * {
    direction: ltr;
  }
}

/* Photo Plates with Authentic Paper Border & Controlled Tilt */
.cheese-dish-photo-wrap {
  position: relative;
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(36, 30, 25, 0.08);
  border: 1px solid var(--color-border);
  transition: transform 0.6s var(--smooth-ease), box-shadow 0.6s var(--smooth-ease);
  will-change: transform;
}

/* Controlled tilt: un-tilts when aligned */
.cheese-dish-row:nth-child(odd) .cheese-dish-photo-wrap {
  transform: rotate(-2.8deg) scale(0.98);
}
.cheese-dish-row:nth-child(even) .cheese-dish-photo-wrap {
  transform: rotate(2.4deg) scale(0.98);
}

.cheese-dish-photo-wrap.aligned {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(36, 30, 25, 0.14);
}

.cheese-dish-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 3px;
}

.aspect-square .cheese-dish-img {
  height: 320px;
}

.aspect-landscape .cheese-dish-img {
  height: 260px;
}

.cheese-dish-caption {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  text-align: right;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

.cheese-dish-text {
  display: flex;
  flex-direction: column;
}

.cheese-dish-category {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cheese-gold);
  margin-bottom: 0.35rem;
}

.cheese-dish-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.cheese-dish-desc {
  font-size: 1rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
}

/* Concluding Menu Link */
.scene3-conclude {
  text-align: center;
  margin-top: 5rem;
  position: relative;
  z-index: 5;
}

.btn-cheese-full-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-river-slate);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(17, 21, 24, 0.2);
  transition: background-color 0.2s, transform 0.2s;
}

.btn-cheese-full-menu:hover {
  background: var(--color-cheese-gold);
  color: var(--color-river-slate);
  transform: translateY(-2px);
}


/* ==========================================================================
   SCENE 4: 河桌 (360–470vh)
   ========================================================================== */

.scene-river-gallery {
  position: relative;
  background-color: var(--color-river-slate);
  color: #f5efe3;
  padding: 6.5rem 0 7rem;
  z-index: 25;
  overflow: hidden;
}

/* Subtle river current wave lines in background */
.scene4-water-stream {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.scene4-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}

.scene4-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cheese-light);
  margin-bottom: 0.5rem;
}

.scene4-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.scene4-intro {
  font-size: 1rem;
  color: #a4b3be;
}

/* Horizontal Gallery Stage */
.river-gallery-container {
  position: relative;
  width: 100%;
}

.river-gallery-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 2rem 2.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* Keep the page's natural vertical gesture while allowing horizontal swipes. */
  touch-action: auto;
}

.river-gallery-track::-webkit-scrollbar {
  display: none;
}

/* Bridge Arch Window Framing */
.bridge-arch-item {
  flex: 0 0 320px;
  max-width: 82vw;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
}

.bridge-arch-window {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 160px 160px 8px 8px;
  overflow: hidden;
  border: 3px solid rgba(223, 156, 40, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  background: #000000;
  transition: transform 0.3s var(--smooth-ease), border-color 0.3s;
}

.bridge-arch-item:hover .bridge-arch-window,
.bridge-arch-item:focus .bridge-arch-window {
  transform: translateY(-6px);
  border-color: var(--color-cheese-light);
}

.bridge-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bridge-arch-item:hover .bridge-arch-img {
  transform: scale(1.05);
}

.bridge-arch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 15, 17, 0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.bridge-arch-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f5efe3;
  line-height: 1.3;
}

.bridge-arch-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(17, 21, 24, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-cheese-light);
}

/* Gallery Navigation Controls */
.river-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.river-nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-river-border);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.2s, border-color 0.2s;
}

.river-nav-arrow:hover {
  background: rgba(223, 156, 40, 0.2);
  border-color: var(--color-cheese-light);
}

.river-dots-row {
  display: flex;
  gap: 0.5rem;
}

.river-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s, width 0.2s;
}

.river-dot.active {
  background: var(--color-cheese-light);
  width: 22px;
  border-radius: 4px;
}

.scene4-gallery-link-wrap {
  text-align: center;
  margin-top: 3rem;
}

.scene4-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-cheese-light);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--color-cheese-gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.scene4-gallery-link:hover {
  color: #ffffff;
}


/* ==========================================================================
   SCENE 5: 账单与行动 (470vh+)
   ========================================================================== */

.scene-bill-footer {
  position: relative;
  background-color: #0d1012;
  color: var(--color-ink);
  padding: 6rem 0 3rem;
  z-index: 30;
}

/* Massive Restaurant Guest Check / Table Stand */
.bill-guest-check {
  background: #fdfbf7;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid #ddd2c4;
  overflow: hidden;
  position: relative;
}

/* Realistic receipt perforation on top edge */
.bill-perforation {
  height: 8px;
  background-image: repeating-linear-gradient(90deg, #d2c5b4, #d2c5b4 8px, transparent 8px, transparent 16px);
  border-bottom: 1px solid #e0d7cb;
}

.bill-inner {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.bill-top-docket {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 2px solid var(--color-ink);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.bill-brand-header {
  display: flex;
  flex-direction: column;
}

.bill-brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: 0.04em;
}

.bill-brand-sub {
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  font-weight: 600;
}

.bill-docket-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  text-align: right;
  line-height: 1.5;
}

/* High Priority Action: Table Reservation */
.bill-primary-cta-banner {
  background: #f5eee0;
  border: 2px solid var(--color-cheese-gold);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.bill-cta-info {
  display: flex;
  flex-direction: column;
}

.bill-cta-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-ink);
}

.bill-cta-desc {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
}

.btn-bill-reserve {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-swiss-red);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: 0 6px 16px rgba(190, 40, 32, 0.28);
}

.btn-bill-reserve:hover {
  background: var(--color-swiss-red-hover);
  transform: translateY(-2px);
}

.btn-bill-reserve-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

/* Ledger Columns (Hours, Address, Contact, Links) */
.bill-ledger-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .bill-ledger-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bill-col-header {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 0.5rem;
}

.bill-col-body {
  font-size: 0.92rem;
  line-height: 1.6;
}

.bill-col-body strong {
  display: block;
  color: var(--color-ink);
}

.bill-col-note {
  font-size: 0.8rem;
  color: #7b6f63;
  margin-top: 0.3rem;
  display: block;
}

.bill-link {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bill-link:hover {
  color: var(--color-swiss-red);
}

/* Social Chips */
.bill-social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.social-chip {
  font-size: 0.75rem;
  font-weight: 600;
  background: #ede6d8;
  color: var(--color-ink);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.social-chip:hover {
  background: var(--color-cheese-gold);
  color: #ffffff;
}

/* Expandable Google Map Section */
.bill-map-toggle-wrap {
  margin-bottom: 2rem;
}

.btn-toggle-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-ink);
  background: #ede6d8;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-toggle-map:hover {
  background: #ded5c3;
}

.bill-map-drawer {
  margin-top: 1rem;
  height: 0;
  overflow: hidden;
  transition: height 0.4s var(--smooth-ease);
  border-radius: 4px;
}

.bill-map-drawer.expanded {
  height: 380px;
}

.bill-map-drawer iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer Bottom Strip */
.bill-footer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  border-top: 1px dashed var(--color-border);
  padding-top: 1.5rem;
}

.bill-lang-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bill-lang-link {
  color: var(--color-ink-muted);
  font-weight: 500;
}

.bill-lang-link.active {
  color: var(--color-ink);
  font-weight: 700;
}

.bill-legal-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-cookie-revoke {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  text-decoration: underline;
}

.btn-cookie-revoke:hover {
  color: var(--color-swiss-red);
}


/* ==========================================================================
   SUBPAGES: EDITORIAL LAYOUTS
   ========================================================================== */

.page-hero {
  background-color: var(--color-river-slate);
  color: #f5efe3;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--color-river-border);
}

.page-hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cheese-light);
  margin-bottom: 0.5rem;
  display: block;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero-lead {
  font-size: 1.1rem;
  max-width: 720px;
  color: #b5c2cb;
}

/* Long Table Folio Menu Layout */
.menu-folio-section {
  padding: 5rem 0 6rem;
  background-color: var(--color-paper);
}

.menu-folio-sheet {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(36, 30, 25, 0.08);
  border-radius: 6px;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}

.menu-chapter-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
  padding-bottom: 0.4rem;
  margin: 2.5rem 0 1.25rem;
}

.menu-chapter-title:first-child {
  margin-top: 0;
}

.menu-chapter-desc {
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.menu-item-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.menu-item-name {
  font-weight: 700;
  color: var(--color-ink);
  flex-shrink: 0;
}

.menu-dots-leader {
  flex-grow: 1;
  border-bottom: 1px dotted #b8afa4;
  margin: 0 0.75rem;
  position: relative;
  top: -4px;
}

.menu-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-ink);
  flex-shrink: 0;
}

.menu-item-detail {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}

.menu-pdf-action-bar {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.btn-menu-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-swiss-red);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-menu-pdf:hover {
  background: var(--color-swiss-red-hover);
}

/* Impressions Gallery Page */
.impressions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0 6rem;
}

@media (min-width: 600px) {
  .impressions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .impressions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Events & Groups Page */
.events-narrative-section {
  padding: 4.5rem 0 6rem;
}

.events-atmosphere-card {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid var(--color-border);
}

.events-atmosphere-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.events-policy-box {
  background: #fdfaf4;
  border-left: 4px solid var(--color-cheese-gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

/* Contact Page Form & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  padding: 4.5rem 0 6rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.contact-facts-list li strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contact Form 7 Reconstruction */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc1b3;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-cheese-gold);
  box-shadow: 0 0 0 2px rgba(223, 156, 40, 0.2);
}

.wpcf7-submit {
  align-self: flex-start;
  background: var(--color-river-slate);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.wpcf7-submit:hover {
  background: var(--color-cheese-gold);
  color: var(--color-river-slate);
}

.wpcf7-response-output {
  display: none;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-top: 1rem;
}

.wpcf7-validation-demo {
  background: #fdf5e6;
  border: 1px solid #e0c89c;
  color: #6d5423;
}

/* Impressum & Legal Page */
.legal-content-sheet {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 860px;
  margin: 4rem auto 6rem;
  border-radius: 6px;
}

.legal-content-sheet h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 2rem 0 0.8rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
}

.legal-content-sheet h2:first-of-type {
  margin-top: 0;
}

.legal-content-sheet p {
  margin-bottom: 1rem;
  color: var(--color-ink-muted);
}


/* ==========================================================================
   LIGHTBOX MODAL (FooBox System)
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 15, 0.94);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-box {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-text {
  color: #f5efe3;
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  padding: 0.2rem 0.5rem;
}


/* ==========================================================================
   COOKIE BANNER (DSG / GDPR)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-river-slate);
  color: #ffffff;
  border-top: 2px solid var(--color-cheese-gold);
  padding: 1rem 1.5rem;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: #cfd6dc;
  max-width: 760px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
}

.btn-cookie-accept {
  background: var(--color-cheese-gold);
  color: var(--color-river-slate);
}

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.bill-map-always-visible {
  display: block;
  margin-top: 1rem;
  height: 380px;
  overflow: hidden;
}

.bill-map-always-visible iframe {
  display: block;
  min-height: 300px;
}


/* ==========================================================================
   PREFERS-REDUCED-MOTION & RESPONSIVE TWEAKS
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scene1-pattern-bg {
    animation: none !important;
  }
  .scene-lid-stage {
    clip-path: circle(100% at 50% 50%) !important;
    -webkit-clip-path: circle(100% at 50% 50%) !important;
  }
  .scene2-line {
    opacity: 1 !important;
    transform: none !important;
  }
  .cheese-dish-photo-wrap {
    transform: none !important;
  }
}

/* Mobile Screens (375px, 390px, 768px) */
@media (max-width: 768px) {
  .scene1-topbar {
    padding: 0 0.75rem;
  }
  .scene1-actions .scene1-langs {
    display: none;
  }
  .signplate-wordmark {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
    line-height: 0.9;
  }
  .scene1-signplate {
    width: 80vw;
    max-width: 80vw;
    transform: translate(-50%, -50%) rotate(-1.5deg);
  }
  .signplate-board {
    padding: 1.25rem 0.8rem;
    overflow: hidden;
  }
  .signplate-header-pennant {
    max-width: 100%;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-align: center;
  }
  .signplate-sub-strip,
  .signplate-badge {
    display: none;
  }
  .cookie-banner {
    padding: 0.8rem 1rem;
  }
  .cookie-inner {
    display: block;
  }
  .cookie-text {
    width: 100%;
    max-width: none;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .cheese-thread-wrap {
    display: none;
  }
  .cheese-dish-row {
    margin-bottom: 2rem;
  }
  .bill-primary-cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
