/* =============================================================
   BEEF CLUB & CO PARIS — Design System
   Step 1 deliverable. Step 2 builds index.html / menu.html on
   top of the exact class names defined here — see
   asset-manifest.md for the class-name lookup table.

   Fonts are self-hosted in css/fonts/ (variable woff2, latin
   subset, OFL): no request to Google, so no visitor IP goes there.
   Each page preloads montserrat.woff2 and playfair-display.woff2.
   ============================================================= */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/montserrat.woff2?v=a5ec5492") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/montserrat-italic.woff2?v=fa235c9a") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/playfair-display.woff2?v=daeff530") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arial resized to Montserrat's metrics, so text does not re-wrap and
   jump when the real font arrives. */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial");
  size-adjust: 112.83%;
  ascent-override: 85.79%;
  descent-override: 22.25%;
  line-gap-override: 0%;
}

/* -------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
  /* Brand colors — measured from the live site */
  --red: #c02428;
  --red-hover: #a31e22;
  --red-deep: #8a181c;
  --cream: #fdf9f4;
  --cream-2: #fdf1ec;
  --blush: #f9e8e1;
  --gold: #b08d57;
  --gold-light: #e0be8c;
  --ink: #2c1a17;
  --ink-soft: #5c4742;      /* muted body copy on cream, stays >4.5:1 */
  --white: #ffffff;

  /* On-dark text (used on --red-deep sections/cards) */
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.82);
  --on-dark-hairline: rgba(255, 255, 255, 0.22);

  /* Structural */
  --hairline: rgba(44, 26, 23, 0.1);
  --hairline-soft: rgba(44, 26, 23, 0.06);
  --shadow-card: 0 4px 24px rgba(44, 26, 23, 0.08);
  --shadow-card-hover: 0 10px 32px rgba(44, 26, 23, 0.12);
  --shadow-featured: 0 14px 36px rgba(138, 24, 28, 0.28);
  --shadow-floating: 0 8px 24px rgba(44, 26, 23, 0.22);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container-max: 1200px;
  --container-pad: 20px;

  --transition: 150ms ease;
  --transition-slow: 300ms ease;

  --header-height: 76px;

  /* Typography stacks — fonts loaded via <link> in HTML head */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Montserrat Fallback", Arial, sans-serif;
}

/* -------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A link like menu.html -> index.html#contact lands the section below
     the sticky header, not under it. */
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Lock page scroll while the mobile menu is open (JS toggles this) */
body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

/* --gold clears 3:1 contrast only on --red-deep backgrounds — reserve it
   there (site-footer, featured cards) and keep --ink as the default ring
   everywhere else so the focus indicator meets WCAG 2.1 SC 1.4.11 on
   --cream / --cream-2 / white. */
.site-footer :focus-visible,
.card--featured :focus-visible {
  outline-color: var(--gold);
}

/* Accessible skip-to-content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

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

/* -------------------------------------------------------------
   3. LAYOUT UTILITIES
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

@media (min-width: 768px) {
  .container {
    --container-pad: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    --container-pad: 40px;
  }
}

/* Generic vertical section rhythm. Mobile-first: 56-72px mobile,
   scaling to 96-140px on desktop per the spec. */
