/* ==========================================================================
   Le Restaurant Annecy — rebuild stylesheet
   Thesis: "DEUX SALLES, UNE MAISON" — the merchant's grille mark is the door
   between the restaurant and the cellier. Brand teal measured from the logo
   pixels (#104F51). Display: Jost. Utility: Inter.
   ========================================================================== */

@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost-latin.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand — measured from Logo-Le-Restaurant-Annecy.png (26.6% #104f51) */
  --teal: #104F51;
  --teal-ink: #0A3537;
  --teal-soft: #144E51;
  --teal-wash: #E7EEEE;
  /* secondary — theme/button evidence only, never the brand colour */
  --brown: #564C42;
  --slate: #2C3D44;
  --paper: #FBFBFB;
  --ink: #111516;
  --ink-soft: #43514F;
  --rule: rgba(16, 79, 81, .20);
  --rule-strong: rgba(16, 79, 81, .42);
  --on-teal: #F2F6F6;
  --on-teal-dim: rgba(242, 246, 246, .74);

  --display: 'Jost', 'Century Gothic', 'URW Gothic', system-ui, -apple-system, sans-serif;
  --utility: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --head-h: 74px;
  --gutter: clamp(18px, 4.2vw, 68px);
  --maxw: 1440px;
  --measure: 62ch;
  --r-pill: 100px; /* source-measured button radius token */

  --ease-out: cubic-bezier(.16, .84, .28, 1);
  --ease-inout: cubic-bezier(.5, .04, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--utility);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* Long words, addresses, prices and URLs must wrap inside containers. */
p, li, h1, h2, h3, h4, address, a { overflow-wrap: anywhere; word-break: normal; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal); color: var(--on-teal);
  padding: 12px 20px; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-teal :focus-visible { outline-color: var(--on-teal); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==========================================================================
   The grille mark — five vertical bars crossed by two horizontals.
   It is the rule system, the mask and the state indicator.
   ========================================================================== */
.grille {
  position: relative;
  display: inline-block;
  width: .58em;
  height: 1em;
  flex: none;
  color: inherit;
}
.grille i {
  position: absolute;
  left: 0; bottom: 0;
  width: 9%;
  min-width: 2px;
  background: currentColor;
  height: var(--h, 100%);
  top: calc(100% - var(--h, 100%));
}
.grille i:nth-child(1) { left: 0;   --h: 88%; }
.grille i:nth-child(2) { left: 22.75%; --h: 100%; }
.grille i:nth-child(3) { left: 45.5%;  --h: 78%; }
.grille i:nth-child(4) { left: 68.25%; --h: 94%; }
.grille i:nth-child(5) { left: 91%;   --h: 82%; }
.grille::before,
.grille::after {
  content: '';
  position: absolute; left: -6%; right: -6%;
  height: 7%;
  min-height: 2px;
  background: currentColor;
}
.grille::before { top: 40%; }
.grille::after  { top: 68%; }

.grille-rule {
  display: flex; align-items: center; gap: 14px;
  color: var(--rule-strong);
}
.grille-rule::after {
  content: ''; flex: 1 1 auto; height: 1px; background: currentColor; opacity: .55;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--teal);
  color: var(--on-teal);
  border-bottom: 1px solid rgba(242, 246, 246, .16);
}
.head-inner {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 30px);
  min-height: var(--head-h);
}
.brand {
  display: inline-flex; align-items: center; gap: .42em;
  text-decoration: none;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--on-teal);
  white-space: nowrap;
}
.brand .brand-stack { display: flex; flex-direction: column; line-height: .92; }
.brand .brand-le { font-size: .58em; letter-spacing: .06em; }
.brand .brand-name { font-size: 1em; }
.brand .brand-city {
  font-size: .46em; letter-spacing: .34em;
  text-transform: lowercase; color: var(--on-teal-dim);
}
.brand .grille { height: 2.05em; width: 1.15em; }

.nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); margin-left: auto; }
.nav a {
  font-family: var(--utility);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-teal-dim);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--on-teal); border-bottom-color: rgba(242,246,246,.5); }
.nav a[aria-current="page"] { color: var(--on-teal); border-bottom-color: var(--on-teal); }

