/* ==========================================================================
   MITMI, Casablanca. Grill · Pizza feu de bois · Lounge.

   The design brief in one line: the warmth of the wood fire, drawn soft.

   The house's own identity decides everything. Its wordmark is a chunky,
   rounded, lowercase "mitmi" — cream letters on a chocolate fascia, two round
   dots over the i's — and its kitchen is built around live fire: the parilla,
   the pizza oven, the chicken turning on the spit. So the site is round where
   its siblings are sharp, lowercase where they shout, and lit like the room:
   smoked cacao grounds glowing caramel at the edges, wide cream bands like
   the stone around the oven mouth.

   Type is two families, each with one job:
   - Fraunces: every heading, dish and price. A soft, warm serif whose round
     bowls sit naturally next to the logo's letterforms. Headings run
     lowercase, like the wordmark itself.
   - Figtree: everything functional. Paragraphs, forms, nav, labels.

   Three signature devices carry the page, all taken from the house:
   1. The oven arch: photographs and cards are framed under a full round
      arch, the mouth of the wood oven.
   2. The ember dots: the two dots over the i's. Kickers start with a pair
      of them; "today" glows with one; leaders are dotted.
   3. The fire rule: a thin caramel-to-ember gradient line, the only hard
      colour the page allows itself.

   None of this is shared with the sibling sites (Backstage: ink/chalk/
   magenta gig-poster, condensed caps, tape and ticket stubs. Weston:
   teal/bronze. H: walnut/terracotta. Artigiano: plaster/burgundy.
   Mare Nostrum: wine-black/pearl Bodoni). No palette, face or shape
   overlaps.
   ========================================================================== */

:root {
  /* the room after dark */
  --char: #201611;         /* smoked cacao, the dark ground */
  --char-2: #170f0b;       /* the deepest band */
  --clay: #2d2016;         /* raised panels, cards, form fields on dark */
  --clay-2: #3a2a1d;       /* the same panel, lifted */

  /* the stone around the oven */
  --cream: #f5edde;        /* the wordmark's own cream. Light ground */
  --cream-2: #efe3cd;      /* a second, warmer sheet */
  --milk: #fdf9f0;         /* panels on light */

  /* the fire */
  --cara: #c98d58;         /* the caramel of the fascia sign */
  --cara-deep: #96612f;    /* caramel inked down to hold on cream */
  --ember: #e2622b;        /* the live coal */
  --ember-deep: #ad4517;   /* the coal, legible on cream */
  --ember-soft: rgba(226, 98, 43, 0.14);
  --glow: rgba(226, 130, 60, 0.09);   /* firelight on the dark walls */

  /* ink and voices */
  --cocoa: #2a1c12;        /* ink on cream */
  --taupe: #7c6a57;        /* the quiet voice on cream */
  --sand: #d9c6ab;         /* the quiet voice on dark */
  --faintd: #a58e74;       /* faint on dark */

  --linec: rgba(245, 237, 222, 0.14);      /* lines on dark */
  --linec-soft: rgba(245, 237, 222, 0.08);
  --rule: rgba(42, 28, 18, 0.2);           /* lines on cream */
  --rule-soft: rgba(42, 28, 18, 0.12);

  --display: 'Fraunces', 'Georgia', serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --arch: 200px;           /* the oven-mouth radius */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --promo-h: 0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--char);
  color: var(--sand);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cream); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--cara); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--ember); color: var(--cream); }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--char-2); }
::-webkit-scrollbar-thumb { background: #463322; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #5a4230; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.muted { color: var(--faintd); }

/* ==========================================================================
   Type and the shared devices
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.06;
  text-wrap: balance;
}

p { max-width: 65ch; }

/* The kicker: two ember dots — the i's of the wordmark — then the subject,
   set small and wide in the sans. Warm, quiet, unmistakably ours. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cara);
  margin-bottom: 20px;
}
.kicker::before {
  content: '';
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 14px 0 0 0 var(--cara);
  margin-right: 14px;
}

.section-title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  font-variation-settings: 'SOFT' 60, 'opsz' 72;
  text-transform: lowercase;
  letter-spacing: 0.005em;
  margin-bottom: 16px;
}
.section-sub { color: var(--sand); max-width: 560px; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* The fire rule: caramel warming to ember, struck along the top of a band
   like the line of coals under the grill. */
.vu-top { position: relative; }
.vu-top::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: min(520px, 70vw); height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cara) 30%, var(--ember) 70%, transparent);
  opacity: 0.85;
}
.vu-top::after {
  content: '';
  position: absolute; top: -3px; left: calc(50% + min(182px, 24.5vw));
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(226, 98, 43, 0.9);
}

