/* ==========================================================================
   L'Iberico — épicerie fine espagnole, Genève
   ========================================================================== */

:root {
  --paper: #f5eee2;
  --paper-2: #ece2d1;
  --paper-3: #e3d5bf;
  --ink: #1c1714;
  --ink-soft: #5a4f47;
  --ink-faint: #8c7f74;
  --red: #a8261b;
  --red-deep: #861c13;
  --saffron: #e2a33a;
  --olive: #5e6537;
  --night: #15110f;
  --night-2: #221b18;
  --line: rgba(28, 23, 20, 0.14);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 7.4vw, 92px);
}
h2 {
  font-size: clamp(36px, 5.2vw, 64px);
}
h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 em,
h2 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--red);
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 34em;
}

.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 720px;
}
.section-head p {
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease,
    border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-red {
  --bg: var(--red);
  --fg: #fff8ef;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-light {
  --bg: var(--paper);
  --fg: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    --bg: var(--ink-soft);
  }
  .btn-red:hover {
    --bg: var(--red-deep);
  }
  .btn-ghost:hover {
    border-color: var(--ink);
  }
  .btn-light:hover {
    --bg: #fff;
  }
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 250ms ease, box-shadow 250ms ease;
}
.header[data-scrolled="true"] {
  background: rgba(245, 238, 226, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: block;
  flex: none;
  width: 104px;
  transition: transform 160ms var(--ease-out);
}
.brand:active {
  transform: scale(0.97);
}
.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 200ms ease, background-color 200ms ease;
}
.nav a[aria-current] {
  color: var(--ink);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.nav a[aria-current]::after {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--ink);
    background: rgba(28, 23, 20, 0.06);
  }
}
.header-cta {
  white-space: nowrap;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active {
  transform: scale(0.95);
}
.menu-btn {
  align-content: center;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 160ms ease;
}
.menu-btn span + span {
  margin-top: 4px;
}
/* three lines → a cross: outer lines meet in the middle, the middle one fades */
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 68px;
  right: var(--gutter);
  left: var(--gutter);
  padding: 10px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -20px rgba(28, 23, 20, 0.35);
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.96) translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  text-decoration: none;
}
.mobile-menu a:active {
  background: var(--paper-2);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .menu-btn {
    display: grid;
  }
  .brand {
    width: 86px;
  }
  .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    margin-left: auto;
  }
  .header-inner {
    height: 68px;
  }
}
@media (max-width: 360px) {
  .header-cta {
    display: none;
  }
  .tin-hint {
    font-size: 17px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  margin-bottom: 26px;
}
.hero .lede {
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.status[data-open="true"] .status-dot {
  background: #3f8f4a;
}
.status[data-open="true"] .status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3f8f4a;
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  80%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
.status strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  padding-right: 4%;
}

/* ---------- The sardine tin ---------- */

.tin {
  --rim: 2.4cqw;
  user-select: none;
  -webkit-user-select: none;
  --r: 3.4cqw;
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1.42 / 1;
  border-radius: 5cqw;
  background: linear-gradient(145deg, #eceef1 0%, #b4b9c0 38%, #dfe2e6 58%, #8f969f 100%);
  box-shadow: 0 44px 70px -36px rgba(60, 30, 10, 0.55), 0 2px 0 rgba(255, 255, 255, 0.6) inset,
    0 -2px 0 rgba(0, 0, 0, 0.18) inset;
}
.tin-inside,
.lid {
  position: absolute;
  inset: var(--rim);
  border-radius: var(--r);
}

/* inside: sardines in golden olive oil */
.tin-inside {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 2.4cqw 5cqw;
  overflow: hidden;
  background: radial-gradient(120% 90% at 45% 35%, #f3bd4f 0%, #e3a33a 55%, #c9821f 100%);
  box-shadow: inset 0 0 0 0.35cqw rgba(90, 45, 0, 0.3), inset 0 1.6cqw 4cqw rgba(110, 55, 0, 0.35);
}
.fish {
  position: relative;
  display: block;
  width: 70%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  align-self: flex-start;
  -webkit-tap-highlight-color: transparent;
  /* the whole fish moves — drawing and label together */
  transition: transform 160ms var(--ease-out), translate 300ms var(--ease-out), rotate 300ms var(--ease-out);
}
.fish:nth-child(even) {
  align-self: flex-end;
}
.fish:active {
  transform: scale(0.97);
}
.fish-art {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0.8cqw 0.7cqw rgba(110, 55, 0, 0.35));
}
.fish-flip .fish-art {
  transform: scaleX(-1);
}
.fish-label {
  position: absolute;
  top: 50%;
  left: 54%; /* centre of the body, not counting the tail */
  translate: -50% -56%;
  display: grid;
  justify-items: center;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.fish-flip .fish-label {
  left: 46%;
}
.fish-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: max(13px, 3.3cqw);
  line-height: 1.05;
  color: var(--ink);
}
.fish-sub {
  margin-top: 0.3cqw;
  font-size: max(7.5px, 1.3cqw);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #26313b;
}
.fish:focus-visible {
  outline-offset: 0;
}
@media (hover: hover) and (pointer: fine) {
  .tin[data-open="true"] .fish:hover {
    translate: 0 -0.6cqw;
    rotate: -1.2deg;
  }
  .tin[data-open="true"] .fish-flip:hover {
    rotate: 1.2deg;
  }
}

/* the lid: the shop's label printed on tin */
.lid {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fbf3e1;
  box-shadow: inset 0 0 0 0.3cqw rgba(28, 23, 20, 0.25);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.lid:active {
  cursor: grabbing;
}
.lid-band {
  display: grid;
  place-items: center;
  flex: none;
  background: var(--red);
  color: #fff8ef;
}
.lid-band-top {
  height: 15%;
  box-shadow: 0 0.4cqw 0 var(--ink);
}
.lid-band-top span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 4cqw;
}
.lid-band-bottom {
  height: 9%;
  box-shadow: 0 -0.4cqw 0 var(--ink);
}
.lid-band-bottom span {
  font-size: max(7px, 1.4cqw);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lid-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6cqw;
  margin: 1.6cqw;
  box-shadow: inset 0 0 0 0.3cqw rgba(28, 23, 20, 0.6), inset 0 0 0 0.9cqw #fbf3e1, inset 0 0 0 1.15cqw rgba(28, 23, 20, 0.35);
}
.lid-body p {
  margin: 0;
}
.lid-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lid-oval {
  position: relative;
  flex: none;
  width: 20cqw;
  aspect-ratio: 0.72;
  border-radius: 50%;
  overflow: hidden;
  background: var(--saffron);
  box-shadow: 0 0 0 0.45cqw var(--ink), inset 0 0 0 0.9cqw var(--saffron), inset 0 0 0 1.15cqw rgba(28, 23, 20, 0.5);
}
.lid-oval img {
  /* height-driven, width follows: the drawing keeps its proportions */
  position: absolute;
  left: 50%;
  bottom: -1%;
  height: 90%;
  width: auto;
  max-width: none;
  translate: -50% 0;
}
.lid-name {
  padding: 0 1.4cqw 1.2cqw;
  border-bottom: 0.35cqw solid var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 6.6cqw;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.lid-goods {
  margin-top: 1.6cqw !important;
  font-size: max(7px, 1.45cqw);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lid-place {
  margin-top: 0.8cqw !important;
  font-size: max(7px, 1.4cqw);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.lid-stamp {
  position: absolute;
  top: 2cqw;
  right: 2cqw;
  display: grid;
  place-content: center;
  width: 11cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  text-align: center;
  color: var(--red);
  box-shadow: inset 0 0 0 0.45cqw currentColor, inset 0 0 0 1cqw #fbf3e1, inset 0 0 0 1.25cqw currentColor;
  rotate: -12deg;
}
.lid-stamp b {
  font-size: max(7px, 1.7cqw);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lid-stamp small {
  font-size: max(6px, 1.1cqw);
  font-weight: 600;
}
.lid-stamp[data-open="true"] {
  color: var(--olive);
}
/* on a small tin the stamp would crowd the label; the status pill already says it */
@container (max-width: 420px) {
  .lid-stamp {
    display: none;
  }
  .tin-inside {
    padding: 2cqw 3cqw;
  }
  .fish {
    width: 88%;
  }
}
@media (max-width: 560px) {
  .tin {
    aspect-ratio: 1.2 / 1;
  }
}

/* the rolled metal edge that follows the key */
.lid-edge {
  position: absolute;
  top: var(--rim);
  bottom: var(--rim);
  left: 0;
  width: 2.6cqw;
  border-radius: 1.4cqw;
  background: linear-gradient(90deg, #858c95 0%, #f2f3f5 32%, #c2c7cd 55%, #eef0f2 72%, #7b828b 100%);
  box-shadow: -0.8cqw 0 1.4cqw rgba(60, 30, 0, 0.28);
  pointer-events: none;
}
.tin-key {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11cqw;
  height: 8cqw;
  margin-top: -4cqw;
  padding: 0;
  border: 0;
  background: none;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.tin-key:active {
  cursor: grabbing;
}
.tin-key-stem {
  position: absolute;
  left: 0.6cqw;
  top: 50%;
  width: 5cqw;
  height: 1.4cqw;
  margin-top: -0.7cqw;
  border-radius: 1cqw;
  background: linear-gradient(#f0f1f3, #9aa1aa);
  box-shadow: 0 0.3cqw 0.5cqw rgba(0, 0, 0, 0.25);
}
.tin-key-ring {
  position: absolute;
  right: 0;
  top: 50%;
  width: 6.8cqw;
  height: 6.8cqw;
  margin-top: -3.4cqw;
  border-radius: 50%;
  border: 1.4cqw solid #c9cdd3;
  box-shadow: inset 0 0 0 0.3cqw rgba(0, 0, 0, 0.22), 0 0 0 0.3cqw rgba(0, 0, 0, 0.18),
    0 0.6cqw 1cqw rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(226, 163, 58, 0.45);
  transition: box-shadow 200ms ease;
}
.tin-key:focus-visible {
  outline: none;
}
.tin-key:focus-visible .tin-key-ring,
.tin-key:active .tin-key-ring {
  box-shadow: inset 0 0 0 0.3cqw rgba(0, 0, 0, 0.22), 0 0 0 0.3cqw rgba(0, 0, 0, 0.18),
    0 0.6cqw 1cqw rgba(0, 0, 0, 0.28), 0 0 0 1.4cqw rgba(226, 163, 58, 0.45);
}
@media (hover: hover) and (pointer: fine) {
  .tin-key:hover .tin-key-ring {
    box-shadow: inset 0 0 0 0.3cqw rgba(0, 0, 0, 0.22), 0 0 0 0.3cqw rgba(0, 0, 0, 0.18),
      0 0.6cqw 1cqw rgba(0, 0, 0, 0.28), 0 0 0 1.4cqw rgba(226, 163, 58, 0.45);
  }
}
/* until someone touches it, the key gives a little tug now and then */
.tin[data-touched="false"] .tin-key > span {
  animation: tug 3.2s var(--ease-in-out) 1.4s 3;
}
@keyframes tug {
  0%,
  70%,
  100% {
    translate: 0 0;
  }
  78% {
    translate: -2.4cqw 0;
  }
  86% {
    translate: 0 0;
  }
  92% {
    translate: -1.2cqw 0;
  }
}

.tin-hint {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--red);
  transition: opacity 200ms ease, filter 200ms ease;
}
.tin-hint svg {
  width: 34px;
  height: auto;
  transition: opacity 200ms ease;
}
.tin-hint[data-swapping="true"] {
  opacity: 0;
  filter: blur(4px);
}
.tin[data-open="true"] + .tin-hint svg {
  display: none;
}

/* the tin arrives with the rest of the hero */
.js .tin {
  opacity: 0;
  translate: 0 18px;
}
.js .is-loaded .tin {
  opacity: 1;
  translate: 0 0;
  transition: opacity 700ms var(--ease-out) 200ms, translate 900ms var(--ease-out) 200ms;
}

/* Hero entrance */
.js .hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
}
.js .is-loaded .hero-copy > * {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js .is-loaded .hero-copy > :nth-child(2) {
  transition-delay: 70ms;
}
.js .is-loaded .hero-copy > :nth-child(3) {
  transition-delay: 140ms;
}
.js .is-loaded .hero-copy > :nth-child(4) {
  transition-delay: 210ms;
}
.js .is-loaded .hero-copy > :nth-child(5) {
  transition-delay: 280ms;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    width: 100%;
    max-width: 560px;
    margin: 12px auto 0;
    padding-right: 6%;
  }
}

/* ---------- Marquee ---------- */

.marquee-outer {
  overflow: hidden;
  padding: 24px 0;
  margin: -24px 0;
}
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-1.2deg);
  margin: 0 -20px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "✦";
  font-style: normal;
  font-size: 0.6em;
  color: var(--saffron);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sandwich bar ---------- */

.comptoir {
  background: var(--paper);
}
.comptoir-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.stage {
  position: sticky;
  top: 100px;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 100%, #3a2a20 0%, var(--night) 70%);
  color: var(--paper);
  padding: 28px 28px 24px;
  overflow: hidden;
  isolation: isolate;
}
.stage::before {
  /* tiles pattern on the back wall */
  content: "";
  position: absolute;
  inset: 0 0 38% 0;
  z-index: -1;
  opacity: 0.08;
  background-image: radial-gradient(circle at 50% 50%, transparent 9px, var(--paper) 10px, transparent 11px),
    radial-gradient(circle at 0 0, var(--paper) 2px, transparent 3px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.stage-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
}
.stage-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  margin: 6px 0 4px;
}
.stage-desc {
  margin: 0;
  color: rgba(245, 238, 226, 0.7);
  font-size: 15px;
  min-height: 1.6em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  min-height: 28px;
}
.chips li {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 238, 226, 0.16);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(245, 238, 226, 0.4);
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, opacity 250ms ease;
}
.chips li[data-on="true"] {
  color: #f5e3c0;
  background: rgba(226, 163, 58, 0.16);
  border-color: rgba(226, 163, 58, 0.45);
}
/* "Le vôtre": tags become toggles */
.chip-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.chip-btn:disabled {
  cursor: default;
}
.stage[data-custom="true"] .chips li {
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, opacity 250ms ease,
    transform 160ms var(--ease-out);
}
.stage[data-custom="true"] .chips li:active {
  transform: scale(0.95);
}
.stage[data-custom="true"] .chips li[data-sel="false"] {
  border-style: dashed;
  border-color: rgba(245, 238, 226, 0.28);
  color: rgba(245, 238, 226, 0.55);
}
.stage[data-custom="true"] .chips li[data-sel="false"] .chip-btn::before {
  content: "+ ";
  color: var(--saffron);
}
@media (hover: hover) and (pointer: fine) {
  .stage[data-custom="true"] .chips li[data-sel="false"]:hover {
    border-color: rgba(226, 163, 58, 0.6);
    color: var(--paper);
  }
}
.chips li .chip-btn {
  padding: 3px 10px;
  margin: -3px -10px;
}
.menu-item-custom .num {
  color: var(--saffron);
}
.chips li[data-eaten="true"] {
  opacity: 0.35;
  text-decoration: line-through;
}
.stage-name,
.stage-desc,
.chips {
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms var(--ease-out);
}
.stage[data-swapping="true"] .stage-name,
.stage[data-swapping="true"] .stage-desc,
.stage[data-swapping="true"] .chips {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(4px);
}

.board {
  position: relative;
  min-height: 300px;
  padding-top: 32px;
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.board::after {
  /* cutting board */
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0;
  height: 26px;
  border-radius: 14px;
  background: linear-gradient(#b5834f, #8e6136);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), 0 18px 30px -10px rgba(0, 0, 0, 0.6);
  z-index: 0;
}
.sandwich {
  position: relative;
  z-index: 1;
  width: min(92%, 400px);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 100%;
}
.sandwich:focus-visible {
  outline-offset: 10px;
  border-radius: 20px;
}
.layer {
  display: block;
  width: 100%;
  height: auto;
  /* overlap scales with the sandwich, so it looks the same on every screen */
  margin-top: -4.9%;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.28));
}
.layer:first-child {
  margin-top: 0;
}
.layer.bun-top {
  position: relative;
  z-index: 2;
  margin-bottom: -1.6%;
}
.layer[data-art="oil"] {
  /* the drizzle sits on top of the rocket rather than under it */
  position: relative;
  z-index: 1;
  filter: none;
}
.layer.bun-bottom {
  margin-top: -3.6%;
}

.crumb {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #d9a463;
  pointer-events: none;
}

.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
  color: rgba(245, 238, 226, 0.65);
}
.stage-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 238, 226, 0.12);
}
.pickup {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  min-width: 0;
}
.pickup-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
}
.pickup select {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 38px 0 14px;
  border: 1px solid rgba(245, 238, 226, 0.22);
  border-radius: 12px;
  background: rgba(245, 238, 226, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23f5eee2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .pickup select:hover {
    border-color: rgba(245, 238, 226, 0.45);
  }
}
.order-btn {
  flex: none;
}
.order-btn[aria-disabled="true"] {
  opacity: 0.5;
}
@media (max-width: 560px) {
  .order-btn {
    width: 100%;
  }
}
.bites {
  display: flex;
  gap: 6px;
}
.bites i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 238, 226, 0.4);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out);
}
.bites i[data-on="true"] {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: scale(1.15);
}