.head-actions { display: flex; align-items: center; gap: 12px; margin-left: 4px; }
.head-phone {
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; color: var(--on-teal);
  border-bottom: 1px solid rgba(242,246,246,.4);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid rgba(242,246,246,.42);
  border-radius: 4px; color: var(--on-teal); cursor: pointer;
  padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 3px auto; }
.burger span:last-child { width: 13px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; margin-left: auto; }
  .head-actions { margin-left: auto; }
  .brand .grille { height: 1.75em; }
}
/* Small screens keep the phone and the booking action directly visible in the
   header — never behind the drawer. The brand compresses instead. */
@media (max-width: 620px) {
  .head-inner { gap: 10px; }
  .head-actions { gap: 8px; }
  .head-phone { display: inline-block; font-size: 12.5px; letter-spacing: .01em; }
  .head-actions .btn-solid { display: inline-flex; padding: 10px 16px; font-size: 11.5px; min-height: 40px; letter-spacing: .07em; }
  .brand { font-size: 17px; }
  .brand .brand-city { display: none; }
  .brand .grille { height: 1.5em; width: .9em; }
}
@media (max-width: 430px) {
  .head-inner { gap: 8px; }
  .head-actions .btn-solid { display: none; }
  .brand { font-size: 14.5px; }
  .brand .grille { height: 1.4em; width: .82em; }
  .head-phone { font-size: 11.5px; letter-spacing: 0; border-bottom-width: 1px; }
  .burger { width: 42px; height: 42px; }
  .burger span { width: 18px; }
}

/* Mobile drawer — full-screen brand field, never a 100vh overlay over content */
.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: var(--teal); color: var(--on-teal);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.drawer-close {
  width: 46px; height: 46px; border: 1px solid rgba(242,246,246,.42);
  background: transparent; color: var(--on-teal);
  border-radius: 4px; font-size: 22px; line-height: 1; cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; margin-top: 12px; }
.drawer nav a {
  font-family: var(--display); font-size: clamp(30px, 9vw, 44px); line-height: 1.22;
  text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid rgba(242,246,246,.18);
}
.drawer-meta { margin-top: 28px; display: grid; gap: 14px; font-size: 15px; color: var(--on-teal-dim); }
.drawer-meta a { color: var(--on-teal); text-decoration: none; border-bottom: 1px solid rgba(242,246,246,.4); }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Buttons / actions
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 46px;
  padding: 13px 26px;
  font-family: var(--utility); font-size: 13.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r-pill);
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer;
}
.btn-solid { background: var(--teal); color: var(--on-teal); }
.on-teal .btn-solid { background: var(--on-teal); color: var(--teal); }
.btn-solid:hover { background: var(--teal-ink); }
.on-teal .btn-solid:hover { background: #fff; }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(16,79,81,.08); }
.on-teal .btn-outline:hover { background: rgba(242,246,246,.14); }
.btn-line {
  padding: 0 0 6px; min-height: 0; border-radius: 0;
  border-bottom: 1px solid currentColor; text-transform: uppercase;
  letter-spacing: .12em; font-size: 13px;
}
.btn .ico { width: 1.05em; height: 1.05em; flex: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* ==========================================================================
   Home — S1 hero: the grille opens
   ========================================================================== */
.hero {
  position: relative;
  background: var(--teal);
  color: var(--on-teal);
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: clamp(22px, 5vh, 54px);
  overflow: hidden;
}
.hero-lockup {
  position: relative; z-index: 2;
  padding-inline: var(--gutter);
  max-width: var(--maxw); width: 100%; margin-inline: auto;
  flex: 0 0 auto;
}
.lockup {
  display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 28px);
  font-family: var(--display);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.02em;
  color: var(--on-teal);
}
.lockup .grille { width: clamp(34px, 4.6vw, 76px); height: clamp(74px, 12vw, 190px); margin-top: .1em; }
.lockup-text { display: flex; flex-direction: column; }
.lockup-le { font-size: clamp(22px, 3.1vw, 50px); letter-spacing: .02em; }
.lockup-name { font-size: clamp(50px, 11.4vw, 186px); line-height: .84; }
.lockup-city {
  font-size: clamp(19px, 3vw, 46px);
  letter-spacing: .34em;
  margin-top: .16em;
  color: var(--on-teal-dim);
}
.hero-util {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline;
  margin-top: clamp(14px, 2.4vh, 26px);
  font-size: 14.5px; letter-spacing: .05em; color: var(--on-teal-dim);
}
.hero-util a { text-decoration: none; border-bottom: 1px solid rgba(242,246,246,.36); color: var(--on-teal); }
.hero-util .dot { opacity: .5; }

.hero-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(200px, 42vh, 460px);
  margin-top: clamp(18px, 3vh, 34px);
  overflow: hidden;
  background: var(--teal-ink);
  clip-path: inset(0 100% 0 0);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
  will-change: transform;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to top, rgba(10,53,55,.72), rgba(10,53,55,0));
}
.hero-photo-cap {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(14px, 2.6vh, 26px);
  right: var(--gutter);
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--on-teal);
}