.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section--sm {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section--lg {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .section { padding-top: 96px; padding-bottom: 96px; }
  .section--sm { padding-top: 64px; padding-bottom: 64px; }
  .section--lg { padding-top: 120px; padding-bottom: 120px; }
}

@media (min-width: 1024px) {
  .section { padding-top: 120px; padding-bottom: 120px; }
  .section--lg { padding-top: 140px; padding-bottom: 140px; }
}

.section--cream   { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }
.section--blush   { background: var(--blush); }
.section--dark    { background: var(--red-deep); color: var(--on-dark); }
.section--dark .section__subtitle { color: var(--on-dark-soft); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }

.section__header {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__header--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .section__header { margin-bottom: 64px; }
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section--dark .section__eyebrow { color: var(--gold-light); }

.section__title {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  color: var(--red);  /* #c02428 on --cream is ~5.9:1 */
  margin-bottom: 16px;
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section__header--left .section__subtitle {
  margin-left: 0;
}

/* Responsive grid used to lay out cards / content columns */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* -------------------------------------------------------------
   4. HEADER / NAVIGATION
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 244, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
}

@media (min-width: 768px) {
  .site-header__inner { padding: 18px 32px; }
}

/* CSS/text wordmark used in place of the logo file — logo.png has
   a baked-in solid black background (no alpha channel) so it is
   used as the favicon only, not as an in-header lockup. */
.site-header__wordmark {
  flex-shrink: 0;
  color: var(--red);
}

/* ---- Logo lockup ------------------------------------------------
   Mirrors image/logo.png: a heavy serif BEEF, and under it CLUB & CO
   in a bold sans, framed by two rules so the line spans BEEF's full
   width. Used by the header, the footer and the hero title; each one
   only sets its size and colour. */
.lockup,
.site-header__wordmark,
.site-footer__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
}

.lockup__main,
.site-header__wordmark-main,
.site-footer__brand-main {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: center;
}

.lockup__sub,
.site-header__wordmark-sub,
.site-footer__brand-sub {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0.45em 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  /* Never wider than BEEF: width 0 adds nothing to the lockup's own
     width, min-width then stretches the line to exactly BEEF's. */
  width: 0;
  min-width: 100%;
}

.lockup__sub::before,
.lockup__sub::after,
.site-header__wordmark-sub::before,
.site-header__wordmark-sub::after,
.site-footer__brand-sub::before,
.site-footer__brand-sub::after {
  content: "";
  flex: 1 1 0;
  min-width: 0.4em;
  height: 0.12em;
  min-height: 1px;
  background: currentColor;
}

/* letter-spacing trails the last letter, so the right-hand gap is wider
   by that much; take it back off the left rule's side. */
.lockup__sub::before,
.site-header__wordmark-sub::before,
.site-footer__brand-sub::before {
  margin-right: 0.2em;
}

.site-header__wordmark-main { font-size: 1.9rem; }
.site-header__wordmark-sub { font-size: 0.5rem; }

/* Desktop nav links — hidden on mobile, shown from 1024px */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav__actions {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__actions { display: flex; }
}

/* Hamburger toggle — visible until desktop nav takes over */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}

@media (min-width: 1024px) {
  .nav__toggle { display: none; }
}

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

/* JS sets aria-expanded="true" on .nav__toggle when the mobile
   menu is open — animates the icon into an X. */
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel — full-height dropdown below the header.
   JS toggles the `is-open` class and the `hidden` attribute, and
   should move focus into the panel + close on Escape / outside
   click. Panel is driven purely by class state here. */
.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 90;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 16px 4px;
  border-bottom: 1px solid var(--hairline);
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--red);
}

.mobile-menu__actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* -------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--rounded { border-radius: var(--radius-sm); }
.btn--pill    { border-radius: var(--radius-pill); }

.btn--solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.btn--outline {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

/* Outline variant for use on --red-deep / dark backgrounds */
.btn--outline-light {
  background: transparent;
  border-color: var(--on-dark-hairline);
  color: var(--white);
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--red-deep);
}

.btn--sm { padding: 10px 20px; font-size: 0.75rem; }
.btn--lg { padding: 18px 36px; font-size: 0.92rem; }

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* -------------------------------------------------------------
   6. BADGE
   Engraved-label look from the old site. --red-deep on --gold is only
   ~3:1 (fails AA at this size), so the ground is --gold-light (~5.3:1).
   ------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-light);
  color: var(--red-deep);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.badge--light {
  background: var(--gold-light);
  color: var(--red-deep);
}

/* -------------------------------------------------------------
   7. CARDS
   ------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

/* No hover lift: no card on the site is a link, so it must not look
   clickable. */
.card:not(.card--featured) .card__title { color: var(--red); }

.card--alt { background: var(--cream-2); }

/* Featured / highlighted variant — e.g. "Club Prime" */
.card--featured {
  background: var(--red-deep);
  border-color: transparent;
  color: var(--on-dark);
  box-shadow: var(--shadow-featured);
}

.card--featured .card__desc { color: var(--on-dark-soft); }
.card--featured .card__title { color: var(--white); }
.card--featured .card__eyebrow { color: var(--gold-light); }
.card--featured .card__price { color: var(--gold-light); }
.card--featured .price-row__leader { border-bottom-color: var(--on-dark-hairline); }
.card--featured .price-row__label,
.card--featured .price-row__price { color: var(--on-dark); }
.card--featured .card__price-suffix { color: var(--on-dark-soft); }

