/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@font-face {
  font-family: 'CormorantGaramond';
  src: url("/assets/CormorantGaramond-VariableFont_wght-cd2ab63e.ttf") format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CormorantGaramond';
  src: url("/assets/CormorantGaramond-Italic-VariableFont_wght-bebd4704.ttf") format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* === DESIGN TOKENS ===
   Single source of truth for brand colours.
   JS reads these via getComputedStyle — see app/javascript/colors.js */
:root {
  --color-bg: #faf5f4;
  --color-pink: #fce8e6;
  --color-burgundy: #a52216;
  --color-burgundy-light: #c94535;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-surface: #f5e3e1;
  --color-border: rgba(165, 34, 22, 0.12);

  --font-mono: "Courier New", Courier, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "CormorantGaramond", Georgia, serif;

  --nav-height: 56px;
  --section-padding: clamp(3rem, 8vw, 6rem);
  --content-max-width: 960px;
}

html {
  scroll-behavior: smooth;
  font-size: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(165, 34, 22, 0.4) transparent;
}

html::-webkit-scrollbar {
  width: 5px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: rgba(165, 34, 22, 0.4);
  border-radius: 99px;
  transition: background 0.4s ease;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(165, 34, 22, 0.7);
}

html.scrollbar--on-dark::-webkit-scrollbar-thumb {
  background: rgba(252, 232, 230, 0.45);
}

html.scrollbar--on-dark::-webkit-scrollbar-thumb:hover {
  background: rgba(252, 232, 230, 0.75);
}

html.scrollbar--on-dark {
  scrollbar-color: rgba(252, 232, 230, 0.45) transparent;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  from { left: -80%; }
  to   { left: 120%; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.9; }
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text);
  /* overflow: hidden removed — was only needed for full-screen canvas */
}

/* === WALLPAPER PATTERN === */
/* Subtle dot grid using brand burgundy — used as pseudo-element overlay */
.pattern-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-burgundy) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* === WEBGL CANVAS (scoped, no longer full-page) === */
#glcanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;        /* was: 100vw */
  height: 100%;       /* was: 100vh */
  z-index: 1;
  cursor: grab;
  display: block;
  touch-action: pan-y; /* overridden to none by JS when cloth is grabbed */
}

#glcanvas:active {
  cursor: grabbing;
}

/* menu-section contains the canvas */
.menu-section {
  position: sticky;
  top: 0;
  z-index: 2;
  will-change: transform;
  height: 100svh;
  overflow: hidden;
  touch-action: pan-y;   /* allow vertical scroll; JS locks to none when cloth is grabbed */
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.1);
}

.menu-section__inner {
  position: relative;
  width: 100%;
  height: 100%;
}


#indicator {
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: none;
  z-index: 10;
}

/* === CATEGORY ARROWS === */
.menu__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 245, 244, 0.75);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-burgundy);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s, background 0.2s;
}

.menu__arrow svg {
  width: 20px;
  height: 20px;
}

.menu__arrow--prev {
  left: 16px;
}

.menu__arrow--next {
  right: 16px;
}

.menu__arrow:hover:not(:disabled) {
  background: rgba(252, 232, 230, 0.95);
}

.menu__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* === STICKY NAV === */
[data-controller="nav"] {
  height: var(--nav-height);
}

#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-pink);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  gap: 2rem;
}

#site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wallpaper.svg") no-repeat center / cover;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

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

.nav__logo img {
  display: block;
  height: 22px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.nav__links a {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--color-burgundy);
}

.nav__lang {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch__btn {
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lang-switch__btn:hover {
  opacity: 1;
}

.lang-switch__btn--active {
  color: var(--color-burgundy);
  opacity: 1;
  font-weight: 700;
}

/* Old #lang-switch removed from canvas area */
#lang-switch {
  display: none;
}

/* === MOBILE MENU BUTTON (three dots) === */
.nav__menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav__menu-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-burgundy);
}

/* === SIDE DRAWER OVERLAY === */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__overlay--open {
  opacity: 1;
  pointer-events: auto;
}

/* === SIDE DRAWER === */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--color-pink);
  border-left: 1px solid var(--color-border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: var(--nav-height) 2rem 2rem;
  gap: 2rem;
}

.nav__drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wallpaper.svg") no-repeat center / cover;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.nav__drawer--open {
  transform: translateX(0);
}

.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__drawer-links a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}

.nav__drawer-links a:first-child {
  border-top: 1px solid var(--color-border);
}

.nav__drawer-links a:hover {
  color: var(--color-burgundy);
}

.nav__drawer-lang {
  display: flex;
  gap: 1rem;
}