/* first-viewport conversion actions — always visible, never inside a drawer */
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: clamp(16px, 2.4vh, 26px); }
.hero-cta .btn { min-height: 44px; }
.hero-cta .btn-outline { border-color: rgba(242,246,246,.5); color: var(--on-teal); }
@media (max-width: 430px) {
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; padding: 12px 16px; font-size: 12px; }
}

/* entrance — JS adds .is-ready; reduced motion skips straight to the end state */
.hero.is-ready .hero-photo { clip-path: inset(0 0 0 0); transition: clip-path 900ms var(--ease-out); }
.grille-anim i { height: 0%; top: 100%; }
.hero.is-ready .grille-anim i {
  height: var(--h, 100%); top: calc(100% - var(--h, 100%));
  transition: height 620ms var(--ease-out), top 620ms var(--ease-out);
}
.hero.is-ready .grille-anim i:nth-child(1) { transition-delay: 0ms; }
.hero.is-ready .grille-anim i:nth-child(2) { transition-delay: 60ms; }
.hero.is-ready .grille-anim i:nth-child(3) { transition-delay: 120ms; }
.hero.is-ready .grille-anim i:nth-child(4) { transition-delay: 180ms; }
.hero.is-ready .grille-anim i:nth-child(5) { transition-delay: 240ms; }
.lockup-le, .lockup-name, .lockup-city { opacity: 0; transform: translateY(14px); }
.hero.is-ready .lockup-le,
.hero.is-ready .lockup-name,
.hero.is-ready .lockup-city {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease-out), transform 700ms var(--ease-out);
}
.hero.is-ready .lockup-name { transition-delay: 150ms; }
.hero.is-ready .lockup-city { transition-delay: 260ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo { clip-path: none !important; transition: none !important; }
  .grille-anim i { height: var(--h, 100%) !important; top: calc(100% - var(--h, 100%)) !important; }
  .lockup-le, .lockup-name, .lockup-city { opacity: 1 !important; transform: none !important; }
}

/* S5 grille rule band */
.rule-band {
  background: var(--teal); color: var(--on-teal);
  border-block: 1px solid rgba(242,246,246,.2);
  padding: 0;
}
.rule-band .wrap { display: flex; align-items: center; gap: 20px; height: clamp(58px, 8vh, 88px); }
.marquee { position: relative; flex: 1 1 auto; overflow: hidden; }
.marquee-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 40s linear infinite;
}
.rule-band .marquee-track {
  font-family: var(--display); font-size: clamp(17px, 2.1vw, 30px);
  letter-spacing: .2em; text-transform: lowercase; color: var(--on-teal);
}
.rule-band .marquee-track span { padding-right: 2.6em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee[data-paused="true"] .marquee-track { animation-play-state: paused; }
.marquee-toggle {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(242,246,246,.42); background: transparent;
  color: var(--on-teal); cursor: pointer; display: grid; place-items: center;
  font-size: 12px; letter-spacing: .04em;
}
.marquee-toggle:hover { background: rgba(242,246,246,.14); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; transform: none !important; }
}

/* ==========================================================================
   Generic page hero (interior routes)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--teal); color: var(--on-teal);
  padding: clamp(34px, 7vh, 72px) 0 clamp(28px, 6vh, 58px);
  overflow: hidden;
}
.page-hero-media {
  position: relative; margin-top: clamp(22px, 4vh, 40px);
  height: clamp(220px, 46vh, 470px);
  overflow: hidden; background: var(--teal-ink);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,53,55,.62) 0%, rgba(10,53,55,.12) 58%, rgba(10,53,55,.5) 100%);
}
.page-hero h1 {
  font-size: clamp(40px, 8.4vw, 108px);
  line-height: .98;
}
.page-hero .eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-teal-dim); margin-bottom: 14px;
}
.page-hero .lede { max-width: 60ch; margin-top: 18px; color: var(--on-teal-dim); font-size: 17.5px; }

/* ==========================================================================
   Generic sections
   ========================================================================== */
