/* =========================================================
   Bakery menu: styles
   Direction: a Parisian pâtisserie "carte". Square corners, framed labels,
   hairlines and dotted price leaders, the way a printed menu card reads.
   Palette: ivory, champagne, taupe, espresso, muted gold.
   Type:    Prata (display), Jost (interface and text).
   ========================================================= */

/* ---------- Tokens: light (default) ---------- */
:root {
  --bg: #f7f1e7;
  --bg-2: #efe6d6;
  --surface: #fbf7f0;
  --card: #fffdf8;
  --ink: #2a1d16;
  --ink-2: #5a4638;
  --muted: #87735f;
  --line: #e0d2bc;
  --line-strong: #c9b596;
  --gold: #a47d49;
  --gold-soft: #cdb083;
  --champagne: #eadcc3;
  --btn-bg: #2a1d16;
  --btn-ink: #f7efe2;
  --btn-fill: #4a3528;
  --img-bg: #eadfcd;
  --shadow-rgb: 74, 52, 34;
  --shadow-lg: 0 30px 60px -30px rgba(var(--shadow-rgb), .45);
  --header-bg: rgba(247, 241, 231, .94);
  --scrim: rgba(28, 19, 14, .6);
  --grain-opacity: .045;
  --grain-blend: multiply;
  --photo-filter: none;

  --font-display: "Prata", "Playfair Display", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .68, .18, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --header-h: 72px;
  --catnav-h: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  color-scheme: light;
}

/* ---------- Tokens: dark (system preference) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15110e;
    --bg-2: #1b1511;
    --surface: #1f1813;
    --card: #231b15;
    --ink: #f1e7d7;
    --ink-2: #d2c3ae;
    --muted: #a6947e;
    --line: #362b22;
    --line-strong: #52412f;
    --gold: #d0ae77;
    --gold-soft: #9c8058;
    --champagne: #3a2e22;
    --btn-bg: #e8d8bc;
    --btn-ink: #1c140f;
    --btn-fill: #f6e8cf;
    --img-bg: #2a2019;
    --shadow-rgb: 0, 0, 0;
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .85);
    --header-bg: rgba(21, 17, 14, .94);
    --scrim: rgba(6, 4, 3, .7);
    --grain-opacity: .06;
    --grain-blend: overlay;
    --photo-filter: brightness(.93) saturate(1.02);
    color-scheme: dark;
  }
}

/* ---------- Tokens: dark (explicit choice) ---------- */
:root[data-theme="dark"] {
  --bg: #15110e;
  --bg-2: #1b1511;
  --surface: #1f1813;
  --card: #231b15;
  --ink: #f1e7d7;
  --ink-2: #d2c3ae;
  --muted: #a6947e;
  --line: #362b22;
  --line-strong: #52412f;
  --gold: #d0ae77;
  --gold-soft: #9c8058;
  --champagne: #3a2e22;
  --btn-bg: #e8d8bc;
  --btn-ink: #1c140f;
  --btn-fill: #f6e8cf;
  --img-bg: #2a2019;
  --shadow-rgb: 0, 0, 0;
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --header-bg: rgba(21, 17, 14, .94);
  --scrim: rgba(6, 4, 3, .7);
  --grain-opacity: .06;
  --grain-blend: overlay;
  --photo-filter: brightness(.93) saturate(1.02);
  color-scheme: dark;
}

html.is-scrolled { --header-h: 60px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--catnav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--champagne); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 12px; top: calc(var(--safe-top) + 12px); z-index: 200;
  padding: 10px 16px; background: var(--btn-bg); color: var(--btn-ink);
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