/* ---------- Buttons: soft pills, warm as the sign ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1.5px solid rgba(245, 237, 222, 0.45);
  border-radius: 999px;
  padding: 15px 34px 14px;
  transition: transform 0.3s var(--ease), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  color: var(--cream);
  border-color: var(--cara);
  box-shadow: 0 8px 26px rgba(226, 98, 43, 0.18);
}
.btn.solid {
  background: linear-gradient(120deg, var(--cara), #b97a44);
  border-color: transparent;
  color: #241610;
}
.btn.solid:hover {
  background: linear-gradient(120deg, #d69a63, var(--cara));
  color: #241610;
  box-shadow: 0 10px 30px rgba(201, 141, 88, 0.35);
}
.btn.ghost { border-color: rgba(245, 237, 222, 0.45); }
.btn.danger { color: #ff9a8a; border-color: rgba(255, 122, 100, 0.5); }
.btn.danger:hover { border-color: #ff7a64; box-shadow: 0 6px 22px rgba(255, 122, 100, 0.2); }
.btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.btn.incomplete { opacity: 0.55; }

/* Buttons standing on cream flip to cocoa */
.paper .btn, .lit .btn {
  color: var(--cocoa);
  border-color: rgba(42, 28, 18, 0.4);
}
.paper .btn:hover, .lit .btn:hover { color: var(--cocoa); border-color: var(--ember-deep); }
.paper .btn.solid, .lit .btn.solid {
  background: linear-gradient(120deg, var(--cocoa), #45301d);
  border-color: transparent;
  color: var(--cream);
}
.paper .btn.solid:hover, .lit .btn.solid:hover { color: var(--cream); box-shadow: 0 10px 30px rgba(42, 28, 18, 0.3); }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: var(--promo-h); left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.nav .container { max-width: 1400px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-logo img { height: 40px; width: auto; transition: height 0.3s ease; }
.nav.scrolled {
  background: rgba(26, 17, 12, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linec-soft), 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 9px 0;
}
.nav.scrolled .nav-logo img { height: 34px; }

.nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cream);
  padding: 6px 0;
  white-space: nowrap;
}
/* the ember dot of the wordmark, lit under the word on hover */
.nav-links a::after {
  content: '';
  position: absolute; left: 50%; bottom: -4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px rgba(226, 98, 43, 0.8);
  transform: translateX(-50%) scale(0);
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: translateX(-50%) scale(1); }

.nav-right { display: flex; list-style: none; align-items: center; gap: 12px; }
.nav-cta, .nav-auth { white-space: nowrap; }
.nav-cta {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.14em; text-indent: 0.14em; text-transform: uppercase;
  color: #241610 !important;
  background: var(--cara);
  border-radius: 999px;
  padding: 11px 22px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { background: var(--ember); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(226, 98, 43, 0.35); }
.nav-auth {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream) !important;
  border: 1px solid var(--linec);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.nav-auth:hover { border-color: var(--cream); }
.nav-auth.signed-in { border-color: var(--cara); color: var(--cara) !important; }
.nav-auth.signed-in:hover { background: var(--cara); color: #241610 !important; }
.nav-deals { color: var(--cara) !important; }

.lang-switch {
  position: relative;
  display: inline-flex;
  border: 1px solid var(--linec);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 50%;
  border-radius: 999px;
  background: var(--cara);
  transition: transform 0.3s var(--ease);
}
.lang-switch.on-fr::before { transform: translateX(100%); }
.lang-switch button {
  position: relative; z-index: 1;
  background: none; border: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--sand);
  padding: 7px 13px;
  transition: color 0.3s ease;
}
.lang-switch button.active { color: #241610; }

.burger { display: none; background: none; border: none; width: 40px; height: 34px; position: relative; z-index: 130; }
.burger span {
  display: block; height: 2px; background: var(--cream);
  border-radius: 2px;
  margin: 6px 8px; transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-only { display: none; }

/* ---------- Promo strip ---------- */
.promo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  background: var(--ember);
  overflow: hidden;
  white-space: nowrap;
}
.promo-track { display: inline-flex; animation: promoSlide linear infinite; }
@keyframes promoSlide { to { transform: translateX(-50%); } }
.promo-banner-text {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff4ea;
  padding: 8px 34px;
}
a.promo-banner-text:hover { color: #fff4ea; text-decoration: underline; }
body.has-promo { --promo-h: 33px; }

/* ---------- Side rail ---------- */
.side-rail {
  position: fixed; left: 18px; top: 50%; z-index: 40;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--faintd);
  opacity: 0.6;
  pointer-events: none;
}

/* ==========================================================================
   Hero: the fire seen from the table
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--promo-h) + 120px) 24px 90px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg video, .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg img.kb { animation: kenburns 32s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
/* the room's own grade: cacao floor, firelight from below, legible middle */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 74% 52% at 50% 110%, rgba(226, 98, 43, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(32, 22, 17, 0.6) 0%, rgba(32, 22, 17, 0.3) 42%, rgba(32, 22, 17, 0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 940px; }

/* the small promise over the title: the fascia's own line */
.hero-content::before {
  content: 'Grill · Pizza feu de bois · Lounge';
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1.5px solid rgba(245, 237, 222, 0.4);
  border-radius: 999px;
  padding: 10px 26px 9px;
  margin-bottom: 30px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-script {
  font-family: var(--display);
  font-size: clamp(52px, 8.6vw, 116px);
  font-weight: 550;
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  text-transform: lowercase;
  letter-spacing: 0;
  line-height: 1.02;
  color: var(--cream);
  text-shadow: 0 4px 44px rgba(23, 15, 11, 0.6);
  margin-bottom: 22px;
}
.hero-tag {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.24em; text-indent: 0.24em; text-transform: uppercase;
  color: rgba(245, 237, 222, 0.9);
  margin: 0 auto 38px;
  max-width: none;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }

/* noon to two: the running time under the title, ember at its end */
.hero-hours {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--display);
  font-size: 21px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(245, 237, 222, 0.94);
  font-variant-numeric: tabular-nums;
}
.hero-hours i {
  width: 96px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(245, 237, 222, 0.4), var(--cara));
  position: relative;
}
.hero-hours i::after {
  content: '';
  position: absolute; right: -3px; top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px rgba(226, 98, 43, 0.9);
}

/* ---------- The rotating booking badge: an ember ring ---------- */
.reserve-badge {
  position: fixed; right: 30px; bottom: 30px; z-index: 90;
  width: 112px; height: 112px;
  display: grid; place-items: center;
  filter: drop-shadow(0 8px 26px rgba(15, 9, 6, 0.55));
  transition: transform 0.3s var(--ease);
}
.reserve-badge:hover { transform: scale(1.07); }
.reserve-badge svg { position: absolute; inset: 0; animation: spinBadge 26s linear infinite; }
.reserve-badge text {
  font-family: var(--sans); font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  fill: var(--cream);
}
.badge-center {
  width: 64px; height: 64px;
  background: radial-gradient(circle at 50% 30%, #35251a, var(--char-2));
  border: 1.5px solid var(--cara);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 0 22px rgba(226, 98, 43, 0.3), inset 0 0 14px rgba(226, 98, 43, 0.12);
}
.badge-center img { width: 44px; height: auto; }
@keyframes spinBadge { to { transform: rotate(360deg); } }

/* ==========================================================================
   Sections: dark bands are the room at night, cream bands are the stone
   around the oven. The page breathes between the two.
   ========================================================================== */
section { position: relative; padding: 104px 0; }

/* firelight washes on the dark bands, each struck from somewhere different */
#about::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 40% at 90% 2%, var(--glow), transparent 70%);
}
#spaces::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 42% at 6% 0%, var(--glow), transparent 70%);
}
#about .container, #spaces .container { position: relative; z-index: 1; }

.paper {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201, 141, 88, 0.1), transparent 70%),
    var(--cream);
  color: var(--taupe);
}
.paper .section-title, .paper h3, .lit .section-title, .lit h3 { color: var(--cocoa); }
.paper .kicker, .lit .kicker { color: var(--ember-deep); }
.paper .kicker::before, .lit .kicker::before {
  background: var(--ember-deep);
  box-shadow: 14px 0 0 0 var(--cara-deep);
}
.paper .section-sub, .lit .section-sub { color: var(--taupe); }