section { position: relative; }
.band { padding: clamp(46px, 9vh, 108px) 0; }
.band-tight { padding: clamp(34px, 6vh, 70px) 0; }
.band-teal { background: var(--teal); color: var(--on-teal); }
.band-wash { background: var(--teal-wash); }
.band-ink { background: var(--ink); color: var(--paper); }
.band + .band { border-top: 1px solid var(--rule); }
.band-teal + .band, .band-ink + .band { border-top: 0; }

.eyebrow-line {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--utility); font-size: 12.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
}
.on-dark .eyebrow-line, .band-teal .eyebrow-line, .band-ink .eyebrow-line { color: var(--on-teal-dim); }
.eyebrow-line .grille { height: 1.5em; width: .78em; }

h2.section-title { font-size: clamp(28px, 4.4vw, 56px); margin-top: 16px; }
h3.sub-title { font-size: clamp(22px, 2.8vw, 34px); margin-top: 10px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: var(--measure); }
.band-teal .lede, .band-ink .lede { color: var(--on-teal-dim); }

/* S2 — storefront band */
.band-photo {
  position: relative; min-height: clamp(320px, 74vh, 620px);
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--teal-ink); color: var(--on-teal);
}
.band-photo img.abs {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.band-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,53,55,.86) 4%, rgba(10,53,55,.34) 52%, rgba(10,53,55,.15) 100%);
}
.band-photo .inner { position: relative; z-index: 2; padding-block: clamp(30px, 6vh, 66px); }
.band-photo .lede { color: var(--on-teal); font-size: clamp(19px, 2.4vw, 30px); font-family: var(--display); max-width: 46ch; }

/* S3 — chef */
.chef-grid {
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 54fr);
  gap: clamp(20px, 4vw, 64px); align-items: end;
}
.chef-portrait { position: relative; overflow: hidden; background: var(--teal-wash); }
.chef-portrait img { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: 50% 22%; }
.chef-quote { font-family: var(--display); font-size: clamp(24px, 3.2vw, 44px); line-height: 1.16; }
.chef-quote .q { color: var(--teal); }
.chef-sign { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .chef-grid { grid-template-columns: 1fr; align-items: start; }
  .chef-portrait img { aspect-ratio: 4/5; }
}

/* ==========================================================================
   S4 — the signature interaction: cellier ⌁ restaurant
   ========================================================================== */
.duo { background: var(--paper); }
.duo-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; }
.duo-switch {
  display: inline-flex; padding: 5px; gap: 4px;
  border: 1px solid var(--rule-strong); border-radius: var(--r-pill);
  background: var(--paper);
}
.duo-switch button {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 44px; padding: 0 20px;
  border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--teal);
  font-family: var(--utility); font-size: 13.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.duo-switch button .grille { height: 1.35em; width: .72em; }
.duo-switch button[aria-selected="true"] { background: var(--teal); color: var(--on-teal); }
.duo-switch button:hover:not([aria-selected="true"]) { background: var(--teal-wash); }

.duo-body {
  display: grid; grid-template-columns: minmax(0, 27fr) minmax(0, 45fr) minmax(0, 24fr);
  gap: clamp(16px, 2.4vw, 40px);
  margin-top: clamp(26px, 4vh, 48px);
  align-items: start;
}
.duo-col { position: relative; }
.duo-frame { overflow: hidden; background: var(--teal-wash); position: relative; }
.duo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* three frames at unequal sizes/offsets — never three equal cards */
.duo-frames { display: grid; gap: clamp(12px, 1.6vw, 22px); }
.duo-frames .f1 { aspect-ratio: 4/5; }
.duo-frames .f2 { aspect-ratio: 3/2; width: 78%; margin-left: auto; }
.duo-frames .f3 { aspect-ratio: 1/1; width: 62%; }
.duo-frames .f2, .duo-frames .f3 { margin-top: -6%; }

