/* ---------------------------------------------------------
   Ebisu Shoten — Izakaya & Sake Bar, Budapest
   Editorial hospitality aesthetic: cream ground, serif display,
   tracked small-caps, dotted-line dividers, pill buttons.
--------------------------------------------------------- */

:root{
  --cream: #f2ebe0;
  --cream-2: #e8dcc8;
  --paper: #faf6ee;
  --ink: #1a1512;
  --ink-soft: #5c5449;
  --line: rgba(26,21,18,0.28);
  --line-soft: rgba(26,21,18,0.14);
  --red: #8c2f1c;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;

  color-scheme: light;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fast momentum scrolling on mobile can round adjacent sections to
   different physical pixels, briefly exposing a hairline sliver of
   the page background between them (very visible at the dark/light
   section boundaries). Overlap sections by 1px so there's never a
   gap for that to show through. */
.intro, .duo, .break, .menu, .calendar, .visit, .footer{
  margin-top: -1px;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1, h2, h3{ font-family: var(--serif); font-weight: 500; margin: 0; }
::selection{ background: var(--red); color: var(--paper); }

.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 500;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Screen reader only utility class */
.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;
}

/* ---------------- Utility bar ---------------- */
.utility-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem clamp(1.25rem, 5vw, 3.5rem);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--line);
  background: var(--cream);
}
.utility-right{ display: flex; align-items: center; gap: 0.9rem; }
.lang-switch a{ color: var(--ink-soft); transition: color 0.3s ease; }
.lang-switch a:hover{ color: var(--ink); }
.lang-switch a.is-active{ color: var(--ink); font-weight: 600; }

