/* =========================================================
   212 Chicken — concept de refonte
   Direction "affiche" : un studio orange éclairé comme une pub,
   l'encre noire du logo, du papier crème, et le burger en vedette.
   ========================================================= */

:root {
  --orange: #FF5414;
  --orange-hi: #FF8E4E;
  --orange-lo: #D63A06;
  --ink: #000;
  --paper: #FFF4E6;
  --paper-2: #F6E3CC;
  --cheddar: #FFC531;
  --kraft: #D9B079;
  --white: #FFFDF9;
  --muted: rgba(0, 0, 0, .64);
  --line: rgba(0, 0, 0, .14);
  --on-ink: rgba(255, 244, 230, .7);

  --display: "Tanker", Impact, "Arial Narrow", sans-serif;
  --text: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* hero slide colours, animated by the showroom */
  --hero-bg: #FF5414;
  --hero-ink: #000000;
  --hero-sub: rgba(0, 0, 0, .7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* logo parts (paths in the sprite, colours from here) */
.lg-flame { fill: var(--logo-flame, var(--orange)); }
.lg-glow { fill: var(--logo-glow, var(--cheddar)); }
.lg-ink { fill: var(--logo-ink, var(--ink)); }
.lg-num { fill: var(--logo-num, var(--orange)); }
.lg-one { fill: var(--logo-one, var(--cheddar)); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.2rem, 7.4vw, 7.4rem);
  line-height: .86; letter-spacing: -.005em;
  text-transform: uppercase;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.section-head__text { max-width: 34ch; font-size: 1.125rem; color: var(--muted); }

.price { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; white-space: nowrap; }
.price span { font-family: var(--text); font-weight: 700; font-size: .42em; margin-left: 3px; vertical-align: .55em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--text); font-weight: 700; font-size: 1rem; line-height: 1;
  white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #1E1E1E; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { border: 1.5px solid currentColor; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #FF6A30; }

.link { font-weight: 700; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 35% 2px; }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.add {
  display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  transition: transform .5s var(--ease), background-color .3s;
}
.add svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.add:hover { transform: rotate(90deg); }
.add.is-done { background: #1F7A44; }

.live { display: inline-flex; align-items: center; gap: 10px; }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1FA055; flex: none; }
.live__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1FA055; opacity: 0; animation: ping 2.2s var(--ease) infinite; }
.live__dot[data-open="false"] { background: var(--orange); }
.live__dot[data-open="false"]::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--hero-ink, var(--ink));
  --logo-flame: var(--paper); --logo-glow: var(--cheddar); --logo-ink: var(--hero-ink, var(--ink));
  transition: background-color .4s, border-color .4s, color .6s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: var(--paper);
  border-bottom-color: var(--line);
  color: var(--ink);
  --logo-flame: var(--orange); --logo-ink: var(--ink);
}
.header:not(.is-solid) .header__cta { background: var(--hero-ink, var(--ink)); color: var(--hero-bg, var(--paper)); }
.header__in {
  height: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand__mark { width: auto; height: 40px; }
.brand__word { font-family: var(--display); font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.header__nav { display: flex; gap: 30px; }
.header__nav a { font-weight: 700; font-size: .95rem; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.header__nav a:hover { background-size: 100% 2px; }
.header__actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.cart-btn__count {
  position: absolute; top: -5px; right: -5px;
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--hero-bg, var(--orange));
  font: 700 .7rem/17px var(--text); text-align: center;
  transform: scale(0); transition: transform .4s var(--ease);
}
.header.is-solid .cart-btn__count { border-color: var(--paper); }
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 25% { transform: scale(1.18) rotate(-8deg); } 55% { transform: scale(.94); } 100% { transform: scale(1); } }
.header__cta { min-height: 46px; padding: 0 22px; font-size: .95rem; }
.header__burger { display: none; }
.header__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.header__burger span:first-child { transform: translateY(-4px); }
.header__burger span:last-child { transform: translateY(4px); }
.header__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.header__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--header-h) + 24px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--display); font-size: clamp(3rem, 15vw, 4.6rem); line-height: 1; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu__foot { display: grid; gap: 18px; color: var(--muted); font-size: .95rem; }