.duo-panel { position: relative; }
.duo-panel .state-name {
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 62px); line-height: 1;
}
.duo-panel .state-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.duo-panel .state-desc { margin-top: 14px; color: var(--ink-soft); max-width: 40ch; }
.hours-card {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
}
.hours-card .hours-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
.hours-card .hours-lines { font-family: var(--display); font-size: clamp(19px, 2.2vw, 27px); line-height: 1.34; margin-top: 8px; }
.hours-card .hours-note { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

/* the state swap transition — 600ms, reversible, interruptible */
.swap { position: relative; }
.swap [data-swap-frame] { transition: opacity 600ms var(--ease-inout); }
.swap.is-swapping [data-swap-frame] { opacity: 0; }
.swap .wipe {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--teal); opacity: 0;
  transform: scaleX(0); transform-origin: left center;
}
.swap.is-swapping .wipe { animation: swapWipe 600ms var(--ease-inout) forwards; }
@keyframes swapWipe {
  0%   { transform: scaleX(0); opacity: .92; }
  55%  { transform: scaleX(1); opacity: .92; }
  100% { transform: scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .swap [data-swap-frame] { transition: none !important; opacity: 1 !important; }
  .swap .wipe { display: none !important; }
  .swap.is-swapping .wipe { animation: none !important; }
}
.duo-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.duo-thumbs button {
  width: 54px; height: 54px; padding: 0; border: 1px solid var(--rule);
  background: var(--teal-wash); cursor: pointer; overflow: hidden; border-radius: 3px;
}
.duo-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.duo-thumbs button[aria-current="true"] { border-color: var(--teal); border-width: 2px; }
.duo-count { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }

@media (max-width: 1080px) {
  .duo-head { grid-template-columns: 1fr; align-items: start; }
  .duo-body { grid-template-columns: 1fr; }
  .duo-frames { grid-template-columns: 1fr; }
  .duo-frames .f2, .duo-frames .f3 { width: 100%; margin: 0; }
  .duo-main .duo-frame { aspect-ratio: 4/3; }
}
@media (max-width: 520px) {
  .duo-switch { width: 100%; }
  .duo-switch button { flex: 1 1 0; justify-content: center; padding: 0 12px; }
}

/* ==========================================================================
   S6 — arrival block: map + data + actions, always directly visible
   ========================================================================== */
.arrival { background: var(--ink); color: var(--paper); }
.arrival .wrap { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 44fr); gap: clamp(22px, 3.4vw, 56px); align-items: start; }
.arrival h2 { font-size: clamp(26px, 3.6vw, 46px); }
.map-frame {
  position: relative; width: 100%;
  min-height: 300px; height: clamp(300px, 44vh, 460px);
  background: #0d2c2e; border: 1px solid rgba(242,246,246,.22);
  overflow: hidden;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback {
  margin-top: 12px; font-size: 14.5px; color: rgba(242,246,246,.72);
}
.map-fallback a { color: var(--on-teal); }
.arrival address { font-style: normal; font-family: var(--display); font-size: clamp(21px, 2.4vw, 30px); line-height: 1.3; }
.arrival .data-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(242,246,246,.2); }
.arrival .data-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,246,246,.66);
}
.arrival .data-lines { font-family: var(--display); font-size: clamp(18px, 2vw, 25px); line-height: 1.34; margin-top: 6px; }
.arrival .data-note { font-size: 14.5px; color: rgba(242,246,246,.66); margin-top: 8px; }
.arrival .phone {
  display: inline-block; margin-top: 20px;
  font-family: var(--display); font-size: clamp(26px, 3.2vw, 42px);
  text-decoration: none; color: var(--paper);
  border-bottom: 2px solid rgba(242,246,246,.45);
}
.arrival .actions { margin-top: 26px; }
.arrival .btn-solid { background: var(--paper); color: var(--teal); }
.arrival .btn-outline { border-color: rgba(242,246,246,.5); color: var(--paper); }
@media (max-width: 900px) {
  .arrival .wrap { grid-template-columns: 1fr; }
  .map-frame { min-height: 240px; height: clamp(240px, 34vh, 320px); }
}

/* ==========================================================================
   Menus (/cartes/)
   ========================================================================== */
