/* ============================================================
   BOUCHERIE ARROUD — direction artistique
   Papier boucher, sang de bœuf, laiton, acier des casiers.
   ============================================================ */

:root {
  --ink: #15110f;
  --ink-2: #211a17;
  --ink-3: #2e2522;
  --paper: #ebe3d4;
  --paper-2: #dfd4c1;
  --bone: #f5f0e6;
  --blood: #7a160f;
  --blood-2: #9e2216;
  --fat: #ecccbf;
  --brass: #c09a5e;
  --steel: #8b9294;
  --ok: #7fd18b;
  --line: rgba(21, 17, 15, .16);
  --line-l: rgba(245, 240, 230, .14);

  --f-display: "Gloock", "Times New Roman", serif;
  --f-cond: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --g: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(.75, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

/* grain papier */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blood); color: var(--bone); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { opacity: .68; }
.small { font-size: 11px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 209, 139, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127, 209, 139, 0); } }

.h2 { font: 400 clamp(40px, 5.6vw, 92px)/.95 var(--f-display); letter-spacing: -.02em; margin: 0; max-width: 14ch; }
.h3 { font: 900 clamp(34px, 3.4vw, 54px)/.9 var(--f-cond); text-transform: uppercase; margin: 0 0 14px; letter-spacing: .005em; }