.card__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.card__title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.card__price-suffix {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.card__desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.card__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__list-item {
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.card__list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.card--featured .card__list-item::before { background: var(--gold-light); }

/* Photo used inside a card (e.g. reservation card) */
.card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4 / 3;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Line-art illustrations, not photographs: they must be shown whole.
   `cover` would crop the drawing's edges, and the artwork carries its
   own pale ground, so it needs no rounded frame to sit in. */
.card__media--illustration {
  border-radius: 0;
  overflow: visible;
  margin-bottom: 12px;
}

.card__media--illustration img {
  object-fit: contain;
}

.card__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------------------------------------------------
   8. DOTTED PRICE ROW
   Robust flex layout — the dotted leader is a real element that
   flexes between label and price, not a background trick, so it
   reads correctly on any card background (cream, white, or the
   dark --red-deep featured card) and at any column width.
   ------------------------------------------------------------- */
.price-list {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  max-width: 70%;
}

.price-row__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}

.price-row__desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.price-row__leader {
  flex: 1 1 auto;
  min-width: 24px;
  height: 0;
  align-self: center;
  border-bottom: 2px dotted var(--gold);
  margin: 0 2px;
}

.price-row__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--red);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Modifier for use directly on a dark / --red-deep background
   (not already wrapped in .card--featured) */
.price-row--on-dark .price-row__label,
.price-row--on-dark .price-row__price {
  color: var(--white);
}

.price-row--on-dark .price-row__desc {
  color: var(--on-dark-soft);
}

.price-row--on-dark .price-row__leader {
  border-bottom-color: var(--on-dark-hairline);
}

.price-row--on-dark {
  border-bottom-color: var(--on-dark-hairline);
}

/* Menu category heading used above a group of .price-row items */
.menu-category {
  margin-bottom: 48px;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category__title {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 8px;
}

.menu-category__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 14px;
}

.menu-category__note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* -------------------------------------------------------------
   9. GALLERY ("En images")
   4 columns desktop / 2 on phone and tablet. `.gallery__item--wide`
   spans 2 columns and uses a 3/2 ratio for the landscape interior
   photos (see asset-manifest.md for which files need it).
   Tiles are <figure>s, not links: they used to open the raw WhatsApp
   JPEG on a bare page with no way back to booking.
   ------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense; /* fill the gaps a wide tile would leave */
  gap: 16px;
}

@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* Phones: 13 stacked photos were ~2,700px of scrolling with holes in
   the grid. They become one swipeable strip, one photo height tall;
   the next photo peeks in at the edge so the swipe is obvious. */
@media (max-width: 767px) {
  .gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    /* bleed to the screen edges, keep the first photo aligned */
    margin-inline: calc(-1 * var(--container-pad, 20px));
    padding-inline: var(--container-pad, 20px);
    scroll-padding-inline: var(--container-pad, 20px);
  }
  .gallery::-webkit-scrollbar { display: none; }

  .gallery__item,
  .gallery__item--wide {
    flex: none;
    height: min(52vh, 320px);
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }
  /* Landscape photos: wider, but never the full screen, so the next
     photo always peeks in and the strip reads as swipeable. */
  .gallery__item--wide {
    aspect-ratio: auto;
    width: min(82vw, 460px);
  }
}

.gallery-hint {
  display: none;
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 767px) {
  .gallery-hint { display: block; }
}

.gallery__item {
  position: relative;
  display: block;
  margin: 0;
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
}

.gallery__item--wide {
  aspect-ratio: 3 / 2;
  grid-column: span 2;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

@media (hover: hover) {
  .gallery__item:hover .gallery__img {
    transform: scale(1.03);
  }
}

/* -------------------------------------------------------------
   10. CONTACT / RESERVATION FORM
   ------------------------------------------------------------- */
.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  /* Stronger than --hairline (which stays subtle for decorative dividers
     elsewhere): a form field's own border is a UI boundary, so it needs
     to clear WCAG 1.4.11's 3:1 non-text contrast minimum on white. */
  border: 1px solid rgba(44, 26, 23, 0.5);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 36, 40, 0.14);
}

