/* VEYRONÉ — components & layout. Film-first. See DESIGN.md. */

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  font: 500 var(--t-meta)/1 var(--font-ui);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--paper);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { background: transparent; color: var(--espresso); }
.btn--ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.mode-night .btn { background: var(--paper); color: var(--espresso); border-color: var(--paper); }
.mode-night .btn:hover { background: transparent; color: var(--paper); }
.mode-night .btn--ghost { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.mode-night .btn--ghost:hover { background: var(--ivory); color: var(--night); }

.line-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  font: 500 var(--t-meta)/1 var(--font-ui);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--fg);
  background: none;
  border: 0;
  cursor: pointer;
}
.line-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--underline) var(--ease);
}
.line-link:hover::after,
.line-link:focus-visible::after { transform: scaleX(1); }
.line-link .arrow { transition: transform var(--underline) var(--ease); }
.line-link:hover .arrow { transform: translateX(4px); }
.line-link--on-dark { color: var(--ivory); }
.line-link--on-dark::after { background: var(--brass-light); }
@media (prefers-reduced-motion: reduce) {
  .line-link::after { transform: scaleX(1); }
}

/* ============================================================
   CINEMATIC MEDIA
   ============================================================ */
.cine {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--band);
}
.cine__img,
.cine__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
}
.cine__img { transition: opacity 600ms var(--ease); }
.cine__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.cine--playing .cine__video { opacity: 1; }
.cine--playing .cine__img { opacity: 0; }
/* subtle grain over every cinematic surface */
.cine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease), backdrop-filter 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(22, 17, 14, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--rule-dashed);
}
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  font: 400 clamp(16px, 1.5vw, 19px)/1 var(--font-display);
  letter-spacing: 0.02em;
  color: currentColor;
  transition: opacity 400ms var(--ease);
}
/* over the hero the oversized wordmark IS the brand — the nav mark waits */
.nav:not(.is-scrolled) .nav__brand { opacity: 0; }
.nav:not(.is-scrolled) .nav__brand:focus-visible { opacity: 1; }

/* nav enters quietly with the film (only when JS is running) */
.js .nav__links a,
.js .nav .lang,
.js .nav__reserve { opacity: 0; }
.is-hero-ready .nav__links a,
.is-hero-ready .nav .lang,
.is-hero-ready .nav__reserve { animation: hero-fade 800ms var(--ease) 700ms forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .nav__links a, .js .nav .lang, .js .nav__reserve { opacity: 1; animation: none; }
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a {
  position: relative;
  font: 500 var(--t-meta)/1 var(--font-ui);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: currentColor;
  padding-bottom: 4px;
  opacity: 0.82;
  transition: opacity 180ms var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px dashed var(--brass-light);
}
.nav__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  opacity: 0.6;
}
.lang button {
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: currentColor;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 160ms var(--ease);
}
.lang button[aria-pressed="true"] { opacity: 1; }
.nav__reserve { color: currentColor; }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; background: none; border: 0; }
.nav__toggle span {
  position: absolute; left: 8px; right: 8px; height: 1px;
  background: currentColor;
  transition: transform 200ms var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { bottom: 15px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--night);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 34px);
  padding: var(--wrap-pad);
}
.nav__mobile a {
  font: 400 clamp(28px, 8vw, 44px)/1 var(--font-display);
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.nav__mobile[hidden] { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__reserve { display: none; }
  .nav__toggle { display: block; }
}

/* ============================================================
   EDGE LABEL
   ============================================================ */
.edge-label {
  position: fixed;
  right: 12px;
  top: 50%;
  z-index: var(--z-edge);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-light);
  mix-blend-mode: difference;
  pointer-events: none;
}
@media (max-width: 1120px) { .edge-label { display: none; } }

/* ============================================================
   HERO — editorial cover, film first
   The type responds to the film. Every element is an independent
   graphic anchored to a responsive safe area — not a vertical stack.
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: var(--ivory);
  /* responsive safe areas — the film focal point never sits under type */
  --hero-safe-top: clamp(76px, 12vh, 132px);
  --hero-safe-right: clamp(20px, 4.5vw, 78px);
  --hero-safe-bottom: clamp(24px, 5vh, 60px);
  --hero-safe-left: clamp(20px, 4.5vw, 78px);
  --hero-word: clamp(112px, 20vw, 320px);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media .cine__img { transform: scale(1.14); }