/* the lit bands: the second cream, warmer, for the sections that live
   between two dark ones */
.lit { background: var(--cream-2); color: var(--taupe); }
.lit p { color: var(--taupe); }
.lit #aboutText { color: var(--taupe); }

.lit#about::after {
  background: radial-gradient(ellipse 46% 40% at 88% 4%, rgba(201, 141, 88, 0.16), transparent 70%);
}
.lit#spaces { background: var(--cream); }
.lit#spaces::after {
  background: radial-gradient(ellipse 50% 42% at 8% 0%, rgba(226, 98, 43, 0.07), transparent 70%);
}
.programme-section.lit { background: var(--cream-2); }
.programme-section.lit::after {
  background: radial-gradient(ellipse 70% 34% at 50% 102%, rgba(201, 141, 88, 0.14), transparent 72%);
}
.reserve-section.lit { background: var(--cream); }
.reserve-section.lit::before {
  background: radial-gradient(ellipse 46% 42% at 92% 100%, rgba(226, 98, 43, 0.08), transparent 70%);
}

/* the fire rule holds its colour on cream */
.lit.vu-top::before {
  background: linear-gradient(90deg, transparent, var(--cara-deep) 30%, var(--ember-deep) 70%, transparent);
}
.lit.vu-top::after { background: var(--ember-deep); box-shadow: 0 0 10px rgba(173, 69, 23, 0.5); }

/* photographs on a cream wall: milk mounts, soft cocoa shadows */
.lit .img-main, .lit .img-accent {
  border-color: var(--milk);
  box-shadow: 0 20px 46px rgba(42, 28, 18, 0.24);
}