.form-input::placeholder,
.form-textarea::placeholder {
  /* ~4.7:1 against the white field background — clears WCAG AA's 4.5:1 */
  color: rgba(44, 26, 23, 0.62);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.form-note a { color: var(--red); text-decoration: underline; }

.form-submit {
  justify-self: start;
}

@media (max-width: 639px) {
  .form-submit {
    width: 100%;
    justify-self: stretch;
  }
}

.form-status {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-visible { display: block; }
.form-status--success { background: var(--blush); color: var(--red-deep); }
.form-status--error { background: #fbe4e4; color: var(--red-deep); }

/* -------------------------------------------------------------
   11. HERO
   Flat --cream background by design (see asset-manifest.md for
   why no photo is used behind the hero text).
   ------------------------------------------------------------- */
.hero {
  background: var(--cream);
  padding-top: 64px;
  padding-bottom: 56px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero { padding-top: 96px; padding-bottom: 88px; }
}

@media (min-width: 1024px) {
  .hero { padding-top: 120px; padding-bottom: 110px; }
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero__title {
  color: var(--red);
  /* The lockup is a flex column; keep it on its own line, centred. */
  display: flex;
  width: fit-content;
  margin: 0 auto 24px;
}

.hero__title .lockup__main {
  font-size: clamp(3.4rem, 2.4rem + 5vw, 6.2rem);
}

.hero__title .lockup__sub {
  font-size: clamp(0.8rem, 0.6rem + 0.8vw, 1.2rem);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* -------------------------------------------------------------
   12. FLOATING CTA
   Combine with .btn .btn--solid .btn--pill in markup.
   ------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px)); /* iPhone home bar */
  z-index: 80;
  box-shadow: var(--shadow-floating);
}

/* Fixed-position button: whatever sits behind its focus ring changes as the
   page scrolls (cream most of the time, the --red-deep footer near the
   bottom). A single ring color can't clear 3:1 on both, so add a solid
   white inner ring alongside the default --ink outline — one of the two
   always contrasts with what's behind it. */
.floating-cta:focus-visible {
  box-shadow: 0 0 0 2px var(--white), var(--shadow-floating);
}

@media (min-width: 768px) {
  .floating-cta { right: 32px; bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
}

/* -------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------- */
.site-footer {
  background: var(--red-deep);
  color: var(--on-dark);
  padding-top: 64px;
  padding-bottom: 32px;
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding: 0 32px;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer__brand { margin: 0; color: var(--white); }
.site-footer__brand-main { font-size: 1.9rem; }
.site-footer__brand-sub { font-size: 0.56rem; }

.site-footer__tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--on-dark-soft);
  max-width: 320px;
}

.site-footer__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.site-footer__link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--on-dark-soft);
  padding: 11px 0;
  transition: color var(--transition);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--white);
}

.site-footer__social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--on-dark-hairline);
  color: var(--white);
  transition: background-color var(--transition), border-color var(--transition);
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.site-footer__bottom {
  border-top: 1px solid var(--on-dark-hairline);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--on-dark-soft);
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__bottom-link {
  color: var(--on-dark-soft);
}

.site-footer__bottom-link:hover,
.site-footer__bottom-link:focus-visible {
  color: var(--white);
}

/* Placeholder markers in the legal pages: deliberately loud, so a page
   still carrying an unfilled legal value cannot be shipped unnoticed.
   Delete the .legal-todo spans (not this rule) once the real values are in. */
.legal-todo {
  background: #ffe8a3;
  color: #7a4b00;
  border-bottom: 2px dotted #b8860b;
  padding: 0 4px;
  font-style: italic;
  font-weight: 600;
}

/* -------------------------------------------------------------
   Mobile touch targets and programmatic focus
   ------------------------------------------------------------- */
/* Contact list links and footer legal links were 18-20px tall; give
   them a 44px touch height without changing how they look. */
.card__list-item a,
.site-footer__bottom-link {
  display: inline-block;
  padding-block: 12px;
}

/* Elements focused by script (tabindex="-1", e.g. an error card moved
   into view) must not wear the keyboard focus ring: it read as an error
   border round the whole card. */
[tabindex="-1"]:focus {
  outline: none;
}

/* Menu: the three sides served with every formula (salad, fries,
   purée), each with its line drawing, as on the original site. */
.sides {
  margin-top: 32px;
  text-align: center;
}

.sides__title {
  display: block;
  margin-bottom: 20px;
}