/* ---------- Hero : showroom des signatures ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 640px;
  color: var(--hero-ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; background: var(--orange); }
/* studio light: works on any slide colour */
.hero__light {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 52% at 50% 46%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 72%),
    radial-gradient(120% 95% at 50% 42%, rgba(0, 0, 0, 0) 52%, rgba(40, 6, 0, .34) 100%);
  mix-blend-mode: soft-light;
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .15 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__center--word { padding-bottom: 12vh; }
.hero__center--word > * { grid-area: 1 / 1; }
.hero__center--stage { padding-bottom: 9vh; }
.hero__word {
  font-family: var(--display); font-weight: 400;
  font-size: 30vw; line-height: .8; white-space: nowrap;
  color: var(--hero-ink);
  overflow: hidden; padding: .02em .02em 0;
  user-select: none;
}
.hero__word .ch { display: inline-block; will-change: transform; }
.hero__stage { position: relative; width: var(--stage-w, min(40vw, 58vh, 720px)); aspect-ratio: 1 / .9; perspective: 1200px; pointer-events: auto; touch-action: pan-y; }
.hero__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hero__product { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform, opacity; }
.hero__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 28px rgba(40, 6, 0, .38)); -webkit-user-drag: none; user-select: none; }
/* without the animation layer, only the active slide shows */
.hero__product:not(.is-on), .hero__word:not(.is-on), .hero__info-item:not(.is-on), .hero__price:not(.is-on) { opacity: 0; }
.hero__stack { display: grid; }
.hero__stack > * { grid-area: 1 / 1; }
.hero__info-item { align-self: end; }
.hero__floor {
  position: absolute; left: 10%; right: 10%; bottom: -2%; height: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 4, 0, .5), rgba(40, 4, 0, .16) 60%, transparent);
  filter: blur(4px);
}
.hero__crumbs { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }

.hero__bottom {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(22px, 4vh, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 28px;
}
.hero__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: .9; max-width: 13ch; }
.hero__ctas { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.hero .btn--ink { background: var(--hero-ink); color: var(--hero-bg); }

.hero__nav { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__count { white-space: nowrap; font-weight: 900; font-size: .8125rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hero__hint { margin-left: 12px; font-weight: 700; opacity: .7; }
.hero__hint::before { content: ""; display: inline-block; width: 18px; height: 1.5px; margin-right: 10px; vertical-align: middle; background: currentColor; }
.thumbs { display: flex; gap: 10px; }
.thumb {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18);
  transition: transform .5s var(--ease), background-color .4s;
}
.thumb:hover { transform: translateY(-3px); }
.thumb img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25)); }
.thumb svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; }
.thumb circle { fill: none; stroke: var(--hero-ink); stroke-width: 2; stroke-dasharray: 207.3; stroke-dashoffset: 207.3; }
.thumb[aria-selected="true"] { background: rgba(255, 255, 255, .34); }
.thumb circle.ring-bg { opacity: 0; }
.thumb[aria-selected="true"] circle.ring-bg { stroke-dashoffset: 0; opacity: .25; }
.thumb circle.ring { transition: stroke-dashoffset .5s var(--ease); }
.thumb[aria-selected="true"] circle.ring { stroke-dashoffset: 0; }

.hero__info { justify-self: end; display: flex; align-items: flex-end; gap: 20px; text-align: right; }
.hero__product-name { font-family: var(--display); font-size: clamp(1.6rem, 2.3vw, 2.3rem); line-height: .92; text-transform: uppercase; }
.hero__product-desc { margin: 6px 0 0 auto; max-width: 26ch; font-size: .9375rem; line-height: 1.4; color: var(--hero-sub); }
.hero__buy { display: flex; align-items: center; gap: 14px; }
.hero__price { font-family: var(--display); font-size: clamp(3rem, 4.4vw, 4.4rem); line-height: .8; white-space: nowrap; }
.hero__price small { font-family: var(--text); font-weight: 700; font-size: .3em; margin-left: 4px; vertical-align: 1.6em; }
.hero .add { background: var(--hero-ink); color: var(--hero-bg); }

/* intro states, only when the animation layer runs */
.motion [data-fade], .motion .hero__floor, .motion .hero__tilt, .motion .hero__center--word { opacity: 0; }

/* ---------- Signatures ---------- */
.signatures { padding: clamp(100px, 11vw, 160px) 0 clamp(90px, 10vw, 140px); }
.sig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 70px; }
.sig {
  position: relative; display: flex; flex-direction: column;
  border-radius: 24px; background: var(--orange);
  padding: 0 22px 22px;
}
.sig:nth-child(2) { background: var(--cheddar); }
.sig:nth-child(3) { background: var(--kraft); }
.sig:nth-child(4) { background: var(--ink); color: var(--paper); }
.sig:nth-child(4) .add { background: var(--orange); color: var(--ink); }
.sig:nth-child(4) .sig__desc { color: var(--on-ink); }
.sig__media { margin: -70px -6px 0; aspect-ratio: 1 / .9; display: grid; place-items: end center; }
.sig__media img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 22px 18px rgba(60, 10, 0, .35)); transition: transform .8s var(--ease); }
.sig:hover .sig__media img { transform: translateY(-12px) rotate(-3deg) scale(1.04); }
.sig__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-top: 14px; }
.sig__name { font-family: var(--display); font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: .9; text-transform: uppercase; }
.sig__desc { font-size: .9375rem; line-height: 1.4; color: rgba(0, 0, 0, .7); }
.sig__row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }

/* ---------- Box family ---------- */
.family { position: relative; isolation: isolate; overflow: hidden; background: var(--cheddar); padding: clamp(90px, 10vw, 140px) 0; }
.family__bg { display: none; }
.family__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.family__tag { margin-top: 18px; font-size: 1.25rem; font-weight: 500; max-width: 26ch; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 36px; max-width: 440px; }
.seg button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px 18px; border-radius: 18px;
  border: 1.5px solid var(--ink);
  text-align: left;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.seg button:hover { transform: translateY(-2px); }
.seg strong { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: .8; }
.seg span { font-size: .875rem; font-weight: 700; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--cheddar); }
.family__list { display: grid; gap: 0; margin-top: 30px; max-width: 440px; border-top: 1.5px solid var(--ink); }
.family__list li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(0, 0, 0, .2); font-weight: 500; }
.family__list li span { min-width: 30px; font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.family__buy { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.family__price { font-family: var(--display); font-size: clamp(4rem, 6vw, 5.6rem); line-height: .8; }
.family__price small { font-family: var(--text); font-weight: 700; font-size: .26em; margin-left: 4px; vertical-align: 1.9em; }
.family__visual { position: relative; }
.family__ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--display); font-size: clamp(16rem, 34vw, 34rem); line-height: .8;
  color: #F2A90E;
  pointer-events: none; user-select: none;
}
.family__boxes { position: relative; z-index: 1; aspect-ratio: 900 / 780; width: min(100%, 680px); margin: 0 auto; }
.family__boxes img {
  position: absolute; inset: auto 0 0 0; width: 100%;
  filter: drop-shadow(0 34px 26px rgba(110, 60, 0, .45));
  opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .55s var(--ease), transform .8s var(--ease);
}
.family__boxes img.is-on { opacity: 1; transform: none; }
.family__shadow { position: absolute; left: 18%; right: 18%; bottom: 0; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 60, 0, .45), transparent); filter: blur(6px); }

/* ---------- La carte ---------- */
.carte { background: var(--paper); padding: clamp(90px, 10vw, 140px) 0; }
.tabs {
  position: sticky; top: var(--header-h); z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs__list { display: flex; gap: 8px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 700; font-size: .95rem;
  transition: background-color .3s, color .3s, border-color .3s;
}
.tabs__list button:hover { border-color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs__list button small { font-size: .78rem; opacity: .55; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.item { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: border-color .4s; }
.item:hover { border-color: rgba(0, 0, 0, .4); }
.item__media { position: relative; aspect-ratio: 4 / 3.2; display: grid; place-items: center; padding: 8% 10% 5%; background: #FFE4CF; }
.item__media::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 40, 0, .28), transparent); }
.item__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(120, 40, 0, .22)); transition: transform .8s var(--ease); }
.item:hover .item__media img { transform: translateY(-6px) scale(1.04); }
.item__tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 700; }
.item__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.item__name { font-family: var(--display); font-weight: 400; font-size: 1.65rem; line-height: .92; text-transform: uppercase; }
.item__top .price { font-size: 1.65rem; }
.item__desc { font-size: .9rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: .82rem; font-weight: 700; color: var(--muted);
  cursor: pointer; user-select: none;
  transition: border-color .3s, color .3s;
}
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip__box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid currentColor; display: grid; place-items: center; }
.chip__box svg { width: 12px; height: 12px; fill: none; stroke: var(--paper); stroke-width: 3; opacity: 0; }
.chip:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.chip:has(input:checked) .chip__box { background: var(--ink); border-color: var(--ink); }
.chip:has(input:checked) .chip__box svg { opacity: 1; }
.chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
  min-height: 42px; padding: 0 16px 0 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: .9rem;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.add-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.add-btn:hover { background: var(--orange); color: var(--ink); }