.hero.is-ready .hero__media .cine__img { animation: hero-drift 28s linear forwards; }
.hero__media .cine__video,
.hero__media .cine__img { object-position: 52% 48%; }
@keyframes hero-drift { from { transform: scale(1.14); } to { transform: scale(1); } }

/* the room emerges from darkness on load, then holds at a moody level */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(140% 110% at 22% 8%, rgba(20,15,12,0.62) 0%, rgba(20,15,12,0) 46%),
    radial-gradient(130% 105% at 22% 115%, rgba(20,15,12,0.88) 0%, rgba(20,15,12,0.24) 52%, rgba(20,15,12,0.5) 100%),
    linear-gradient(to top, rgba(20,15,12,0.82) 0%, rgba(20,15,12,0.04) 42%, rgba(20,15,12,0.4) 100%);
}
.hero__veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0c0906;
  opacity: 1;
  transition: opacity 2600ms var(--ease);
}
.hero.is-ready .hero__veil::before { opacity: 0; }
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* ---- the frame ---- */
.hero__frame { position: absolute; inset: 0; z-index: 1; }
.hero__frame > * { position: absolute; }

.hero__mark {
  top: var(--hero-safe-top);
  left: var(--hero-safe-left);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass-light);
}
/* the masthead lockup — descriptor + wordmark move as one designed unit,
   hung off the left safe margin, over the ceiling/plaster (never the fire) */
.hero__lockup {
  left: calc(var(--hero-safe-left) - 0.055em);
  top: 32%;
  transform: translateY(-48%);
  max-width: calc(100vw - var(--hero-safe-left) - 6px);
}
.hero__eyebrow {
  position: static;
  margin: 0 0 clamp(10px, 1vw, 17px) 0.1em;
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.hero__word {
  position: static;
  margin: 0;
  overflow: hidden;
  /* em resolves against the wordmark size so the acute on É + cap tops
     clear the overflow clip at every breakpoint */
  font-size: var(--hero-word);
  line-height: 0;
  padding-block: 0.22em 0.06em;
}
.hero__word-inner {
  display: block;
  font: 300 var(--hero-word)/0.78 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--ivory);
  white-space: nowrap;
}

.hero__place {
  left: var(--hero-safe-left);
  bottom: var(--hero-safe-bottom);
  margin: 0;
  padding-top: 15px;
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.hero__place::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 1px;
  background: var(--brass-light);
}

.hero__reserve {
  right: var(--hero-safe-right);
  bottom: var(--hero-safe-bottom);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 5px;
  background: none;
  border: 0;
  cursor: pointer;
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory);
}
.hero__reserve::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}
.hero__reserve:hover::after,
.hero__reserve:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.hero__reserve-line {
  width: 26px; height: 1px;
  background: currentColor;
  transition: width 260ms var(--ease);
}
.hero__reserve:hover .hero__reserve-line { width: 40px; }

