/* Davani's Restaurant
   Idea: each section's ground takes the color of the tile its photo sits on
   (emerald glaze, wine-and-gold encaustic), so dishes blend into the page.
   Everything else stays quiet. */

:root {
  --chianti: #522222;
  --cellar: #2b1515;
  --gilt: #c5ab6b;
  --gilt-deep: #a38432;
  --glaze: #1f4a40;
  --glaze-deep: #163a32;
  --cloth: #fdfbf7;
  --cloth-2: #f5efe4;
  --ink: #2a2220;
  --ink-soft: #5e524d;
  --line: #e4dccd;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 72rem;
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 4.5rem;
  --bar-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cloth);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gilt-deep); }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 0.5em; font-optical-sizing: auto; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gilt); color: var(--cellar); padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.measure { max-width: 38em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: 500 1rem/1.2 var(--sans); letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--gold { background: var(--gilt); color: var(--cellar); }
.btn--gold:hover { background: #d6be83; }
.btn--ghost { border-color: rgba(197, 171, 107, 0.6); color: var(--cloth); }
.btn--ghost:hover { border-color: var(--gilt); background: rgba(197, 171, 107, 0.12); }
.btn--dark { background: var(--chianti); color: var(--cloth); }
.btn--dark:hover { background: var(--cellar); }
.btn--line { border-color: var(--chianti); color: var(--chianti); }
.btn--line:hover { background: var(--chianti); color: var(--cloth); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cellar); color: var(--cloth); }
.site-header__inner {
  width: min(100% - 2 * var(--gutter), 84rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem; min-height: var(--header-h);
}
.site-header__logo img { width: 136px; height: auto; }
.site-header__call, .site-header__toggle {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem;
  color: var(--gilt); background: none; border: 0; padding: 0; cursor: pointer;
}
.site-header__call { margin-left: auto; }
.burger { display: grid; gap: 5px; width: 24px; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { text-decoration: none; }
.site-nav__list a[aria-current="page"] { color: var(--gilt); }
.site-nav__phone { margin: 0; }

@media (max-width: 63.99rem) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cellar);
    padding: 1.5rem var(--gutter) 6rem; overflow-y: auto;
    display: flex; flex-direction: column; gap: 2rem;
    visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s linear 0.2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.2s; }
  .site-nav__list li { border-bottom: 1px solid rgba(197, 171, 107, 0.2); }
  .site-nav__list a { display: block; padding: 0.9rem 0; font-family: var(--serif); font-size: var(--step-2); }
  .site-nav__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .site-nav__phone a { color: var(--gilt); font-size: var(--step-1); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 64rem) {
  .site-header__call, .site-header__toggle { display: none; }
  .site-header__logo img { width: 150px; }
  .site-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
  .site-nav__list { display: flex; gap: 1.6rem; font-size: 0.975rem; }
  .site-nav__list a { padding: 0.5rem 0; border-bottom: 1px solid transparent; }
  .site-nav__list a:hover, .site-nav__list a[aria-current="page"] { border-color: var(--gilt); }
  .site-nav__ctas { display: flex; gap: 0.6rem; }
  .site-nav__ctas .btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; }
  .site-nav__phone { display: none; }
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--cellar); border-top: 1px solid rgba(197, 171, 107, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  min-height: 3.75rem; color: var(--cloth); text-decoration: none; font-size: 0.8125rem; letter-spacing: 0.02em;
}
.action-bar svg { width: 22px; height: 22px; color: var(--gilt); }
.action-bar .action-bar__primary { background: var(--gilt); color: var(--cellar); font-weight: 600; }
.action-bar .action-bar__primary svg { color: var(--cellar); }
body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
@media (min-width: 64rem) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Sections & grounds ---------- */
.section { padding-block: var(--section); }
.ground-wine { background: var(--chianti); color: var(--cloth); }
.ground-cellar { background: var(--cellar); color: var(--cloth); }
.ground-glaze { background: var(--glaze); color: var(--cloth); }
.ground-cloth-2 { background: var(--cloth-2); }
.ground-wine a:not(.btn), .ground-glaze a:not(.btn), .ground-cellar a:not(.btn) { color: inherit; }
.lede { font-size: var(--step-1); line-height: 1.5; }
.ground-wine .lede, .ground-glaze .lede, .ground-cellar .lede { color: rgba(253, 251, 247, 0.86); }
.section-title { font-size: var(--step-3); }
.muted { color: var(--ink-soft); }

