/* Vira Bistro: site styles
   1 Tokens · 2 Base · 3 Type · 4 Buttons & links · 5 Layout · 6 Header & nav
   7 Home · 8 Menu · 9 Private events · 10 Story · 11 Gallery · 12 Footer · 13 Motion */

/* 1 Tokens ------------------------------------------------------------ */
/* Brand guide skin (branch brand-guide). The layout is Maksym's; colours, fonts,
   text sizes and spacing come from the Vira Bistro brand guide v3.1 (WaveDigital
   design system: tokens/colors.css, typography.css, layout.css), applied the way
   virabistro.com applies them. The role names are the ones this stylesheet always
   used, so the rules below kept their shape.
   One rule for green: fills (buttons, the menu overlay, the notice bar) use the
   primary forest green; green words inside text use the brand's leaf green, because
   forest green is too close to the heading colour to read as an accent. */
:root {
  /* Brand palette: only the steps this stylesheet uses */
  --green-900: #1B2110;
  --green-800: #232C15;
  --green-700: #2E3A1B;   /* primary forest green */
  --green-600: #3B4A24;
  --green-400: #5E7038;   /* leaf green */
  --green-200: #A6B287;
  --gold-200: #ECDCA9;
  --kalina-600: #9E1B1E;  /* primary kalyna red */
  --paper-050: #F7F2E7;   /* primary paper */
  --paper-100: #F0E9D8;
  --paper-300: #D3C8AC;
  --sand-600: #6E6653;
  --ink-900: #1C2013;

  /* Roles */
  --bg: var(--paper-050);       /* page */
  --paper: #FFFFFF;             /* raised surfaces: booking bar, cards, prices band, panels */
  --bg-alt: color-mix(in srgb, var(--paper-050) 50%, #FFFFFF); /* halfway between page and white: every second section (16) */
  --rule: var(--paper-300);     /* hairlines, image placeholders */
  --ink: var(--ink-900);        /* body text, strong rules */
  --head: var(--green-700);     /* headings */
  --dark: var(--green-900);     /* dark sections: services, footer */
  --on-dark: var(--paper-050);  /* text on green and on dark sections */
  --mute: var(--sand-600);      /* secondary text, 5.1:1 on the page */
  --acc: var(--green-700);      /* fills: buttons, overlay, notice, active underlines */
  --acc-hover: var(--green-600);
  --acc-text: var(--green-400); /* green words in text: italic accents, active tabs, links */
  --acc2: var(--kalina-600);    /* kalyna red: stars, status dot, alerts */
  --soft: var(--green-200);     /* secondary text on dark */
  --dkrule: color-mix(in srgb, var(--paper-050) 22%, transparent); /* hairlines on dark */
  --focus: var(--green-700);

  /* Three voices of the brand guide */
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;            /* headings, numbers */
  --body: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;             /* paragraphs */
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;       /* labels, nav, buttons */

  /* Text sizes as on virabistro.com: one body ramp, small wide-tracked labels.
     Sizes are in rem, so they follow the fluid root size set in section 2. */
  --text: 1.1875rem;
  --text-lead: 1.3125rem;
  --text-sm: 1.125rem;
  --eyebrow: .65625rem;
  --label: .6875rem;
  --label-btn: .8125rem;

  /* Spacing: the site's gutter and vertical rhythm */
  --pad: clamp(1.25rem, 4vw, 6rem);
  --header-h: 5.25rem;
  --space-l: clamp(4.5rem, 10vh, 8rem);
  --space-m: clamp(3.5rem, 8vh, 6.5rem);
  --gap: clamp(2rem, 5vw, 5.5rem);

  /* Corners are square everywhere (buttons, booking bar, cards, panels, badges), as in Maksym's design.
     The only round shape is the status dot. */
  --shadow: 0 .5rem 1.5rem rgba(29, 33, 16, .09);
  --ease: cubic-bezier(.2, .75, .15, 1);
}

/* 2 Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* Large screens: the whole page grows with the window, as Maksym's design does (his body text runs
   clamp(16px, 1.05vw, 24px)). Up to about 1520px wide the root stays at the browser's 16px, so phones and
   laptops see the brand guide sizes unchanged; wider, every rem size scales with the width, up to 1.5x
   at about 2290px. Sizes that should grow are therefore written in rem, never px; px is left for
   hairlines and for rules that only apply on phones and tablets. */
html { font-size: clamp(100%, 1.05vw, 150%); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { flex: 1; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc-text); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-200); color: var(--green-800); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.services, .site-footer, .overlay, .notice { --focus: var(--on-dark); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; padding: .6em 1em; background: var(--paper); }

/* 3 Type -------------------------------------------------------------- */
.display { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.02em; color: var(--head); }
.display em { color: var(--acc-text); }
.h-hero { font-size: max(min(11vw, 3.2rem), min(6.4vw, 11svh, 7rem)); line-height: .96; }
.h-page { font-size: clamp(2.8rem, 6vw, 6rem); }
.h-xl { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.h-l { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.04; }
.h-story { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.03em; }
.h-events { font-size: clamp(2.4rem, 5.6vw, 5rem); }
.h-card { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; color: var(--head); }
.eyebrow { font-family: var(--sans); font-size: var(--eyebrow); font-weight: 500; line-height: 1.6; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.eyebrow--acc { color: var(--acc-text); }
.eyebrow + .display { margin-top: .2em; }
.lead { margin: 1.2em 0 0; max-width: 32em; font-size: var(--text-lead); }
.lead + .lead { margin-top: 1em; }
.eyebrow + .grid { margin-top: 1.4em; }
.muted { color: var(--mute); }
.stars { color: var(--acc2); letter-spacing: .2em; }
.num { font-family: var(--serif); font-weight: 500; font-size: 1.15em; }
/* Spacer between a dish and its price. It used to draw a dotted leader; the rows already have lines, so
   it is now empty space that pushes the price to the right edge. */
.dots { flex: 1; min-width: 1em; }

/* 4 Buttons & links --------------------------------------------------- */
/* Brand guide Button, primary variant: forest green, square corners as in Maksym's design, Jost caps. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .4em 2.4em; border: 1px solid var(--acc); background: var(--acc); color: var(--on-dark); font-family: var(--sans); font-size: var(--label-btn); font-weight: 500; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--acc-hover); border-color: var(--acc-hover); color: var(--on-dark); }
.btn--ghost { min-height: 2.75rem; padding: .4em 1.8em; background: transparent; color: var(--acc); white-space: nowrap; }
.btn--ghost:hover { background: var(--acc); border-color: var(--acc); }
.btn--light { background: var(--on-dark); border-color: var(--on-dark); color: var(--green-800); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--acc); }
.link { position: relative; display: inline-block; padding: 0 0 .35em; border: 0; border-bottom: 1px solid currentColor; background: none; font-family: var(--sans); font-size: var(--label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.link--acc { color: var(--acc-text); }
.link--plain { border-bottom: 0; }
@media (pointer: coarse) { .link::after, .filter::after, .site-footer__u::after { content: ""; position: absolute; inset: -12px -10px; } }
.phone { font-family: var(--serif); font-weight: 500; font-size: 1.4em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1em 2em; margin-top: 2em; }

/* 5 Layout ------------------------------------------------------------ */
.section { padding: var(--space-l) var(--pad) 0; }
.section--m { padding-top: var(--space-m); }
.section--end { padding-bottom: var(--space-l); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 3vw, 4rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: center; }
@media (min-width: 560px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
@media (min-width: 1100px) { .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1em 3em; }
.head-row p { margin: 0; max-width: 26em; }
.photo { overflow: hidden; background: var(--paper-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; max-height: min(125vw, 71.875rem); }
/* No line over each feature or info block: side by side, the short lines broke at every column gap
   (the owner asked for this on the prices band; the same rule applies here). */
.feature { padding-top: 0; }
.feature__num { font-family: var(--serif); font-style: italic; font-size: 1.4em; color: var(--acc-text); }
.feature .h-card { margin-top: .15em; }
.feature p { margin: .5em 0 0; }

/* 6 Header & nav ------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
/* Logo on the left, every link on the right: the logo comes second in the markup, `order` moves it first
   and its auto margin pushes both link groups to the right edge. */
.site-header__in { height: var(--header-h); padding: 0 var(--pad); display: flex; align-items: center; gap: 2em; }
.nav { flex: 0 0 auto; display: flex; align-items: center; gap: 2em; }
.logo { order: -1; margin-right: auto; }
.nav__link { padding: .4em 0; border-bottom: 1px solid transparent; font-family: var(--sans); font-size: var(--label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: var(--head); }
.nav__link[aria-current="page"] { color: var(--acc-text); border-bottom-color: currentColor; }
.logo img { height: 3.25rem; width: auto; }
@media (max-width: 759px) { .logo img { height: 44px; } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; cursor: pointer; }
.burger span { width: 26px; height: 1px; background: var(--head); }
.burger span + span { width: 18px; }
@media (max-width: 999px) { .nav__link { display: none; } .burger { display: flex; } }
@media (max-width: 759px) { .site-header .btn { display: none; } }

.overlay { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; overflow: auto; padding: 14px var(--pad) 40px; background: var(--acc); color: var(--on-dark); }
.overlay a:hover { color: var(--soft); }
.overlay__top { display: flex; justify-content: space-between; align-items: center; }
.overlay__top img { height: 40px; width: auto; }
.overlay__close { width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 32px; font-weight: 300; cursor: pointer; }
.overlay__nav { display: flex; flex-direction: column; margin-top: 1.6em; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 10vw, 4.5rem); line-height: 1.2; }
.overlay__foot { margin: auto 0 0; padding-top: 2em; font-size: var(--text-sm); line-height: 1.8; }

/* 7 Home -------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 6rem) var(--pad); }
.hero__photo { position: relative; min-height: min(110vw, 35rem); overflow: hidden; background: var(--paper-100); }
.hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero--home { min-height: calc(100svh - var(--header-h)); }
.hero--home h1 { margin-top: .35em; }
.hero--home .lead { margin-top: 1.2em; max-width: 30em; }
.hero--events .hero__text { padding-block: clamp(2.5rem, 5vw, 6.5rem); }
.hero--events .hero__photo { min-height: min(80vw, 40rem); }
.hero--events .lead { max-width: 30em; }
@media (min-width: 900px) {
  .hero--home { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero--events { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.status { display: flex; align-items: center; gap: .8em; }
.status::before { content: ""; width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--acc2); animation: pulse 1.2s ease-in-out infinite alternate; }

/* Booking bar: the brand guide's raised surface (white, soft line, soft shadow), square like Maksym's. */
.booking { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 1fr); max-width: 34rem; margin-top: 1.8em; border: 1px solid var(--rule); background: var(--paper); box-shadow: var(--shadow); }
.booking__cell { min-width: 0; display: flex; flex-direction: column; padding: .6em clamp(.625rem, 1.1vw, 1rem) .3em; border-right: 1px solid var(--rule); }
.booking__cell:nth-child(3) { border-right: 0; }
.booking__label { font-family: var(--sans); font-size: .625rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.booking select { min-width: 0; height: 2.5rem; border: 0; background: transparent; font-family: var(--body); font-size: min(var(--text), 4.4vw); color: var(--head); cursor: pointer; }
.stepper { display: flex; align-items: center; justify-content: space-between; }
.stepper button { width: 2.25rem; height: 2.5rem; border: 0; background: none; font-size: 1.3em; color: var(--head); cursor: pointer; }
.stepper output { font-family: var(--serif); font-weight: 500; font-size: 1.5em; color: var(--head); }
.booking .btn { grid-column: 1 / -1; min-height: 3.5rem; border: 0; padding-inline: 1.4em; }
@media (max-width: 759px) { .booking select, .stepper button { height: 44px; } }
html:not(.js) .booking__cell { display: none; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .7em 2em; max-width: 34rem; margin-top: 1.5em; }
.proof__text { font-size: var(--text-sm); color: var(--mute); }
.proof__text b { font-weight: 500; color: var(--ink); }

.dish-card { position: absolute; left: clamp(1rem, 2vw, 2.5rem); bottom: clamp(1rem, 2vw, 2.5rem); max-width: min(26rem, calc(100% - 2 * clamp(1rem, 2vw, 2.5rem))); padding: 1.1em 1.4em; border: 1px solid var(--rule); background: var(--paper); box-shadow: var(--shadow); }
.dish-card__name { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5em; margin-top: .3em; font-family: var(--serif); font-weight: 500; font-size: 1.6em; line-height: 1.1; color: var(--head); }
.dish-card__name em { color: var(--acc-text); }
.dish-card p { margin: .3em 0 0; font-size: .92em; line-height: 1.45; color: var(--mute); }

/* Prices band: one white strip with a line above and below it. No lines over the single prices: in
   columns they broke at every gap. Stacked on a phone, a line separates one price from the next. */
.prices { padding: 0 var(--pad); background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prices .grid { gap: 0 clamp(1.25rem, 3vw, 4rem); }
.price { display: flex; flex-direction: column; gap: .2em; padding: clamp(1.25rem, 2.2vw, 2.5rem) 0; }
@media (max-width: 559px) { .price + .price { border-top: 1px solid var(--rule); } }
.price__value { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; color: var(--head); }

.cards { margin-top: clamp(1.75rem, 3vw, 4rem); }
.cards--plates { gap: clamp(1.75rem, 2.4vw, 3rem) clamp(1rem, 1.6vw, 2rem); }
.cards--occasions { gap: clamp(2.25rem, 2.4vw, 3rem); }
.card { display: flex; flex-direction: column; align-items: flex-start; }
.card:hover { color: inherit; }
.card__photo { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-100); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__photo img { transform: scale(1.05); }
.card .eyebrow { margin-top: 1.2em; }
.card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; width: 100%; margin-top: .2em; font-family: var(--serif); font-weight: 500; font-size: 1.5em; line-height: 1.15; color: var(--head); }
.card__title em { color: var(--acc-text); }
.card p { margin: .3em 0 0; font-size: var(--text-sm); line-height: 1.5; }
.card--occasion .card__title { font-size: 1.9em; line-height: 1.1; }
.card--occasion p { margin-top: .5em; font-size: 1em; }
.card .link { margin-top: 1.1em; }
.more { margin-top: 2.4em; }
.lead + .more { margin-top: 1.4em; }

.services { margin-top: var(--space-l); padding: var(--space-m) var(--pad); background: var(--dark); color: var(--on-dark); }
.services .grid { gap: clamp(3rem, 6vw, 7.5rem); }
.services a:hover { color: var(--soft); }
.service__top { display: flex; justify-content: space-between; align-items: center; gap: 1em; min-height: 2.6em; color: var(--soft); }
.badge { padding: .45em 1.1em; border: 1px solid var(--dkrule); font-family: var(--sans); font-size: var(--label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); }
.service__title { margin: .1em 0 0; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2.8rem, 5.4vw, 5.5rem); line-height: 1; }
.price-list { list-style: none; margin: 1.4em 0; padding: 0; border-top: 1px solid var(--dkrule); }
.price-list li { display: flex; align-items: baseline; gap: .8em; padding: .75em 0; border-bottom: 1px solid var(--dkrule); }
.service .eyebrow { color: var(--soft); }

.reviews { display: flex; flex-wrap: wrap; align-items: center; gap: 1em 2em; margin-top: clamp(2.25rem, 4vw, 5.5rem); padding-top: clamp(1.5rem, 2.4vw, 3rem); border-top: 1px solid var(--rule); }
.reviews__num { font-family: var(--serif); font-weight: 400; font-size: clamp(6rem, 9vw, 9rem); line-height: .8; color: var(--acc2); }
.reviews__body { flex: 1 1 14em; }
.reviews .stars { letter-spacing: .3em; }
.reviews__title { margin: .2em 0 0; font-family: var(--serif); font-weight: 500; font-size: 1.5em; line-height: 1.2; color: var(--head); }
.reviews__links { display: flex; flex-wrap: wrap; gap: .6em 2em; margin-top: .9em; }

.info { gap: 1.6em 3em; margin-top: 2.2em; }
.info > div { padding-top: 0; }
.info p { margin: .5em 0 .6em; font-size: var(--text-lead); }
.cta-row--l { margin-top: 2.4em; }

/* 8 Menu -------------------------------------------------------------- */
.page-head { padding: clamp(2.5rem, 5vw, 6.5rem) var(--pad) 0; }
.page-head .lead { max-width: 34em; }
/* The padding shorthand above zeroed the bottom space on pages that end with a page head (menu, gallery,
   404), so the content ran into the footer. */
.page-head.section--end { padding-bottom: var(--space-l); }
.tabs-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .4em 3em; margin-top: clamp(1.75rem, 3vw, 4rem); }
/* The active tab is marked by its colour and a line under the word only. The row has no rule of its
   own: a short line laid over a long one read as a glitch. */
.tabs { display: flex; gap: clamp(1.25rem, 2.6vw, 3.5rem); }
.tab { padding: .2em 0 .35em; border: 0; border-bottom: 2px solid transparent; background: none; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.2vw, 2.4rem); color: var(--mute); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--acc-text); border-bottom-color: currentColor; }
.tabs-row .eyebrow { padding-bottom: 1em; }
.menu { gap: clamp(1.75rem, 4vw, 5.5rem); align-items: start; margin-top: clamp(1.75rem, 3vw, 4rem); }
.menu__photo { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .menu__photo { position: sticky; top: calc(var(--header-h) + 2em); aspect-ratio: 3 / 4; } }
.menu__cols { column-width: 18em; column-gap: clamp(2rem, 4vw, 5.5rem); }
.menu-section { break-inside: avoid; padding-bottom: 2.6em; }
.menu-section h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1.9em; line-height: 1.2; color: var(--acc-text); }
.menu-section__note { margin: 0; font-size: var(--text-sm); }
.menu-list { list-style: none; margin: .7em 0 0; padding: 0; border-top: 1px solid var(--ink); }
.menu-list li { padding: .8em 0; border-bottom: 1px solid var(--rule); }
.menu-item { display: flex; align-items: baseline; gap: .8em; }
.menu-item b { font-weight: 500; font-size: 1.05em; color: var(--head); }
.menu-item .num { font-size: 1.2em; white-space: nowrap; color: var(--head); }
.menu-list p { margin: 0; font-size: var(--text-sm); line-height: 1.45; }
.footnote { margin: 0; max-width: 44em; font-size: var(--text-sm); }
.footnote a { border-bottom: 1px solid var(--rule); }