.stage-done {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  background: rgba(21, 17, 15, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.stage-done[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.stage-done > * {
  transform: translateY(8px) scale(0.98);
  transition: transform 320ms var(--ease-out);
}
.stage-done[data-open="true"] > * {
  transform: none;
}
.stage-done strong {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  font-style: italic;
  color: var(--saffron);
  line-height: 1.1;
}
.stage-done p {
  margin: 0;
  max-width: 26em;
  color: rgba(245, 238, 226, 0.85);
}
.stage-done .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* menu list */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.menu-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.menu-item:active {
  transform: scale(0.99);
}
.menu-item .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 17px;
  transition: color 200ms ease;
}
.menu-item .name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.menu-item .fill {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.menu-item .arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}
.menu-item .arrow svg {
  width: 16px;
  height: 16px;
}
.menu-item[aria-pressed="true"] .num {
  color: var(--red);
}
.menu-item[aria-pressed="true"] .arrow {
  background: var(--red);
  color: #fff8ef;
  transform: rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
  .menu-item:hover {
    background: rgba(28, 23, 20, 0.035);
  }
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.dice svg {
  transition: transform 400ms var(--ease-out);
}
.dice:active svg {
  transform: rotate(90deg);
}

@media (max-width: 560px) {
  .stage {
    padding: 22px 18px 18px;
  }
  .stage-foot span:last-child {
    display: none;
  }
}
@media (max-width: 900px) {
  .comptoir-grid {
    grid-template-columns: 1fr;
  }
  .stage {
    position: relative;
    top: 0;
  }
  .board {
    min-height: 240px;
  }
}

/* ---------- Tapas ---------- */

.tapas {
  background: var(--paper-2);
  position: relative;
}
.tapas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tapa {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  overflow: hidden;
}
.tapa .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}
.tapa h3 {
  margin: 10px 0 8px;
  font-size: 26px;
}
.tapa p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.tapa {
  padding-right: 104px;
}
.tapa-art {
  position: absolute;
  right: 14px;
  top: 16px;
  width: 80px;
  height: 80px;
  rotate: 6deg;
  transition: rotate 400ms var(--ease-out), translate 400ms var(--ease-out);
}
.tapa-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 6px 6px rgba(70, 35, 0, 0.25));
}
@media (hover: hover) and (pointer: fine) {
  .tapa:hover .tapa-art {
    rotate: 0deg;
    translate: 0 -3px;
  }
}
.tapas-note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .tapas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tapas-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Service traiteur ---------- */