/* ---------- Home: hero ----------
   Exactly one screen tall: the space between the header and (below 64rem) the bottom action bar.
   On phones and tablets the photo sits on top and takes whatever height the text leaves. */
.hero {
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100vh - var(--header-h) - var(--bar-h));
  height: calc(100svh - var(--header-h) - var(--bar-h) - env(safe-area-inset-bottom));
  background: var(--chianti); color: var(--cloth); overflow: hidden;
}
.hero__photo { min-height: 0; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__text { padding: 1.5rem var(--gutter) 1.75rem; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 4.4vw, 5rem); font-weight: 400; line-height: 1.04; margin-bottom: 0.75rem; text-wrap: wrap; }
.nowrap { white-space: nowrap; }
.hero__lede { font-size: var(--step-0); line-height: 1.5; color: rgba(253, 251, 247, 0.86); max-width: 26em; margin-bottom: 1.25rem; }
.hero .btn-row { flex-wrap: nowrap; }
.hero .btn-row .btn { flex: 1 1 0; padding-inline: 0.75rem; }
@media (max-width: 63.99rem) and (max-height: 34rem) {
  .hero { height: auto; }
  .hero__photo { height: 9rem; }
}
@media (min-width: 64rem) {
  .hero { grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr; }
  .hero__photo { order: 2; }
  .hero__text { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(2rem, 5vw, 5rem); }
  .hero__lede { font-size: var(--step-1); margin-bottom: 2rem; }
  .hero .btn-row { flex-wrap: wrap; }
  .hero .btn-row .btn { flex: 0 0 auto; padding-inline: 1.4rem; }
}
@media (min-width: 64rem) {
  .hero { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); }
}
@media (min-width: 64rem) and (max-height: 36rem) { .hero { height: auto; min-height: 30rem; } }
@media (max-width: 47.99rem) { .hide-sm { display: none !important; } }

/* Today strip */
.today { background: var(--cellar); color: var(--cloth); }
.today__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1rem; font-size: 0.975rem; }
.today__inner p { margin: 0; }
@media (min-width: 48rem) { .today__inner { justify-content: flex-start; } }
.today__status { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.today__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gilt); flex: none; }
.today__status[data-state="closed"] .today__dot { background: #8a7d72; }
.today a { color: var(--gilt); }

/* Intro + signature dishes: one simple row of three, stacked on phones */
.intro h2 { font-size: var(--step-3); }
.intro .lede { margin: 0; }
.dishes { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.dish img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 48rem) {
  .dishes { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .dish img { aspect-ratio: 4 / 5; }
}
.dishes__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.dishes__more p { margin: 0; max-width: 34em; }

/* Feature split: photo bleeds into a ground matching its tile */
.split { display: grid; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.split__body { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); }
.split__body h2 { font-size: var(--step-3); }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .split__photo img { aspect-ratio: auto; min-height: 34rem; }
  .split--flip .split__photo { order: 2; }
  .split__body { align-self: center; padding: 5rem clamp(2.5rem, 6vw, 6rem); max-width: 40rem; }
}

/* Owner quote */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.75rem); line-height: 1.3; margin: 0 0 1.5rem; max-width: 22em; }
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: var(--step--1); margin-top: 0.75rem; opacity: 0.8; }

