/* Fichier généré par build/css/compat.mjs depuis build/css/main.css (replis pour navigateurs anciens) : modifier la source, pas ce fichier. */
/* =====================================================================
   ITAEWON · Korean Seoul Food
   Direction artistique : « Encre & Hanji »
   Impression tactile (kraft, papier ingraissable, tampons d’encre)
   sous la lumière basse des panneaux hanji.
   Primitive de mise en page : la feuille (sections posées comme des
   feuilles de papier qui glissent les unes sur les autres).
   Motif d’animation : la substitution (une illustration remplace une
   lettre ou se pose sur la table, comme un tampon).
   ===================================================================== */

/* Police de marque « Large » (Imagina Studio).
   Dès réception des fichiers web sous licence : les déposer dans
   assets/fonts/ puis décommenter ce bloc. Fraunces prend le relais
   en attendant (même famille de dessin, italique calligraphique). */
/*
@font-face { font-family: "Large"; src: url("../fonts/large-roman.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Large"; src: url("../fonts/large-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
*/
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Palette (OKLCH) issue de la charte : faux noir brun, brun foncé, lime */
  --noir: rgb(23, 14, 10);
  --kraft-2: rgb(33, 23, 17);
  --kraft: rgb(46, 35, 28);
  --brun: rgb(50, 19, 1);
  --hanji: rgb(242, 234, 217);
  --papier: rgb(247, 243, 234);
  --lime: rgb(211, 240, 160);
  --lime-papier: rgb(210, 227, 170);
  --glow: rgb(250, 208, 148);

  --muted-dark: rgb(190, 178, 161);
  --muted-light: rgb(105, 79, 61);
  --line-dark: rgba(242, 234, 217, 0.22);
  --line-light: rgba(50, 19, 1, 0.28);

  --font: "Large", "Fraunces", Georgia, "Times New Roman", serif;

  --fs-body: clamp(1rem, 0.5vw + 0.8rem, 1.2rem);
  --fs-lead: clamp(1.18rem, 0.9vw + 0.92rem, 1.62rem);
  --fs-small: clamp(0.84rem, 0.25vw + 0.78rem, 0.96rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* marge latérale, jamais sous l'encoche d'un téléphone tenu à l'horizontale */
  --gutter: max(clamp(1rem, 4vw, 3.5rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --nav-h: 4.5rem;

  --shadow-sheet:
    0 -1px 0 rgba(21, 7, 2, 0.18),
    0 -6px 12px rgba(21, 7, 2, 0.12),
    0 -16px 32px rgba(21, 7, 2, 0.14),
    0 -32px 64px rgba(21, 7, 2, 0.16),
    0 -60px 110px rgba(21, 7, 2, 0.18);
  --shadow-paper:
    0 1px 1px rgba(21, 7, 2, 0.16),
    0 3px 6px rgba(21, 7, 2, 0.14),
    0 8px 16px rgba(21, 7, 2, 0.14),
    0 20px 40px rgba(21, 7, 2, 0.18),
    0 40px 80px rgba(21, 7, 2, 0.22);
}

@supports (color: oklab(0% 0 0%)) {
:root {
  --noir: oklch(17.5% 0.018 45);
  --kraft-2: oklch(21.5% 0.02 50);
  --kraft: oklch(26.5% 0.021 54);
  --brun: oklch(23.1% 0.059 50.1);
  --hanji: oklch(93.9% 0.024 85.8);
  --papier: oklch(96.5% 0.013 86.8);
  --lime: oklch(91.5% 0.108 124.7);
  --lime-papier: oklch(88.9% 0.077 121.5);
  --glow: oklch(88% 0.09 76);

  --muted-dark: oklch(77% 0.028 78);
  --muted-light: oklch(45% 0.045 55);
  --line-dark: oklch(93.9% 0.024 85.8 / 0.22);
  --line-light: oklch(23.1% 0.059 50.1 / 0.28);

  --shadow-sheet:
    0 -1px 0 oklch(15% 0.03 50 / 0.18),
    0 -6px 12px oklch(15% 0.03 50 / 0.12),
    0 -16px 32px oklch(15% 0.03 50 / 0.14),
    0 -32px 64px oklch(15% 0.03 50 / 0.16),
    0 -60px 110px oklch(15% 0.03 50 / 0.18);
  --shadow-paper:
    0 1px 1px oklch(15% 0.03 50 / 0.16),
    0 3px 6px oklch(15% 0.03 50 / 0.14),
    0 8px 16px oklch(15% 0.03 50 / 0.14),
    0 20px 40px oklch(15% 0.03 50 / 0.18),
    0 40px 80px oklch(15% 0.03 50 / 0.22);
}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  background: var(--kraft);
}
/* sans JavaScript, les ancres glissent ; avec, main.js choisit (Lenis à la souris, défilement natif au doigt) */
@media (prefers-reduced-motion: no-preference) {
  html:not(.js) { scroll-behavior: smooth; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* menu mobile ouvert : la page derrière ne défile plus (téléphones, sans Lenis) */
html.menu-open { overflow: hidden; }

/* Textures : chargées à l'approche de leur section (main.js pose .tex-on).
   Sans JavaScript, ou si main.js ne démarre pas (.tex-tout, posée par init.js), tout de suite. */
.js:not(.tex-tout) [data-tex]:not(.tex-on) { background-image: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--hanji);
  background: var(--kraft) url("../img/tex/papier-kraft.webp") 0 0 / 512px repeat;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Safari < 16 ignore overflow: clip : la fenêtre coupe alors le débordement horizontal
   (sur html seulement, pour que position: sticky continue de fonctionner) */
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--lime); color: var(--brun); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
[data-theme="light"] :focus-visible,
[data-theme="lime"] :focus-visible { outline-color: var(--brun); }
[hidden] { display: none !important; }

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

.skip {
  position: fixed; left: 1rem; top: -5rem; z-index: 300;
  background: var(--lime); color: var(--brun); padding: 0.85rem 1.25rem;
  border-radius: 0.5rem; font-weight: 650; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

/* Grain papier, sans requête réseau */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .44 0 0 0 0 .38 0 0 0 1.1 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.22;
  mix-blend-mode: soft-light;
}
@media (max-width: 760px) {
  body::after { mix-blend-mode: normal; opacity: 0.06; }
}

/* ---------- Typographie ---------- */
.kicker {
  display: flex; align-items: center; gap: 0.7em;
  font-style: italic; font-weight: 420;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.25rem);
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.kicker::before {
  content: ""; flex: none; width: 2.4em; height: 1.5px;
  background: currentColor; opacity: 0.55;
}
.display {
  font-weight: 320;
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.42; text-wrap: pretty; }
.italic { font-style: italic; }

/* ---------- Boutons ---------- */
.btn {
  --bg: transparent;
  --fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 3rem;
  padding: 0.85em 1.45em 0.9em;
  border-radius: 2.2rem 1.7rem 2rem 1.5rem / 1.5rem 2rem 1.6rem 2.1rem;
  background: var(--bg);
  color: var(--fg);
  font-weight: 640;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-radius 0.3s var(--ease-out), background-color 0.15s var(--ease), transform 0.15s var(--ease-out), color 0.15s;
}
.btn:hover { border-radius: 1.6rem 2.2rem 1.5rem 2rem / 2rem 1.5rem 2.1rem 1.6rem; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform 0.2s var(--ease-out); }
.btn:hover svg { transform: translateX(0.2em); }
.btn--lime { --bg: var(--lime); --fg: var(--brun); }
.btn--lime:hover { --bg: rgb(220, 244, 182); }

@supports (color: color-mix(in lch, red, blue)) and (color: oklab(0% 0 0%)) {
.btn--lime:hover { --bg: color-mix(in oklch, oklch(91.5% 0.108 124.7) 78%, white); }
}
.btn--brun { --bg: var(--brun); --fg: var(--lime); }
.btn--brun:hover { --bg: rgb(78, 45, 12); }

@supports (color: color-mix(in lch, red, blue)) and (color: oklab(0% 0 0%)) {
.btn--brun:hover { --bg: color-mix(in oklch, oklch(23.1% 0.059 50.1) 85%, oklch(91.5% 0.108 124.7)); }
}
.btn--ligne { box-shadow: inset 0 0 0 1.5px currentColor; }
@supports (color: color-mix(in oklch, red, red)) {
  .btn--ligne:hover { --bg: color-mix(in oklch, currentColor 10%, transparent); }
}

.lien {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 560; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  padding-bottom: 0.15em;
  transition: background-size 0.25s var(--ease-out);
}
.lien:hover { background-size: 0% 1px; background-position: 100% 100%; }
.lien svg { width: 1em; height: 1em; }

.icon-btn {
  width: 2.75rem; height: 2.75rem; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor; /* repli sans color-mix() */
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, currentColor 38%, transparent);
  transition: box-shadow 0.15s, background-color 0.15s;
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Logo vivant ---------- */
.mark { display: block; width: 100%; height: auto; fill: currentColor; overflow: visible; }
.mark .alt { opacity: 0; }
.mark .swapped .alt { opacity: 1; }
.mark .swapped .lettre { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: var(--gutter);
  color: var(--hanji);
  transition: transform 0.35s var(--ease-out), color 0.2s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--nav-bg, var(--kraft));
  opacity: 0;
  border-bottom: 1px solid var(--nav-line, var(--line-dark));
  transition: opacity 0.25s var(--ease), background-color 0.2s;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-105%); }
.nav[data-theme="light"] { color: var(--brun); --nav-bg: var(--hanji); --nav-line: var(--line-light); }
.nav[data-theme="lime"] { color: var(--brun); --nav-bg: var(--lime-papier); --nav-line: var(--line-light); }
.nav[data-theme="dark"] { --nav-bg: var(--kraft-2); }
.menu-open .nav { color: var(--brun); transform: none; }
.menu-open .nav::before { opacity: 0; }

.nav__logo {
  display: block; width: clamp(7.5rem, 11vw, 10rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
}
.nav.show-logo .nav__logo,
.menu-open .nav__logo { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.nav__links { display: flex; gap: clamp(1.1rem, 2.6vw, 2.6rem); margin-inline: auto 0; }
.nav__links a {
  position: relative; text-decoration: none; font-size: 1rem; padding-block: 0.6rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.28s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.nav__cta { min-height: 2.75rem; padding: 0.7em 1.25em 0.75em; }
.nav__burger { display: none; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
}
@media (max-width: 420px) {
  .nav__cta { display: none; }
}

/* Menu mobile : une feuille lime qui descend */
.menu-mobile {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--lime-papier);
  color: var(--brun);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.45s var(--ease-out), visibility 0s 0.45s;
}
.menu-open .menu-mobile {
  transform: none; visibility: visible;
  transition: transform 0.45s var(--ease-out);
}
.menu-mobile ul { display: grid; gap: 0.35rem; }
.menu-mobile a.menu-mobile__lien {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: clamp(2.3rem, 10vw, 3.6rem); font-weight: 330; line-height: 1.1;
  letter-spacing: -0.02em; text-decoration: none;
  padding-block: 0.25rem; border-bottom: 1px solid var(--line-light);
}
.menu-mobile a.menu-mobile__lien svg { width: 2.6rem; height: 2.6rem; fill: var(--brun); flex: none; }
.menu-mobile__bas { display: grid; gap: 1rem; font-size: var(--fs-small); }
.menu-mobile__bas .btn { justify-self: start; }
.menu-mobile__adresse { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }

/* Raccourcis mobiles : quatre actions de même poids, toujours à portée de pouce.
   Aucune n'est mise en avant : une action colorée au milieu des autres se lit comme un onglet sélectionné. */
.barre { display: none; }
@media (max-width: 880px) {
  .barre {
    position: fixed; z-index: 40;
    /* 30rem au plus, centrée : sur tablette la barre ne s'étire pas sur toute la largeur */
    left: max(0.6rem, env(safe-area-inset-left, 0px), calc(50% - 15rem));
    right: max(0.6rem, env(safe-area-inset-right, 0px), calc(50% - 15rem));
    bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.3rem;
    border-radius: 1.7rem 1.4rem 1.6rem 1.3rem / 1.3rem 1.6rem 1.4rem 1.7rem;
    background: rgba(33, 23, 17, 0.94);
    background: color-mix(in oklch, oklch(21.5% 0.02 50) 94%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(7, 2, 1, 0.38), inset 0 0 0 1px var(--line-dark);
    color: var(--hanji);
    transition: transform 0.4s var(--ease-out), visibility 0s;
  }

@supports (color: oklab(0% 0 0%)) {
.barre {
    box-shadow: 0 12px 32px oklch(10% 0.02 45 / 0.38), inset 0 0 0 1px var(--line-dark);
  }
}
  .barre__lien {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.24rem;
    min-height: 3.3rem; padding-inline: 0.2rem;
    border-radius: 1.3rem 1.1rem 1.2rem 1rem / 1rem 1.2rem 1.1rem 1.3rem;
    text-decoration: none; font-size: 0.82rem; font-weight: 600; line-height: 1; white-space: nowrap;
    transition: background-color 0.15s;
  }
  /* filet entre deux actions */
  .barre__lien + .barre__lien::before {
    content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px;
    background: var(--line-dark);
  }
  .barre__lien svg { width: 1.35rem; height: 1.35rem; }
  .barre__lien:active { background: rgba(242, 234, 217, 0.12); background: oklch(93.9% 0.024 85.8 / 0.12); }
  .barre.is-cachee, .menu-open .barre, .table-active .barre {
    transform: translateY(calc(100% + 1.6rem)); visibility: hidden;
    transition: transform 0.35s var(--ease-in), visibility 0s 0.35s;
  }
  .pied { padding-bottom: calc(4.8rem + env(safe-area-inset-bottom, 0px)); }
  /* un élément atteint au clavier ne passe jamais sous la barre */
  html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 374px) {
  .barre__lien { font-size: 0.76rem; }
}
/* téléphone à l'horizontale : la hauteur manque, la barre s'efface */
@media (max-width: 880px) and (max-height: 500px) {
  .barre { display: none; }
  .pied { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
}

/* ---------- Pile de feuilles ---------- */
.stack { position: relative; }
.sheet { position: relative; z-index: 2; box-shadow: var(--shadow-sheet); }
.shade {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: var(--noir); opacity: 0;
}

/* ---------- Hero ---------- */
.hero {
  /* écran moins haut que la page d'accueil (téléphone à l'horizontale) : elle défile d'abord
     jusqu'à son bas, puis s'immobilise sous la feuille suivante ; rien ne reste caché */
  position: sticky; top: 0; top: min(0px, 100vh - 34rem); top: min(0px, 100svh - 34rem); z-index: 0;
  height: 100vh;
  height: 100svh; min-height: 34rem;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(var(--nav-h) + clamp(0rem, 1vh, 0.75rem)) var(--gutter) clamp(1rem, 3.2vh, 2rem);
  color: var(--lime);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--noir); }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 62%; transform-origin: 55% 60%; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(16, 7, 4, 0.9) 0%,
      rgba(16, 7, 4, 0.62) 22%,
      rgba(16, 7, 4, 0.2) 46%,
      rgba(16, 7, 4, 0.28) 68%,
      rgba(16, 7, 4, 0.9) 100%);
  background:
    linear-gradient(180deg,
      oklch(14% 0.02 48 / 0.9) 0%,
      oklch(14% 0.02 48 / 0.62) 22%,
      oklch(14% 0.02 48 / 0.2) 46%,
      oklch(14% 0.02 48 / 0.28) 68%,
      oklch(14% 0.02 48 / 0.9) 100%);
}
.hero__title { margin: 0; }
.hero__ko {
  align-self: center; justify-self: center;
  color: var(--lime);
}
.ko-v { display: flex; flex-direction: column; align-items: center; gap: clamp(0rem, 0.45vh, 0.3rem); }
.ko-v svg { width: clamp(1.15rem, 1.9vw, 2rem); height: auto; fill: currentColor; overflow: visible; }
.ko-v .ko-gap { height: clamp(0.5rem, 2vh, 1.3rem); }
.hero__base { display: grid; gap: clamp(0.7rem, 2vh, 1.2rem); }
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem;
  font-size: var(--fs-small); color: var(--hanji);
}
.hero__meta p { max-width: 26ch; }
.hero__meta .hero__statut { text-align: right; font-style: italic; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 640; font-size: clamp(1.2rem, 2.5vw, 2.45rem); line-height: 1;
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(211, 240, 160, 0.35);
  border-top: 1px solid oklch(91.5% 0.108 124.7 / 0.35);
  padding-top: clamp(0.6rem, 1.6vh, 1rem);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: calc(clamp(1rem, 3.2vh, 2rem) + clamp(3.2rem, 8vh, 5.4rem));
  translate: -50% 0;
  display: grid; place-items: center; gap: 0.3rem;
  font-size: 0.85rem; font-style: italic; color: var(--hanji); text-decoration: none;
  opacity: 0.85;
}
.hero__scroll svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 700px) {
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .hero__meta .hero__statut { text-align: left; }
  .hero__scroll { display: none; }
}