.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); padding: 0; border: 0; background-color: transparent; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: 0;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em;
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg); transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover:not(:disabled)::before { transform: none; }
.btn:hover:not(:disabled) { color: var(--bg); }
.btn__arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--blood { --bg: var(--blood); --fg: var(--bone); }
.btn--ghost { --bg: transparent; --fg: var(--bone); border-color: var(--line-l); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--ink) !important; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--full { width: 100%; }
.btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- loader : balance ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--bone);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__scale {
  display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 12px;
  padding: 28px 34px 22px; border: 1px solid var(--line-l);
  background: linear-gradient(#0d0b0a, #1a1412);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .6);
}
.loader__label { grid-column: 1 / -1; color: var(--steel); margin-bottom: 8px; font-size: 10px; }
.loader__kg { font: 500 clamp(64px, 14vw, 150px)/1 var(--f-cond); color: #ff5a3c; text-shadow: 0 0 22px rgba(255, 70, 40, .55); font-variant-numeric: tabular-nums; min-width: 4.2ch; text-align: right; }
.loader__unit { font: 700 28px var(--f-cond); color: #ff5a3c; opacity: .7; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--g);
  color: var(--bone);
  mix-blend-mode: difference;
}
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid currentColor; font: 900 22px/1 var(--f-cond); }
.nav__word { font: 900 26px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .04em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font: 500 14px var(--f-body); text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cart { display: flex; align-items: center; gap: 12px; background: none; border: 1.5px solid currentColor; height: 42px; padding: 0 16px; }
.nav__count { font: 900 20px/1 var(--f-cond); min-width: 1ch; }
.nav__cart.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.08); } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  background: var(--ink); color: var(--bone);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4vw;
  padding: calc(var(--nav-h) + 40px) var(--g) 90px;
  overflow: hidden;
}
.hero::before { /* lueur des casiers */
  content: ""; position: absolute; right: -10%; top: 10%; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(158, 34, 22, .28), transparent 70%);
  pointer-events: none;
}
.hero__title { margin: 0 0 28px; font-weight: 400; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; font: 400 clamp(54px, 8.4vw, 148px)/.9 var(--f-display); letter-spacing: -.03em; }
.hero__title .line--cond > span { font: 900 clamp(62px, 10vw, 178px)/.84 var(--f-cond); text-transform: uppercase; color: var(--brass); letter-spacing: -.01em; }
.hero__lead { max-width: 44ch; font-size: clamp(16px, 1.25vw, 19px); color: rgba(245, 240, 230, .78); margin: 0 0 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ticker {
  position: absolute; left: var(--g); right: var(--g); bottom: 26px;
  display: flex; gap: 14px; flex-wrap: wrap;
  color: rgba(245, 240, 230, .6); border-top: 1px solid var(--line-l); padding-top: 14px;
}
.hero__ticker b { color: var(--bone); font-weight: 500; }
.hero__ticker .sep { opacity: .4; }

/* mur de casiers */
.hero__wall { position: relative; perspective: 1400px; }
.wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px; background: #0b0908;
  border: 1px solid #2a2220;
  transform-style: preserve-3d;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9);
}
.locker { position: relative; aspect-ratio: 3 / 3.5; perspective: 900px; }
.locker__in {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #e9f2f4 0%, #c7d3d6 100%);
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, .35);
  display: flex; align-items: flex-end; padding: 10px;
  overflow: hidden;
}
.locker__in::before { /* lumière froide */
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 3px; background: #fff; box-shadow: 0 0 18px 6px rgba(200, 240, 255, .7);
}
.parcel {
  width: 100%; padding: 8px 9px; background: var(--paper); color: var(--ink);
  font: 500 9.5px/1.35 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
  transform: rotate(-2deg);
}
.parcel b { display: block; font: 900 15px/1 var(--f-cond); letter-spacing: .02em; margin-bottom: 3px; }
.locker__door {
  position: absolute; inset: 0;
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease);
  transform-style: preserve-3d;
  background:
    repeating-linear-gradient(180deg, transparent 0 5px, rgba(0, 0, 0, .35) 5px 7px) 50% 16% / 46% 16% no-repeat,
    linear-gradient(135deg, #8a1b13 0%, #6c140e 55%, #5a100b 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3);
  display: flex; align-items: flex-end; justify-content: space-between; padding: 10px 11px;
}
.locker__door::after { /* poignée */
  content: ""; position: absolute; right: 9px; top: 46%; width: 4px; height: 26px; border-radius: 2px;
  background: linear-gradient(90deg, #6d5737, var(--brass), #6d5737);
}
.locker__num, .locker__led { backface-visibility: hidden; }
.locker__num { font: 700 clamp(18px, 2vw, 30px)/1 var(--f-cond); color: var(--brass); letter-spacing: .02em; }
.locker__led { width: 7px; height: 7px; border-radius: 50%; background: #3a120f; box-shadow: inset 0 0 2px #000; margin-bottom: 4px; }
.locker.is-busy .locker__led { background: #ff5a3c; box-shadow: 0 0 8px #ff5a3c; }
.locker.is-ready .locker__led { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.locker.is-open .locker__door { transform: rotateY(-108deg); }
.locker.is-ready .locker__door { background-color: #8a1b13; }
.wall__plate {
  display: flex; justify-content: space-between; margin-top: 10px; color: var(--steel); font-size: 11px;
}

/* ---------- bande défilante ---------- */
.band { background: var(--blood); color: var(--bone); overflow: hidden; border-block: 1px solid #000; }
.band__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.band span, .band i { font: 900 clamp(28px, 3.4vw, 52px)/1 var(--f-cond); text-transform: uppercase; padding: 18px 22px; white-space: nowrap; font-style: normal; }
.band i { color: var(--brass); font-size: .7em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- principe (scroll horizontal desktop) ---------- */
.steps { background: var(--paper); overflow: hidden; }
.steps__track { display: flex; gap: 0; width: max-content; min-height: 100svh; }
.steps__intro, .step {
  width: min(78vw, 1050px); flex: none;
  padding: calc(var(--nav-h) + 50px) var(--g) 70px;
  border-right: 1px solid var(--line);
}
.steps__intro { width: min(52vw, 720px); display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; }
.steps__intro .muted { max-width: 38ch; }
.step { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 20px 4vw; align-items: end; }
.step__n { grid-column: 1 / -1; font: 900 clamp(120px, 17vw, 280px)/.8 var(--f-cond); color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.02em; }
.step__body p { max-width: 36ch; margin: 0; }
.step__visual { display: grid; place-items: center; align-self: center; min-height: 340px; }
.hint { display: block; margin-top: 18px; color: var(--blood); font-style: normal; }

.receipt {
  width: 270px; background: var(--bone); padding: 22px 20px 26px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .35);
  transform: rotate(3deg);
  --zig: 7px;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
}
.receipt__head { text-align: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); line-height: 1.6; }
.receipt ul { list-style: none; margin: 14px 0; padding: 0; }
.receipt li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; text-transform: none; font-size: 11.5px; }
.receipt__total { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 14px; font-weight: 500; }
.receipt__foot { margin-top: 18px; text-align: center; color: var(--blood); }
.receipt li { opacity: 0; transform: translateY(6px); transition: .5s var(--ease-out); }
.receipt.is-printed li { opacity: 1; transform: none; }
.receipt.is-printed li:nth-child(2) { transition-delay: .25s; }
.receipt.is-printed li:nth-child(3) { transition-delay: .5s; }

.scale {
  display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px;
  background: linear-gradient(#0d0b0a, #1d1714); color: #ff5a3c; padding: 26px 30px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55), inset 0 0 30px rgba(0, 0, 0, .7);
  border: 10px solid #2a2321; border-radius: 6px;
}
.scale__label, .scale__sub { grid-column: 1 / -1; color: var(--steel); font-size: 10px; }
.scale__sub { margin-top: 10px; }
.scale__value { font: 500 clamp(64px, 7vw, 110px)/1 var(--f-cond); text-shadow: 0 0 18px rgba(255, 70, 40, .5); font-variant-numeric: tabular-nums; }
.scale__unit { font: 700 24px var(--f-cond); opacity: .7; }

.keypad { display: flex; gap: 18px; align-items: stretch; }
.keypad__box { position: relative; width: 150px; perspective: 700px; background: linear-gradient(#e9f2f4, #c7d3d6); box-shadow: inset 0 10px 22px rgba(0, 0, 0, .3); }
.keypad__inside { position: absolute; inset: auto 10px 12px; background: var(--paper); padding: 8px; font-size: 10px; transform: rotate(-3deg); }
.keypad__door {
  position: absolute; inset: 0; z-index: 2; transform-origin: 0 50%; transition: transform 1.1s var(--ease);
  background: linear-gradient(135deg, #8a1b13, #5a100b); display: flex; align-items: flex-end; padding: 12px;
}
.keypad__door span { font: 700 34px/1 var(--f-cond); color: var(--brass); }
.keypad.is-open .keypad__door { transform: rotateY(-110deg); }
.keypad__pad { width: 190px; background: var(--ink); padding: 14px; border-radius: 4px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5); }
.keypad__screen { background: #0b1a10; color: var(--ok); font-size: 15px; padding: 12px 8px; text-align: center; margin-bottom: 12px; letter-spacing: .15em; text-shadow: 0 0 8px rgba(127, 209, 139, .6); min-height: 44px; }
.keypad__screen.is-err { color: #ff5a3c; text-shadow: 0 0 8px rgba(255, 90, 60, .6); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.keypad__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.keypad__keys button {
  height: 40px; border: 0; background: #2b2320; color: var(--bone);
  font: 700 18px var(--f-cond); border-radius: 3px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .45);
  transition: transform .1s, background .2s;
}
.keypad__keys button:active { transform: translateY(2px); box-shadow: none; }
.keypad__keys button:hover { background: #3a302c; }
.keypad__keys [data-k="ok"] { background: var(--blood); }

/* ---------- carte des morceaux ---------- */
.chart { background: var(--bone); padding: 140px var(--g) 120px; border-top: 1px solid var(--line); }
.chart__head { display: grid; grid-template-columns: 1fr; margin-bottom: 60px; }
.chart__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 5vw; align-items: center; }
.chart__cow svg { width: 100%; height: auto; overflow: visible; }
.cow__zones path {
  fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round;
  cursor: pointer; transition: fill .35s var(--ease);
}
.cow__zones path:hover, .cow__zones path.is-on { fill: var(--blood); }
.cow__zones path:focus-visible { outline: none; fill: var(--blood-2); }
.cow__deco path, .cow__deco rect { fill: var(--ink); }
.cow__deco .tail { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.cow__shadow path { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.4; }
.cow__eye { fill: var(--ink); pointer-events: none; }
.cow__labels { pointer-events: none; }
.cow__labels text { font: 500 10.5px var(--f-mono); letter-spacing: .08em; fill: var(--ink); text-anchor: middle; transition: fill .3s; }
.cow__labels text.is-on { fill: var(--bone); }
.chart__panel { border-top: 2px solid var(--ink); padding-top: 22px; min-height: 340px; }
.chart__kicker { color: var(--blood); }
.chart__name { font: 900 clamp(48px, 5vw, 84px)/.9 var(--f-cond); text-transform: uppercase; margin: 16px 0 24px; }
.chart__list { list-style: none; padding: 0; margin: 0 0 28px; }
.chart__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chart__list li span:first-child { font: 400 22px var(--f-display); }
.chart__list li span:last-child { font-family: var(--f-mono); font-size: 13px; white-space: nowrap; align-self: center; }

/* ---------- comptoir ---------- */
.counter { padding: 140px var(--g) 140px; background: var(--paper); }
.counter__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; }
.counter__note { max-width: 34ch; margin: 0; }
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; background: none; border: 0; padding: 16px 22px 14px;
  font: 900 clamp(22px, 2.2vw, 32px)/1 var(--f-cond); text-transform: uppercase; letter-spacing: .02em;
  color: rgba(21, 17, 15, .4); transition: color .3s; white-space: nowrap;
}
.tab sup { font: 500 10px var(--f-mono); margin-left: 4px; vertical-align: top; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--bone); }
.tab::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.tab[aria-selected="true"]::before { transform: scaleY(1); }
.tab { z-index: 0; }
.counter__filter { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--blood); }
.counter__filter button { background: var(--blood); color: var(--bone); border: 0; padding: 6px 10px; font: inherit; }

.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.row {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, .8fr) 150px minmax(0, 1.7fr);
  gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.row::before { /* balayage au survol */
  content: ""; position: absolute; inset: 0 calc(var(--g) * -1); background: var(--bone); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.row:hover::before { transform: scaleY(1); }
.row { z-index: 0; }
.row__idx { color: var(--blood); }
.row__name h3 { font: 400 clamp(26px, 2.4vw, 38px)/1 var(--f-display); margin: 0 0 6px; letter-spacing: -.01em; }
.row__name p { margin: 0; font-size: 14.5px; opacity: .7; }
.row__origin { opacity: .65; }
.row__price { font: 700 30px/1 var(--f-cond); white-space: nowrap; }
.row__price small { font: 500 11px var(--f-mono); opacity: .6; margin-left: 4px; text-transform: uppercase; }
.row__pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.opt {
  height: 40px; padding: 0 12px; border: 1px solid var(--line); background: transparent;
  font: 500 12px var(--f-mono); letter-spacing: .04em; transition: .25s;
}
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.cut {
  height: 40px; border: 1px solid var(--line); background: transparent; padding: 0 30px 0 10px;
  font: 500 12px var(--f-mono); appearance: none; border-radius: 0; max-width: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2315110f'/%3E%3C/svg%3E") right 10px center no-repeat;
}
.add {
  height: 40px; padding: 0 16px; border: 0; background: var(--blood); color: var(--bone);
  font: 600 13px var(--f-body); display: inline-flex; gap: 10px; align-items: center; min-width: 150px; justify-content: space-between;
  transition: background .3s;
}
.add:hover { background: var(--ink); }
.add b { font: 500 12px var(--f-mono); }
.add.is-added { background: #2f6b3a; }
.row.is-hidden { display: none; }

.teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tcard { position: relative; display: grid; gap: 4px; text-decoration: none; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tcard__art { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 12px; }
.tcard__art .art { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.tcard:hover .tcard__art .art { transform: scale(1.06); }
.tcard__rank { color: var(--blood); }
.tcard__name { font: 400 clamp(26px, 2.4vw, 36px)/1 var(--f-display); }
.tcard__price { opacity: .7; }
.tcard__go { position: absolute; right: 0; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--blood); color: var(--bone); display: grid; place-items: center; font-size: 24px; transition: transform .4s var(--ease); }
.tcard:hover .tcard__go { transform: rotate(90deg); }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .teaser { grid-template-columns: 1fr; } }

/* ---------- manifeste ---------- */
.manifesto { background: var(--ink); color: var(--bone); padding: 180px var(--g); }
.manifesto__text { margin: 0 auto; max-width: 22ch; font: 400 clamp(36px, 5.2vw, 88px)/1.04 var(--f-display); letter-spacing: -.02em; text-align: center; }
.manifesto__text .mw { opacity: .14; transition: opacity .2s; }

/* ---------- infos ---------- */
.infos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px var(--g); padding: 120px var(--g); background: var(--paper); }
.infos__col { border-top: 2px solid var(--ink); padding-top: 20px; }
.infos__addr { font: 400 28px/1.15 var(--f-display); font-style: normal; margin-bottom: 18px; }
.hours { margin: 0; display: grid; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; text-align: right; font-family: var(--f-mono); font-size: 13px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts b { font: 900 30px/1 var(--f-cond); color: var(--blood); margin-right: 6px; }

/* ---------- footer ---------- */
.foot { background: var(--blood); color: var(--bone); overflow: hidden; }
.foot__word { overflow: hidden; display: flex; justify-content: space-between; padding: 40px var(--g) 0; font: 900 clamp(90px, 25vw, 440px)/.78 var(--f-cond); text-transform: uppercase; }
.foot__word span { display: inline-block; }
.foot__bar { display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 24px var(--g); border-top: 1px solid rgba(255, 255, 255, .2); }
.foot__bar a { text-decoration: none; opacity: .8; } .foot__bar a:hover { opacity: 1; }
.foot__bar > span:first-child { margin-right: auto; }

/* ---------- drawer ticket ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(21, 17, 15, .55); opacity: 0; transition: opacity .5s; backdrop-filter: blur(2px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%);
  background: var(--paper); transform: translateX(100%); transition: transform .7s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); padding: 0 24px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__close { background: none; border: 0; font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.drawer__views { flex: 1; display: grid; grid-template-columns: 100% 100%; transition: transform .7s var(--ease); min-height: 0; }
.drawer__views.is-step2 { transform: translateX(-100%); }
.view { overflow-y: auto; padding: 26px 24px 40px; overscroll-behavior: contain; }

.ticket {
  background: var(--bone); padding: 22px 20px 30px; margin-bottom: 20px;
  --zig: 8px;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  box-shadow: 0 2px 0 var(--line);
}
.ticket__brand { text-align: center; line-height: 1.7; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.ticket__lines { list-style: none; margin: 0; padding: 0; }
.tline { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.tline__name { font: 400 20px/1.1 var(--f-display); }
.tline__meta { grid-column: 1; font: 400 11.5px var(--f-mono); opacity: .65; }
.tline__price { font: 500 14px var(--f-mono); grid-row: 1; grid-column: 2; }
.tline__qty { grid-column: 2; display: flex; align-items: center; gap: 2px; justify-self: end; }
.tline__qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: none; font: 500 14px var(--f-mono); }
.tline__qty span { min-width: 24px; text-align: center; font: 500 13px var(--f-mono); }
.ticket__empty { text-align: center; padding: 34px 0; line-height: 1.8; opacity: .6; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 13px; }
.ticket__total b { font: 700 30px/1 var(--f-cond); }

.checkout fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.checkout legend { margin-bottom: 12px; color: var(--blood); }
.checkout__back { margin-bottom: 22px; font-size: 11px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.mode__box { display: block; height: 100%; border: 1px solid var(--line); padding: 14px; cursor: pointer; transition: .25s; }
.mode__box b { display: block; font: 900 22px/1 var(--f-cond); text-transform: uppercase; margin-bottom: 6px; }
.mode__box small { font-size: 12.5px; opacity: .7; line-height: 1.35; display: block; }
.mode input:checked + .mode__box { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.mode input:focus-visible + .mode__box, .chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border: 1px solid var(--line); font: 500 12px var(--f-mono); cursor: pointer; transition: .2s; }
.chip input:checked + span { background: var(--blood); color: var(--bone); border-color: var(--blood); }
.chips--slots { padding-top: 6px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; opacity: .7; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 8px 0;
  font: 400 18px var(--f-body); color: var(--ink); border-radius: 0; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blood); }
.field input.is-invalid { border-color: #c4321f; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 16px; }
.check input { accent-color: var(--blood); width: 18px; height: 18px; margin-top: 2px; }
.form__err { color: #c4321f; min-height: 1em; margin: 0 0 10px; text-transform: none; }
.checkout .small { margin-top: 14px; line-height: 1.6; text-transform: none; }

/* ---------- toast ---------- */
.toast {
  transition: transform .6s var(--ease), visibility 0s .6s;
  position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--ink); color: var(--bone); padding: 14px 18px;
  display: flex; gap: 16px; align-items: center;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.toast button { background: none; border: 0; color: var(--brass); font: inherit; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .row { grid-template-columns: 40px 1fr 120px; grid-template-areas: "i n p" "i o o" "i k k"; gap: 10px 18px; }
  .row__idx { grid-area: i; align-self: start; padding-top: 8px; }
  .row__name { grid-area: n; } .row__price { grid-area: p; text-align: right; }
  .row__origin { grid-area: o; } .row__pick { grid-area: k; justify-content: flex-start; }
  .infos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__total { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 110px; gap: 44px; }
  .hero__wall { order: -1; max-width: 420px; width: 100%; justify-self: center; }
  .wall { grid-template-columns: repeat(4, 1fr); }
  .steps__track { flex-direction: column; width: 100%; min-height: 0; }
  .steps__intro, .step { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 90px var(--g) 70px; }
  .step { grid-template-columns: 1fr; }
  .step__visual { min-height: 0; padding-top: 20px; }
  .chart { padding: 100px var(--g); }
  .chart__grid { grid-template-columns: 1fr; }
  .chart__panel { min-height: 0; }
  .counter { padding: 100px var(--g); }
  .infos { grid-template-columns: 1fr; padding: 90px var(--g); }
  .manifesto { padding: 120px var(--g); }
}
@media (max-width: 520px) {
  .keypad { flex-direction: column; align-items: center; }
  .keypad__box { width: 190px; height: 150px; }
  .row { grid-template-columns: 1fr auto; grid-template-areas: "n p" "o o" "k k"; }
  .row__idx { display: none; }
  .row__price small { display: block; margin: 4px 0 0; text-align: right; }
  .add { flex: 1; }
  .modes { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}