.traiteur {
  --olive-deep: #2e321f;
  background: var(--olive-deep);
  color: var(--paper);
}
.traiteur .eyebrow,
.traiteur h2 em {
  color: var(--saffron);
}
.traiteur .lede {
  color: rgba(245, 238, 226, 0.72);
}
.traiteur-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 40em;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgba(226, 163, 58, 0.12);
  border: 1px solid rgba(226, 163, 58, 0.35);
  font-size: 15px;
  line-height: 1.45;
  color: #f3dfb8;
}
.traiteur-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--saffron);
}
.traiteur .wrap {
  max-width: 1340px;
}
.traiteur-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.menu-group {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--saffron);
}
.dish-list {
  display: grid;
  gap: 6px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.dish {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(245, 238, 226, 0.12);
  border-radius: 14px;
  background: rgba(245, 238, 226, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.dish:active {
  transform: scale(0.98);
}
@media (hover: hover) and (pointer: fine) {
  .dish:hover {
    background: rgba(245, 238, 226, 0.07);
  }
}
.dish[aria-pressed="true"] {
  border-color: rgba(226, 163, 58, 0.55);
  background: rgba(226, 163, 58, 0.13);
}
.dish-plus {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 238, 226, 0.35);
  transition: transform 250ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.dish-plus svg {
  width: 14px;
  height: 14px;
}
/* the + turns into a × once the dish is on the board */
.dish[aria-pressed="true"] .dish-plus {
  transform: rotate(45deg);
  border-color: var(--saffron);
  background: var(--saffron);
  color: var(--ink);
}
.dish-name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
}
.dish-desc {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(245, 238, 226, 0.6);
}

.traiteur-side {
  position: sticky;
  top: 96px;
}
.planche-wrap {
  padding: 18px 18px 22px;
  border-radius: 26px;
  background: radial-gradient(120% 100% at 50% 0%, #3d4229 0%, #262a19 100%);
  box-shadow: inset 0 0 0 1px rgba(245, 238, 226, 0.06);
}
.board-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 12%;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.board-empty[data-hidden="true"] {
  opacity: 0;
}

/* the bar: bottles stand on a shelf */
.bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  height: 128px;
  padding: 0 4% 8px;
}
.bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(#a8743f, #7d5228);
  box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.5);
}
.bar .board-empty {
  font-size: 16px;
  color: rgba(245, 238, 226, 0.4);
}
.bottle {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}
.bottle svg {
  height: 92%;
  width: auto;
  overflow: visible;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.35));
}