/* ---------- Manifeste ---------- */
.manifeste {
  background: var(--hanji);
  color: var(--brun);
  padding: clamp(5rem, 15vh, 10rem) var(--gutter) clamp(5rem, 14vh, 9rem);
}
.manifeste__grid {
  max-width: 92rem; margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
}
.manifeste .kicker { grid-column: 1 / -1; }
.manifeste__title {
  grid-column: 1 / -1;
  font-size: clamp(2.35rem, 5.8vw, 6.4rem);
  max-width: 17ch;
  margin-bottom: clamp(3rem, 9vh, 6.5rem);
}
.manifeste__title .w { display: inline-block; }
.manifeste__aside {
  grid-column: 1 / span 4;
  align-self: start;
  display: flex; flex-direction: column; gap: 1.2rem;
  padding-top: 0.4rem;
}
.manifeste__aside svg { width: clamp(5rem, 9vw, 8rem); height: auto; fill: var(--brun); }
.manifeste__aside p { font-style: italic; color: var(--muted-light); font-size: var(--fs-small); max-width: 22ch; }
.manifeste__body {
  grid-column: 6 / span 7;
  display: grid; gap: 1.3rem;
  font-size: var(--fs-lead); line-height: 1.45;
  text-wrap: pretty;
}
.manifeste__sign {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 0.6rem;
  font-style: italic; font-size: var(--fs-body);
}
.manifeste__sign svg { width: 2.6rem; height: 2.6rem; fill: var(--brun); flex: none; }