/* Reviews */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 3rem; }
.reviews__head h2 { margin: 0; font-size: var(--step-3); }
.rating { display: flex; align-items: baseline; gap: 0.75rem; }
.rating__num { font-family: var(--serif); font-size: var(--step-4); line-height: 1; color: var(--chianti); }
.rating__label { color: var(--ink-soft); max-width: 12em; line-height: 1.35; }
/* Reviews: one sideways-scrolling row of equal tiles. Long reviews are cut to a few lines with a
   "Read more" button (added by main.js, so without JS every review shows in full). An opened tile
   grows on its own; the others keep their size. Flat linen tiles, square corners, no shadows. */
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1rem; align-items: start;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; /* the peek and the buttons show there is more */
}
.quotes::-webkit-scrollbar { display: none; }
.review { --lines: 6; display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.35rem; background: var(--cloth-2); scroll-snap-align: start; }
.review__stars { width: 6.25rem; height: auto; margin-bottom: 1rem; fill: var(--gilt-deep); }
.review__text { margin: 0; }
.review__text p { margin: 0; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.5; }
.review__more { align-self: flex-start; margin-top: 0.6rem; padding: 0.35rem 0; border: 0; background: none; font: inherit; font-size: var(--step--1); font-weight: 500; color: var(--chianti); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--gilt); cursor: pointer; }
.review__more:hover { text-decoration-color: currentColor; }
.review__by { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); line-height: 1.35; }
.review__name { display: block; font-weight: 500; }
.review__src { display: block; font-size: var(--step--1); color: var(--ink-soft); }
/* Only clamp once main.js is running, so the text can always be opened. Every closed tile reserves the
   same number of lines and the button row, so all closed tiles are the same height. */
.quotes.is-clamped .review__text p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines); overflow: hidden; min-height: calc(var(--lines) * 1.5em); }
.quotes.is-clamped .review.is-open .review__text p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review__more { display: none; }
.quotes.is-clamped .review__more { display: block; }
.quotes.is-clamped .review__more.is-unneeded { visibility: hidden; }
.quotes__nav { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.25rem; }
.quotes__nav[hidden] { display: none; }
.quotes__btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--chianti); border-radius: 50%; background: none; color: var(--chianti); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.quotes__btn:hover:not(:disabled) { background: var(--chianti); color: var(--cloth); }
.quotes__btn:disabled { opacity: 0.3; cursor: default; }
@media (min-width: 48rem) {
  .quotes { grid-auto-columns: calc((100% - 1.25rem) / 2.15); gap: 1.25rem; }
  .review { --lines: 5; padding: 2rem 2rem 1.6rem; }
}
@media (min-width: 64rem) {
  .quotes { grid-auto-columns: calc((100% - 2.5rem) / 3.12); }
}