/* the board: a wooden planche, seen from above */
.planche {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2%;
  aspect-ratio: 1.38;
  margin-top: 18px;
  padding: 3.5% 8% 3.5% 3%;
  border-radius: 28px;
  background: repeating-linear-gradient(7deg, rgba(120, 70, 20, 0.07) 0 2px, transparent 2px 15px),
    linear-gradient(160deg, #d8aa70 0%, #b9864c 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), inset 0 -3px 0 rgba(90, 50, 10, 0.25),
    0 26px 40px -22px rgba(0, 0, 0, 0.7);
}
.planche::after {
  /* handle hole */
  content: "";
  position: absolute;
  right: 3.4%;
  top: 50%;
  width: 4.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: 0 -50%;
  background: #262a19;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.6);
}
.planche .board-empty {
  font-size: 20px;
  color: rgba(70, 40, 10, 0.55);
}
.piece {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
}
.piece svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 5px 4px rgba(70, 35, 0, 0.35));
}
.piece[data-on="false"],
.bottle[data-on="false"] {
  visibility: hidden;
}

/* the order */
.order {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(245, 238, 226, 0.06);
}
.order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.order-label {
  font-weight: 600;
  font-size: 15px;
}
.order-label small {
  font-weight: 400;
  color: rgba(245, 238, 226, 0.55);
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(245, 238, 226, 0.08);
}
.stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.stepper button:active {
  transform: scale(0.9);
}
@media (hover: hover) and (pointer: fine) {
  .stepper button:hover {
    background: rgba(245, 238, 226, 0.12);
  }
}
.stepper output {
  min-width: 3ch;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.date-input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(245, 238, 226, 0.2);
  border-radius: 12px;
  background: rgba(245, 238, 226, 0.06);
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  color-scheme: dark;
}
.order-summary {
  margin: 0;
  font-size: 15px;
  color: rgba(245, 238, 226, 0.7);
}
.order-summary strong {
  color: var(--paper);
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(245, 238, 226, 0.3);
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-light:hover {
    border-color: var(--paper);
    --bg: transparent;
  }
}
.order-reset {
  margin-left: auto;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: rgba(245, 238, 226, 0.6);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .order-reset:hover {
    color: var(--paper);
  }
}