.principes {
  grid-column: 1 / -1;
  list-style: none; padding: 0;
  margin-top: clamp(5rem, 14vh, 10rem);
  display: grid; gap: clamp(3rem, 8vh, 5.5rem);
}
.principe {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  column-gap: clamp(1rem, 2.4vw, 2.2rem);
  max-width: 46rem;
}
.principe:nth-child(2) { margin-left: clamp(0rem, 22vw, 26rem); }
.principe:nth-child(3) { margin-left: clamp(0rem, 44vw, 52rem); max-width: 40rem; }
.principe__ill { width: clamp(3.4rem, 5vw, 4.6rem); height: auto; fill: var(--brun); margin-top: 0.2rem; }
.principe h3 {
  font-size: clamp(1.75rem, 3.5vw, 3.4rem); font-weight: 560; line-height: 1.05;
  letter-spacing: -0.015em; margin-bottom: 0.9rem;
}
.principe p { color: var(--muted-light); max-width: 36ch; }
.hl {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 0% 46%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: 0.06em;
  transition: background-size 0.5s var(--ease-out);
}
.is-in .hl, html:not(.js) .hl, .no-motion .hl { background-size: 100% 46%; }
/* ---------- En cuisine : la vidéo s'ouvre dans la feuille ---------- */
.film {
  grid-column: 1 / -1;
  position: relative;
  /* pleine largeur de la page, barre de défilement déduite (--vw posé par init.js) */
  width: calc(var(--vw, 1vw) * 100);
  margin: clamp(4.5rem, 12vh, 8rem) 0 0 calc(50% - var(--vw, 1vw) * 50);
}
.film__cadre {
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; aspect-ratio: 16 / 9; max-height: 88vh; max-height: 88svh;
  background: var(--noir);
  color: var(--hanji);
}
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* l'affiche de la vidéo est posée par main.js à l'approche ; sans JavaScript, elle sert de fond */
html:not(.js) .film__video { background: var(--noir) url("../video/cuisine-poster.webp") center / cover no-repeat; }
.film__voile {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(16, 7, 4, 0.32) 0%,
    rgba(16, 7, 4, 0) 26%,
    rgba(16, 7, 4, 0) 46%,
    rgba(16, 7, 4, 0.84) 100%);
  background: linear-gradient(180deg,
    oklch(14% 0.02 48 / 0.32) 0%,
    oklch(14% 0.02 48 / 0) 26%,
    oklch(14% 0.02 48 / 0) 46%,
    oklch(14% 0.02 48 / 0.84) 100%);
}
.film__texte {
  position: absolute; z-index: 2;
  left: var(--gutter); right: calc(var(--gutter) + 4rem); bottom: clamp(1.4rem, 6vh, 3.5rem);
}
.film__texte .kicker { color: var(--lime); margin-bottom: clamp(0.6rem, 1.8vh, 1.1rem); }
.film__titre {
  font-size: clamp(2.2rem, 5.8vw, 6.2rem); font-weight: 320; line-height: 0.96;
  letter-spacing: -0.026em; max-width: 13ch; text-wrap: balance;
}
.film__btn {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(1.4rem, 6vh, 3.5rem);
  color: var(--hanji);
  background: rgba(16, 7, 4, 0.4);
  background: oklch(14% 0.02 48 / 0.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.film__btn:focus-visible { outline-color: var(--lime); }
.film__tampon {
  position: absolute; z-index: 3; pointer-events: none;
  top: clamp(-3.2rem, -4vw, -1.6rem); left: clamp(1rem, 7vw, 7rem);
  width: clamp(5.6rem, 9vw, 8.6rem); aspect-ratio: 1;
}
.film__tampon-fond { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--lime); filter: drop-shadow(0 6px 12px rgba(21, 7, 2, 0.35)); filter: drop-shadow(0 6px 12px oklch(15% 0.03 50 / 0.35)); }
.film__tampon-ill { position: absolute; left: 50%; top: 50%; width: 60%; height: 60%; transform: translate(-50%, -50%); fill: var(--brun); }
.film__legende {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.8rem var(--gutter) 0;
  font-size: var(--fs-small);
}
.film__legende span:last-child { font-style: italic; color: var(--muted-light); }
@media (max-width: 700px) {
  .film__cadre { aspect-ratio: 4 / 5; max-height: 84vh; max-height: 84svh; }
  .film__texte { right: var(--gutter); }
  .film__btn { top: 1rem; bottom: auto; }
  .film__tampon { left: auto; right: clamp(4.5rem, 20vw, 7rem); }
}

@media (max-width: 900px) {
  .manifeste__aside { grid-column: 1 / -1; flex-direction: row; align-items: center; margin-bottom: 2rem; }
  .manifeste__aside svg { width: 4.2rem; }
  .manifeste__body { grid-column: 1 / -1; }
  .principe:nth-child(2) { margin-left: 8vw; }
  .principe:nth-child(3) { margin-left: 16vw; }
}

/* ---------- La table ---------- */
.table {
  position: relative; z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  gap: 2rem 3rem; align-items: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  background: var(--noir);
  color: var(--hanji);
  overflow: hidden;
  isolation: isolate;
}
.table__wood {
  position: absolute; inset: -4%; z-index: -2;
  background: url("../img/tex/bois-teck.webp") center / 620px auto repeat;
  filter: brightness(0.62) saturate(0.92);
}
.table__light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 56% at 66% 52%, rgba(230, 179, 116, 0.34), rgba(230, 179, 116, 0) 72%),
    radial-gradient(140% 115% at 62% 50%, rgba(7, 2, 1, 0) 32%, rgba(7, 2, 1, 0.9) 100%);
  background:
    radial-gradient(46% 56% at 66% 52%, oklch(80% 0.1 72 / 0.34), oklch(80% 0.1 72 / 0) 72%),
    radial-gradient(140% 115% at 62% 50%, oklch(10% 0.02 45 / 0) 32%, oklch(10% 0.02 45 / 0.9) 100%);
}
.table__text { position: relative; z-index: 2; display: grid; gap: 1.6rem; align-content: center; }
.table__head .kicker { margin-bottom: 0; color: var(--lime); }
.table__captions { display: grid; gap: 0.9rem; }
.cap {
  font-size: clamp(1.45rem, 2.4vw, 2.4rem); font-weight: 340; line-height: 1.08;
  letter-spacing: -0.015em; text-wrap: balance;
}
.cap em { font-style: italic; }
.cap--end { color: var(--lime); }
.table__progress { display: none; }
.table__cta { justify-self: start; }
.table__area { position: relative; width: 100%; aspect-ratio: 1.18; container-type: size; }
.dish {
  position: absolute;
  left: var(--x); top: var(--y);
  width: calc(var(--w) * 1%);
  width: min(calc(var(--w) * 1cqw), calc(var(--w) * 1.13cqh));
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
}
.dish__inner { position: absolute; inset: 0; will-change: transform; }
.dish__plate {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  filter:
    drop-shadow(0 0.7vmin 0.9vmin rgba(5, 1, 0, 0.6))
    drop-shadow(0 0.15vmin 0.2vmin rgba(5, 1, 0, 0.45));
  filter:
    drop-shadow(0 0.7vmin 0.9vmin oklch(8% 0.02 40 / 0.6))
    drop-shadow(0 0.15vmin 0.2vmin oklch(8% 0.02 40 / 0.45));
}
.dish__plate .rim { fill: var(--hanji); }
.dish__plate .well { fill: var(--papier); }
.dish--lime .dish__plate .rim { fill: var(--lime-papier); }
.dish--lime .dish__plate .well { fill: var(--lime); }
.dish__ill {
  position: absolute; left: 50%; top: 50%;
  width: 63%; height: 63%;
  transform: translate(-50%, -50%);
  fill: var(--brun);
}
.dish--haut .dish__ill { width: 50%; height: 72%; }