/* 9 Private events ---------------------------------------------------- */
.steps { list-style: none; margin: 1.2em 0 0; padding: 0; }
.steps li { display: flex; gap: 1.4em; padding: 1.2em 0; border-top: 1px solid var(--rule); }
.steps__num { min-width: .9em; font-family: var(--serif); font-style: italic; font-size: 2.4em; line-height: 1; color: var(--acc-text); }
.steps b { display: block; font-weight: 500; font-size: 1.1em; color: var(--head); }
.inquiry { align-items: start; scroll-margin-top: 7em; }
.panel { padding: clamp(1.5rem, 3vw, 3.5rem); background: var(--paper); border: 1px solid var(--rule); }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4em 2em; margin-top: 1.6em; }
@media (min-width: 900px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: .2em; }
.field--wide, .form .btn { grid-column: 1 / -1; }
.field input, .field select, .field textarea { height: 2.6em; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; }
.field textarea { height: auto; padding: .6em 0; resize: vertical; }
.field :focus-visible { outline: 0; border-bottom-color: var(--focus); box-shadow: 0 1px 0 var(--focus); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.thanks h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 2.4em; line-height: 1.15; color: var(--acc-text); }
.thanks p { margin: .8em 0 1.6em; }
.thanks p a { border-bottom: 1px solid var(--rule); }