@media (max-width: 900px) {
  .traiteur-grid {
    grid-template-columns: 1fr;
  }
  .traiteur-side {
    position: relative;
    top: 0;
  }
}
@media (max-width: 560px) {
  .planche-wrap {
    padding: 14px 12px 16px;
  }
  .bar {
    height: 80px;
  }
  .planche .board-empty {
    font-size: 17px;
  }
}

/* ---------- Boutique ---------- */

/* ---------- Viande maturée: a butcher's price card ---------- */

.maturee {
  --gold: #c9a86a;
  --ivory: #f1e8d6;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin: 56px 0 0;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: 6px;
  isolation: isolate;
  color: var(--ivory);
  /* a fine grain, like heavy printed card */
  background: 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(130% 120% at 30% 0%, #241a16 0%, #120d0b 75%);
  box-shadow: 0 34px 60px -38px rgba(28, 23, 20, 0.8);
}
.maturee::before {
  /* one hairline frame */
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 2px;
  pointer-events: none;
}
.maturee-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.maturee-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.maturee-title em {
  font-style: italic;
  color: var(--gold);
}
.maturee-lede {
  margin: 0;
  max-width: 24em;
  font-size: 16px;
  color: rgba(241, 232, 214, 0.62);
}
.maturee-engraving {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin-top: 28px;
  color: var(--gold);
}

.carte {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(201, 168, 106, 0.28);
}
.carte li {
  border-bottom: 1px solid rgba(201, 168, 106, 0.28);
}
.carte-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 6px;
  padding: 22px 6px;
  text-decoration: none;
  color: inherit;
  transition: background-color 250ms ease;
}
.carte-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
}
.carte-leader {
  align-self: end;
  margin-bottom: 7px;
  border-bottom: 1px dotted rgba(201, 168, 106, 0.55);
}
.carte-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.carte-price small {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(241, 232, 214, 0.5);
}
.carte-desc {
  grid-column: 1 / -1;
  font-size: 14px;
  font-style: italic;
  font-family: var(--font-display);
  color: rgba(241, 232, 214, 0.55);
}
.carte-go {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  transition: opacity 200ms ease;
}
.carte-go span {
  display: inline-block;
  transition: translate 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .carte-row:hover {
    background: rgba(201, 168, 106, 0.05);
  }
  .carte-row:hover .carte-go {
    opacity: 1;
  }
  .carte-row:hover .carte-go span {
    translate: 3px 0;
  }
}
.carte-row:active {
  background: rgba(201, 168, 106, 0.08);
}
.maturee-foot {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(241, 232, 214, 0.45);
}
@media (max-width: 820px) {
  .maturee {
    grid-template-columns: 1fr;
  }
  .maturee-engraving {
    width: min(70%, 260px);
  }
}