/* the programme rack on cream */
.lit .programme-grid { border-left-color: var(--rule-soft); }
.lit .prog-day { border-right-color: var(--rule-soft); }
.lit .prog-day:hover { background: rgba(42, 28, 18, 0.035); }
.lit .prog-name { color: var(--cocoa); }
.lit .prog-hours { color: var(--taupe); }
.lit .prog-note { color: var(--ember-deep); }
.lit .prog-day.closed-day .prog-name, .lit .prog-day.closed .prog-name,
.lit .prog-day.closed-day .prog-hours, .lit .prog-day.closed .prog-hours { color: #b3a38e; }
.lit .prog-day.today {
  background: linear-gradient(180deg, rgba(226, 98, 43, 0.1), transparent 70%);
  box-shadow: inset 0 3px 0 var(--ember-deep);
}
.lit .prog-day.today .prog-name { color: var(--ember-deep); }
.lit .prog-day.today .prog-note { color: var(--ember-deep); }

/* the booking sheet on cream */
.lit .reserve-panel {
  background: var(--milk);
  border-color: var(--rule-soft);
  box-shadow: 0 30px 70px rgba(42, 28, 18, 0.18);
}
.lit .reserve-panel::before {
  color: var(--cream);
  background: var(--cocoa);
}
.lit .form-field label { color: var(--taupe); }
.lit .form-field input, .lit .form-field select, .lit .timepick-btn {
  background-color: #ffffff;
  border-color: rgba(42, 28, 18, 0.22);
  color: var(--cocoa);
}
.lit .form-field input { background-image: none; }
.lit .form-field input:focus, .lit .form-field select:focus, .lit .timepick-btn:focus {
  border-color: var(--ember-deep);
  box-shadow: 0 0 0 3px rgba(226, 98, 43, 0.14);
}
.lit .form-field input::placeholder { color: #b3a38e; }
.lit .form-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--taupe) 50%), linear-gradient(135deg, var(--taupe) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.lit input[type='date'] { color-scheme: light; }
.lit .timepick-btn svg { fill: var(--taupe); }
.lit .timepick-btn .tp-caret { border-top-color: var(--taupe); }
.lit .timepick-btn.open .tp-caret { border-top-color: var(--taupe); }
.lit .timepick-btn.chosen { color: var(--cocoa); border-color: rgba(173, 69, 23, 0.55); }
.lit .timepick-panel {
  background: #ffffff;
  border-color: rgba(42, 28, 18, 0.18);
  box-shadow: 0 24px 50px rgba(42, 28, 18, 0.22);
}
.lit .timepick-slot { color: var(--taupe); }
.lit .timepick-slot:hover { background: rgba(42, 28, 18, 0.06); color: var(--cocoa); }
.lit .timepick-slot.on { background: var(--ember-deep); color: var(--cream); }
.lit .field-note, .lit .form-note { color: #9b8a75; }
.lit .form-msg { color: #2e7d4f; }
.lit .form-msg.err { color: #c0362c; }
.lit .prefill-note { color: var(--ember-deep); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}
.about-images { position: relative; min-height: 560px; }
.img-frame { position: relative; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.img-frame:hover img { transform: scale(1.045); }
/* the oven arch: the photograph framed under the mouth of the wood oven */
.img-main, .img-accent {
  border: 10px solid var(--milk);
  border-radius: var(--arch) var(--arch) 20px 20px;
  box-shadow: 0 24px 60px rgba(15, 9, 6, 0.5);
}
.img-main img, .img-accent img {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--arch) - 10px) calc(var(--arch) - 10px) 12px 12px;
}
.img-main { width: 72%; }
.img-accent {
  position: absolute; right: 0; bottom: -36px;
  width: 52%;
  z-index: 2;
}
.about-text .section-title { max-width: 480px; }
#aboutText { white-space: pre-line; }

/* ==========================================================================
   The carte (preview band + full page): on the stone
   ========================================================================== */
.menu-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.menu-tabs button {
  font-family: var(--display);
  font-size: 19px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--taupe);
  background: none;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  padding: 10px 32px 11px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.menu-tabs button:hover { color: var(--cocoa); border-color: var(--cocoa); }
.menu-tabs button.active {
  color: var(--cream);
  background: var(--cocoa);
  border-color: var(--cocoa);
}

.menu-cols {
  columns: 2;
  column-gap: 64px;
}
.menu-cat { break-inside: avoid; margin-bottom: 46px; }
.cat-head { text-align: center; margin-bottom: 18px; }
.cat-head h3 {
  font-size: 27px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: var(--cocoa);
}
/* three ember dots under the head, the centre one lit */
.cat-head::after {
  content: '';
  display: block;
  height: 7px; width: 7px;
  margin: 14px auto 0;
  border-radius: 50%;
  background: var(--ember-deep);
  box-shadow: -18px 0 0 -1.5px var(--cara-deep), 18px 0 0 -1.5px var(--cara-deep);
}
.menu-cat-sub {
  font-family: var(--display);
  font-size: 14.5px; font-style: italic; font-weight: 400;
  color: var(--taupe);
  margin: 8px auto 0; max-width: 46ch;
}
.menu-item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 5.5px 0;
}
.mi-name {
  font-family: var(--display);
  font-size: 17px; font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--cocoa);
}
.mi-dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-4px); }
.mi-price {
  font-family: var(--display);
  font-size: 16.5px; font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ember-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mi-was { font-size: 12.5px; color: var(--taupe); margin-right: 7px; }
.mi-deal { color: var(--ember-deep); }
.menu-item-desc {
  font-size: 13.5px;
  color: var(--taupe);
  margin: -2px 0 8px;
  max-width: 52ch;
}
.menu-actions { text-align: center; margin-top: 26px; }

/* two price columns when a category sells two ways */
.menu-cat.two-way .mi-price { width: 4.6em; text-align: right; }
.menu-cat.two-way .mi-price.alt { width: 4.6em; }
.menu-item.mi-head { padding: 0 0 4px; border-bottom: 1.5px solid var(--rule); margin-bottom: 5px; }
.menu-item.mi-head .mi-price {
  font-family: var(--sans);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--taupe);
}

.promo-notice {
  text-align: center;
  font-weight: 600;
  color: var(--ember-deep);
  background: rgba(226, 98, 43, 0.07);
  border: 1.5px dashed var(--ember-deep);
  border-radius: 14px;
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 12px 22px;
}

/* the carte page proper */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--promo-h) + 140px) 24px 70px;
  overflow: hidden;
}
.page-hero .hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(32, 22, 17, 0.66), rgba(32, 22, 17, 0.48) 55%, rgba(32, 22, 17, 0.92)),
    radial-gradient(ellipse 50% 45% at 24% 0%, var(--glow), transparent 70%);
}
.page-hero h1 {
  position: relative; z-index: 2;
  font-size: clamp(52px, 7.6vw, 92px);
  font-weight: 550; font-style: italic;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  text-transform: lowercase;
  color: var(--cream);
}
.page-hero .kicker { position: relative; z-index: 2; }
.menu-page { padding-top: 84px; }

.carte-lang { display: flex; justify-content: center; gap: 8px; margin: -18px 0 44px; }
.carte-lang button {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--taupe);
  background: none;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  padding: 8px 20px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.carte-lang button:hover { color: var(--cocoa); border-color: var(--cocoa); }
.carte-lang button.active { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }

/* ==========================================================================
   The signatures band: the fire at full draw. The richest thing on the
   page, and the one place the ember is allowed to pour.
   ========================================================================== */
.formule {
  background:
    radial-gradient(ellipse 56% 64% at 84% 100%, rgba(226, 98, 43, 0.2), transparent 62%),
    radial-gradient(ellipse 44% 52% at 6% 0%, rgba(201, 141, 88, 0.12), transparent 70%),
    var(--char-2);
}
.formule-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}
.formule-copy .section-title { font-size: clamp(36px, 4.4vw, 52px); }
.formule-time {
  font-family: var(--display);
  font-size: 17px; font-style: italic;
  color: var(--cara);
  margin-bottom: 14px;
}
.formule-copy p:not(.kicker):not(.formule-time) { margin-bottom: 28px; }

