/* ==========================================================================
   Figo Wine Bar — stylesheet
   Palette, type scale, layout primitives, components.
   ========================================================================== */

:root {
  /* Colour */
  --wine:        #6b1f2e;
  --wine-deep:   #4a1420;
  --wine-soft:   #8c3a48;
  --ink:         #1c1715;
  --ink-soft:    #453c37;
  --muted:       #6d635a;
  --cream:       #faf6ef;
  --cream-warm:  #f2ebe0;
  --brass:       #b8944a;
  --brass-light: #d4b877;
  --brass-text:  #846527; /* AA-compliant bronze for gold TEXT on light bg (5:1) */
  --line:        rgba(28, 23, 21, 0.12);
  --line-light:  rgba(250, 246, 239, 0.18);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 10vw, 8.5rem);
  --maxw: 1240px;
  --maxw-narrow: 780px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- Reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--wine); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----------------------------------------------------------- Utilities -- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--wine);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Small caps label above a heading */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.h-display { font-size: clamp(2.6rem, 7vw, 5rem); }
.h-1       { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h-2       { font-size: clamp(1.65rem, 3vw, 2.35rem); }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.72;
}

.center { text-align: center; }

/* ------------------------------------------------------------- Buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost:hover { background: var(--wine); color: var(--cream); }

.btn--light { background: transparent; border-color: var(--line-light); color: var(--cream); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--wine-deep); }

/* Text link with animated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wine);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}
.link:hover { background-size: 0% 1px; }
.link::after { content: "→"; transition: transform 0.3s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- Nav -- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.4s var(--ease);
  white-space: nowrap;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  opacity: 0.7;
  margin-top: -2px;
}

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.4rem); }

.nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  padding-block: 4px;
  transition: color 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.72rem;
}
.nav .btn::after { display: none; }

/* Scrolled / solid state */
.site-header.is-solid {
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-solid .brand,
.site-header.is-static .brand,
.site-header.is-solid .nav > a,
.site-header.is-static .nav > a { color: var(--ink); }
.site-header.is-solid .nav .btn--light,
.site-header.is-static .nav .btn--light { border-color: var(--wine); color: var(--wine); }
.site-header.is-solid .nav .btn--light:hover,
.site-header.is-static .nav .btn--light:hover { background: var(--wine); color: var(--cream); }
.site-header.is-solid .nav-toggle span,
.site-header.is-static .nav-toggle span { background: var(--ink); }

/* Pages without a dark hero start solid */
.site-header.is-static {
  position: sticky;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

/* Menu page: let the header scroll away so the menu gets the full screen.
   The tab bar (below) then pins to the very top for section-switching.
   Use `relative` (not `static`) so the header stays a positioned element and
   its z-index:100 keeps applying — with `static`, the z-index is ignored and
   the header's backdrop-filter stacking context sinks below the sticky tab bar
   (z-index:40), which hid the open mobile nav dropdown behind the tab bar. */
.site-header.is-static.site-header--unpin {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
              background 0.4s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a {
    color: var(--ink) !important;
    padding: 1rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav .btn {
    margin-top: 1.5rem;
    border-color: var(--wine) !important;
    background: var(--wine);
    color: var(--cream) !important;
    border-bottom-width: 1px;
    padding: 1rem;
  }
}

/* --------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Darker behind the text (left + bottom), fading out so the photo
       stays bright and airy on the right. */
    linear-gradient(to right, rgba(18,10,11,0.80) 0%, rgba(18,10,11,0.42) 45%, rgba(18,10,11,0) 78%),
    linear-gradient(to bottom, rgba(18,10,11,0.40) 0%, rgba(18,10,11,0.12) 34%, rgba(18,10,11,0.78) 100%);
}

.hero__inner { padding-block: clamp(4rem, 12vh, 8rem); }

.hero h1 {
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.94;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero__tagline {
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  max-width: 34ch;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  margin-bottom: 2.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.95);
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
  margin-bottom: 2.5rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 1.4rem; }
.hero__meta span:not(:last-child)::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  right: var(--gutter);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.6);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50%      { opacity: 1;    transform: scaleY(1);   transform-origin: top; }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* Page header for interior pages */
.page-head {
  padding-top: clamp(3.5rem, 9vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: 1rem; }
.page-head .lede { max-width: 56ch; }

/* -------------------------------------------------------------- Story -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split--reverse > *:first-child { order: 2; }
@media (max-width: 860px) { .split--reverse > *:first-child { order: 0; } }

/* <picture> is a layout no-op wrapper around <img> (modern-format sources) */
picture { display: contents; }

.frame {
  position: relative;
  overflow: hidden;
}
.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.frame:hover img { transform: scale(1.04); }
.frame--wide img { aspect-ratio: 3 / 2; height: auto; }

/* Thin brass rule offset behind an image */
.frame--accent::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(250, 246, 239, 0.35);
  z-index: 2;
  pointer-events: none;
}

.story-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--wine);
  border-left: 2px solid var(--brass);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  margin: 2.5rem 0;
}
.story-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Timeline for the origin story */
.timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline dt, .timeline .year {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--brass-text);
  line-height: 1.2;
}
.timeline h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.timeline p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* -------------------------------------------------------------- Cards -- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -28px rgba(28, 23, 21, 0.45);
}
.card__media { overflow: hidden; }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.card__body h3 { font-size: 1.55rem; }
.card__body p { font-size: 0.98rem; color: var(--ink-soft); flex: 1; }
.card__tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-text);
}