/* 10 Story ------------------------------------------------------------ */
.story-head { padding: clamp(3rem, 6vw, 7.5rem) var(--pad) 0; text-align: center; }
.story-head h1 { margin-top: .1em; }
.story-head p { margin: 1em auto 0; max-width: 26em; font-family: var(--serif); font-style: italic; font-size: 1.6em; line-height: 1.35; color: var(--head); }
figcaption.eyebrow { margin-top: 1em; }
.closing { padding: var(--space-l) var(--pad); text-align: center; }
.closing p { margin: 0 0 1.6em; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1.15; color: var(--head); }

/* 11 Gallery ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .4em 2em; padding-bottom: .6em; }
.filter { position: relative; padding: .4em 0; border: 0; border-bottom: 1px solid transparent; background: none; font-family: var(--sans); font-size: var(--label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); cursor: pointer; }
.filter[aria-pressed="true"] { color: var(--acc-text); border-bottom-color: currentColor; }
.gallery { column-width: clamp(9.375rem, 21vw, 32.5rem); column-gap: clamp(.625rem, 1.2vw, 1.5rem); margin-top: clamp(1.75rem, 3vw, 4rem); }
.gallery figure { break-inside: avoid; margin-bottom: clamp(.875rem, 1.4vw, 1.75rem); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-100); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { margin-top: .5em; font-size: .9em; line-height: 1.4; color: var(--mute); }
.lightbox { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1em; padding: clamp(16px, 3vw, 60px); background: rgba(27, 33, 16, .97); color: var(--paper-050); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; gap: 1.6em; cursor: default; }
.lightbox__bar button { width: 44px; height: 44px; border: 1px solid var(--dkrule); background: none; color: inherit; cursor: pointer; }
.lightbox__cap { font-family: var(--serif); font-style: italic; font-size: 1.2em; text-align: center; }

/* 12 Footer ----------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.site-footer a:hover { color: var(--soft); }
.site-footer__grid { gap: 2.2em clamp(1.25rem, 3vw, 4rem); padding: clamp(2.5rem, 4vw, 5.5rem) var(--pad) clamp(1.75rem, 2.6vw, 3.5rem); }
.site-footer .eyebrow { color: var(--soft); }
.site-footer p { margin: .6em 0; font-size: var(--text-sm); }
.site-footer__u { position: relative; border-bottom: 1px solid var(--dkrule); }
.site-footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: .9em; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8em 2em; padding: 1.3em var(--pad) 1.7em; border-top: 1px solid var(--dkrule); color: var(--soft); }
.site-footer__base img { height: 2.5rem; width: auto; }
.site-footer__base em { font-family: var(--serif); font-size: 1.1em; }
.site-footer__base small { font-size: .85em; }
.mobile-bar { display: none; }
@media (max-width: 759px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; background: var(--paper); border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
  .mobile-bar a { height: 60px; display: flex; align-items: center; justify-content: center; }
  .mobile-bar a:first-child { flex: 1; background: var(--acc); color: var(--on-dark); }
  .mobile-bar a:last-child { width: 88px; color: var(--head); }
  .site-footer { padding-bottom: 60px; }
}

/* 13 Motion ----------------------------------------------------------- */
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@keyframes pulse { from { opacity: 1; } to { opacity: .3; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.enter > * { animation: rise .8s var(--ease) backwards; }
.enter > :nth-child(2) { animation-delay: .09s; }
.enter > :nth-child(3) { animation-delay: .18s; }
.enter > :nth-child(4) { animation-delay: .27s; }
.enter > :nth-child(5) { animation-delay: .36s; }
.reveal-on .reveal { opacity: 0; transform: translateY(32px); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* 14 Engine additions ------------------------------------------------- */
/* Notice bar above the header */
.notice { padding: .7em var(--pad); background: var(--acc); color: var(--on-dark); font-size: var(--text-sm); text-align: center; }
.notice p { margin: 0; }
.notice a { border-bottom: 1px solid currentColor; white-space: nowrap; }
.notice a:hover { color: var(--soft); }

/* Home: "What's on" event cards and the upcoming-exception line in Visit */
.cards--events { gap: clamp(2.25rem, 2.4vw, 3rem); }
.card--event > .eyebrow:first-child { width: 100%; margin-top: 0; }
.card--event .eyebrow { color: var(--acc-text); }
.info .info__exception { margin-top: 0; font-size: var(--text-sm); font-weight: 500; color: var(--acc2); }

/* Forms: Turnstile widget, newsletter note and error line */
.form .cf-turnstile { grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: var(--text-sm); }
.form__error { margin: 0 0 1.2em; font-weight: 500; color: var(--acc2); }
.newsletter .form { margin-top: 0; }
.newsletter .thanks .link { margin-top: 0; }

/* Footer base links (newsletter, privacy) */
.site-footer__base small a { border-bottom: 1px solid var(--dkrule); }

/* Footer newsletter row, between the columns and the base line: the words, then an underlined email field and
   the cream button, like the page's own form on dark. Where the footer has four columns the row splits in two
   on the same gap, so the field starts under the Contact column and the button ends at the right edge. The
   Reserve column above it is set to the right as well (status line, button, link row), so both cream buttons
   and the base line's links end on one edge. */
.site-footer__signup { display: grid; align-items: end; gap: 1.2em clamp(1.25rem, 3vw, 4rem); padding: clamp(1.75rem, 2.6vw, 3rem) var(--pad); border-top: 1px solid var(--dkrule); }
.site-footer__signup p { max-width: 26em; margin: .6em 0 0; }
.signup { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1em 1.5em; max-width: 34rem; }
@media (min-width: 1100px) {
  .site-footer__signup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signup { max-width: none; }
  .site-footer__cta { align-items: flex-end; text-align: right; }
}
.signup input[type="email"] { flex: 1 1 14rem; min-width: 0; height: 3rem; padding: 0; border: 0; border-bottom: 1px solid var(--on-dark); border-radius: 0; background: transparent; }
.signup input[type="email"]::placeholder { color: var(--soft); opacity: 1; }
.signup input[type="email"]:focus-visible { outline: 0; box-shadow: 0 1px 0 var(--focus); }
.signup .cf-turnstile { flex-basis: 100%; }
@media (max-width: 599px) { .signup .btn { flex: 1 1 100%; } }

/* Privacy policy text */
.prose { max-width: 46em; }
.prose > .eyebrow { margin: 0; }
.prose .h-card { margin-top: 1.6em; font-size: 1.6em; }
.prose p { margin: .7em 0 0; }
.prose ul { margin: .7em 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose b { font-weight: 500; }
.prose a { border-bottom: 1px solid var(--rule); }

/* 15 Pages matching the live site ------------------------------------- */
/* About: the closing block is the live page's slogan close (motto, big line, welcome line, button). */
.closing--slogan .eyebrow { margin: 0; }
.closing--slogan .closing__line { margin: .5em auto .5em; max-width: 17em; }
.closing--slogan .closing__sub { margin: 0 auto 1.8em; max-width: 30em; font-family: var(--body); font-style: normal; font-size: var(--text-lead); line-height: 1.5; color: var(--mute); }

/* Contact: the facts grid sits in the wide column; the private events photo is a landscape frame. */
.info--page { margin-top: 0; }
.info--page .muted { font-size: var(--text-sm); }
.photo--wide { aspect-ratio: 5 / 4; }

/* Reservations: the booking bar under the lead, the panel with the seat line and the hours. */
.reserve-page .booking { margin-top: 2em; }
.reserve-page__note { max-width: 34rem; margin: 1.5em 0 0; font-size: var(--text-sm); }
.reserve-page__note a { border-bottom: 1px solid var(--rule); }
.reserve-page .panel .h-card { margin: 0 0 .5em; font-size: 1.9em; }
.reserve-page .panel p { margin: .5em 0; }
.reserve-page .panel .reserve-page__hours { margin: 1.2em 0 1.6em; padding-top: 1em; border-top: 1px solid var(--ink); font-size: var(--text-lead); }

/* Social icons (footer and Visit): the live site's Instagram, Facebook and TikTok glyphs, each in a square
   frame like every control here. On hover the frame fills the way the buttons beside it do: forest green
   on the page, cream in the dark footer. */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; margin: .9em 0 .6em; padding: 0; }
.socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule); color: var(--acc); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--acc); border-color: var(--acc); color: var(--on-dark); }
.socials svg { display: block; width: 1.25rem; height: 1.25rem; }
.site-footer .socials a { border-color: var(--dkrule); color: var(--on-dark); }
.site-footer .socials a:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--green-800); }