/* the signature sheet: a clay panel under the oven arch */
.formule-list {
  position: relative;
  background: var(--clay);
  border: 1px solid var(--linec-soft);
  border-radius: var(--arch) var(--arch) 22px 22px;
  padding: 84px 44px 36px;
  box-shadow: 0 30px 70px rgba(15, 9, 6, 0.5);
}
.formule-list::before {
  content: 'au feu de bois';
  position: absolute; top: 34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 15px; font-style: italic;
  color: var(--cara);
  white-space: nowrap;
}
.fm-row { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; }
.fm-row + .fm-row { border-top: 1px dashed var(--linec-soft); }
.fm-name {
  font-family: var(--display);
  font-size: 19px; font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.fm-dots { flex: 1; border-bottom: 2px dotted var(--linec); transform: translateY(-4px); }
.fm-price {
  font-family: var(--display);
  font-size: 19px; font-weight: 650;
  color: var(--cara);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   The rendez-vous: seven days on one rack
   ========================================================================== */
.programme-section { background: var(--char); }
.programme-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 34% at 50% 102%, var(--glow), transparent 72%);
}
.programme-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--linec-soft);
}
.prog-day {
  border-right: 1px solid var(--linec-soft);
  padding: 26px 16px 22px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 190px;
  transition: background 0.3s ease;
}
.prog-day:hover { background: rgba(245, 237, 222, 0.025); }
.prog-name {
  font-family: var(--display);
  font-size: 19px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.prog-hours { font-size: 12.5px; color: var(--sand); font-variant-numeric: tabular-nums; }
.prog-note {
  margin-top: auto;
  font-family: var(--display);
  font-size: 15px; font-style: italic;
  line-height: 1.4;
  color: var(--cara);
}
.prog-day.closed-day .prog-name, .prog-day.closed .prog-name { color: var(--faintd); }
.prog-day.closed-day .prog-hours, .prog-day.closed .prog-hours { color: var(--faintd); }
/* today: the lit coal */
.prog-day.today {
  background: linear-gradient(180deg, rgba(226, 98, 43, 0.09), transparent 70%);
  box-shadow: inset 0 3px 0 var(--ember);
}
.prog-day.today .prog-name { color: var(--cara); }
.prog-day.today .prog-name::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  animation: braise 1.8s ease-in-out infinite;
  vertical-align: 2px;
}
@keyframes braise { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.prog-day.today .prog-note { color: var(--ember); }

/* ==========================================================================
   Spaces: three rooms, three arches
   ========================================================================== */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.space-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--clay);
  border-radius: var(--arch) var(--arch) 18px 18px;
  margin: 0;
}
.space-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}
.space-card:hover img { transform: scale(1.05); }
.space-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(23, 15, 11, 0.9));
  display: flex; flex-direction: column;
  text-align: center;
}
.space-card figcaption span {
  font-family: var(--display);
  font-size: 26px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.space-card figcaption small { font-size: 13px; color: var(--sand); letter-spacing: 0.04em; }
/* the coals light along the sill of the arch you are looking at */
.space-card::after {
  content: '';
  position: absolute; left: 12%; bottom: 10px;
  width: 76%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cara), var(--ember), var(--cara), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.space-card:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Gallery: an edit, not a belt. Lead takes four cells of a 3x3.
   ========================================================================== */
.gallery-section { background: var(--char-2); }
.gallery-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 30% at 50% 100%, rgba(226, 98, 43, 0.06), transparent 70%);
}
.gal-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, 22vw);
  gap: 16px;
}
.gal-grid figure {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--clay);
  border-radius: 18px;
  margin: 0;
}
.gal-grid figure:first-child {
  grid-column: span 2; grid-row: span 2;
  border-radius: var(--arch) 18px 18px 18px;
}
.gal-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
}
.gal-grid figure:hover img { transform: scale(1.055); }
.gal-grid figure::after {
  content: '+';
  position: absolute; right: 16px; bottom: 12px;
  font-family: var(--display);
  font-size: 26px; font-weight: 500;
  color: var(--cream);
  opacity: 0;
  text-shadow: 0 2px 12px rgba(15, 9, 6, 0.8);
  transition: opacity 0.3s ease;
}
.gal-grid figure:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(18, 11, 8, 0.94);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(1400px, 92vw); max-height: 86vh;
  object-fit: contain;
  border: 8px solid var(--milk);
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none; border: 1px solid var(--linec);
  color: var(--cream);
  font-size: 22px; line-height: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  z-index: 2;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--cara); color: var(--cara); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Hours & address: the second cream band
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.info-grid.no-map { grid-template-columns: 1fr; max-width: 640px; }
.hours-list { list-style: none; margin-bottom: 34px; }
.hours-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0;
}
.hours-list li + li { border-top: 1px solid var(--rule-soft); }
.day-col { display: flex; flex-direction: column; }
.day {
  font-family: var(--display);
  font-size: 19px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: var(--cocoa);
}
.day-note { font-family: var(--display); font-size: 14px; font-style: italic; color: var(--ember-deep); }
.hours-list .dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-4px); }
.hours-list .time {
  font-family: var(--display);
  font-size: 17.5px; font-weight: 650;
  color: var(--cocoa);
  font-variant-numeric: tabular-nums;
}
.hours-list .closed {
  font-family: var(--display);
  font-size: 15px; font-style: italic;
  color: var(--ember-deep);
}
.contact-lines div { padding: 5px 0; color: var(--taupe); }
.contact-lines strong { color: var(--cocoa); }
.contact-lines a { color: var(--cocoa); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.contact-lines a:hover { color: var(--ember-deep); }

#map {
  height: 460px;
  border: 10px solid var(--milk);
  border-radius: var(--arch) var(--arch) 18px 18px;
  box-shadow: 0 20px 50px rgba(42, 28, 18, 0.24);
  filter: saturate(0.85);
  z-index: 1;
  overflow: hidden;
}
.map-pin {
  width: 22px; height: 22px;
  background: var(--ember);
  border: 3px solid var(--milk);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(226, 98, 43, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
}
.leaflet-popup-content-wrapper { border-radius: 12px; font-family: var(--sans); }

/* ==========================================================================
   Contact band: the door under the sign
   ========================================================================== */
.contact-band {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: url('/images/contact-bg.jpg') center / cover no-repeat fixed;
  text-align: center;
}
.contact-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 15, 11, 0.9), rgba(23, 15, 11, 0.78) 50%, rgba(23, 15, 11, 0.92)),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(226, 98, 43, 0.12), transparent 70%);
}
.contact-inner { position: relative; z-index: 1; }
.contact-lead { margin: 0 auto 44px; max-width: 520px; color: var(--sand); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto 44px;
}
.contact-card {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
  background: rgba(45, 32, 22, 0.82);
  border: 1px solid var(--linec-soft);
  border-radius: 18px;
  padding: 18px 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--cara); background: rgba(45, 32, 22, 0.95); color: inherit; }