.menu-groups { display: grid; gap: clamp(26px, 4vh, 46px); }
.menu-group { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.menu-group .group-name { font-family: var(--display); font-size: clamp(24px, 3vw, 38px); }
.menu-group .group-note { font-family: var(--display); font-size: clamp(18px, 2.1vw, 25px); color: var(--ink-soft); margin-top: 4px; }
.price-list { list-style: none; margin-top: 16px; display: grid; gap: 2px; }
.price-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--rule);
  font-size: 16.5px;
}
.price-row .pr-name { flex: 1 1 auto; }
.price-row .pr-dots { flex: 0 0 auto; height: 1px; min-width: 20px; background: var(--rule-strong); align-self: center; flex: 1 1 auto; max-width: 999px; }
.price-row .pr-price { flex: none; font-family: var(--display); font-size: 19px; white-space: nowrap; }
.produce {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 20px; list-style: none; margin-top: 18px;
}
.produce li {
  padding: 9px 0; border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.menu-plates {
  display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
  gap: clamp(8px, 1.2vw, 16px); margin-top: clamp(26px, 4vh, 44px);
}
.menu-plates figure { margin: 0; overflow: hidden; background: var(--teal-wash); }
.menu-plates img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.menu-plates figure:nth-child(2n) img { aspect-ratio: 3/4; }
@media (max-width: 1080px) { .menu-plates { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .menu-plates { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ==========================================================================
   Gift offers (/cadeaux/)
   ========================================================================== */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 2vw, 26px); }
.offer {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule-strong); background: var(--paper);
}
.offer .offer-media { overflow: hidden; background: var(--teal-wash); }
.offer .offer-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.offer .offer-body { padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; flex: 1 1 auto; }
.offer .offer-kind {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
.offer h3 { font-size: clamp(20px, 1.9vw, 26px); margin-top: 8px; }
.offer .offer-price {
  font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); line-height: 1;
  margin-top: 12px; color: var(--teal);
}
.offer .offer-price .per { font-family: var(--utility); font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.offer p { margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); flex: 1 1 auto; }
.offer .btn { align-self: flex-start; margin-top: 16px; }
@media (max-width: 1000px) { .offers { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .offers { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--display); font-size: clamp(18px, 2vw, 25px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-a { padding: 0 0 20px; color: var(--ink-soft); max-width: 74ch; }

/* ==========================================================================
   Testimonials / lists / credits
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(12px, 1.8vw, 22px); margin-top: 26px; }
.quote {
  border: 1px solid var(--rule-strong); background: var(--paper);
  padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column;
}
.quote blockquote { margin: 0; font-size: 15.5px; flex: 1 1 auto; }
.quote .who { margin-top: 16px; font-family: var(--display); font-size: 19px; }
.quote .place { font-size: 13.5px; color: var(--ink-soft); }
.quote .mark { height: 40px; margin-bottom: 14px; display: flex; align-items: center; }
.quote .mark img { max-height: 38px; width: auto; max-width: 120px; object-fit: contain; }
@media (max-width: 1000px) { .quotes { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

.credit-list { list-style: none; display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--rule-strong); }
.credit-list li {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
}
.credit-list .c-name { font-family: var(--display); font-size: clamp(18px, 1.9vw, 23px); }
.credit-list .c-role { font-size: 14.5px; color: var(--ink-soft); }
.credit-list a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.credit-list a:hover { border-bottom-color: var(--teal); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: clamp(10px, 1.4vw, 18px); list-style: none; margin-top: 22px; }
.tile {
  border: 1px solid var(--rule); background: var(--paper);
  padding: 16px 18px; font-family: var(--display); font-size: 18px;
}
.tile small { display: block; font-family: var(--utility); font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* concept chapters */
.chapters { display: grid; gap: clamp(30px, 5vh, 64px); }
.chapter { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 56fr); gap: clamp(18px, 3vw, 54px); align-items: center; }
.chapter.rev { direction: rtl; }
.chapter.rev > * { direction: ltr; }
.chapter .ch-media { overflow: hidden; background: var(--teal-wash); }
.chapter .ch-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.chapter .ch-num {
  font-family: var(--display); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--teal);
}
.chapter h3 { font-size: clamp(24px, 3.4vw, 44px); margin-top: 10px; }
.chapter p { margin-top: 14px; color: var(--ink-soft); max-width: 56ch; }
@media (max-width: 860px) {
  .chapter, .chapter.rev { grid-template-columns: 1fr; direction: ltr; }
}

/* gallery (concept) — filterable, keeps the source's confirmed membership */
.gallery-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.gallery-controls button {
  min-height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  border: 1px solid var(--rule-strong); background: transparent; color: var(--teal);
  font-family: var(--utility); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
}
.gallery-controls button[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(8px, 1.1vw, 14px); margin-top: 22px; list-style: none;
}
.gallery-grid li { overflow: hidden; background: var(--teal-wash); }
.gallery-grid li[hidden] { display: none; }
.gallery-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery-grid li[data-cat="cellier"] img { aspect-ratio: 3/2; }
.gallery-count { margin-top: 14px; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.team-band {
  display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
  gap: clamp(6px, .9vw, 12px); margin-top: clamp(26px, 4vh, 44px);
}
.team-band figure { margin: 0; overflow: hidden; background: var(--teal-wash); }
.team-band img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
@media (max-width: 1000px) { .team-band { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.producer-row { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: clamp(6px,.9vw,12px); margin-top: 22px; }
.producer-row figure { margin: 0; overflow: hidden; background: var(--teal-wash); }
.producer-row img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.producer-row figcaption { font-size: 12.5px; padding: 8px 2px 0; color: var(--ink-soft); }
@media (max-width: 1000px) { .producer-row { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .producer-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* legal */
.legal { max-width: 86ch; }
.legal h2 { font-size: clamp(22px, 2.6vw, 32px); margin-top: 40px; }
.legal h3 { font-size: clamp(18px, 2vw, 24px); margin-top: 26px; }
.legal p, .legal li { font-size: 15.8px; color: var(--ink-soft); }
.legal ul { margin: 0 0 1em; padding-left: 1.15em; }
.legal li { margin-bottom: 4px; }
.legal .kv { list-style: none; padding: 0; display: grid; gap: 6px; margin: 18px 0; }
.legal .kv li { color: var(--ink); }
.legal a { color: var(--teal); }

/* simple fragment routes */
.fragment { padding: clamp(46px, 10vh, 110px) 0; }
.fragment .hours-lines { font-family: var(--display); font-size: clamp(24px, 3.4vw, 42px); line-height: 1.3; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot { background: var(--teal); color: var(--on-teal); padding: clamp(34px, 6vh, 62px) 0 26px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 32fr) minmax(0, 22fr) minmax(0, 22fr) minmax(0, 20fr); gap: clamp(20px, 3vw, 44px); }
.foot-brand img { width: min(230px, 62%); height: auto; }
.foot-brand p { margin-top: 16px; font-size: 14.5px; color: var(--on-teal-dim); max-width: 34ch; }
.foot-h { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(242,246,246,.62); }
.foot-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; font-size: 15px; }
.foot-list a { text-decoration: none; border-bottom: 1px solid rgba(242,246,246,.28); }
.foot-list a:hover { border-bottom-color: var(--on-teal); }
.foot-hours { font-family: var(--display); font-size: 17px; line-height: 1.4; margin-top: 12px; }
.foot-bottom {
  margin-top: clamp(28px, 4vh, 46px); padding-top: 18px;
  border-top: 1px solid rgba(242,246,246,.2);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: 13.5px; color: rgba(242,246,246,.66);
}
.foot-bottom a { color: inherit; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* consent — a single dismissible row, never stacked over a primary action */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #0B2A2C; color: var(--paper);
  border-top: 1px solid rgba(242,246,246,.24);
}
.consent[hidden] { display: none; }
.consent .consent-inner {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  padding-block: 12px;
}
.consent p { margin: 0; font-size: 14px; color: rgba(242,246,246,.82); flex: 1 1 320px; }
.consent a { color: var(--paper); }
.consent .consent-actions { display: flex; gap: 8px; flex: none; }
.consent button {
  min-height: 42px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1px solid rgba(242,246,246,.4); background: transparent; color: var(--paper);
  font-family: var(--utility); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer;
}
.consent button[data-consent="accept"] { background: var(--paper); color: var(--teal); border-color: var(--paper); }

/* 404 */
.notfound { padding: clamp(56px, 12vh, 130px) 0; }
.notfound .code { font-family: var(--display); font-size: clamp(70px, 16vw, 190px); line-height: .9; color: var(--teal); }