.add-btn:active { transform: scale(.96); }
.add-btn.is-done { background: #1F7A44; color: var(--paper); }

/* ---------- Fièrement marocain ---------- */
.pride { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(100px, 11vw, 160px) 0; }
.pride__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.pride__text { margin: 24px 0 0; max-width: 44ch; font-size: 1.1875rem; color: var(--on-ink); }
.pride__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px; margin: 40px 0 38px; }
.pride__facts div { display: flex; flex-direction: column-reverse; gap: 8px; }
.pride__facts dd { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.6rem); line-height: .8; color: var(--orange); }
.pride__facts dt { font-size: .9rem; color: var(--on-ink); }
.pride .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pride__visual { position: relative; aspect-ratio: 1 / .92; }
.pride__visual::before { content: ""; position: absolute; left: 50%; top: 52%; width: 84%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--orange); }
.pv { position: absolute; filter: drop-shadow(0 30px 24px rgba(0, 0, 0, .45)); }
.pv--shake { width: 30%; left: 35%; top: 0; }
.pv--box { width: 60%; right: -6%; bottom: 6%; }
.pv--mac { width: 40%; left: 2%; bottom: 2%; }

/* ---------- Restaurants ---------- */
.places { background: var(--paper); padding: clamp(90px, 10vw, 140px) 0; }
.places__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.place-card { padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.place-card h3 { font-size: .9375rem; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.place-card--hours { background: var(--orange); border-color: var(--orange); }
.place-card--hours h3 { color: rgba(0, 0, 0, .7); }
.place-card__big { font-family: var(--display); font-size: 2.6rem; line-height: .9; text-transform: uppercase; }
.hours { margin: 18px 0 22px; display: grid; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .2); font-weight: 700; }
.hours li span:first-child { font-weight: 500; }
.place-card--hours .live { font-size: .9rem; font-weight: 700; }
.place-card--hours .live__dot[data-open="false"] { background: var(--ink); }
.cities li { font-family: var(--display); font-size: clamp(2.6rem, 3.8vw, 3.6rem); line-height: .95; text-transform: uppercase; }
.spots { display: grid; }
.spots a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; transition: padding .4s var(--ease); }
.spots li:last-child a { border-bottom: 0; }
.spots a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.spots a:hover { padding-left: 8px; }
.spots a:hover svg { transform: translate(2px, -2px); }

/* ---------- Final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 14vw, 200px) 0; background: var(--orange); text-align: center; }
.final__light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 50%, var(--orange-hi), rgba(255, 84, 20, 0) 75%), radial-gradient(130% 90% at 50% 40%, #FA5A16 0%, var(--orange-lo) 100%); }
.final__in { position: relative; z-index: 2; }
.final__title { font-family: var(--display); font-size: clamp(3.6rem, 10vw, 10.5rem); line-height: .84; text-transform: uppercase; }
.final__ctas { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.final .btn--line { border-color: var(--ink); }
.final__food { position: absolute; z-index: 1; width: clamp(240px, 26vw, 420px); filter: drop-shadow(0 34px 26px rgba(80, 12, 0, .45)); pointer-events: none; }
.final__food--l { left: -5%; bottom: -6%; transform: rotate(-14deg); }
.final__food--r { right: -5%; top: -2%; transform: rotate(12deg); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding: 72px 0 0; --logo-ink: var(--paper); }
.footer__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); padding-bottom: 56px; }
.footer__brand svg { width: 112px; height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a { width: max-content; transition: color .3s; }
.footer__cols a:hover { color: var(--paper); }
.footer__h { font-family: var(--display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; color: var(--paper); margin-bottom: 6px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 244, 230, .12); font-size: .875rem; }

/* ---------- Dock (mobile) ---------- */
.dock {
  position: fixed; z-index: 80; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px;
  height: 60px; padding: 0 22px 0 10px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 700; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
  transform: translateY(150%); transition: transform .6s var(--ease);
}
.past-hero .dock.is-on { transform: none; }
.dock__count { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .9rem; }
.dock__label { flex: 1; text-align: left; }
.dock__total { font-family: var(--display); font-size: 1.5rem; }

/* ---------- Cart ---------- */
.cart { position: fixed; inset: 0; z-index: 150; }
.cart[hidden] { display: none; }
.cart__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .4s; }
.cart.is-open .cart__scrim { opacity: 1; }
.cart__panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px));
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  transform: translateX(calc(100% + 20px)); transition: transform .6s var(--ease);
}
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.cart__title { font-family: var(--display); font-size: 2.4rem; line-height: .9; text-transform: uppercase; }
.cart__items { flex: 1; overflow-y: auto; padding: 6px 22px; overscroll-behavior: contain; }
.cart__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__thumb { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; padding: 6px; background: #FFE4CF; }
.cart__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart__name { font-weight: 700; line-height: 1.25; }
.cart__unit { font-size: .85rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; font-weight: 700; transition: background-color .2s; }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .95rem; }
.cart__empty { flex: 1; display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 30px 22px; color: var(--muted); }
.cart__empty-title { font-family: var(--display); font-size: 2.2rem; line-height: .9; text-transform: uppercase; color: var(--ink); }
.cart__empty .btn { margin-top: 10px; }
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items, .cart.is-empty .cart__foot { display: none; }
.cart__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.cart__mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.cart__mode label { position: relative; }
.cart__mode input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cart__mode span { display: grid; place-items: center; min-height: 42px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background-color .3s, color .3s; }
.cart__mode input:checked + span { background: var(--ink); color: var(--paper); }
.cart__mode input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.cart__total strong { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: .9; }
.cart__note { font-size: .8125rem; color: var(--muted); text-align: center; }