/* ---------- Shop: tabs, product grid, cards ---------- */

.boutique-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.tabs {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs-inner {
  position: relative;
  width: max-content;
}
.tabs-list {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--paper-2);
}
.tabs-list button,
.tabs-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tabs-list .count {
  font-weight: 500;
  font-size: 13px;
  opacity: 0.6;
}
/* a copy of the tabs in the active style, clipped to the selected tab */
.tabs-active {
  position: absolute;
  inset: 0;
  background: var(--ink);
  pointer-events: none;
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 260ms var(--ease-out);
}
.tabs-active span {
  color: var(--paper);
}

.panel-intro {
  margin: 0 0 24px;
  color: var(--ink-soft);
  max-width: 40em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.panel[hidden] {
  display: none;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #1f1e1d;
  color: var(--paper);
  overflow: hidden;
}
.product figure {
  margin: 0;
  aspect-ratio: 1 / 1.08;
  padding: 16px 16px 0;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 45%, #2a2928 0%, #1f1e1d 80%);
}
.product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* feather the photo edges so the studio backdrop melts into the card */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
  transition: transform 400ms var(--ease-out);
}
.product .meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
}
.product h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}
.product .price {
  flex: none;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--saffron);
  white-space: nowrap;
}
.product .price small {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 238, 226, 0.55);
  margin-left: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .product:hover img {
    transform: scale(1.04);
  }
}