/* Version animée (épinglée au défilement, en CSS : position sticky dans une piste).
   La piste mesure une hauteur d'écran par étape (0,62 ; 0,5 en portrait) plus une, en plus
   de la table : sa hauteur est fixée dès le premier rendu, rien ne bouge quand le script arrive.
   La table épinglée couvre la grande hauteur d'écran (100lvh) : quand la barre du
   navigateur se replie sur tablette ou téléphone, l'écran grandit et rien ne doit
   apparaître dessous. Le contenu reste dans la petite hauteur (100svh), toujours visible. */
.js-pin .table-piste {
  height: calc(100vh + (var(--etapes, 7) * 0.62 + 1) * 100vh);
  height: calc(100lvh + (var(--etapes, 7) * 0.62 + 1) * 100svh);
  background: var(--noir);
}
.js-pin .table {
  position: sticky; top: 0;
  display: block; height: 100vh; height: 100lvh; min-height: 0; padding: 0;
}
/* avant que le défilement ne pilote la table : légendes, plats et bouton attendent leur tour */
.js-pin .cap, .js-pin .dish__inner, .js-pin .table__cta { opacity: 0; }
.js-pin .table__text {
  position: absolute; left: var(--gutter); top: 0; bottom: 0; bottom: calc(100lvh - 100svh);
  width: min(34vw, 30rem);
  grid-template-rows: auto 1fr auto auto;
  align-content: stretch;
  padding: calc(var(--nav-h) + 2.5rem) 0 clamp(1.5rem, 5vh, 3rem);
  gap: 1.2rem;
}
.js-pin .table__captions { display: grid; align-content: center; gap: 0; }
.js-pin .cap { grid-area: 1 / 1; font-size: clamp(2.2rem, 4.8vw, 5.4rem); line-height: 1; letter-spacing: -0.022em; }
.js-pin .cap--long { font-size: clamp(1.45rem, 2.3vw, 2.5rem); line-height: 1.14; letter-spacing: -0.012em; }
.js-pin .table__progress {
  display: block; height: 2px; width: 100%;
  background: rgba(242, 234, 217, 0.16);
  background: oklch(93.9% 0.024 85.8 / 0.16);
}
.js-pin .table__progress span {
  display: block; height: 100%; background: var(--lime);
  transform-origin: left; transform: scaleX(0);
}
.js-pin .table__area {
  position: absolute; aspect-ratio: auto; width: auto;
  left: 39vw; right: 3vw;
  top: calc(var(--nav-h) + 2vh); bottom: 5vh; bottom: calc(5svh + 100lvh - 100svh);
}
@media (max-aspect-ratio: 1/1) {
  .js-pin .table-piste {
    height: calc(100vh + (var(--etapes, 7) * 0.5 + 1) * 100vh);
    height: calc(100lvh + (var(--etapes, 7) * 0.5 + 1) * 100svh);
  }
  .table { grid-template-columns: minmax(0, 1fr); }
  .table__area { aspect-ratio: 0.76; }
  .dish {
    left: var(--xm, var(--x)); top: var(--ym, var(--y));
    width: calc(var(--wm, var(--w)) * 1%);
    width: min(calc(var(--wm, var(--w)) * 1cqw), calc(var(--wm, var(--w)) * 0.76cqh));
  }
  .js-pin .table__text {
    left: var(--gutter); right: var(--gutter); width: auto;
    bottom: auto; height: 42vh; height: 42svh;
    display: flex; flex-direction: column; gap: 0.7rem;
    padding: calc(var(--nav-h) + 0.4rem) 0 0.6rem;
  }
  .js-pin .table__captions { flex: 1; min-height: 0; }
  .js-pin .cap { font-size: clamp(2rem, 9vw, 3.4rem); }
  .js-pin .cap--long { font-size: clamp(1.1rem, 4.5vw, 1.6rem); }
  .js-pin .table__progress { order: 3; flex: none; }
  .js-pin .table__cta { order: 4; }
  .js-pin .table__area { left: 3vw; right: 3vw; top: 43vh; top: 43svh; bottom: 3vh; bottom: 3svh; bottom: calc(3svh + 100lvh - 100svh); }
  .table__light {
    background:
      radial-gradient(70% 45% at 50% 66%, rgba(230, 179, 116, 0.32), rgba(230, 179, 116, 0) 72%),
      radial-gradient(150% 120% at 50% 60%, rgba(7, 2, 1, 0) 30%, rgba(7, 2, 1, 0.9) 100%);
    background:
      radial-gradient(70% 45% at 50% 66%, oklch(80% 0.1 72 / 0.32), oklch(80% 0.1 72 / 0) 72%),
      radial-gradient(150% 120% at 50% 60%, oklch(10% 0.02 45 / 0) 30%, oklch(10% 0.02 45 / 0.9) 100%);
  }
}