.cc-icon { flex: none; width: 22px; height: 22px; }
.cc-icon svg { width: 100%; height: 100%; fill: var(--cara); }
.cc-body { display: flex; flex-direction: column; min-width: 0; }
.cc-body small {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faintd);
}
.cc-body b {
  font-weight: 500; font-size: 13.5px;
  color: var(--cream);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.contact-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.socials { display: flex; gap: 14px; justify-content: center; }
.socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(245, 237, 222, 0.06);
  border: 1px solid var(--linec-soft);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.socials a:hover { transform: translateY(-3px); border-color: var(--cara); box-shadow: 0 6px 18px rgba(226, 98, 43, 0.2); }
.socials img { width: 26px; height: 26px; object-fit: contain; }

/* ==========================================================================
   Booking: your table
   ========================================================================== */
.reserve-section { background: var(--char-2); padding-bottom: 130px; }
.reserve-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 92% 100%, rgba(226, 98, 43, 0.07), transparent 70%);
}
.reserve-panel {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  background: var(--clay);
  border: 1px solid var(--linec-soft);
  border-radius: 30px;
  padding: 56px 58px 48px;
  box-shadow: 0 40px 90px rgba(15, 9, 6, 0.5);
}
/* the round house mark pinned to the top of the sheet */
.reserve-panel::before {
  content: 'mitmi';
  position: absolute; top: -24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 17px; font-weight: 650;
  color: var(--cream);
  background: linear-gradient(120deg, var(--ember-deep), var(--cara-deep));
  border-radius: 999px;
  padding: 9px 26px 10px;
  box-shadow: 0 8px 22px rgba(15, 9, 6, 0.5);
}
.reserve-panel .section-head { margin-bottom: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-indent: 0.18em; text-transform: uppercase;
  color: var(--sand);
}
.form-field input, .form-field select, .timepick-btn {
  background: var(--char);
  border: 1px solid var(--linec);
  color: var(--cream);
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .timepick-btn:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-soft);
}
.form-field input::placeholder { color: var(--faintd); }
.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
input[type='date'] { color-scheme: dark; }
.field-note { font-size: 12px; color: var(--faintd); }
.phone-row { display: grid; grid-template-columns: 128px 1fr; gap: 10px; }

.timepick { position: relative; }
.timepick-btn { display: flex; align-items: center; gap: 10px; text-align: left; }
.timepick-btn svg { width: 17px; height: 17px; fill: var(--sand); flex: none; }
.timepick-btn .tp-caret {
  margin-left: auto;
  border: 5px solid transparent; border-top-color: var(--sand);
  transform: translateY(3px);
  transition: transform 0.25s ease;
}
.timepick-btn.open .tp-caret { transform: translateY(-3px) rotate(180deg); }
.timepick-btn.chosen { color: var(--cream); border-color: rgba(226, 98, 43, 0.5); }
.timepick-panel[hidden] { display: none !important; }
.timepick-panel {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0;
  max-height: 260px; overflow: auto;
  background: var(--clay-2);
  border: 1px solid var(--linec);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px; gap: 4px;
}
.timepick-slot {
  background: none; border: 1px solid transparent;
  color: var(--sand);
  font-size: 13.5px; font-variant-numeric: tabular-nums;
  padding: 9px 4px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}