.hero__enter {
  left: 50%;
  bottom: var(--hero-safe-bottom);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.hero__enter-mark { animation: enter-bob 2800ms var(--ease) infinite; }
@keyframes enter-bob {
  0%, 100% { transform: translateY(-2px); opacity: 0.45; }
  50% { transform: translateY(3px); opacity: 1; }
}

/* ---- entrance choreography — enters with the film (JS only) ---- */
.js .hero__mark, .js .hero__eyebrow, .js .hero__place,
.js .hero__reserve, .js .hero__enter { opacity: 0; }
.js .hero__word-inner { transform: translateY(114%); }
.hero.is-ready .hero__mark    { animation: hero-fade 700ms var(--ease) 700ms forwards; }
.hero.is-ready .hero__eyebrow { animation: hero-rise 850ms var(--ease) 950ms forwards; }
.hero.is-ready .hero__word-inner { animation: word-rise 1250ms var(--ease) 1550ms forwards; }
.hero.is-ready .hero__place    { animation: hero-rise 850ms var(--ease) 2850ms forwards; }
.hero.is-ready .hero__reserve  { animation: hero-rise 850ms var(--ease) 3450ms forwards; }
.hero.is-ready .hero__enter    { animation: hero-fade 850ms var(--ease) 4050ms forwards; }
@keyframes hero-fade { to { opacity: 1; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes word-rise { to { transform: translateY(0); } }

/* ---- laptop ---- */
@media (max-width: 1279px) {
  .hero { --hero-word: clamp(96px, 17.5vw, 210px); }
  .hero__lockup { top: 31%; }
}

/* ---- tablet ---- */
@media (max-width: 1023px) {
  .hero {
    --hero-safe-top: clamp(70px, 10vh, 104px);
    --hero-word: clamp(72px, 15vw, 168px);
  }
  .hero__lockup { top: 29%; }
  .hero__enter { display: none; }
}

/* ---- mobile portrait — composed for the cropped vertical film ---- */
@media (max-width: 767px) {
  .hero {
    --hero-safe-left: 22px;
    --hero-safe-right: 22px;
    --hero-safe-bottom: 32px;
    --hero-word: clamp(50px, 16vw, 92px);
  }
  .hero__media .cine__video,
  .hero__media .cine__img { object-position: 50% 38%; }
  .hero__frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 var(--hero-safe-right) var(--hero-safe-bottom) var(--hero-safe-left);
  }
  .hero__frame > * { position: static; transform: none; }
  .hero__lockup { order: 2; max-width: 100%; }
  .hero__mark { position: absolute; top: var(--hero-safe-top); left: var(--hero-safe-left); }
  .hero__eyebrow { margin-bottom: 15px; }
  .hero__word { max-width: 100%; }
  .hero__place { order: 3; margin-top: 20px; padding-top: 0; }
  .hero__place::before { position: static; display: block; margin-bottom: 13px; }
  .hero__reserve { order: 4; margin-top: 26px; }
  .hero__reserve::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__veil::before { transition: none; opacity: 0; }
  .hero__media .cine__img { animation: none; transform: none; }
  .hero__mark, .hero__eyebrow, .hero__place, .hero__reserve, .hero__enter { opacity: 1; animation: none; }
  .hero__word-inner { transform: none; animation: none; }
  .hero__enter-mark { animation: none; }
}

/* ============================================================
   CHAPTER SHELL
   ============================================================ */
.chapter {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--section-pad);
}
.chapter--band { background: var(--limestone); }
.chapter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.chapter__head { max-width: 62ch; margin-bottom: clamp(40px, 6vw, 80px); }
.chapter__text { max-width: 46ch; }
.index-mark { display: block; margin-bottom: 18px; }
.chapter__text .eyebrow,
.chapter__head .eyebrow { margin-bottom: 20px; }
.chapter__text .t-title,
.chapter__text .t-display,
.chapter__head .t-title,
.chapter__head .t-display { margin-bottom: clamp(18px, 2.6vw, 26px); }
.chapter__text .lead,
.chapter__head .lead { margin-bottom: 20px; max-width: 42ch; }
.chapter__meta {
  margin-top: 22px;
  font: 500 var(--t-micro)/1.5 var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.chapter__media .cine { width: 100%; }
.chapter__media--tall { max-width: 460px; margin-inline: auto; }

@media (max-width: 860px) {
  .chapter__grid { grid-template-columns: 1fr; gap: clamp(30px, 8vw, 46px); }
  .chapter__text { order: 1; max-width: none; }
  .chapter__media { order: 2; }
  .chapter__media--tall { max-width: 380px; }
}

/* full-bleed chapter (The table) */
.chapter--bleed {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory);
}
.chapter__bleed-media { position: absolute; inset: 0; z-index: -2; }
.chapter__bleed-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(22,17,14,0.86) 0%, rgba(22,17,14,0.2) 55%, rgba(22,17,14,0.5) 100%);
}
.chapter__bleed-inner { width: 100%; padding-block: clamp(64px, 12vh, 130px); }
.chapter__bleed-inner .chapter__text { max-width: min(560px, 82vw); }
.chapter--bleed .t-display { font-size: clamp(38px, 6vw, 78px); }
.chapter--bleed .lead { max-width: 44ch; }