/* ---------- La carte ---------- */
.carte {
  position: relative; z-index: 3;
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(5rem, 13vh, 8.5rem);
  background: var(--kraft) url("../img/tex/papier-kraft.webp") 0 0 / 512px repeat;
  color: var(--hanji);
}
.js-pin .carte { margin-top: -100vh; margin-top: -100svh; margin-top: -100lvh; }
.carte__head {
  max-width: 74rem; margin: 0 auto clamp(2.5rem, 6vh, 4rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem;
}
.carte__head .kicker { color: var(--lime); grid-column: 1 / -1; margin-bottom: 0; }
.carte__lead { max-width: 36ch; }
.tabs { display: flex; gap: 0.5rem; padding: 0.3rem; border-radius: 2rem; box-shadow: inset 0 0 0 1px var(--line-dark); }
.tab {
  min-height: 2.75rem; padding: 0.6rem 1.15rem 0.65rem;
  border-radius: 1.6rem 1.3rem 1.5rem 1.2rem / 1.2rem 1.5rem 1.3rem 1.6rem;
  font-weight: 560; font-size: 1rem;
  transition: background-color 0.15s, color 0.15s;
}
.tab[aria-selected="true"] { background: var(--lime); color: var(--brun); }
.tab:not([aria-selected="true"]):hover { background: rgba(242, 234, 217, 0.1); background: oklch(93.9% 0.024 85.8 / 0.1); }

.carte__feuilles { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 74rem; margin-inline: auto; }
.feuille {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
  background: var(--papier);
  color: var(--brun);
  padding: clamp(1.75rem, 5vw, 4.6rem) clamp(1.25rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-paper);
  rotate: -0.7deg;
}
.feuille--boissons { background: var(--lime-papier); rotate: 0.8deg; }
.feuille__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: clamp(2.2rem, 6vh, 3.8rem);
}
.feuille__titre {
  font-size: clamp(2.5rem, 11.5vw, 11.5rem); font-weight: 360; line-height: 0.8;
  letter-spacing: -0.035em;
}
.feuille__ko { width: clamp(3.5rem, 14vw, 12rem); height: auto; fill: var(--brun); flex: none; margin-top: 0.3rem; }
.feuille__intro {
  max-width: 62ch; margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
  font-size: clamp(0.8rem, 0.35vw + 0.72rem, 0.95rem); font-weight: 650;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5;
}
.rubrique + .rubrique { margin-top: clamp(2.6rem, 6.5vh, 4.2rem); }
.rubrique__titre {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3em 0.5em;
  margin-bottom: clamp(1.2rem, 3vh, 1.8rem);
  padding-bottom: 0.55rem;
  border-bottom: 1.5px solid currentColor;
  font-size: clamp(0.8rem, 0.55vw + 0.62rem, 1.02rem);
  font-weight: 780; letter-spacing: 0.36em; text-transform: uppercase; line-height: 1.2;
}
.rubrique__titre span:last-child { letter-spacing: 0.36em; margin-right: -0.36em; }
.plats {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vh, 1.8rem) clamp(1.5rem, 5vw, 4.5rem);
}
.plat { position: relative; }
.plat__nom { font-size: clamp(1.08rem, 0.35vw + 1rem, 1.36rem); font-weight: 680; line-height: 1.2; margin-bottom: 0.25rem; }
.plat__nom small { font-size: 0.72em; font-weight: 500; font-style: italic; margin-left: 0.35em; letter-spacing: 0; }
.plat__desc { font-style: italic; color: var(--muted-light); line-height: 1.42; }
.feuille__note {
  margin-top: clamp(2.6rem, 6vh, 3.6rem);
  display: flex; align-items: center; gap: 0.8rem;
  font-style: italic; font-size: var(--fs-small); color: var(--muted-light);
}
.feuille__note svg { width: 2rem; height: 2rem; fill: var(--brun); flex: none; }
.carte__suite { max-width: 74rem; margin: clamp(2.8rem, 7vh, 4rem) auto 0; display: flex; justify-content: center; }
@media (max-width: 680px) {
  .carte__head { grid-template-columns: minmax(0, 1fr); }
  .tabs { justify-self: start; }
  .plats { grid-template-columns: minmax(0, 1fr); }
  .rubrique__titre { letter-spacing: 0.16em; }
  .rubrique__titre span:last-child { letter-spacing: 0.16em; margin-right: -0.16em; }
  .feuille { rotate: -0.4deg; }
  .feuille--boissons { rotate: 0.5deg; }
}