.sides__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sides__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sides__item img {
  width: clamp(72px, 22vw, 120px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.sides__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------
   14. OLD-SITE DETAILS
   The engraved look of the original site: gold rule-diamond-rule
   ornament, cream cards outlined in gold, horizontal feature strips.
   Kept at the end on purpose: several rules here tie on specificity
   with earlier ones (.card--featured, .card__list-item a, .btn--solid)
   and must win.
   ------------------------------------------------------------- */

/* Ornament: <div class="ornament" aria-hidden="true"><span></span></div> */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 20px;
  color: rgba(176, 141, 87, 0.45);
}

.ornament::before,
.ornament::after {
  content: "";
  width: 120px;
  height: 1px;
  background: currentColor;
}

.ornament span {
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

.ornament--sm { margin: 10px auto 12px; }
.ornament--sm::before,
.ornament--sm::after { width: 28px; }
.card--featured .ornament { color: rgba(224, 190, 140, 0.6); }

/* Formula cards (home + menu): centred, cream, gold outline, prices
   on one line whatever the drawing's height. */
.card--formule {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--cream);
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 14px;
  box-shadow: none;
  padding: 40px 28px 36px;
}

.card--formule.card--featured {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.card--formule .card__title { margin-bottom: 0; }
.card--formule .card__eyebrow { color: rgba(90, 42, 40, 0.8); letter-spacing: 0.18em; }
.card--formule.card--featured .card__eyebrow { color: rgba(253, 241, 236, 0.8); }

/* The three cuts keep the old site's relative sizes. */
.card--formule .card__media { width: 100%; }
.card__media--classic   { max-width: 230px; }
.card__media--prime     { max-width: 206px; }
.card__media--signature { max-width: 170px; }

.card--formule .card__price {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px dotted rgba(176, 141, 87, 0.85);
  width: 80%;
  font-variant-numeric: lining-nums tabular-nums;
}

.card--formule.card--featured .card__price { border-top-color: rgba(224, 190, 140, 0.7); }

/* Feature strip: truffle sauce, crème brûlée. Drawing | text | rule | price. */
.feature-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 24px 36px;
  background: var(--cream);
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 14px;
}

.feature-strip__img { flex: none; width: 124px; }
.feature-strip__body { flex: 1; }
.feature-strip .card__title { color: var(--red); margin-bottom: 6px; }
.feature-strip .card__title:last-child { margin-bottom: 0; }

.feature-strip__rule {
  flex: none;
  width: 1px;
  height: 62px;
  align-self: center;
  background: rgba(176, 141, 87, 0.45);
}

.feature-strip__price {
  flex: none;
  margin: 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--red);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

.feature-strip__price small {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: rgba(90, 42, 40, 0.75);
}

@media (max-width: 809px) {
  .feature-strip { flex-direction: column; text-align: center; padding: 24px; gap: 16px; }
  .feature-strip__rule { width: 54px; height: 1px; align-self: center; margin: 0; }
  .feature-strip__price { text-align: center; }
}

/* Home dessert preview: the whole list in one bordered card. */
.carte-card {
  background: var(--cream);
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 14px;
  padding: 44px 48px;
}

.carte-card .grid { gap: 52px; }
.carte-card .price-row { border-bottom: 0; }

.carte-card .price-row__label {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.95rem;
  color: #5a2a28;
}

.carte-card .price-row__price { color: #5a2a28; min-width: 58px; text-align: right; }

/* Stacked on a phone: the two columns read as one list. */
@media (max-width: 767px) {
  .carte-card .grid { gap: 0; }
}

@media (max-width: 600px) {
  .carte-card { padding: 28px 20px; }
}

/* Prices line up down a list. */
.price-row__price { font-variant-numeric: lining-nums tabular-nums; }

/* Reservation / contact titles: a red bar above a real heading. */
.title-bar::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-bottom: 14px;
}

.title-bar--lg::before { width: 64px; height: 4px; border-radius: 2px; }
.section__header .title-bar::before { margin-left: auto; margin-right: auto; }

.divider-fade {
  height: 2px;
  max-width: 1120px;
  margin: 0 auto 48px;
  background: linear-gradient(90deg, rgba(192, 36, 40, 0), rgba(192, 36, 40, 0.45) 50%, rgba(192, 36, 40, 0));
}

.divider-fade:last-child { margin: 48px auto 0; }

.contact-rule {
  border: 0;
  border-top: 1px solid rgba(192, 36, 40, 0.25);
  margin: 24px 0;
}

/* Contact list with line icons instead of the gold dots. */
.card__list--icons { margin-top: 0; }
.card__list--icons .card__list-item { padding-left: 0; }
.card__list--icons .card__list-item::before { content: none; }
.card__list--icons a { display: inline-flex; align-items: center; gap: 12px; }
.card__list--icons svg { color: var(--red); flex: none; }

.form-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(192, 36, 40, 0.18);
  border-radius: 6px;
  padding: 40px 32px;
}