/* on-dark text variants */
.t-display--on-dark, .t-title--on-dark { color: var(--ivory); }
.lead--on-dark { color: var(--ivory); }
.body--on-dark { color: var(--ivory-dim); }
.eyebrow--on-dark { color: var(--brass-light); }
.index-mark--on-dark { color: var(--ivory-dim); }

/* ============================================================
   KITCHEN NOTES
   ============================================================ */
.notes { display: grid; gap: clamp(20px, 3vw, 30px); margin-top: clamp(26px, 4vw, 40px); }
.notes li { display: grid; gap: 7px; }
.notes h3 {
  font: 500 var(--t-meta)/1 var(--font-ui);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--line);
}
.notes p { color: var(--fg); max-width: 40ch; font-size: var(--t-body-sm); }

/* ============================================================
   MENU
   ============================================================ */
.menu__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (max-width: 900px) { .menu__layout { grid-template-columns: 1fr; } }

.menu__filter {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
}
.menu__tab {
  position: relative;
  font: 500 var(--t-meta)/1 var(--font-ui);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--fg-dim);
  background: none;
  border: 0;
  cursor: pointer;
  padding-bottom: 18px;
  margin-bottom: -19px;
  transition: color 160ms var(--ease);
}
.menu__tab:hover, .menu__tab[aria-selected="true"] { color: var(--fg); }
.menu__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
}
.menu__list { display: grid; }
.menu__item {
  display: grid;
  gap: 6px;
  padding-block: clamp(17px, 2.2vw, 24px);
  border-top: 1px solid var(--rule);
}
.menu__item:last-child { border-bottom: 1px solid var(--rule); }
.menu__item-top { display: flex; align-items: baseline; gap: 10px; }
.menu__item-name { flex: 0 1 auto; font: 500 var(--t-body)/1.3 var(--font-ui); color: var(--fg); }
.menu__item-leader { flex: 1 1 auto; min-width: 24px; border-bottom: 1px dotted var(--brass); transform: translateY(-4px); opacity: 0.5; }
.menu__item-price { flex: none; font: 400 var(--t-body)/1.3 var(--font-ui); color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu__item-desc { font-size: var(--t-body-sm); color: var(--fg-dim); max-width: 52ch; }
.menu__item-tags { display: flex; gap: 10px; margin-top: 3px; }
.menu__item-tag { font: 500 var(--t-micro)/1 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.menu__item--signature .menu__item-name,
.menu__item--signature .menu__item-tag { color: var(--burgundy); }

/* inline dish photo — desktop uses the hover panel instead */
.menu__item-thumb { display: none; }
@media (max-width: 900px) {
  .menu__item-thumb {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 14px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--band);
    border: 1px solid var(--rule);
  }
  .menu__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
  }
}