/* Visit block */
.visit { display: grid; gap: 3rem; }
.visit .contact-block + .contact-block { margin-top: 1.75rem; }
.visit .btn-row { margin-top: 2rem; }
.visit__map { min-height: 20rem; background: var(--cloth-2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 20rem; border: 0; display: block; }
@media (min-width: 56rem) { .visit { grid-template-columns: 1fr 1.3fr; } }
.hours { margin: 0; display: grid; gap: 0.35rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { font-weight: 400; white-space: nowrap; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours div[data-today] dt, .hours div[data-today] dd { font-weight: 600; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--chianti); color: var(--cloth); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-size: var(--step-4); font-weight: 400; margin-bottom: 0.75rem; }
.page-head p { font-size: var(--step-1); color: rgba(253, 251, 247, 0.86); max-width: 34em; margin: 0; }
.page-head .btn-row { margin-top: 2rem; }

/* ---------- Menu page ---------- */
.menu-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--cloth); border-bottom: 1px solid var(--line); }
.menu-nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: block; padding: 1rem 0; white-space: nowrap; text-decoration: none; color: var(--ink-soft); border-bottom: 2px solid transparent; }
.menu-nav a:hover, .menu-nav a.is-active { color: var(--chianti); border-color: var(--chianti); }
.menu-body { padding-block: 3rem var(--section); }
.menu-section { padding-top: 3rem; }
.menu-section + .menu-section { margin-top: 2rem; border-top: 1px solid var(--line); }
.menu-section__title { font-size: var(--step-3); color: var(--chianti); margin-bottom: 1.5rem; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem 4rem; }
@media (min-width: 56rem) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-item__head { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-item__name { font-size: var(--step-1); margin: 0; font-weight: 500; }
.menu-item__dots { flex: 1; border-bottom: 1px dotted #bfb3a1; transform: translateY(-0.3em); min-width: 1.5rem; }
.menu-item__price { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--chianti); font-weight: 500; }
.menu-item__price .sep { color: var(--ink-soft); font-weight: 400; }
.menu-item__desc { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.975rem; max-width: 34em; }
.menu-sub { font-size: var(--step-2); margin: 2.5rem 0 1.25rem; }
.menu-note { color: var(--ink-soft); font-style: italic; max-width: 40em; }
.wine-label { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.wine-list { list-style: none; margin: 0 0 1rem; padding: 0; columns: 1; column-gap: 4rem; }
@media (min-width: 40rem) { .wine-list { columns: 2; } }
@media (min-width: 64rem) { .wine-list { columns: 3; } }
.wine-list li { break-inside: avoid; padding: 0.3rem 0; line-height: 1.35; }
.wine-name { display: block; }
.wine-region { display: block; font-size: var(--step--1); color: var(--ink-soft); }
.menu-footnotes { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-soft); }
.menu-footnotes p { margin: 0 0 0.4rem; }

/* ---------- About ---------- */
.story { display: grid; gap: 3rem; }
.story__photo img { width: 100%; }
.story__photo figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.75rem; }
.story__text { font-size: 1.125rem; line-height: 1.7; }
@media (min-width: 56rem) { .story { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 5rem; } .story__photo { position: sticky; top: calc(var(--header-h) + 2rem); } }
.people { display: grid; gap: 2.5rem; margin-top: 1rem; }
.people h3 { font-size: var(--step-2); margin-bottom: 0.25rem; }
.people .role { color: var(--gilt-deep); margin-bottom: 0.75rem; }
@media (min-width: 48rem) { .people { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---------- Gallery: one column on phones, two from tablet up; the team photo spans the full width ---------- */
.gallery { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: var(--step--1); color: var(--ink-soft); padding-top: 0.6rem; }
@media (min-width: 40rem) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-full { grid-column: 1 / -1; }
  .gallery .g-full img { aspect-ratio: 16 / 9; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 80rem); max-height: 92vh; }
.lightbox::backdrop { background: rgba(43, 21, 21, 0.92); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox p { color: var(--cloth); text-align: center; margin: 0.75rem 0 0; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--cloth); color: var(--cellar); font-size: 1.5rem; cursor: pointer; }

/* ---------- Private dining ---------- */
.room-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(197, 171, 107, 0.3); margin: 2.5rem 0 0; border: 1px solid rgba(197, 171, 107, 0.3); }
.room-facts > div { background: var(--glaze); padding: 1.1rem 1.1rem 1.25rem; }
.room-facts dt { font-size: var(--step--1); opacity: 0.8; margin-bottom: 0.35rem; }
.room-facts dd { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.75rem); line-height: 1.15; }
.room-facts dd small { display: block; font-family: var(--sans); font-size: var(--step--1); opacity: 0.8; margin-top: 0.3rem; }

@media (min-width: 64rem) { .room-facts { grid-template-columns: repeat(4, 1fr); } }