/* === RESPONSIVE BREAKPOINT === */
@media (max-width: 768px) {
  .nav__links,
  .nav__lang {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }
}

/* === HERO SECTION === */
#hero {
  position: sticky;
  top: 0;
  z-index: 1;
  will-change: transform;
  min-height: calc(100svh - var(--nav-height));
  background-color: var(--color-pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--section-padding) - 30px) clamp(1rem, 5vw, 3rem) calc(var(--section-padding) + 30px);
  overflow: hidden;
}

/* Hero fades out as it scrolls away — driven by LocoScroll --progress variable */
#hero[data-scroll-css-progress] {
  opacity: calc(1 - var(--progress, 0));
}

.hero__brand-mark {
  width: 200px;
  height: 200px;
  animation: fadeUp 0.9s ease both;
}

.hero__brand-mark img {
  width: 100%;
  height: 100%;
}

.hero__name {
  margin: 0 0 1rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero__name img {
  display: block;
  width: clamp(180px, 40vw, 340px);
  height: auto;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
  max-width: 480px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.3s ease both;
}

/* === HERO SCROLL HINT === */
.hero__scroll-hint {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  animation: scrollBounce 2.2s 1.2s ease-in-out infinite;
}

.hero__scroll-hint span {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  opacity: 0.5;
}

.hero__scroll-hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-burgundy);
  opacity: 0.45;
}

/* === MENU TYPE SWITCHER === */
.menu__type-switcher {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0;
  z-index: 10;
}

.menu__type-btn {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  border: 1.5px solid var(--color-burgundy);
  border-radius: 99px;
  background: transparent;
  color: var(--color-burgundy);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu__type-btn:hover,
.menu__type-btn--active {
  background: var(--color-burgundy);
  color: var(--color-pink);
}

/* Canvas: overlay at top */
#menu-canvas .menu__type-switcher {
  position: absolute;
  top: 0.25rem;
  left: 0;
  right: 0;
}

/* Static section: switcher spans all 3 columns */
#menu-static .menu__type-switcher {
  column-span: all;
}

/* === SECTION SHARED === */
.site-section {
  padding: var(--section-padding) clamp(1rem, 5vw, 3rem);
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.site-section--full-width {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--color-burgundy);
  letter-spacing: 0.10em;
  margin: 0 0 2rem;
  text-transform: uppercase;
}

.section-heading::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: var(--color-burgundy);
  margin-top: 0.6rem;
  opacity: 0.45;
  transition: width 0.6s 0.3s ease;
}

.section-heading.is-inview::after {
  width: 2.5rem;
}

/* === SCROLL REVEAL (driven by Locomotive Scroll is-inview) === */
[data-scroll] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-scroll].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements use CSS keyframe animations, not scroll-reveal */
#hero[data-scroll],
#hero [data-scroll] {
  opacity: unset;
  transform: unset;
  transition: none;
}


.section-subheading {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2rem 0 0.5rem;
}

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1rem;
}

/* === RESERVATIONS === */
#reservations {
  min-height: 100vh;
  z-index: 3;
  background: var(--color-surface);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.1);
}

.reservations__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

@media (max-width: 600px) {
  .reservations__grid {
    grid-template-columns: 1fr;
  }
}

.reservations__item h3 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-burgundy);
  margin: 0 0 0.5rem;
}

.reservations__item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* === FAQ === */
#faq {
  position: relative;
  min-height: 100vh;
  z-index: 4;
  background: var(--color-bg);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.1);
}

#faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wallpaper.svg") repeat;
  background-size: 150%;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

details.faq__item {
  border-bottom: 1px solid var(--color-border);
}

details.faq__item summary {
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

details.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-burgundy);
  transition: transform 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
}

.faq__icon::before {
  width: 1rem;
  height: 1.6px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.6px;
  height: 1rem;
  transform: translate(-50%, -50%);
}

details.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

details.faq__item .faq__answer {
  overflow: hidden;
  transition: height 0.28s ease;
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* === CONTACT === */
#contact {
  z-index: 5;
  background: var(--color-burgundy);
  color: var(--color-pink);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.15);
}

#contact .section-heading {
  color: var(--color-pink);
}

#contact .section-heading::after {
  background: var(--color-pink);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

@media (max-width: 600px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.contact__group h3 {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(252, 232, 230, 0.55);
  margin: 0 0 0.4rem;
}

.contact__group p,
.contact__group a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-pink);
  text-decoration: none;
  margin: 0;
  display: block;
}

.contact__group a:hover {
  text-decoration: underline;
}

.contact__hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-pink);
}