.menu__preview { position: sticky; top: calc(var(--nav-h) + 36px); }
.menu__preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--band);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.menu__preview-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 260ms var(--ease), transform 6s var(--ease);
}
.menu__preview-frame img.is-shown { opacity: 1; transform: scale(1.05); }
.menu__preview-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font: 500 var(--t-micro)/1.5 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.menu__preview-empty[hidden] { display: none; }
.menu__preview-caption {
  margin-top: 13px;
  font: 400 var(--t-body-sm)/1.4 var(--font-display);
  color: var(--fg-dim);
  min-height: 1.4em;
}
.menu__concept-note {
  margin-top: clamp(26px, 4vw, 40px);
  font: 400 var(--t-micro)/1.5 var(--font-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
@media (max-width: 900px) { .menu__preview { display: none; } }

/* ============================================================
   RESERVATION SECTION
   ============================================================ */
.reserve__actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 6px; }
.reserve__concept {
  margin-top: 22px;
  font: 400 var(--t-micro)/1.5 var(--font-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing {
  position: relative;
  min-height: 94svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.closing__media { position: absolute; inset: 0; z-index: -2; }
.closing__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 90% at 50% 45%, rgba(22,17,14,0.55) 0%, rgba(22,17,14,0.82) 100%);
}
.closing__inner { display: grid; gap: 30px; justify-items: center; padding: var(--wrap-pad); }
.closing__line {
  font: 300 var(--t-display)/0.98 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ivory);
  max-width: 16ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: var(--ivory); padding-block: clamp(72px, 10vw, 130px) 46px; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 7vw, 96px);
}
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }
.footer__word { font: 300 clamp(40px, 8vw, 84px)/1 var(--font-display); letter-spacing: -0.02em; color: var(--ivory); }
.footer__tag { color: var(--ivory-dim); margin-top: 14px; max-width: 30ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 40px); }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__label { font: 500 var(--t-micro)/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.footer__label--spaced { margin-top: 14px; }
.footer__col p, .footer__col a { color: var(--ivory-dim); font-size: var(--t-body-sm); line-height: 1.7; }
.footer__col .line-link { color: var(--ivory); }
.footer__base {
  margin-top: clamp(52px, 8vw, 92px);
  padding-top: 26px;
  border-top: 1px dashed var(--rule-dashed);
  display: grid;
  gap: 12px;
}
.footer__base p { font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--ivory-dim); max-width: 72ch; line-height: 1.7; }
.footer__base .line-link { color: var(--ivory); }

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 17, 14, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modal-fade var(--modal) var(--ease);
}
.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid var(--rule);
  padding: clamp(28px, 5vw, 50px);
  animation: modal-rise var(--modal) var(--ease);
}
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .modal__backdrop, .modal__panel { animation: none; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--ivory-dim);
  background: none; border: 0; cursor: pointer;
  transition: color 160ms var(--ease);
}
.modal__close:hover { color: var(--ivory); }
.modal__eyebrow { font: 500 var(--t-eyebrow)/1 var(--font-ui); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--brass-light); margin-bottom: 14px; }
.modal__title { font: 400 var(--t-title-sm)/1.1 var(--font-display); color: var(--ivory); margin-bottom: 10px; }
.modal__subtitle { color: var(--ivory-dim); font-size: var(--t-body-sm); margin-bottom: 26px; }

.res-form { display: grid; gap: 20px; }
/* the JS toggles [hidden] on the form and its success panel; an explicit
   display here must yield to it (author display beats the UA [hidden] rule) */
.res-form[hidden], .res-form__success[hidden] { display: none; }
.res-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 460px) { .res-form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > label {
  font: 500 var(--t-micro)/1 var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.field__opt { color: var(--brass-light); text-transform: none; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ivory-dim);
  border-radius: 0;
  padding: 8px 2px;
  color: var(--ivory);
  transition: border-color 160ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass-light); }
.field--invalid input, .field--invalid select { border-bottom-color: var(--burgundy); }
.field__msg { font: 400 var(--t-micro)/1.3 var(--font-ui); letter-spacing: 0.04em; color: var(--brass-light); min-height: 1em; }
.field--invalid .field__msg { color: #d98a8a; }
.field select option { color: #111; }
.res-form__submit { margin-top: 6px; }
.res-form__note { font: 400 var(--t-micro)/1.5 var(--font-ui); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ivory-dim); }
.res-form__success { display: grid; gap: 12px; }
.res-form__success h3 { font: 400 var(--t-title-sm)/1.1 var(--font-display); color: var(--ivory); outline: none; }
.res-form__success p { color: var(--ivory-dim); font-size: var(--t-body-sm); }

.order-list { display: grid; margin-top: 8px; }
.order-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 19px;
  border-top: 1px solid var(--rule);
  font: 500 var(--t-meta)/1 var(--font-ui);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--ivory);
  transition: padding-left 180ms var(--ease);
}
.order-list a:last-child { border-bottom: 1px solid var(--rule); }
.order-list a:hover { padding-left: 8px; }
.order-list a .arrow { color: var(--brass-light); }
.order-note { margin-top: 20px; font: 400 var(--t-micro)/1.5 var(--font-ui); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ivory-dim); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