/* Tampon qui suit le curseur sur la carte */
.tampon {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: clamp(6rem, 8vw, 8rem); aspect-ratio: 1;
  pointer-events: none;
}
.tampon__inner { position: absolute; inset: 0; opacity: 0; }
.tampon__fond { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--lime); filter: drop-shadow(0 6px 10px rgba(21, 7, 2, 0.35)); filter: drop-shadow(0 6px 10px oklch(15% 0.03 50 / 0.35)); }
.tampon__ill { position: absolute; left: 50%; top: 50%; width: 58%; height: 58%; transform: translate(-50%, -50%); fill: var(--brun); }

/* ---------- Le lieu ---------- */
.lieu {
  position: relative; z-index: 1;
  background: var(--noir);
  color: var(--hanji);
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(4.5rem, 11vh, 7rem);
  overflow: hidden;
}
.lieu__grid {
  max-width: 96rem; margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.lieu__head { grid-column: 1 / span 5; align-self: end; display: grid; gap: 1.4rem; padding-bottom: 0.5rem; }
.lieu__head .kicker { color: var(--lime); margin-bottom: 0.2rem; }
.lieu__titre { font-size: clamp(2.3rem, 4.6vw, 5rem); }
.lieu__texte { color: var(--muted-dark); max-width: 40ch; }
.lieu__main { grid-column: 6 / -1; }
.photo { position: relative; margin: 0; }
.photo__cadre { position: relative; overflow: hidden; background: var(--kraft-2); }
.photo__cadre img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.35s var(--ease), scale 0.6s var(--ease-out); }
.photo:hover .photo__cadre img { filter: brightness(1.1) saturate(1.06); scale: 1.02; }
.photo figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.7rem; font-size: var(--fs-small);
}
.photo figcaption span:last-child { margin-left: auto; font-style: italic; color: var(--muted-dark); }
.hanji { position: absolute; inset: 0; display: grid; pointer-events: none; }
.hanji i { background: rgb(23 14 10); box-shadow: inset 0 0 0 1px rgba(54, 43, 37, 0.9); box-shadow: inset 0 0 0 1px oklch(30% 0.02 50 / 0.9); }

.lieu__bande { grid-column: 1 / -1; margin-top: clamp(3rem, 8vh, 5.5rem); }
/* ordinateur : les quatre photos côte à côte, chacune entière à l'écran */
.lieu__piste {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem); align-items: start;
}
.lieu__piste .photo:nth-child(2) { margin-top: clamp(2rem, 6vh, 4.5rem); }
.lieu__piste .photo:nth-child(4) { margin-top: clamp(1rem, 3vh, 2.5rem); }
.lieu__bas {
  grid-column: 1 / -1;
  margin-top: clamp(3rem, 8vh, 5rem);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem;
}
.matieres { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem; }
.matiere { display: flex; align-items: center; gap: 0.65rem; font-size: var(--fs-small); }
.matiere i {
  width: 2.7rem; height: 2.7rem; flex: none;
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.14);
  transition: transform 0.25s var(--ease-out);
}
.matiere:hover i { transform: scale(1.12) rotate(-6deg); }
.lieu__note { font-style: italic; font-size: var(--fs-small); color: var(--muted-dark); }
@media (max-width: 900px) {
  .lieu__head, .lieu__main { grid-column: 1 / -1; }
  .lieu__bande { margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; }
  .lieu__bande::-webkit-scrollbar { display: none; }
  .lieu__piste { display: flex; width: max-content; }
  /* la photo et sa légende tiennent dans la hauteur de l'écran, téléphone à l'horizontale compris */
  .lieu__piste .photo { width: 72vw; width: min(72vw, 110svh - 3.25rem); flex: none; scroll-snap-align: start; }
  .lieu__piste .photo__cadre { max-height: 72vh; max-height: 72svh; }
  .lieu__piste .photo:nth-child(n) { margin-top: 0; }
}

/* ---------- Itaewon, Séoul ---------- */
.quartier {
  background: var(--lime-papier);
  color: var(--brun);
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(4.5rem, 11vh, 7rem);
  overflow: hidden;
}
.quartier__grid {
  max-width: 96rem; margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem);
}
.quartier .kicker { grid-column: 1 / -1; }
.quartier__titre {
  grid-column: 1 / -1;
  font-size: clamp(3.3rem, 11vw, 11.5rem); font-weight: 320; line-height: 0.86; letter-spacing: -0.035em;
}
.quartier__texte { grid-column: 7 / -1; margin-top: clamp(1.5rem, 4vh, 2.5rem); max-width: 36ch; }
.quartier__coords {
  grid-column: 1 / span 6; align-self: end;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem;
  font-style: italic; font-size: var(--fs-small); color: var(--muted-light);
}
.quartier__coords svg { width: 1.1rem; height: 1.1rem; }
.defile { margin-block: clamp(3.5rem, 10vh, 6.5rem); display: grid; gap: clamp(0.6rem, 1.4vw, 1.2rem); }
.defile__rang { overflow: hidden; }
.defile__piste { display: flex; width: max-content; }
.defile__piste img {
  flex: none; height: clamp(2.6rem, 7.4vw, 7.6rem); width: auto; max-width: none;
  aspect-ratio: 4124 / 159;
}
.quartier__fin {
  max-width: 96rem; margin-inline: auto; padding-inline: var(--gutter);
  font-size: clamp(1.6rem, 3.4vw, 3.4rem); font-style: italic; font-weight: 380; line-height: 1.1;
  letter-spacing: -0.01em; text-align: right;
}
@media (max-width: 900px) {
  .quartier__texte { grid-column: 1 / -1; }
  .quartier__coords { grid-column: 1 / -1; margin-top: 1.5rem; }
  .quartier__fin { text-align: left; }
}