.minimums { width: 100%; border-collapse: collapse; margin: 1rem 0 0.75rem; font-variant-numeric: tabular-nums; }
.minimums th, .minimums td { text-align: left; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.minimums thead th { font-weight: 500; color: var(--ink-soft); font-size: var(--step--1); }
.minimums td:not(:first-child), .minimums th:not(:first-child) { text-align: right; }
.pd-layout { display: grid; gap: 4rem; }
@media (min-width: 64rem) { .pd-layout { grid-template-columns: 22rem 1fr; gap: 5rem; } .pd-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.pd-aside h2 { font-size: var(--step-2); }
.pd-aside .small { font-size: var(--step--1); color: var(--ink-soft); }

/* Booking form */
.booking h2 { font-size: var(--step-3); }
.booking fieldset { border: 0; padding: 0; margin: 0 0 2.75rem; min-width: 0; }
.booking legend { font-family: var(--serif); font-size: var(--step-2); padding: 0; margin-bottom: 0.25rem; }
.booking .legend-help { color: var(--ink-soft); margin: 0 0 1.25rem; font-size: 0.975rem; }
.fields { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .fields--2 { grid-template-columns: 1fr 1fr; } .fields--3 { grid-template-columns: repeat(3, 1fr); } }
.field label, .field .label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.975rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.7rem 0.85rem;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #c9bdaa; border-radius: 2px;
}
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gilt); outline-offset: 0; border-color: var(--gilt-deep); }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); margin: 0.4rem 0 0; }
.field .error { font-size: var(--step--1); color: #9b2c1f; margin: 0.4rem 0 0; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #9b2c1f; }
.field.has-error .error, .choices.has-error + .error { display: block; }

.choices { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: block; height: 100%; padding: 0.95rem 1rem 0.95rem 2.85rem; border: 1px solid #c9bdaa; border-radius: 2px; background: #fff;
  position: relative; line-height: 1.35;
}
.choice span::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.1rem; height: 1.1rem; border: 1px solid #9c8f7d; border-radius: 50%; background: #fff; }
.choice input[type="checkbox"] + span::before { border-radius: 2px; }
.choice small { display: block; color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.15rem; }
.choice input:checked + span { border-color: var(--chianti); background: #fbf4f1; }
.choice input:checked + span::before { border-color: var(--chianti); background: var(--chianti); box-shadow: inset 0 0 0 3px #fff; }
.choice input[type="checkbox"]:checked + span::before { box-shadow: none; background: var(--chianti) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 80% no-repeat; }
.choice input:focus-visible + span { outline: 2px solid var(--gilt); outline-offset: 2px; }
.choices.has-error .choice span { border-color: #9b2c1f; }
.choices + .error { font-size: var(--step--1); color: #9b2c1f; margin: 0.5rem 0 0; display: none; }

.reveal { margin-top: 1.25rem; padding: 1.25rem 1.25rem 1.4rem; background: var(--cloth-2); border-left: 3px solid var(--gilt); }
.reveal[hidden] { display: none; }
.reveal .label { font-weight: 500; margin-bottom: 0.6rem; }
.notice { margin: 0.9rem 0 0; padding: 0.75rem 1rem; background: #fbf1e3; border-left: 3px solid var(--gilt-deep); font-size: 0.95rem; }
.notice[hidden] { display: none; }
.estimate { margin-top: 1.25rem; padding: 1.25rem 1.4rem; background: var(--glaze); color: var(--cloth); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; }
.estimate[hidden] { display: none; }
.estimate__amount { font-family: var(--serif); font-size: var(--step-3); line-height: 1; }
.estimate__why { font-size: var(--step--1); opacity: 0.85; flex-basis: 100%; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 0.5rem; }
.form-actions .btn { min-width: 14rem; }
.form-actions p { margin: 0; font-size: var(--step--1); color: var(--ink-soft); max-width: 28em; }
.form-summary { padding: 1rem 1.25rem; background: #fbeeea; border-left: 3px solid #9b2c1f; margin-bottom: 2rem; }
.form-summary[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Visit page ----------
   Three sizes only: a quiet sans label for each block, one serif size for every piece of
   information people come for (address, hours, phone, email), and small print for the note. */
.contact-grid { display: grid; gap: 2.25rem; }
.contact-block { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.contact-block h2, .contact-block h3 { font-family: var(--sans); font-size: var(--step-0); font-weight: 500; letter-spacing: 0; color: var(--chianti); margin: 0 0 0.6rem; }
.contact-block address, .contact-block .hours, .contact-value { font-family: var(--serif); font-size: clamp(1.125rem, 1rem + 0.5vw, var(--step-1)); line-height: 1.4; }
.contact-block address a, .contact-value a { text-decoration: none; }
.contact-block address a:hover, .contact-value a:hover { text-decoration: underline; }
.contact-value { margin: 0; }
.contact-block .hours { gap: 0.2rem; }
.contact-block .hours div[data-today] dt, .contact-block .hours div[data-today] dd { font-weight: 600; }
.contact-block .btn { margin-top: 1.25rem; }
.contact-note { margin: 1.1rem 0 0; font-size: var(--step--1); color: var(--ink-soft); max-width: 26em; }
.visit-map iframe { display: block; width: 100%; height: 26rem; border: 0; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
@media (min-width: 64rem) { .contact-grid { grid-template-columns: 1fr 1.2fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--cellar); color: rgba(253, 251, 247, 0.82); font-size: 0.975rem; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1.1fr 1fr 1.35fr 0.75fr; gap: 3rem; } }
.site-footer__brand img { width: 170px; margin-bottom: 1rem; }
.site-footer__tag { max-width: 18em; }
.site-footer__h { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--gilt); margin-bottom: 0.9rem; letter-spacing: 0.01em; }
.site-footer a { color: var(--cloth); }
.site-footer__phone { white-space: nowrap; }   /* same style as the address above it */
.site-footer__note { margin: 0.75rem 0 0; color: rgba(253, 251, 247, 0.65); font-size: var(--step--1); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.social { list-style: none; display: flex; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; }
.social a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(197, 171, 107, 0.4); border-radius: 50%; color: var(--gilt); }
.social a:hover { background: rgba(197, 171, 107, 0.15); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(197, 171, 107, 0.2); font-size: var(--step--1); }
.site-footer__bottom p { margin: 0; }

/* ---------- Thanks / 404 ---------- */
.message { padding-block: var(--section); text-align: center; }
.message h1 { font-size: var(--step-4); font-weight: 400; color: var(--chianti); }
.message p { max-width: 32em; margin-inline: auto; }
.message .btn-row { justify-content: center; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Home: Wine Room teaser */
.pd-teaser { display: grid; gap: 3rem; align-items: center; }
.pd-teaser__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(197, 171, 107, 0.35); }
.pd-teaser__facts div { padding: 1.25rem 0; border-bottom: 1px solid rgba(197, 171, 107, 0.35); }
.pd-teaser__facts div:nth-child(odd) { padding-right: 1.5rem; }
.pd-teaser__facts dt { font-size: var(--step--1); color: rgba(253, 251, 247, 0.75); }
.pd-teaser__facts dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.75rem); color: var(--gilt); }
@media (min-width: 56rem) { .pd-teaser { grid-template-columns: 1.2fr 1fr; gap: 5rem; } }

.menu-item__desc:empty { display: none; }

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

/* ---------- Business events guide (questions open and close; topics bar reuses .menu-nav) ---------- */
.faq-body { padding-block: 1rem var(--section); }
.faq-body > .menu-section { max-width: 48rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
/* plus sign that turns into a minus when open */
.faq summary::after {
  content: ""; flex: none; width: 0.85rem; height: 0.85rem; margin-top: 0.4em; color: var(--gilt-deep);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: background-size 0.2s;
}
.faq details[open] summary::after { background-size: 100% 1.5px, 1.5px 0; }
.faq summary:hover { color: var(--chianti); }
.faq__a { padding: 0 2.35rem 1.5rem 0; max-width: 40em; }
.faq__a p { margin: 0 0 0.75rem; }
.faq__a p:last-child, .faq__a ul:last-child { margin-bottom: 0; }
.faq__a ul, .faq-list { margin: 0 0 0.75rem; padding-left: 1.1rem; }
.faq__a li, .faq-list li { margin-bottom: 0.35rem; }
.faq__a li::marker, .faq-list li::marker { color: var(--gilt-deep); }
.faq-intro { max-width: 40em; }
.faq-list { margin-bottom: 1.5rem; max-width: 40em; }
.faq-actions { margin-top: 2rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Private dining form: link to the guide for business events */
.form-tip { margin: 1.25rem 0 0; padding-left: 1rem; border-left: 3px solid var(--gilt); font-size: 0.975rem; color: var(--ink-soft); }
.form-tip[hidden] { display: none; }

@media print {
  .site-header, .site-footer, .action-bar, .menu-nav, .btn-row, .skip-link { display: none !important; }
  .page-head { background: none !important; color: #000; padding-block: 0 1rem; }
  .page-head p, .room-facts dt, .room-facts dd small { color: #000; opacity: 1; }
  .room-facts, .room-facts > div { background: none; border-color: #ccc; }
  .faq summary::after { display: none; }
  .faq details, .menu-section { break-inside: avoid-page; }
  .menu-section { padding-top: 1.25rem; }
  a { color: inherit; }
}