.grid.is-entering .product {
  animation: card-in 420ms var(--ease-out) both;
  animation-delay: calc(min(var(--i, 0), 8) * 35ms);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    filter: blur(3px);
  }
}

.boutique-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--paper-3);
}
.boutique-note p {
  margin: 0;
  max-width: 36em;
  color: var(--ink-soft);
}
.boutique-note strong {
  color: var(--ink);
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product figure {
    padding: 12px 12px 0;
  }
  .product .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px 14px;
  }
  .product h3 {
    font-size: 14px;
  }
}

/* ---------- About ---------- */

.about {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: stretch;
}
.about-copy {
  align-self: center;
  max-width: 560px;
}

/* The dancer, framed in an arch */
.about-art {
  position: relative;
  margin: 0;
  min-height: 540px;
}
/* the visible arch lives on an inner layer, so the scroll observer
   always sees the figure even while the arch is still masked */
.about-frame {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 28px 28px;
  background: var(--paper-2);
  overflow: hidden;
  isolation: isolate;
}
.about-sun {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 9%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--saffron);
  opacity: 0.9;
  transform: translateX(-50%);
}
.about-dancer {
  /* the box can be any shape; the drawing is always fitted inside, never stretched */
  position: absolute;
  inset: 8% 10% 15%;
}
.about-dancer img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: 50% 100%;
}
.about-art figcaption {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* entrance: the arch opens upward, then the dancer steps in */
.js .about-art.reveal {
  opacity: 1;
  transform: none;
}
.js .about-art .about-frame {
  clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px);
  transition: clip-path 1000ms var(--ease-in-out);
}
.js .about-art.is-in .about-frame {
  clip-path: inset(0 0 0 0 round 999px 999px 28px 28px);
}
.js .about-art .about-dancer,
.js .about-art figcaption {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 700ms var(--ease-out) 450ms, translate 900ms var(--ease-out) 450ms;
}
.js .about-art figcaption {
  transition-delay: 650ms;
}
.js .about-art.is-in .about-dancer,
.js .about-art.is-in figcaption {
  opacity: 1;
  translate: 0 0;
}
.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.about-copy h2 {
  margin-bottom: 26px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.pillar {
  padding: 18px;
  border-radius: 16px;
  background: var(--paper-2);
}
.pillar b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 2px;
}
.pillar span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
  display: block;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-art {
    min-height: 0;
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: 380px;
    justify-self: center;
  }
}
@media (max-width: 560px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- Visit ---------- */

.visit {
  background: var(--red);
  color: #fff8ef;
}
.visit .eyebrow {
  color: var(--saffron);
}
.visit h2 em {
  color: var(--saffron);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
.visit-card {
  display: grid;
  gap: 28px;
  align-content: start;
}
.address {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  font-style: normal;
  margin: 0;
}
.address small {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 248, 239, 0.75);
  margin-top: 6px;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.hours td {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 248, 239, 0.2);
}
.hours td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours tr.closed td:last-child {
  color: rgba(255, 248, 239, 0.6);
}
.hours tr[data-today="true"] td {
  font-weight: 700;
}
.hours tr[data-today="true"] td:first-child::after {
  content: "Aujourd'hui";
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-row .btn {
  --bg: rgba(255, 248, 239, 0.12);
  --fg: #fff8ef;
  border-color: rgba(255, 248, 239, 0.25);
}
@media (hover: hover) and (pointer: fine) {
  .contact-row .btn:hover {
    --bg: rgba(255, 248, 239, 0.2);
  }
}
.contact-row .btn.btn-light {
  --bg: var(--paper);
  --fg: var(--ink);
  border-color: var(--paper);
}
.map {
  position: relative;
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--red-deep);
}
.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: radial-gradient(90% 80% at 50% 30%, #9c241a 0%, var(--red-deep) 100%);
}
.map-pin {
  width: 44px;
  height: 44px;
  color: var(--saffron);
}
.map-address {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
}
.map-legal {
  margin: 0;
  max-width: 26em;
  font-size: 13px;
  color: rgba(255, 248, 239, 0.65);
}
.map-legal a {
  color: inherit;
}
.map iframe {
  transition: opacity 400ms ease;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) sepia(0.25) contrast(1.02);
}
@media (max-width: 900px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 300px;
  }
}