.eyebrow { font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

/* ---------- Buttons: framed label ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  outline: 1px solid color-mix(in srgb, var(--btn-ink) 38%, transparent); outline-offset: -5px;
  transition: color .35s, outline-color .35s, transform .2s;
}
.btn::before { /* fill rises from the bottom */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { outline-color: color-mix(in srgb, var(--btn-ink) 70%, transparent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--ink); outline: 0; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before { background: var(--surface); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost.is-done { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .68rem; letter-spacing: .18em; outline-offset: -4px; }

/* Text link with a drawn arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; min-height: 50px;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.link-arrow i { position: relative; width: 34px; height: 1px; background: currentColor; transition: width .45s var(--ease); flex: none; }
.link-arrow i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover i { width: 52px; }
.link-arrow span { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow .3s, background-color .3s, color .3s;
}
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: var(--safe-top); z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); transition: height .35s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 22px; height: 26px; color: var(--gold); flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; line-height: 1; white-space: nowrap; }
.brand-name span { color: var(--gold); }

.primary-nav { display: none; margin-left: auto; gap: 34px; }
.nav-link { position: relative; padding: 6px 0; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.nav-link::before { /* small diamond appears on hover */
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; background: var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .35s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::before { transform: translateX(-50%) rotate(45deg) scale(1); }

.header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-tools .btn { display: none; }
.header-tools .lang-switch { display: none; }

/* Language: typeset list, not a pill */
.lang-switch { display: inline-flex; align-items: center; }
.lang-indicator { display: none; }
.lang-switch button {
  position: relative; height: 40px; padding: 0 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); transition: color .3s;
}
.lang-switch button + button::before { content: ""; position: absolute; left: -.5px; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--line-strong); }
.lang-switch button::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.lang-switch button[aria-pressed="true"] { color: var(--ink); }
.lang-switch button[aria-pressed="true"]::after { transform: scaleX(1); }
.lang-switch button:hover { color: var(--ink); }

/* Theme: a small square slide switch */
.theme-switch { display: inline-grid; place-items: center; height: 40px; padding: 0 2px; }
.ts-track {
  position: relative; display: block; width: 46px; height: 24px;
  box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface);
  transition: background-color .4s, box-shadow .3s;
}
.theme-switch:hover .ts-track { box-shadow: inset 0 0 0 1px var(--ink); }
.ts-knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  transition: transform .5s var(--ease), background-color .4s;
}
.ts-knob svg { position: absolute; width: 12px; height: 12px; transition: opacity .3s, transform .5s var(--ease); }
.ts-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-scheme="dark"] .ts-knob { transform: translateX(22px); background: var(--gold); color: var(--bg); }
html[data-scheme="dark"] .ts-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
html[data-scheme="dark"] .ts-moon { opacity: 1; transform: none; }

/* Burger: two lines, square button */
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.burger-lines { display: block; width: 18px; }
.burger-lines span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease); }
.burger-lines span + span { margin-top: 6px; width: 12px; margin-left: auto; }
.burger[aria-expanded="true"] .burger-lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:last-child { width: 18px; transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--safe-top) + var(--header-h) + 28px) var(--gutter) calc(var(--safe-bottom) + 32px);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s var(--ease), visibility 0s; }
.drawer-nav { display: grid; }
.drawer-nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1;
  opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--ease);
}
.drawer-nav a::before { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .2em; color: var(--gold); min-width: 22px; }
.drawer-nav a:nth-child(1)::before { content: "I"; }
.drawer-nav a:nth-child(2)::before { content: "II"; }
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer-nav a:nth-child(1) { transition-delay: .1s; }
.drawer.is-open .drawer-nav a:nth-child(2) { transition-delay: .17s; }
.drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.drawer-label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.drawer .btn { width: 100%; }