/* === FOOTER === */
footer {
  position: relative;
  z-index: 10;
  background: var(--color-burgundy);
  border-top: 1px solid rgba(252, 232, 230, 0.12);
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: rgba(252, 232, 230, 0.4);
  letter-spacing: 0.05em;
}

/* === NOSCRIPT fallback === */
.noscript-menu {
  padding: 2rem;
  font-family: var(--font-serif);
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* === CANVAS vs STATIC MENU SWITCHING ===
   Both sections are always in the DOM. CSS pointer media queries decide
   which to show. pointer:coarse = touch screen (phones, tablets — including
   modern iPads that report a desktop UA). pointer:fine = mouse/trackpad.
   JS in menu_controller also guards WebGL init behind the same check. */
@media not (pointer: coarse) {
  .menu-section:not(.menu-section--static) { display: none; }
}
@media (pointer: coarse) {
  .menu-section--static { display: none; }
}

/* === STATIC MENU (non-touch / desktop) ===
   Overrides the sticky full-height canvas layout with a normal
   scrollable page section. Touch devices use .menu-section without
   this modifier and are completely unaffected. */
.menu-section--static {
  position: relative;   /* remove sticky */
  height: auto;         /* remove 100svh */
  aspect-ratio: 420 / 297;
  overflow: hidden;
  z-index: 2;
  background: #ffffff;
}

.menu-section--static .site-section {
  columns: 3;
  column-gap: clamp(0.25rem, 3vw, 3rem);
  margin: 0;
  max-width: none;
  padding: clamp(0.25rem, 5vw, 3rem);
}

.menu-section--static .menu__static-category {
  break-inside: avoid;
}

/* Hide the top "Menu" section heading — categories speak for themselves */
.menu-section--static .site-section > .section-heading {
  display: none;
}

.menu__static-group {
  display: contents;
}

/* Hide groups that don't match the active type */
.menu-section--static[data-active-type="kitchen"] .menu__static-group[data-menu-type="bar"],
.menu-section--static[data-active-type="kitchen"] .menu__static-group[data-menu-type="lunch"] {
  display: none;
}

.menu-section--static[data-active-type="bar"] .menu__static-group[data-menu-type="kitchen"],
.menu-section--static[data-active-type="bar"] .menu__static-group[data-menu-type="lunch"] {
  display: none;
}

.menu-section--static[data-active-type="lunch"] .menu__static-group[data-menu-type="kitchen"],
.menu-section--static[data-active-type="lunch"] .menu__static-group[data-menu-type="bar"] {
  display: none;
}

/* Hide names and subtitles that don't match the active type */
.menu-section--static[data-active-type="kitchen"] .menu__static-logo-name[data-name-type="bar"],
.menu-section--static[data-active-type="kitchen"] .menu__static-logo-name[data-name-type="lunch"],
.menu-section--static[data-active-type="kitchen"] .menu__static-logo-subtitle[data-subtitle-type="bar"],
.menu-section--static[data-active-type="kitchen"] .menu__static-logo-subtitle[data-subtitle-type="lunch"] {
  display: none;
}

.menu-section--static[data-active-type="bar"] .menu__static-logo-name[data-name-type="kitchen"],
.menu-section--static[data-active-type="bar"] .menu__static-logo-name[data-name-type="lunch"],
.menu-section--static[data-active-type="bar"] .menu__static-logo-subtitle[data-subtitle-type="kitchen"],
.menu-section--static[data-active-type="bar"] .menu__static-logo-subtitle[data-subtitle-type="lunch"] {
  display: none;
}

.menu-section--static[data-active-type="lunch"] .menu__static-logo-name[data-name-type="kitchen"],
.menu-section--static[data-active-type="lunch"] .menu__static-logo-name[data-name-type="bar"],
.menu-section--static[data-active-type="lunch"] .menu__static-logo-subtitle[data-subtitle-type="kitchen"],
.menu-section--static[data-active-type="lunch"] .menu__static-logo-subtitle[data-subtitle-type="bar"] {
  display: none;
}

.menu__static-logo {
  break-inside: avoid;
  text-align: center;
  margin-bottom: clamp(0.25rem, 2vw, 2rem);
}

.menu__static-menu-end {
  break-inside: avoid;
}

.menu__static-logo-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-burgundy);
}

.menu__static-logo .menu__static-logo-cat {
  width: clamp(1rem, 4vw, 4rem);
  height: auto;
  flex-shrink: 0;
}

.menu__static-logo-info {
  font-family: var(--font-serif);
  font-size: clamp(0.15rem, 0.65vw, 0.6rem);
  font-weight: 100;
  color: var(--color-burgundy);
  line-height: 1;
  letter-spacing: 0;
  white-space: pre-line;
  text-align: left;
  margin: 0;
}