/* Footer: the live footer's short link row (Story, Menu, Gallery, Visit) under the reserve button. */
.site-footer__nav { margin: 0; font-size: var(--text-sm); color: var(--soft); }
.site-footer__nav a { color: var(--on-dark); border-bottom: 1px solid var(--dkrule); }

/* 16 Section tones --------------------------------------------------- */
/* No two neighbouring sections share a background. In each run of page-coloured sections, every second
   one takes --bg-alt, halfway between the beige page and white. The white prices band and the dark
   services block end a run, so the next section starts beige again. A run starts with a hero, a page
   head or a section; later members are always .section or .closing. A section followed by another one
   in its run gets bottom space, so its text never touches the edge where the colour changes (the hero
   is left out: its photo runs to the edge). Markup is unchanged. */
main > :is(.page-head, .story-head, .section):has(+ :is(.section, .closing)) { padding-bottom: var(--space-m); }
main > :is(.hero, .page-head, .story-head, .section, .closing) + :is(.section, .closing) { background: var(--bg-alt); }
main > :is(.hero, .page-head, .story-head, .section, .closing) + :is(.section, .closing) + :is(.section, .closing) { background: var(--bg); }
main > :is(.hero, .page-head, .story-head, .section, .closing) + :is(.section, .closing) + :is(.section, .closing) + :is(.section, .closing) { background: var(--bg-alt); }
main > :is(.hero, .page-head, .story-head, .section, .closing) + :is(.section, .closing) + :is(.section, .closing) + :is(.section, .closing) + :is(.section, .closing) { background: var(--bg); }
main > :is(.hero, .page-head, .story-head, .section, .closing) + :is(.section, .closing) + :is(.section, .closing) + :is(.section, .closing) + :is(.section, .closing) + :is(.section, .closing) { background: var(--bg-alt); }