/* ---------- Hero: vitrine ---------- */
.hero { padding-block: clamp(22px, 4vw, 44px) clamp(56px, 8vw, 104px); }
.hero-rule {
  display: flex; align-items: center; gap: 16px;
  font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.hero-rule span:first-child { color: var(--gold); }
.hero-rule .rule { flex: 1; height: 1px; background: var(--line-strong); min-width: 20px; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 8.4rem); line-height: .9; letter-spacing: -.02em;
  display: grid;
}
.hero-title .t-2 { color: var(--gold); justify-self: start; padding-left: .9em; position: relative; }
.hero-title .t-2::before { /* hairline leading into the word */
  content: ""; position: absolute; left: 0; top: 58%; width: .62em; height: 1px; background: var(--gold); opacity: .7;
}
.hero-lead { max-width: 32ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 300; line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-stats { display: flex; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; padding: 12px 28px 12px 0; }
.hero-stats div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-stats dt { order: 2; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { order: 1; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }

.vitrine { display: grid; gap: 12px; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
.vit { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.vit--1 { grid-row: span 2; }
.vit-frame { position: relative; overflow: hidden; background: var(--img-bg); aspect-ratio: 3 / 4; }
.vit--2 .vit-frame, .vit--3 .vit-frame { aspect-ratio: 1 / 1; }
.vit-frame img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); transition: transform 1.2s var(--ease); }
.vit-frame::after { /* inner card line, like a pastry label */
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 250, 240, .6); pointer-events: none;
}
.vit:hover .vit-frame img { transform: scale(1.04); }
.vit figcaption { display: none; }
.vit figcaption small { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.vit figcaption b { font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; line-height: 1.2; }
.vit figcaption em { font-style: normal; font-size: .86rem; color: var(--gold); font-variant-numeric: tabular-nums; margin-left: 8px; white-space: nowrap; }

/* ---------- Menu ---------- */
.menu { padding-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.menu-head { display: grid; gap: 14px; padding-bottom: clamp(24px, 3.5vw, 44px); }
.menu-title { font-family: var(--font-display); font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; }
.menu-note { font-size: .86rem; color: var(--muted); }

.menu-layout { display: block; }

/* Carte (category navigation): sticky strip on phones/tablets */
.carte {
  position: sticky; top: calc(var(--safe-top) + var(--header-h)); z-index: 40;
  margin-inline: calc(var(--gutter) * -1);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
  transition: top .35s var(--ease);
}
.carte-label { display: none; }
.cat-scroller {
  display: flex; gap: 6px; padding: 8px var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-tab {
  position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 8px;
  min-height: 40px; padding: 10px 14px; scroll-snap-align: start;
  font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--muted);
  box-shadow: inset 0 0 0 1px transparent;
  transition: color .3s, box-shadow .35s, background-color .35s;
}
.cat-tab .num { font-family: var(--font-display); font-size: .82rem; letter-spacing: 0; color: var(--gold); text-transform: none; min-width: 1.4em; }
.cat-tab .cnt { display: none; }
.cat-tab:hover { color: var(--ink); }
.cat-tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--card); }
.cat-tab:focus-visible { outline-offset: -3px; }

.menu-stage { padding-block: clamp(28px, 4vw, 40px) clamp(64px, 9vw, 120px); min-height: 60vh; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: clamp(22px, 3vw, 34px); }
.cat-head .cat-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }
.cat-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.1; }
.cat-head .cat-line { flex: 1; height: 1px; background: var(--line-strong); align-self: center; min-width: 16px; }
.cat-count { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cat-head, .grid { transition: opacity .22s ease, transform .22s ease; }
.menu-stage.is-leaving .cat-head, .menu-stage.is-leaving .grid { opacity: 0; transform: translateY(10px); }
.menu-stage.is-entering .cat-head { animation: rise .45s var(--ease) both; }
.menu-stage.is-entering .cat-line { animation: draw .7s var(--ease) both; transform-origin: left; }

.grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 4vw, 48px) clamp(20px, 2.6vw, 36px); }

/* Product: a menu-card entry */
.item {
  position: relative; display: grid; gap: 16px; align-content: start;
  animation: item-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.item-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--img-bg); }
.item-media img {
  width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter);
  opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease);
}
.item-media img.is-loaded { opacity: 1; }
.item-media::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 250, 240, .7); pointer-events: none;
  opacity: 0; transform: scale(1.03); transition: opacity .45s, transform .6s var(--ease);
}
.item:hover .item-media img.is-loaded { transform: scale(1.05); }
.item:hover .item-media::after { opacity: 1; transform: none; }
.item-media.is-contain::before {
  content: ""; position: absolute; inset: -20px; background: var(--bg-img) center / cover no-repeat;
  filter: blur(22px) saturate(1.1); opacity: .55;
}
.item-media.is-contain img { position: relative; object-fit: contain; }
.item-media .img-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: .8rem; color: var(--muted); }
.item-body { display: grid; gap: 8px; }
.item-line { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.22; min-width: 0; }
.item-name button { text-align: left; }
.item-name button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.item-name button:focus-visible { outline: none; }
.item-name button:focus-visible::after { outline: 1.5px solid var(--gold); outline-offset: 6px; }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 1.5px dotted var(--line-strong); transform: translateY(-.28em); }
.price { flex: none; white-space: nowrap; font-size: 1rem; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.price .cur { margin-left: .35em; font-size: .7rem; font-weight: 400; letter-spacing: .08em; color: var(--gold); }
.item-desc {
  font-size: .92rem; line-height: 1.6; color: var(--ink-2); max-width: 52ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .78rem; letter-spacing: .02em; color: var(--muted); }
.item-meta span, .lb-info .chips span { display: inline-flex; align-items: center; }
.item-meta span + span::before, .lb-info .chips span + span::before { content: ""; width: 4px; height: 4px; margin: 0 10px; background: var(--gold-soft); transform: rotate(45deg); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 10px;
  font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; background: var(--card); color: var(--ink);
}
.empty { padding: 48px 0; color: var(--muted); text-align: center; }

/* ---------- Contact: framed card ---------- */
.contact { padding-block: clamp(64px, 9vw, 120px); background: var(--bg-2); border-top: 1px solid var(--line); }
.contact .wrap { padding-inline: calc(var(--gutter) + 10px); }
.contact-card {
  position: relative; display: grid; justify-items: center; gap: 18px; text-align: center;
  max-width: 820px; margin-inline: auto; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  background: var(--card); border: 1px solid var(--line-strong);
  outline: 1px solid var(--line); outline-offset: 8px;
}
.contact-card::before, .contact-card::after { /* corner diamonds */
  content: ""; position: absolute; top: -13px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg);
}
.contact-card::before { left: -13px; }
.contact-card::after { right: -13px; }
.contact-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4.6vw, 3.3rem); line-height: 1.08; max-width: 18ch; }
.contact-lead { font-size: 1.02rem; font-weight: 300; color: var(--ink-2); max-width: 44ch; }
.phone-number {
  font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.9rem); line-height: 1.2; letter-spacing: .02em;
  font-variant-numeric: lining-nums; user-select: all; -webkit-user-select: all; white-space: nowrap;
  padding-block: 6px; border-block: 1px solid var(--line);
}
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 32px calc(32px + var(--mobile-cta-space, 0px)); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .82rem; color: var(--muted); }
.footer-meta a:hover { color: var(--ink); }