.menu__static-logo img {
  width: 100%;
  height: auto;
}

.menu__static-logo-name {
  font-family: var(--font-serif);
  font-size: clamp(0.4rem, 2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-burgundy);
  text-align: center;
  margin: 0;
}

.menu__static-logo-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.2rem, 1.1vw, 0.875rem);
  font-weight: 700;
  color: var(--color-burgundy);
  letter-spacing: 0.02em;
}

/* Each category block — aligns to top of its grid cell */
.menu__static-category {
  align-self: start;
}

/* Category name: large bold centered uppercase — like WOK / GRILL / OVEN in PDF */
.menu__static-category-name {
  font-family: var(--font-serif);
  font-size: clamp(0.4rem, 2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-burgundy);
  text-align: center;
  margin: 0;
  padding-bottom: clamp(0.1rem, 0.75vw, 0.75rem);
}

/* Dish row */
.menu__static-dish {
  padding: clamp(0.02rem, 0.1vw, 0.1rem) 0;
}

.menu__static-dish:last-child {
  padding-bottom: clamp(0.1rem, 0.75vw, 0.75rem);
}

/* Name left, price right — both on baseline */
.menu__static-dish-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: clamp(0.1rem, 0.75vw, 0.75rem);
  margin-bottom: 0;
}

.menu__static-dish-name {
  font-family: var(--font-serif);
  font-size: clamp(0.2rem, 1.1vw, 0.875rem);
  font-weight: 700;
  color: var(--color-burgundy);
  letter-spacing: 0.02em;
}

.menu__static-dish-price {
  font-family: var(--font-serif);
  font-size: clamp(0.2rem, 1.1vw, 0.875rem);
  font-weight: 400;
  color: var(--color-burgundy);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu__static-dish-description {
  font-family: var(--font-serif);
  font-size: clamp(0.15rem, 0.9vw, 0.75rem);
  color: var(--color-burgundy);
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* === COMING SOON PAGE === */
.coming-soon-page {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-bg);
}

.coming-soon-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/wallpaper.svg") repeat;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.coming-soon {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 5vw, 3rem);
}

.coming-soon__ninja {
  width: 300px;
  height: 300px;
  margin-bottom: 2rem;
}

.coming-soon__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--color-burgundy);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.coming-soon__heading::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--color-burgundy);
  margin: 0.6rem auto 0;
  opacity: 0.45;
}

.coming-soon__body {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 480px;
}

/* ── Popup modal ────────────────────────────────────────────── */
body.popup-open {
  overflow: hidden;
  touch-action: none;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.popup--hidden {
  opacity: 0;
  pointer-events: none;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.62);
}

.popup__card {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: clamp(2.25rem, 5vw, 3rem) clamp(1.75rem, 4vw, 2.75rem) clamp(2rem, 4vw, 2.5rem);
  max-width: 480px;
  width: 100%;
  box-shadow:
    0 1px 0 rgba(165, 34, 22, 0.08),
    0 24px 60px -20px rgba(26, 26, 26, 0.35),
    0 8px 24px -12px rgba(165, 34, 22, 0.18);
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease;
}

.popup--hidden .popup__card {
  transform: translateY(20px) scale(0.97);
  opacity: 0;
}

.popup__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wallpaper.svg") repeat;
  opacity: 0.06;
  pointer-events: none;
}

.popup__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-burgundy);
  opacity: 0.9;
}

.popup__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0;
  z-index: 2;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}

.popup__close-icon {
  width: 0.9rem;
  height: 0.9rem;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  fill: none;
  display: block;
  overflow: visible;
}

.popup__close:hover {
  color: var(--color-bg);
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
  transform: rotate(90deg);
}

.popup__close:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 2px;
}

.popup__title {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  margin: 0 0 1.25rem;
  padding-right: 2rem;
}

.popup__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--color-burgundy);
  opacity: 0.45;
  margin-top: 0.75rem;
}

.popup__image {
  display: block;
  width: calc(100% + 2 * clamp(1.75rem, 4vw, 2.75rem));
  margin-left: calc(-1 * clamp(1.75rem, 4vw, 2.75rem));
  margin-right: calc(-1 * clamp(1.75rem, 4vw, 2.75rem));
  margin-bottom: 1.25rem;
  max-height: 300px;
  height: auto;
  object-fit: contain;
}

.popup__body {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .popup,
  .popup__card,
  .popup__close {
    transition: none;
    animation: none;
  }
}

/* ── Accessibility utility ──────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