.timepick-slot:hover { background: rgba(245, 237, 222, 0.07); color: var(--cream); }
.timepick-slot.on { background: var(--ember); color: #fff4ea; font-weight: 600; }

.form-submit { margin-top: 32px; text-align: center; }
.wa-btn svg { width: 17px; height: 17px; fill: currentColor; }
.form-msg { margin-top: 16px; text-align: center; font-size: 14px; min-height: 1.4em; color: #8bd6a4; }
.form-msg.err { color: #ff9a8a; }
.form-note { margin: 14px auto 0; text-align: center; font-size: 12.5px; color: var(--faintd); max-width: 46ch; }
.prefill-note { margin-top: 12px; font-size: 13px; color: var(--cara); }

/* the toast: one line of news at the top of the window */
.toast {
  position: fixed; top: calc(var(--promo-h) + 14px); left: 50%; z-index: 300;
  transform: translate(-50%, -220%);
  visibility: hidden;
  display: flex; align-items: center; gap: 14px;
  background: var(--cream);
  color: var(--cocoa);
  font-size: 14px; font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  max-width: min(560px, calc(100vw - 40px));
  transition: transform 0.45s var(--ease);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.err { background: #3c1712; color: #ffd2c6; }
.toast-close { background: none; border: none; color: inherit; font-size: 15px; opacity: 0.6; }
.toast-close:hover { opacity: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--char-2);
  border-top: 1px solid var(--linec-soft);
  padding: 70px 0 30px;
  position: relative;
}
footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 40% 60% at 4% 0%, var(--glow), transparent 70%);
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 56px;
  margin-bottom: 50px;
}
.footer-logo { width: 140px; margin-bottom: 20px; }
.footer-grid p { font-size: 14px; margin-bottom: 22px; }
.footer-grid h4 {
  font-size: 19px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 5px 0; font-size: 14px; color: var(--sand); }
.footer-grid li a { color: var(--sand); }
.footer-grid li a:hover { color: var(--cara); }
.footer-grid .socials { justify-content: flex-start; }
.footer-bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--linec-soft);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--faintd);
}
.footer-bottom a { color: var(--faintd); }
.footer-bottom a:hover { color: var(--cara); }

/* ==========================================================================
   Reveal choreography
   ========================================================================== */
.reveal, .reveal-left {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-left { transform: translateX(-30px); }
.reveal.visible, .reveal-left.visible { opacity: 1; transform: none; }
.reveal[data-delay='1'], .reveal-left[data-delay='1'] { transition-delay: 0.12s; }
.reveal[data-delay='2'], .reveal-left[data-delay='2'] { transition-delay: 0.24s; }
.reveal[data-delay='3'], .reveal-left[data-delay='3'] { transition-delay: 0.36s; }

/* ==========================================================================
   Account, deals, legal: the same room, quieter
   ========================================================================== */
.page-account {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(32, 22, 17, 0.9), rgba(32, 22, 17, 0.96)),
    url('/images/account-bg.jpg') center / cover no-repeat fixed;
}
.account-main, .deals-main {
  padding: calc(var(--promo-h) + 140px) 0 100px;
  min-height: 80vh;
}
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card {
  background: var(--clay);
  border: 1px solid var(--linec-soft);
  border-radius: 26px;
  padding: 44px 42px 38px;
  box-shadow: 0 30px 70px rgba(15, 9, 6, 0.5);
}
.auth-logo { width: 92px; margin: 0 auto 18px; display: block; }
.auth-card h1, .auth-card h2 {
  font-size: 30px;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  text-align: center; margin-bottom: 8px;
}
.auth-sub { text-align: center; font-size: 13.5px; margin: 0 auto 26px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-field input, .auth-form input, .auth-form select {
  background: var(--char);
  border: 1px solid var(--linec);
  color: var(--cream);
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 14px;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.auth-form input:focus, .auth-form select:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-soft);
}
.auth-form label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-indent: 0.18em; text-transform: uppercase;
  color: var(--sand);
  display: block; margin-bottom: 7px;
}
.auth-form .btn { width: 100%; }
.auth-msg { min-height: 1.3em; font-size: 13.5px; text-align: center; color: #8bd6a4; }
.auth-msg.err { color: #ff9a8a; }
.auth-hint { font-size: 12px; color: var(--faintd); }
.auth-switch { text-align: center; font-size: 13.5px; margin-top: 18px; }
.auth-switch a { color: var(--cara); }
.forgot-link { font-size: 12.5px; color: var(--faintd); text-align: right; display: block; }
.forgot-link:hover { color: var(--cara); }
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 46px; }
.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.pw-eye svg { width: 19px; height: 19px; fill: var(--faintd); }
.pw-eye:hover svg { fill: var(--cream); }
.pw-eye .eye-shut { display: none; }
.pw-eye.shut .eye-open { display: none; }
.pw-eye.shut .eye-shut { display: block; }
.stay-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stay-line { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--sand); }
.stay-line input { accent-color: var(--ember); width: 16px; height: 16px; }
.gender-row { display: flex; gap: 8px; }
.gender-row button {
  flex: 1;
  background: var(--char);
  border: 1px solid var(--linec);
  color: var(--sand);
  font-size: 13px;
  padding: 11px 6px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.gender-row button.active, .gender-row button.on { border-color: var(--cara); color: var(--cream); background: var(--ember-soft); }
.birthday-note { font-size: 12px; color: var(--faintd); }
.pending-title {
  font-family: var(--display); font-size: 26px; font-weight: 600;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  margin-bottom: 8px; color: var(--cream); text-align: center;
}

.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.member-heading { grid-column: 1 / -1; }
.member-card, .res-card, .del-card, .deal-card {
  background: var(--clay);
  border: 1px solid var(--linec-soft);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 18px 44px rgba(15, 9, 6, 0.4);
}
.member-card h3 {
  font-size: 22px;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em; margin-bottom: 10px;
}
.res-list { display: flex; flex-direction: column; gap: 14px; }
.res-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; }
.res-when { font-family: var(--display); font-size: 19px; font-weight: 650; color: var(--cream); }
.res-meta { font-size: 13px; color: var(--sand); }
.res-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--linec);
  color: var(--sand);
}
.res-badge.confirmed { border-color: rgba(139, 214, 164, 0.5); color: #8bd6a4; }
.res-badge.pending { border-color: rgba(201, 141, 88, 0.6); color: var(--cara); }
.res-badge.cancelled { border-color: rgba(255, 154, 138, 0.4); color: #ff9a8a; }

.del-block { max-width: 640px; margin: 0 auto; }
.del-card { margin-bottom: 22px; }
.del-card h2 {
  font-size: 23px;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em; margin-bottom: 12px;
}
.del-list { list-style: none; }
.del-list li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; }
.del-list li::before { content: ''; position: absolute; left: 5px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--cara); }
.del-note { font-size: 13px; color: var(--faintd); margin-top: 12px; }
.del-or { text-align: center; margin: 18px 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faintd); }