.fly { position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none; will-change: transform; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .35)); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 170;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: .92rem;
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none; white-space: nowrap;
  transition: transform .6s var(--ease), opacity .3s;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BD47A; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .sig-grid, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sig-grid .sig:nth-child(4) { display: none; }
  .hero__product-desc { display: none; }
  .hero__info { flex-direction: column; align-items: flex-end; gap: 12px; }
  .hero__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .thumb { width: 54px; height: 54px; }
}

@media (max-width: 899px) {
  :root { --header-h: 66px; }
  .header__in { grid-template-columns: 1fr auto; }
  .header__nav, .header__cta { display: none; }
  .header__burger { display: grid; }
  .brand__mark { height: 36px; }

  .hero { min-height: 600px; }
  .hero__center--word { align-content: start; padding: calc(var(--header-h) + 3vh) 0 0; }
  .hero__center--stage { align-content: start; padding: calc(var(--header-h) + 5vh + var(--word-h, 110px) * .7) 0 0; }
  .hero__stage { width: var(--stage-w, min(86vw, 42vh)); }
  .hero__bottom { grid-template-columns: 1fr; gap: 14px; }
  .hero__intro { order: 3; }
  .hero__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__ctas { margin-top: 0; }
  .hero__ctas .btn { flex: 1; }
  .hero__ctas .link { display: none; }
  .hero__nav { order: 2; flex-direction: row; justify-content: space-between; }
  .thumb { width: 52px; height: 52px; }
  .thumbs { gap: 8px; }
  .hero__hint::before { display: none; }
  .hero__hint { margin-left: 8px; }
  .hero__info { order: 1; justify-self: stretch; flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left; }
  .hero__product-name { max-width: 9ch; }
  .hero__product-desc { display: none; }

  .sig-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(-1 * var(--gutter)); padding: 70px var(--gutter) 6px; scrollbar-width: none;
  }
  .sig-grid::-webkit-scrollbar { display: none; }
  .sig-grid .sig { flex: 0 0 74vw; scroll-snap-align: center; }
  .sig-grid .sig:nth-child(4) { display: flex; }

  .family__in { grid-template-columns: 1fr; }
  .family__visual { order: -1; }
  .family__boxes { width: min(100%, 460px); }
  .seg { max-width: none; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .item { border-radius: 18px; }
  .item__body { padding: 14px 14px 16px; }
  .item__top { flex-direction: column; gap: 4px; }
  .item__name { font-size: 1.3rem; }
  .item__top .price { font-size: 1.4rem; }
  .item__desc { font-size: .82rem; }
  .item__foot { flex-wrap: wrap; }
  .chip { min-height: 34px; font-size: .75rem; }
  .add-btn { min-height: 38px; padding: 0 12px; font-size: .82rem; margin-left: 0; }

  .pride__in { grid-template-columns: 1fr; }
  .pride__facts { gap: 26px; }
  .pride__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .places__grid { grid-template-columns: 1fr; }

  .final__food { width: 46vw; }
  .final__food--l { left: -16%; bottom: -5%; }
  .final__food--r { right: -16%; top: -2%; }

  .footer__in { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  .dock { display: flex; }
  .toast { bottom: 86px; }
}

/* phone in landscape: the whole hero must fit one short screen */
@media (max-width: 899px) and (orientation: landscape) and (max-height: 540px) {
  .hero { min-height: 0; }
  .hero__center--word { padding-top: calc(var(--header-h) + 1vh); }
  .hero__center--stage { padding-top: calc(var(--header-h) + var(--word-h, 90px) * .4); }
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; padding-bottom: 14px; }
  .hero__intro { display: none; }
  .hero__info { order: 0; }
  .hero__nav { order: 0; }
  .hero__product-name { max-width: none; }
  .hero__price { font-size: 2.6rem; }
  .thumb { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