/* ---------- Avis Google ---------- */

.avis {
  background: var(--paper);
}
.avis-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.avis-score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avis-score[hidden] {
  display: none;
}
.avis-note {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.avis-score-side {
  display: grid;
  gap: 4px;
}
.avis-count {
  font-size: 14px;
  color: var(--ink-soft);
}
.stars {
  display: inline-flex;
  gap: 2px;
}
.star {
  position: relative;
  width: 18px;
  height: 18px;
}
.star svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #e5dccb;
}
/* the second star is the gold one, clipped to the share that is filled */
.star svg + svg {
  fill: var(--saffron);
  clip-path: inset(0 calc(100% - var(--f)) 0 0);
}
.stars-lg .star {
  width: 26px;
  height: 26px;
}

.avis-carousel[hidden],
.avis-empty[hidden] {
  display: none;
}
.avis-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(360px, 82%);
  gap: 16px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.avis-track::-webkit-scrollbar {
  display: none;
}
.avis-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fffaf2;
  box-shadow: 0 1px 0 var(--line), 0 18px 34px -26px rgba(28, 23, 20, 0.35);
  scroll-snap-align: start;
}
.avis-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.avis-source {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .avis-source:hover {
    color: var(--ink);
  }
}
.avis-author a {
  color: inherit;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .avis-author a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
img.avis-avatar {
  object-fit: cover;
  background: var(--paper-2);
}
.avis-track.is-entering .avis-card {
  animation: card-in 420ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.avis-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-faint);
}
.avis-credit[hidden] {
  display: none;
}
/* the required "Google Maps" credit, written as-is */
.avis-gm {
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #5f6368;
}
.avis-text {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avis-text::before {
  content: "« ";
  color: var(--red);
}
.avis-text::after {
  content: " »";
  color: var(--red);
}
.avis-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.avis-author b {
  display: block;
  font-weight: 600;
}
.avis-author small {
  color: var(--ink-faint);
  font-size: 13px;
}
.avis-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  color: #fff8ef;
  font-weight: 700;
}
.avis-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.avis-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.avis-arrow svg {
  width: 18px;
  height: 18px;
}
.avis-arrow:active {
  transform: scale(0.94);
}
.avis-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .avis-arrow:not(:disabled):hover {
    border-color: var(--ink);
  }
}
.avis-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 24px;
  border-radius: 24px;
  border: 1.5px dashed var(--paper-3);
  text-align: center;
}
.avis-empty p {
  margin: 0;
  max-width: 30em;
  color: var(--ink-soft);
}
.avis-empty .avis-empty-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
}
.avis-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 560px) {
  .avis-nav {
    display: none;
  }
  .avis-note {
    font-size: 52px;
  }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(245, 238, 226, 0.7);
  padding: 64px 0 40px;
  font-size: 15px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer-logo {
  width: 200px;
  filter: invert(1) sepia(0.15);
  opacity: 0.95;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer a {
  text-decoration: none;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    color: var(--paper);
  }
}
.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245, 238, 226, 0.25);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 238, 226, 0.12);
  font-size: 13px;
  color: rgba(245, 238, 226, 0.45);
}

/* ---------- Legal pages ---------- */

.legal-back {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.legal {
  max-width: 760px;
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.legal h1 {
  font-size: clamp(38px, 6vw, 60px);
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 24px;
  margin: 0 0 10px;
}
.legal section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.legal p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}
.legal a {
  color: var(--red);
  text-underline-offset: 3px;
}
.legal-lede {
  font-size: 19px;
  margin-bottom: 28px !important;
}
.legal-updated {
  margin-top: 24px !important;
  font-size: 14px;
}
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fde9a8;
  color: var(--ink);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  transition: transform 400ms var(--ease-drawer), opacity 300ms ease;
  pointer-events: none;
}
.toast[data-open="true"] {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast b {
  color: var(--saffron);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track,
  .tin-key > span,
  .status-dot::after {
    animation: none !important;
  }
  .js .about-art .about-frame,
  .js .about-art.is-in .about-frame {
    clip-path: none;
  }
  .js .about-art .about-dancer,
  .js .about-art figcaption {
    translate: none;
    transition: opacity 300ms ease;
  }
  .js .reveal,
  .js .hero-copy > *  {
    transform: none !important;
    transition: opacity 300ms ease !important;
  }
  .js .tin {
    translate: none;
  }
  .grid.is-entering .product {
    animation: fade 200ms ease both;
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
  }
}