/* the boot veil while the account page decides who you are */
.page-boot {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--char);
  transition: opacity 0.3s ease;
}
.page-boot.gone { opacity: 0; pointer-events: none; }
.boot-mark { position: relative; width: 128px; height: 128px; display: grid; place-items: center; }
.boot-mark img { width: 84px; height: auto; }
.boot-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--linec-soft);
  border-top-color: var(--ember);
  animation: bootSpin 1s linear infinite;
}
@keyframes bootSpin { to { transform: rotate(360deg); } }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--promo-h) + 140px) 24px 100px; }
.legal h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  margin-bottom: 26px;
}
.legal h2 {
  font-size: 23px;
  font-variation-settings: 'SOFT' 60;
  text-transform: lowercase;
  letter-spacing: 0.01em; margin: 34px 0 12px; color: var(--cream);
}
.legal p, .legal li { font-size: 14.5px; color: var(--sand); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--cara); }

/* 404 */
.notfound {
  min-height: 100vh;
  display: grid; place-items: center; text-align: center;
  padding: 24px;
}
.notfound h1 { font-size: clamp(80px, 16vw, 180px); font-weight: 650; color: var(--cream); }
.notfound p { margin: 10px auto 30px; }

/* ---------- Modes set by the panel ---------- */
.bookings-off .reserve-section,
.bookings-off .nav-cta,
.bookings-off .reserve-badge,
.bookings-off a[href$='#reserve'],
.bookings-off li:has(> a[href$='#reserve']) { display: none !important; }
.bookings-off .contact-actions .btn.ghost { margin: 0 auto; }

/* ==========================================================================
   Motion respect
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left { opacity: 1; transform: none; transition: none; }
  .reserve-badge svg { animation: none; }
  .hero-bg img.kb { animation: none; }
  .prog-day.today .prog-name::after { animation: none; }
  .promo-track { animation-duration: 120s !important; }
  .boot-ring { animation-duration: 2.6s; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1500px) {
  .menu-cols { columns: 3; column-gap: 56px; }
}

@media (max-width: 1280px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11.5px; letter-spacing: 0.06em; }
  .nav-cta { padding: 10px 16px; }
  .nav-auth { padding: 9px 13px; letter-spacing: 0.05em; }
  #navSignup { display: none; }
}

@media (max-width: 1100px) {
  .side-rail { display: none; }
  .about-grid, .formule-inner { gap: 48px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .programme-grid { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linec-soft); }
  .prog-day { min-height: 160px; border-bottom: 1px solid var(--linec-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1020px) {
  .nav-right .lang-switch, .nav-auth { display: none; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(23, 15, 11, 0.97);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 10px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 120;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 20px; letter-spacing: 0.08em; padding: 10px 0; }
  .nav-links a::after { display: none; }
  .nav-links li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s var(--ease); }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.09s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.13s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.17s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.21s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.29s; }
  .nav-links.open li:nth-child(8) { transition-delay: 0.33s; }
  .nav-links.open li:nth-child(9) { transition-delay: 0.37s; }
  .nav-links.open li:nth-child(10) { transition-delay: 0.41s; }
  .burger { display: block; }
  .mobile-only { display: block; }
  .nav-simple .nav-links {
    position: static; background: none; flex-direction: row;
    opacity: 1; pointer-events: auto;
  }
  .nav-simple .nav-links li { opacity: 1; transform: none; }
  .nav-simple .nav-links a { font-size: 12px; letter-spacing: 0.08em; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { min-height: 0; margin-bottom: 40px; }
  .img-main { width: 84%; }
  .img-accent { bottom: -26px; }
  .formule-inner { grid-template-columns: 1fr; }
  .formule-list { padding: 74px 30px 30px; }
  .spaces-grid { grid-template-columns: 1fr; }
  .space-card { aspect-ratio: 4 / 3; }
  .info-grid { grid-template-columns: 1fr; gap: 44px; }
  .member-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .menu-cols { columns: 1; }
  .reserve-panel { padding: 50px 28px 40px; }
  section { padding: 84px 0; }
  :root { --arch: 150px; }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .hero { padding-top: calc(var(--promo-h) + 100px); }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-content::before { font-size: 10px; letter-spacing: 0.2em; text-indent: 0.2em; padding: 9px 18px 8px; }
  .programme-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-day { min-height: 130px; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .reserve-badge { width: 92px; height: 92px; right: 18px; bottom: 18px; }
  .badge-center { width: 52px; height: 52px; }
  .badge-center img { width: 36px; height: 36px; }
  .gal-grid { grid-auto-rows: minmax(130px, 30vw); gap: 10px; }
  .contact-band { background-attachment: scroll; }
  .menu-cat.two-way .menu-item { flex-wrap: nowrap; align-items: baseline; }
  .menu-cat.two-way .mi-name { min-width: 0; max-width: none; flex: 1 1 auto; font-size: 15px; }
  .menu-cat.two-way .mi-dots { flex: 0 1 16px; min-width: 0; }
  .menu-cat.two-way .mi-price { flex: none; width: 3.4em; font-size: 14.5px; }
  .menu-cat.two-way .mi-price.alt { width: 4em; }
  .menu-cat.two-way .mi-head .mi-price { font-size: 8.5px; letter-spacing: 0.05em; }
  .auth-card { padding: 34px 22px 30px; }
  .lightbox img { border-width: 5px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  :root { --arch: 110px; }
}