/* ---------- Infos ---------- */
.infos {
  position: relative; z-index: 1;
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(5rem, 14vh, 8rem);
  background: var(--kraft) url("../img/tex/papier-kraft.webp") 0 0 / 512px repeat;
}
.infos__inner { max-width: 96rem; margin-inline: auto; }
.infos .kicker { color: var(--lime); }
.infos__titre {
  font-size: clamp(2.7rem, 7.4vw, 7.8rem); max-width: 13ch;
  margin-bottom: clamp(3rem, 9vh, 5.5rem);
}
.infos__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.info { border-top: 1.5px solid var(--line-dark); padding-top: 1.1rem; display: grid; align-content: start; gap: 0.75rem; }
.info__label { display: flex; align-items: center; gap: 0.5rem; font-style: italic; color: var(--muted-dark); font-size: var(--fs-small); }
.info__label svg { width: 1.05rem; height: 1.05rem; }
.info__valeur { font-size: clamp(1.15rem, 0.55vw + 1rem, 1.5rem); line-height: 1.3; }
.info__acces { font-size: var(--fs-small); font-style: italic; color: var(--muted-dark); max-width: 30ch; }
.info__tel { display: flex; align-items: center; gap: 0.5rem; scroll-margin-top: calc(var(--nav-h) + 6rem); }
.info__tel svg { width: 1.1rem; height: 1.1rem; flex: none; }
.info__tel a { font-size: clamp(1.15rem, 0.55vw + 1rem, 1.5rem); text-decoration: none; }
.info .btn, .info .lien { justify-self: start; }
@media (max-width: 1000px) { .infos__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .infos__grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */
.pied {
  position: relative; z-index: 2;
  box-shadow: var(--shadow-sheet);
  background: var(--kraft-2);
  color: var(--hanji);
  overflow: hidden;
}
.pied__papier {
  position: relative; overflow: hidden;
  height: clamp(9rem, 26vh, 16rem);
  background: var(--papier);
}
.pied__motif {
  position: absolute; left: -40%; top: -120%;
  width: 180%; height: 340%;
  background: url("../img/ingraissable.svg") 0 0 / 323px 109px repeat;
  transform: rotate(-13deg);
  animation: derive 26s linear infinite;
}
@keyframes derive {
  from { transform: rotate(-13deg) translate3d(0, 0, 0); }
  to { transform: rotate(-13deg) translate3d(-323px, 0, 0); }
}
.pied__marque { padding: clamp(2.5rem, 8vh, 5rem) var(--gutter) 0; color: var(--lime); }
.pied__marque .mark { cursor: default; }
.pied__ko { display: flex; justify-content: flex-end; padding: 1rem var(--gutter) 0; }
.pied__ko svg { width: clamp(12rem, 26vw, 20rem); height: auto; fill: var(--lime); opacity: 0.85; }
.pied__cols {
  padding: clamp(2.5rem, 7vh, 4rem) var(--gutter);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem;
  font-size: var(--fs-small);
}
.pied__cols h2 { font-size: var(--fs-small); font-weight: 400; font-style: italic; color: var(--muted-dark); margin-bottom: 0.9rem; }
.pied__cols ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.pied__cols a { text-decoration: none; }
.pied__cols a:not(.lien):hover { text-decoration: underline; }
.pied__itineraire { margin-top: 0.9rem; }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  padding: 1.2rem var(--gutter) 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem; color: var(--muted-dark);
}
/* Pause des animations : discrète, en bas de page, même ton que la mention © */
.motion-texte {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem;
  color: inherit; text-decoration: none; text-underline-offset: 0.2em;
  transition: color 0.15s;
}
.motion-texte svg { width: 0.85rem; height: 0.85rem; }
.motion-texte:hover, .motion-texte:focus-visible { color: var(--hanji); text-decoration: underline; }
@media (max-width: 900px) { .pied__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__cols { grid-template-columns: 1fr; } }

/* ---------- Pages simples (légal, 404) ---------- */
.page {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(3rem, 10vh, 6rem)) var(--gutter) clamp(4rem, 10vh, 6rem);
  background: var(--hanji); color: var(--brun);
}
.page__inner { max-width: 50rem; margin-inline: auto; }
.page__inner h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin-bottom: clamp(2rem, 6vh, 3.5rem); }
.page__inner h2 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); font-weight: 600; margin: 2.6rem 0 0.8rem; }
.page__inner p, .page__inner li { color: rgb(71, 42, 21); color: color-mix(in oklch, oklch(23.1% 0.059 50.1) 88%, oklch(93.9% 0.024 85.8)); max-width: 68ch; }
.page__inner p + p { margin-top: 0.8rem; }
.page__inner ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }

/* ---------- Page « La carte » : tout le menu, sans détour ---------- */
.carte-page { max-width: 74rem; margin-inline: auto; }
.fil ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 clamp(1.4rem, 4vh, 2.4rem); font-size: var(--fs-small); color: var(--muted-light); }
.fil li + li::before { content: "/"; content: "/" / ""; margin-right: 0.5rem; opacity: 0.6; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.carte-page__tete { display: grid; gap: 1.3rem; justify-items: start; margin-bottom: clamp(2rem, 5vh, 3rem); }
.carte-page__titre { font-size: clamp(3.4rem, 12vw, 9.5rem); line-height: 0.84; letter-spacing: -0.035em; }
.carte-page__tete .lead { max-width: 40ch; }
.carte-page__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.carte-page__adresse { display: flex; align-items: center; gap: 0.5rem; font-style: italic; font-size: var(--fs-small); color: var(--muted-light); }
.carte-page__adresse svg { width: 1.05rem; height: 1.05rem; flex: none; }
.sommaire {
  position: sticky; top: var(--nav-h); z-index: 20;
  margin: 0 calc(var(--gutter) * -1) clamp(2rem, 5vh, 3rem);
  padding: 0.7rem var(--gutter);
  background: rgba(242, 234, 217, 0.9);
  background: color-mix(in oklch, oklch(93.9% 0.024 85.8) 90%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-block: 1px solid var(--line-light);
  transition: top 0.35s var(--ease-out);
}
html.nav-cachee .sommaire { top: 0; } /* classe posée par main.js (pas de :has()) */
.sommaire ul { display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.sommaire ul::-webkit-scrollbar { display: none; }
.sommaire a {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.45rem 0.95rem 0.5rem;
  white-space: nowrap; text-decoration: none; font-size: 0.95rem; font-weight: 560;
  border-radius: 1.6rem 1.3rem 1.5rem 1.2rem / 1.2rem 1.5rem 1.3rem 1.6rem;
  box-shadow: inset 0 0 0 1px var(--line-light);
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.sommaire a:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.sommaire a[aria-current="true"] { background: var(--brun); color: var(--lime); box-shadow: none; }
.carte-page__feuilles { display: grid; gap: clamp(3rem, 8vh, 5rem); }
.carte-page .feuille { grid-area: auto; scroll-margin-top: calc(var(--nav-h) + 4.6rem); }
.carte-page .rubrique { scroll-margin-top: calc(var(--nav-h) + 5.6rem); }
.carte-page__fin { display: grid; justify-items: center; gap: 1.6rem; text-align: center; margin-top: clamp(4rem, 10vh, 6.5rem); }
.carte-page__fin .display { font-size: clamp(2.3rem, 6vw, 4.8rem); }
.a-completer { background: var(--lime); color: var(--brun); padding: 0 0.25em; border-radius: 0.2em; font-style: normal; }
.page-404 { display: grid; place-items: center; text-align: center; }
.page-404 svg.assiette { width: min(60vw, 18rem); height: auto; margin: 0 auto 2rem; }

/* ---------- Impression de la carte ---------- */
/* ---------- Écrans tactiles : zones de toucher d'au moins 44 px (recommandation Apple),
   sans changer la mise en page à la souris ---------- */
@media (pointer: coarse) {
  .nav__logo { padding-block: 0.8rem; margin-block: -0.8rem; }
  .nav__links a { display: inline-flex; justify-content: center; min-width: 2.75rem; padding-block: 0.8rem; }
  .nav__links a::after { bottom: 0.5rem; }
  .hero__scroll { padding: 0.35rem 0.9rem; }
  .lien { padding-top: 0.72rem; padding-bottom: calc(0.72rem + 0.15em); margin-block: -0.72rem; background-position: 0 calc(100% - 0.72rem); }
  .lien:hover { background-position: 100% calc(100% - 0.72rem); }
  .fil a { display: inline-block; padding-block: 0.75rem; margin-block: -0.75rem; }
  .pied__cols ul { gap: 0; }
  .pied__cols li a:not(.lien) { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; }
  .sommaire a { min-height: 2.75rem; }
}

@media print {
  .nav, .menu-mobile, .barre, .pied, .tampon, .skip, .sommaire, .fil, .carte-page__actions, .carte-page__fin, body::after { display: none !important; }
  html, body, .page { background: #fff !important; color: #000 !important; }
  .page { min-height: 0; padding: 0; }
  .feuille { box-shadow: none !important; rotate: 0deg !important; background: #fff !important; padding: 0 !important; }
  .feuille + .feuille { break-before: page; }
  .rubrique { break-inside: avoid; }
  .plat__desc, .feuille__note { color: #333 !important; }
  .feuille__titre, [data-reveal], [data-split] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
}

/* ---------- Pause / mouvement réduit ---------- */
.motion-paused .pied__motif,
.no-motion .pied__motif { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Un élément qui reçoit le focus clavier est toujours visible */
[data-reveal]:focus-within, [data-principe]:focus-within, .table__cta:focus-visible { opacity: 1 !important; visibility: visible !important; }

/* ---------- Entrée de l’accueil ----------
   Jouée par la feuille de style dès le premier rendu : rien n’attend les scripts, rien ne
   saute à leur arrivée (téléphones). La lumière s’allume en vacillant, la photo se pose,
   les lettres montent, la volute du O tourne, le coréen tamponne, le reste glisse. */
.hero__lumiere { position: absolute; inset: 0; z-index: 3; background: #120b07; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion .hero__media img { animation: entree-photo 2.2s cubic-bezier(0.33, 1, 0.68, 1) backwards; }
  .motion .hero__lumiere { animation: entree-lumiere 0.75s linear backwards; }
  .motion .mark--hero .slot__in { animation: entree-lettre 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards; }
  .motion .mark--hero .slot:nth-child(2) .slot__in { animation-delay: 0.245s; }
  .motion .mark--hero .slot:nth-child(3) .slot__in { animation-delay: 0.29s; }
  .motion .mark--hero .slot:nth-child(4) .slot__in { animation-delay: 0.335s; }
  .motion .mark--hero .slot:nth-child(5) .slot__in { animation-delay: 0.38s; }
  .motion .mark--hero .slot:nth-child(6) .slot__in { animation-delay: 0.425s; }
  .motion .mark--hero .slot:nth-child(7) .slot__in { animation-delay: 0.47s; }
  .motion .mark--hero .slot[data-slot="O"] .alt { animation: entree-volute 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.42) 0.62s backwards; }
  .motion .hero__ko [data-ko] { --r: -8deg; animation: entree-ko 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.42) 0.5s backwards; }
  .motion .hero__ko [data-ko]:nth-of-type(even) { --r: 8deg; }
  .motion .hero__ko [data-ko]:nth-of-type(2) { animation-delay: 0.545s; }
  .motion .hero__ko [data-ko]:nth-of-type(3) { animation-delay: 0.59s; }
  .motion .hero__ko [data-ko]:nth-of-type(4) { animation-delay: 0.635s; }
  .motion .hero__ko [data-ko]:nth-of-type(5) { animation-delay: 0.68s; }
  .motion .hero__ko [data-ko]:nth-of-type(6) { animation-delay: 0.725s; }
  .motion .hero__ko [data-ko]:nth-of-type(7) { animation-delay: 0.77s; }
  .motion .hero__ko [data-ko]:nth-of-type(8) { animation-delay: 0.815s; }
  .motion .hero__meta { animation: entree-meta 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s backwards; }
  .motion .hero__foot span { animation: entree-pied 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards; }
  .motion .hero__foot span:nth-child(2) { animation-delay: 0.75s; }
  .motion .hero__foot span:nth-child(3) { animation-delay: 0.8s; }
  .motion .hero__scroll { animation: entree-pied 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.85s backwards; }
  .motion [data-page="accueil"] .nav { animation: entree-nav 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.75s backwards; }
}
@keyframes entree-photo { from { transform: scale(1.09); } }
@keyframes entree-lumiere {
  0%, 16% { opacity: 0.94; }
  25.3% { opacity: 0.5; }
  33.3% { opacity: 0.82; animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1); }
  100% { opacity: 0; }
}
@keyframes entree-lettre { from { transform: translateY(190px); } }
/* rotation autour du centre de la volute (50 % et 60 % de son cadre, en unités du logo) */
@keyframes entree-volute {
  from { opacity: 0; transform: translate(738.6px, 102.5px) scale(1.45) rotate(-40deg) translate(-738.6px, -102.5px); }
  to { opacity: 1; transform: translate(738.6px, 102.5px) scale(1) rotate(0deg) translate(-738.6px, -102.5px); }
}
@keyframes entree-ko { from { opacity: 0; transform: scale(1.45) rotate(var(--r)); } }
@keyframes entree-meta { from { transform: translateY(18px); } }
@keyframes entree-pied { from { opacity: 0; transform: translateY(22px); } }
@keyframes entree-nav { from { opacity: 0; visibility: hidden; transform: translateY(-16px); } }