/* ---------------- Nav ---------------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 3.5rem);
  background: var(--cream);
  border-bottom: 1px dotted var(--line);
}
.nav-brand{
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-brand-text{
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

/* Brand logo mark */
.brand-logo-full{ height: 3.4rem; width: auto; object-fit: contain; flex: none; }
.brand-logo-full-sm{ height: 2.3rem; }
.footer-brand{ display: flex; align-items: center; gap: 0.55rem; }
.nav-links{ display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav-links a{
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after{ transform: scaleX(1); }
/* CTA reads as the same kind of text link as its siblings, just tinted red,
   so it doesn't compete visually with the rest of the nav. */
.nav-links a.nav-cta{
  color: var(--red);
}
.nav-links a.nav-cta::after{ background: var(--red); }
.nav-links a.nav-cta:focus-visible{ outline: 2px solid var(--red); outline-offset: 3px; }
.nav-lang{
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-left: clamp(0.8rem, 1.6vw, 1.6rem);
}
.overlay-lang{
  position: absolute;
  top: clamp(1.4rem, 3vw, 2.4rem);
  right: clamp(6.2rem, 14vw, 8.5rem);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.nav-toggle{
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{ width: 24px; height: 1px; background: var(--ink); transition: 0.3s ease; }

/* ---------------- Full-screen overlay ---------------- */
.overlay{
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--cream-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  overflow: hidden;
}
.overlay.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
.overlay-ghost{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-52%);
  width: min(60vw, 38rem);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.overlay-grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}
.overlay-col{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px dotted var(--line);
}
.overlay-col:first-child{ border-left: none; padding-left: 0; }
.overlay-col a{
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  transition: opacity 0.3s ease;
}
.overlay-col a:hover{ opacity: 0.55; }
.overlay-join-title{ font-family: var(--serif); font-size: 1.3rem; margin: 0 0 0.6rem; }
.overlay-join-copy{ font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 1.2rem; }
.overlay-join-form{ display: flex; gap: 0.5rem; }
.overlay-join-form input{
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.overlay-join-form input:focus{ border-color: var(--ink); }
.overlay-join-form button{
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.overlay-close{
  position: absolute;
  top: clamp(1.4rem, 3vw, 2.4rem);
  right: clamp(1.4rem, 5vw, 3.5rem);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}
.overlay-close:hover{ border-color: var(--ink); }

/* ---------------- Reveal ---------------- */
.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* Touch devices can fling-scroll faster than the reveal animation can
   keep up with, which shows content mid-fade/offset. Skip the
   animation there and just show content in place. */
@media (hover: none) and (pointer: coarse){
  .reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------------- Buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), background 0.3s ease, color 0.3s ease, box-shadow 0.35s ease;
}
.btn:hover{ transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20,16,12,0.14); }
.btn:active{ transform: translateY(-1px); transition-duration: 0.12s; }
.btn-dark{ background: var(--ink); color: var(--cream); }
.btn-dark:hover{ background: #000; }
.btn-light{ background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover{ background: var(--paper); }
.btn-outline-light{ border-color: rgba(250,246,238,0.6); color: var(--paper); }
.btn-outline-light:hover{ border-color: var(--paper); }
.btn-block{ width: 100%; justify-content: center; }

/* ---------------- Hero ---------------- */
.hero{
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-media{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(60,50,40,0.55), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(20,15,10,0.6), transparent 55%),
    linear-gradient(160deg, #4a3d30 0%, #241d16 60%, #14100c 100%);
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,16,12,0.28);
}
.hero-media-noren{
  background:
    linear-gradient(160deg, rgba(20,16,12,0.72) 0%, rgba(15,12,9,0.5) 45%, rgba(10,8,6,0.78) 100%),
    url('assets/decor/noren.jpg') center/cover no-repeat;
}
.hero-inner{ position: relative; z-index: 2; color: var(--paper); }
.eyebrow{
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  color: inherit;
}
.hero .eyebrow{ opacity: 0.85; }
.hero-word{
  font-size: clamp(3.6rem, 13vw, 9rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------------- Sections shared ---------------- */
section{ position: relative; padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem); }
.section-head{ max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow{ color: var(--ink-soft); }
.section-head h2{ font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 0.5rem; }
.section-head .btn{ margin-top: 1.4rem; }

/* ---------------- Intro (editorial 2-col) ---------------- */
.intro{ max-width: 76rem; margin: 0 auto; border-top: 1px dotted var(--line); }
.intro-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.intro-reverse .intro-grid{ grid-template-columns: 1fr 1fr; }
.intro-reverse .intro-grid .intro-media{ order: -1; }
.intro-text .eyebrow{ color: var(--ink-soft); }
.intro-text h2{ font-size: clamp(2rem, 4.2vw, 3rem); margin: 0.4rem 0 1.4rem; line-height: 1.06; }
.intro-text p{ line-height: 1.8; color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 1.2rem; max-width: 34rem; }
.intro-text strong{ color: var(--ink); font-weight: 500; }

.photo{
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
}
.photo::after{ content:""; position: absolute; inset:0; background: linear-gradient(180deg, rgba(20,16,12,0) 55%, rgba(20,16,12,0.75) 100%); }
.photo-tag{ position: relative; z-index: 1; color: var(--paper); font-family: var(--serif); font-size: 1.1rem; }

.photo-1{ background: radial-gradient(circle at 30% 20%, #6b5138, #241c14 75%); }
.photo-2{ background: radial-gradient(circle at 60% 30%, #4a2c22, #1a1310 75%); }
.photo-3{ background: radial-gradient(circle at 40% 60%, #5c4326, #201810 75%); }
.photo-4{
  aspect-ratio: 1311 / 1897;
  padding: 0;
}
.photo-4::after{ content: none; }
.photo-5{ background: radial-gradient(circle at 55% 35%, #3c342a, #16120e 75%); }

/* ---------------- Split duo ---------------- */
.duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px dotted var(--line);
}
.duo-half{
  position: relative;
  min-height: 60vh;
  border: none;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: filter 0.4s ease;
}
.duo-half:first-child{ border-right: 1px dotted var(--line); }
.duo-half:hover{ filter: brightness(1.08); }
.duo-half::after{ content:""; position: absolute; inset:0; background: linear-gradient(180deg, rgba(20,16,12,0) 50%, rgba(20,16,12,0.7) 100%); }
.duo-half .photo-tag{ position: relative; z-index: 1; color: var(--paper); font-family: var(--serif); font-size: 1.4rem; }

/* ---------------- Full-bleed CTA break ---------------- */
/* Photo credit line for the full-bleed break image, matching .photo-tag's
   serif voice. Sits inside .break (position: relative) and clears the side
   padding so it never collides with the centred copy. */
.break-caption{
  position: absolute;
  left: clamp(1.25rem, 6vw, 5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  margin: 0;
  z-index: 1;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1rem;
  opacity: 0.75;
  text-align: left;
  max-width: min(60%, 28ch);
  pointer-events: none;
}
@media (max-width: 640px){
  .break-caption{ font-size: 0.85rem; max-width: 80%; }
}

.break{
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem);
  overflow: hidden;
}
.break-media{
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(90,60,40,0.5), transparent 60%), linear-gradient(180deg, #1c1712 0%, #100c09 100%);
}
.break-media-counter{
  background:
    linear-gradient(180deg, rgba(14,10,7,0.78) 0%, rgba(14,10,7,0.68) 45%, rgba(14,10,7,0.88) 100%),
    url('assets/decor/counter.jpg') center/cover no-repeat;
}
.break-inner{ position: relative; z-index: 1; color: var(--paper); max-width: 40rem; }
.break .eyebrow{ color: rgba(250,246,238,0.7); }
.break h2{ font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.06; margin: 0.5rem 0 1.4rem; }
.break-copy{ line-height: 1.8; color: rgba(250,246,238,0.75); margin: 0 0 2rem; }
.break-actions{ display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- Menu ---------------- */
.menu{ max-width: 68rem; margin: 0 auto; border-top: 1px dotted var(--line); }
.menu-body{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.menu-bar{
  border-left: 1px dotted var(--line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}
.menu-bar-title{
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 1.2rem;
  color: var(--ink);
}
.menu-bar ul{ list-style: none; margin: 0; padding: 0; }
.menu-bar-cat{
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.4rem 0 0.4rem;
}
.menu-bar-cat:first-child{ margin-top: 0; }
.menu-tabs{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 2.6rem;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 1.4rem;
}
.menu-tab{
  background: none;
  border: none;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.menu-tab:hover{ color: var(--ink); }
.menu-tab.is-active{ color: var(--ink); border-color: var(--ink); }

.menu-panel{ list-style: none; margin: 0; padding: 0; display: none; }
.menu-panel.is-active{ display: block; animation: panelIn 0.5s ease; }
@keyframes panelIn{ from{ opacity:0; transform: translateY(10px);} to{ opacity:1; transform: translateY(0);} }

.menu-item{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px dotted var(--line-soft);
  transition: padding-left 0.3s ease;
}
.menu-item:hover{ padding-left: 0.5rem; }
.menu-item:last-child{ border-bottom: none; }
.mi-name{ display:block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.mi-note{ display:block; font-size: 0.83rem; color: var(--ink-soft); margin-top: 0.15rem; }
.mi-price{ font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }

.menu-item.has-photo{ align-items: center; }
.mi-photo{ width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

.menu-note{ text-align: center; margin-top: 2.4rem; font-size: 0.78rem; color: var(--ink-soft); opacity: 0.75; }

/* ---------------- Calendar / carousel ---------------- */
.calendar{ max-width: 76rem; margin: 0 auto; border-top: 1px dotted var(--line); }
.calendar-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.2rem;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 1.4rem;
}
.calendar-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 0; }
.calendar-head .eyebrow{ color: var(--ink-soft); margin-bottom: 0.4rem; }
.calendar-nav{ display: flex; gap: 0.6rem; }
.calendar-nav button{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.calendar-nav button:hover{ border-color: var(--ink); background: var(--cream-2); }
.calendar-nav button:disabled{ opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.calendar-track{
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.calendar-track::-webkit-scrollbar{ display: none; }
.cal-card{
  flex: 0 0 clamp(240px, 26vw, 320px);
  scroll-snap-align: start;
  border-right: 1px dotted var(--line);
  padding: 0 1.6rem 0 0;
  margin-right: 1.6rem;
}
.cal-card:last-child{ border-right: none; }
.cal-media{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  margin-bottom: 1.1rem;
  overflow: hidden;
}
.cal-media::before{
  content: "";
  position: absolute;
  inset: -6%;
  background: inherit;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.cal-card:hover .cal-media::before{ transform: scale(1.07); }
.cal-badge{
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(26,21,18,0.16);
}
.cal-media-1{ background: radial-gradient(circle at 40% 30%, #5c4326, #1a140e 75%); }
.cal-media-3{ background: radial-gradient(circle at 30% 60%, #4a2c22, #1a1310 75%); }
.cal-media-4{ background: radial-gradient(circle at 50% 50%, #6b5138, #241c14 75%); }
.cal-card h3{ font-size: 1.25rem; margin-bottom: 0.5rem; }
.cal-card p{ font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---------------- Full printed menu photos ---------------- */
/* Full menu photo viewer */
/* ---------------- Visit ---------------- */
.visit{ max-width: 68rem; margin: 0 auto; border-top: 1px dotted var(--line); }
.visit-grid{ display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
.visit-row{ padding: 1.2rem 0; border-bottom: 1px dotted var(--line); }
.visit-row dt{ font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.visit-row dd{ margin: 0; line-height: 1.7; color: var(--ink); }
.visit-row a{ color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.visit-row a:hover{ opacity: 0.6; }
.visit-social{ display: flex; gap: 1.2rem; }
dl{ margin: 0; }

.visit-map{
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  min-height: 22rem;
}
.visit-map iframe{ width: 100%; height: 100%; min-height: 22rem; border: 0; display: block; }
.join-success{ font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---------------- Footer ---------------- */
.footer{ border-top: 1px dotted var(--line); padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 5rem) 2rem; }
.footer-top{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 76rem; margin: 0 auto 2.5rem; }
.footer-col{ display: flex; flex-direction: column; gap: 0.7rem; }
.footer-heading{ font-family: var(--serif); font-size: 1.1rem; margin: 0 0 0.4rem; }
.footer-col a{ font-size: 0.85rem; color: var(--ink-soft); transition: color 0.3s ease; }
.footer-col a:hover{ color: var(--ink); }
.footer-bottom{ max-width: 76rem; margin: 0 auto; padding-top: 1.6rem; border-top: 1px dotted var(--line); font-size: 0.78rem; color: var(--ink-soft); text-align: center; }

/* ---------------- Lightbox ---------------- */
.lightbox{
  position: fixed; inset: 0; z-index: 800;
  background: rgba(26,21,18,0.9);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.is-open{ opacity: 1; visibility: visible; }
.lightbox-frame{
  width: min(70vw, 640px); height: min(70vw, 420px);
  border-radius: 6px;
  background: radial-gradient(circle at 40% 30%, #4a2c22, #1a1310 75%);
  border: 1px solid rgba(250,246,238,0.15);
  transform: scale(0.94);
  transition: transform 0.4s ease;
}
.lightbox.is-open .lightbox-frame{ transform: scale(1); }
.lightbox-caption{ color: var(--paper); font-size: 0.9rem; max-width: 30rem; text-align: center; }
.lightbox-close{
  position: absolute; top: 1.6rem; right: 1.8rem;
  background: none; border: 1px solid rgba(250,246,238,0.3); color: var(--paper);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  transition: border-color 0.3s ease;
}
.lightbox-close:hover{ border-color: var(--paper); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .intro-grid, .visit-grid, .menu-body{ grid-template-columns: 1fr; }
  .intro-reverse .intro-grid .intro-media{ order: 0; }
  .menu-bar{ border-left: none; border-top: 1px dotted var(--line); padding-left: 0; padding-top: 1.6rem; }
  .duo{ grid-template-columns: 1fr; }
  .duo-half:first-child{ border-right: none; border-bottom: 1px dotted var(--line); }
  .overlay-grid{ grid-template-columns: 1fr; }
  .overlay-col{ border-left: none; padding-left: 0; border-top: 1px dotted var(--line); padding-top: 1.4rem; }
  .overlay-col:first-child{ border-top: none; padding-top: 0; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .utility-phone{ display: none; }
  .nav-links{ display: none; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; }
  .overlay-lang{ left: clamp(1.25rem, 6vw, 2rem); right: auto; }
}

/* ---------------- Parallax ---------------- */
[data-parallax]{ inset: -14% 0; will-change: transform; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Reservation form ---------------- */
.reserve-form{
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 46rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.reserve-title{ font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.2rem; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reserve-form label{ display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.75rem; letter-spacing: 0.05em; color: var(--ink-soft); }
.reserve-form label.full{ grid-column: 1 / -1; }
.reserve-form em{ opacity: 0.6; font-style: normal; }
.reserve-form input, .reserve-form select, .reserve-form textarea{
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.reserve-form input:focus, .reserve-form select:focus, .reserve-form textarea:focus{ border-color: var(--ink); }
.reserve-form input:focus-visible, .reserve-form select:focus-visible, .reserve-form textarea:focus-visible{
  outline: 2px solid var(--red); outline-offset: 1px;
}
.reserve-form [aria-invalid="true"]{ border-color: var(--red); }
.btn-block{ width: 100%; justify-content: center; }
.reserve-status{ min-height: 1.2em; font-size: 0.85rem; color: var(--ink-soft); margin: 0; text-align: center; }
.reserve-status.is-error{ color: var(--red); }
.reserve-note{ font-size: 0.78rem; color: var(--ink-soft); margin: 0; text-align: center; opacity: 0.8; line-height: 1.5; }
@media (max-width: 640px){
  .form-row{ grid-template-columns: 1fr; }
}

/* Photos are real <img> so Google Images can index them and screen readers can
   describe them. They fill their container the way background:cover did; every
   container is already position:relative + overflow:hidden. */
/* The photo is wrapped in <picture> for the WebP source. Position the
   <picture> as the fill layer and let the <img> fill it — an absolutely
   positioned <img> inside <picture> inside a <button> does not paint in
   Chrome, which silently blanked the .duo-half panels. */
.photo > picture,
.intro-media > picture,
.duo-half > picture,
.cal-media > picture{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.media-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
/* Inside a <picture> the image just fills its already-positioned parent. */
.photo > picture > .media-img,
.intro-media > picture > .media-img,
.duo-half > picture > .media-img,
.cal-media > picture > .media-img{
  position: static;
  inset: auto;
}
/* Keep captions and badges above the photo. */
.photo-tag, .cal-badge{ position: relative; z-index: 2; }

/* .cal-media::before used `background: inherit` to display the card photo and
   zoom it on hover. The photo is now a real <img>, so that layer would only
   inherit the placeholder gradient and cover the image — retire it and move the
   zoom onto the <img>, which keeps the effect identical. */
.cal-media::before{ content: none; }
.cal-media .media-img{
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
  transform-origin: center;
}
.cal-card:hover .cal-media .media-img{ transform: scale(1.07); }
@media (prefers-reduced-motion: reduce){
  .cal-card:hover .cal-media .media-img{ transform: none; }
}

/* .duo-half is a div with button semantics (it was a <button>, but Chrome does
   not reliably paint absolutely positioned descendants inside one, which left
   the panels blank). Photo and caption share grid cell 1/1; padding lives on the
   caption so the photo bleeds to the panel edges. */
.duo-half{
  display: grid;
  padding: 0;
}
.duo-half > picture{
  position: static;
  inset: auto;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}
.duo-half > picture > .media-img{
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.duo-half > .photo-tag{
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  padding: 2rem;
  z-index: 2;
}