@media (max-width: 600px) {
  .form-card { padding: 28px 20px; }
}

.form-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.btn:active { transform: translateY(0); box-shadow: none; }

/* -------------------------------------------------------------
   15. HERO DECOR
   The old hero's seven floating line drawings, desktop only.
   Measured against the centred column (lockup, two-line subtitle,
   the two large buttons ~525px wide): at 1024px drawing 3 sits on
   the subtitle and drawing 7 on the button row. So 3 and 6 wait for
   1280px, and 7 (bottom right, level with the buttons) for 1360px.
   The reduced-motion rule in section 2 stops the float.
   ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero__decor { display: none; }

@media (min-width: 1024px) {
  .hero__decor {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero__decor img {
    position: absolute;
    height: auto;
    animation: hero-float 3.4s ease-in-out infinite alternate;
  }

  /* Base tilt uses the separate `rotate` property, so it adds to the
     keyframe's transform instead of being replaced by it. */
  .hero__decor-1 { left: 64px;   top: 188px;    width: 116px; opacity: 0.6;  rotate: -11deg; animation-delay: 0s; }
  .hero__decor-2 { left: 34px;   bottom: 120px; width: 171px; opacity: 0.62; animation-delay: 0.35s; }
  .hero__decor-3 { left: 150px;  top: 340px;    width: 133px; opacity: 0.5;  animation-delay: 0.7s; }
  .hero__decor-4 { right: 96px;  top: 132px;    width: 128px; opacity: 0.6;  animation-delay: 1.05s; }
  .hero__decor-5 { right: 52px;  bottom: 150px; width: 111px; opacity: 0.6;  animation-delay: 1.4s; }
  .hero__decor-6 { right: 120px; top: 340px;    width: 104px; opacity: 0.5;  animation-delay: 1.75s; }
  .hero__decor-7 { right: 268px; bottom: 76px;  width: 142px; opacity: 0.5;  animation-delay: 2.1s; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__decor-3,
  .hero__decor-6 { display: none; }
}

@media (min-width: 1024px) and (max-width: 1359px) {
  .hero__decor-7 { display: none; }
}

@keyframes hero-float {
  to { transform: translateY(10px) rotate(3deg); }
}

/* -------------------------------------------------------------
   16. MENU PAGE
   ------------------------------------------------------------- */
.menu-hero__icon {
  width: 84px;
  margin: 0 auto 12px;
}

.menu-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.menu-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  transition: background-color var(--transition), color var(--transition);
}

.menu-jump a:hover,
.menu-jump a:focus-visible {
  background: var(--red);
  color: var(--white);
}

/* Drinks category title flanked by its drawing(s). */
.menu-category__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.menu-category__head img { flex: none; height: auto; }
.menu-category__head .menu-category__title { margin-bottom: 0; }

.price-row__icon {
  flex: none;
  width: 48px;
  margin-left: 12px;
  align-self: center;
}

/* Decorative only: on a phone the long cocktail line leaves no room for it. */
@media (max-width: 599px) {
  .price-row__icon { display: none; }
}

/* Wine / drinks sub-headings (Bordeaux, Bières...): spacing lives
   here, not in inline styles. */
.menu-category h4.card__eyebrow {
  display: block;
  margin: 32px 0 8px;
}

.menu-category__title + h4.card__eyebrow,
.menu-category__head + h4.card__eyebrow,
.menu-category__note + h4.card__eyebrow {
  margin-top: 20px;
}

/* -------------------------------------------------------------
   17. MOBILE
   ------------------------------------------------------------- */
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; }
  .btn--lg { padding: 16px 24px; }
}

/* On a phone the floating pill spans the bottom of the screen instead
   of sitting on the right-aligned prices, and main keeps room for it. */
@media (max-width: 767px) {
  .floating-cta {
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
  }

  body:has(.floating-cta) main { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