/* ------------------------------------------------------------ Gallery -- */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}
.strip a { overflow: hidden; display: block; }
.strip a:hover img { transform: scale(1.06); }
@media (max-width: 780px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------- Dark bands -- */

.band-dark {
  background: var(--wine-deep);
  color: var(--cream);
}
.band-dark .eyebrow { color: var(--brass-light); }
.band-dark .lede { color: rgba(250, 246, 239, 0.82); }
.band-dark a.link { color: var(--brass-light); }

.band-warm { background: var(--cream-warm); }

/* --------------------------------------------------------------- Menu -- */

.menu-tabs {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.menu-tabs__scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding-block: 0.75rem;
}

.menu-tab {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: 1px solid transparent;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}
.menu-tab:hover { color: var(--wine); }
.menu-tab[aria-selected="true"] {
  color: var(--cream);
  background: var(--wine);
  border-color: var(--wine);
}
@media (max-width: 520px) {
  .menu-tabs__scroll { gap: 0.3rem; padding-block: 0.65rem; }
  .menu-tab { font-size: 0.68rem; padding: 0.55rem 0.9rem; }
}

.menu-panel[hidden] { display: none; }

.menu-subtabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.menu-intro {
  max-width: 60ch;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.menu-section { margin-bottom: clamp(3rem, 7vw, 5rem); }

.menu-section__head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.menu-section__head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.menu-section__price {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--wine);
}
.menu-section__note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.55rem;
  font-style: italic;
}

/* Dish rows */
.dish-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}

.dish {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.dish__top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.dish__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--ink);
}
.dish__dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 12px;
}
.dish__price {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--wine);
  white-space: nowrap;
}
.dish__desc {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  max-width: 52ch;
}
.dish__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-deep);
  background: rgba(107, 31, 46, 0.08);
  border: 1px solid rgba(107, 31, 46, 0.35);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

/* Wine / spirits price lists */
.price-list { display: grid; gap: 0; }
.price-list--two {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}
.price-row__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  white-space: nowrap;
}
.price-row__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  flex: 1;
  min-width: 0;
}
.price-row__price {
  font-size: 0.92rem;
  color: var(--wine);
  white-space: nowrap;
}
@media (max-width: 520px) {
  .price-row { flex-wrap: wrap; }
  .price-row__desc { flex-basis: 100%; order: 3; }
}

/* Two-column meat & cheese */
.menu-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}
.menu-columns h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-text);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.menu-text p {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.raw-mark { color: var(--brass-text); }

.menu-footnote {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

/* --------------------------------------------------------------- Form -- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  border-radius: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--wine);
  outline: none;
  background: #fff;
}
.form-note { font-size: 0.82rem; color: var(--muted); }

/* Off-screen honeypot: present in the DOM for bots, invisible to people. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline submit feedback for the inquiry form. */
.form-status {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status--success { color: #2f6f4e; }
.form-status--error { color: var(--wine); }

/* "Menu updated" toast — shown when an open menu page live-refreshes. */
.menu-updated-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 1rem);
  z-index: 3000;
  background: var(--wine);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.menu-updated-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .menu-updated-toast { transition: opacity 0.01s linear; }
}

/* ------------------------------------------------------------- Footer -- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 239, 0.82);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  font-size: 0.95rem;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  display: block;
  margin-bottom: 1rem;
}

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(250, 246, 239, 0.08);
  font-size: 0.92rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: rgba(250, 246, 239, 0.62); }
.hours-list .closed { color: var(--wine-soft); }
/* On the dark footer, "Closed" needs a lighter rose to meet AA contrast. */
.site-footer .closed { color: #d98a95; }
.kitchen-note {
  font-size: 0.8rem;
  color: rgba(250, 246, 239, 0.5);
  margin-top: 0.9rem;
  font-style: italic;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-links a { font-size: 0.94rem; }

.socials { display: flex; gap: 0.9rem; margin-top: 1.25rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 246, 239, 0.18);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease);
}
.socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 239, 0.1);
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(250, 246, 239, 0.5);
}

/* ---------------------------------------------------------- Reveal fx -- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- Print menu -- */

@media print {
  .site-header, .menu-tabs, .menu-subtabs, .site-footer, .hero, .btn, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .menu-panel[hidden], .menu-section[hidden] { display: block !important; }
  .menu-section { break-inside: avoid; }
  .dish, .price-row { break-inside: avoid; }
}

/* ---------------------------------------------- Click-to-enlarge image -- */

.js-zoom { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 10, 9, 0.92);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.98);
  transition: transform 0.25s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 246, 239, 0.12);
  color: #faf6ef;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(250, 246, 239, 0.24); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: none; }
}