/* ---------- Mobile order band ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
  background: var(--btn-bg); color: var(--btn-ink);
  padding-bottom: var(--safe-bottom);
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center;
  padding: 11px var(--gutter);
}
.mobile-cta a > span:first-child { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.mobile-cta .mc-phone { grid-row: 2; font-size: .8rem; opacity: .72; font-variant-numeric: tabular-nums; }
.mobile-cta i { grid-row: 1 / 3; grid-column: 2; position: relative; width: 30px; height: 1px; background: currentColor; }
.mobile-cta i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- Product viewer: bottom sheet (phone), side sheet (wider) ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink); overflow: hidden;
}
.lightbox::backdrop { background: var(--scrim); animation: fade .3s ease both; }
.lightbox.is-closing::backdrop { animation: fade-out .26s ease both; }
.lb-shell { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.lb-panel {
  position: relative; width: 100%; max-height: calc(100% - var(--safe-top) - 24px);
  display: flex; flex-direction: column;
  background: var(--card); border-top: 1px solid var(--line-strong);
  padding-bottom: var(--safe-bottom);
  animation: sheet-up .45s var(--ease) both;
}
.lightbox.is-closing .lb-panel { animation: sheet-down .26s ease-in both; }
.lb-handle { display: block; width: 40px; height: 3px; margin: 10px auto 8px; background: var(--line-strong); flex: none; }
.lb-stage {
  position: relative; flex: none; margin-inline: 12px; overflow: hidden; touch-action: pan-y;
  background: var(--img-bg); display: grid; place-items: center;
  height: min(44vh, calc((100vw - 24px) * .75));
}
.lb-stage img { width: 100%; height: 100%; object-fit: contain; filter: var(--photo-filter); }
.lb-stage img.slide-next { animation: slide-in-r .38s var(--ease) both; }
.lb-stage img.slide-prev { animation: slide-in-l .38s var(--ease) both; }
.lb-stage img.fade { animation: fade .3s ease both; }
.lb-info { display: grid; gap: 12px; padding: 20px var(--gutter) 22px; overflow-y: auto; flex: 1 1 auto; min-height: 0; align-content: start; }
.lb-cat { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.lb-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; }
.lb-price { font-size: 1.2rem; padding-bottom: 12px; border-bottom: 1px dotted var(--line-strong); }
.lb-desc { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.lb-info .chips { display: flex; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.lb-info .chips:empty { display: none; }
.lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.lb-pos { font-family: var(--font-display); font-size: 1rem; color: var(--muted); font-variant-numeric: lining-nums; }
.lb-navs { display: flex; gap: 8px; }
.lb-close { position: absolute; top: 30px; right: 22px; z-index: 3; background: var(--card); box-shadow: none; }
.lb-close:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.lb-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.lb-dots button { width: 18px; height: 2px; background: var(--card); opacity: .55; }
.lb-dots button[aria-current="true"] { opacity: 1; background: var(--gold); }
.lb-imgnav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); background: var(--card); }
.lb-imgnav.prev { left: 10px; }
.lb-imgnav.next { right: 10px; }

/* ---------- Reveal on scroll (below the first screen only) ---------- */
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }

/* ---------- Load sequence ---------- */
.js .hero [data-anim] { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
.js .hero .hero-rule .rule { animation: draw 1.2s var(--ease) both; animation-delay: .2s; transform-origin: left; }
.js .vit { animation: lift 1s var(--ease) both; }
.js .vit--1 { animation-delay: .1s; }
.js .vit--2 { animation-delay: .25s; }
.js .vit--3 { animation-delay: .4s; }
.js .vit-frame img { animation: unveil 1.3s var(--ease) both; animation-delay: .2s; }

/* Language change: quick cross-fade */
html.lang-fading [data-i18n], html.lang-fading .menu-stage, html.lang-fading .cat-scroller, html.lang-fading .vit figcaption { opacity: 0; }
[data-i18n], .menu-stage, .cat-scroller, .vit figcaption { transition: opacity .18s ease; }

/* Theme change fallback (no View Transitions) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease, outline-color .45s ease !important;
}
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes item-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); transform: scale(1.1); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { from { transform: none; } to { transform: translateY(100%); } }
@keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sheet-out { from { transform: none; } to { transform: translateX(100%); } }
@keyframes slide-in-r { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-l { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (min-width: 480px) {
  .header-tools .lang-switch { display: inline-flex; }
  .drawer .lang-row { display: none; }
}
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vit figcaption { display: flex; align-items: baseline; flex-wrap: wrap; }
  .vit figcaption small { flex-basis: 100%; }
}
@media (min-width: 760px) {
  .lb-shell { justify-content: flex-end; align-items: stretch; }
  .lb-panel {
    width: min(600px, 100%); max-height: none; height: 100%;
    border-top: 0; border-left: 1px solid var(--line-strong);
    padding-top: calc(var(--safe-top) + 24px);
    animation-name: sheet-in;
  }
  .lightbox.is-closing .lb-panel { animation-name: sheet-out; }
  .lb-handle { display: none; }
  .lb-stage { height: auto; aspect-ratio: 4 / 3; max-height: 52vh; margin-inline: 24px; }
  .lb-info { padding: 26px 32px 28px; }
  .lb-close { top: calc(var(--safe-top) + 36px); right: 36px; }
  .item-desc { -webkit-line-clamp: 3; }
}
@media (min-width: 960px) {
  .primary-nav { display: flex; }
  .header-tools { margin-left: 30px; }
  .header-tools .btn { display: inline-flex; }
  .burger { display: none !important; }
  .drawer { display: none; }
  .mobile-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .vitrine { grid-template-columns: 1.25fr 1fr; }
  .menu-head { grid-template-columns: 1fr auto; align-items: end; }
  .menu-head .eyebrow { grid-column: 1 / -1; }
}
@media (max-width: 959.98px) {
  :root { --mobile-cta-space: 64px; }
  .vitrine { order: -1; }
  .hero-grid { margin-top: 20px; }
}
/* Desktop carte: a sticky sidebar index */
@media (min-width: 1100px) {
  .menu-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 4vw, 72px); align-items: start; }
  .carte {
    top: calc(var(--safe-top) + var(--header-h) + 28px);
    margin-inline: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0;
    padding-top: clamp(28px, 4vw, 40px);
  }
  .carte-label { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .cat-scroller { flex-direction: column; gap: 0; padding: 0; overflow: visible; }
  .cat-tab {
    width: 100%; min-height: 0; padding: 14px 0; gap: 12px; align-items: baseline;
    border-bottom: 1px solid var(--line); box-shadow: none; background: none;
    font-size: .74rem; letter-spacing: .16em; white-space: normal; text-align: left;
  }
  .cat-tab .lbl { flex: 1; transition: transform .45s var(--ease); }
  .cat-tab .cnt { display: inline; font-size: .74rem; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .cat-tab::after { /* gold rule drawn under the active entry */
    content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
  }
  .cat-tab:hover .lbl { transform: translateX(4px); }
  .cat-tab[aria-selected="true"] { box-shadow: none; background: none; }
  .cat-tab[aria-selected="true"]::after { transform: scaleX(1); }
  .cat-tab[aria-selected="true"] .lbl { transform: translateX(6px); }
  html { scroll-padding-top: calc(var(--header-h) + 16px); }
}
@media (min-width: 1360px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .item-name { font-size: 1.22rem; }
}
@media (min-width: 1680px) {
  :root { --maxw: 1580px; }
  .menu-layout { grid-template-columns: 280px minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .hero-rule span:last-child { display: none; }
}
@media (max-width: 479.98px) {
  .btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.4; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .contact-card { padding-inline: 16px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 20px; height: 24px; }
  .header-tools { gap: 10px; }
  .btn { padding: 0 18px; letter-spacing: .14em; }
  .hero-stats div { padding-right: 20px; }
  .hero-stats div + div { padding-left: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
