/* Feuille: the case as a paper collage.
   Bakery-bag kraft paper, photo stickers with a white edge and a baked shadow,
   paper labels and a paper time strip. Motion only answers the visitor. */

:root {
  --kraft: #CDB28A;            /* bakery-bag paper: the page */
  --kraft-type: #C2A47A;       /* the big shelf words: decoration only */
  --on-kraft: #2B2521;         /* text on kraft, 7.4:1 */
  --on-kraft-soft: #4A3F35;    /* secondary text on kraft, 5:1 */
  --brown: #6B3A12;            /* accents on kraft, 4.6:1 */
  --butter: #F2C14E;           /* the dial knob */
  --paper: #FFFDF7;
  --paper-edge: #EDE4D3;
  --ink: #2B2521;
  --ink-soft: #5E554C;
  --crust: #8C501B;
  --oven: #3F5866;
  --shelf: #4F6B3C;
  --rule-on-kraft: rgba(43, 37, 33, 0.2);
  --rule: rgba(43, 37, 33, 0.16);
  --shade: 58, 40, 20;         /* shadow colour, rgb */
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .35' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");

  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 2.4vw, 32px);

  color-scheme: light;
  accent-color: var(--crust);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--kraft);
  background-image: var(--fibre);
  color: var(--on-kraft);
  font: 400 clamp(16px, 0.25vw + 15px, 18px)/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: 8px; z-index: 50;
  padding: 8px 14px; background: var(--paper); color: var(--ink); transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  cursor: pointer; font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease;
}
.button--solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button__icon { width: 20px; height: 20px; }
@media (hover: hover) {
  .button:hover { background: var(--ink); color: var(--paper); }
  .button--solid:hover { background: var(--crust); border-color: var(--crust); }
}
.button:active { transform: scale(0.97); }

/* ---------- top strip ---------- */
.strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "mark now tabs" "where where where";
  align-items: center; column-gap: 20px;
  padding: 10px var(--gutter);
}
.wordmark {
  grid-area: mark;
  font: italic 400 clamp(30px, 1.4vw + 20px, 44px)/1 var(--serif);
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.strip__where { grid-area: where; margin: 0; font-size: 13px; color: var(--on-kraft-soft); }
.strip__now { grid-area: now; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 14px; color: var(--on-kraft-soft); }
.strip__clock { color: var(--ink); font-weight: 500; }
.strip__latest em { font-family: var(--serif); color: var(--brown); }
.tabs { grid-area: tabs; display: flex; gap: 2px; }
.tab {
  position: relative; min-height: 44px; padding: 0 12px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.tab::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out);
}
@media (hover: hover) { .tab:hover::after { transform: scaleX(1); } }
.tab:focus-visible::after { transform: scaleX(1); }

/* ---------- the case ---------- */
.case { position: relative; outline: none; overflow: hidden; }

.case__note {
  position: absolute; z-index: 6; left: 50%; top: 16px;
  width: min(520px, calc(100% - 2 * var(--gutter)));
  padding: 14px 18px 16px; background: var(--paper); color: var(--ink);
  box-shadow: 0 14px 26px -14px rgba(var(--shade), 0.7);
  transform: translateX(-50%) rotate(-1deg);
  text-align: center; font-size: 15px;
}
.case__note p { margin: 0 0 6px; }
.case__note .link-button { color: var(--crust); font-weight: 500; }

.counter {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%;
  padding: 0 var(--gutter);
}
.shelf {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 0;
}
.shelf + .shelf { border-top: 1px solid var(--rule-on-kraft); }
/* the shelf's name, set huge behind the stickers like a collage layer */
.shelf__word {
  position: absolute; z-index: 0; left: -0.04em; top: 50%; transform: translateY(-52%);
  margin: 0; pointer-events: none; white-space: nowrap;
  font: italic 400 clamp(72px, 15vh, 168px)/1 var(--serif);
  letter-spacing: -0.02em; color: var(--kraft-type);
}
.shelf:nth-child(2) .shelf__word { left: auto; right: -0.04em; }

.tray { position: relative; z-index: 1; min-height: 0; display: flex; }
.item {
  position: relative; flex: 1; min-height: 0;
  display: grid; place-items: center;
  padding: 10px 6px 34px; border: 0; background: none; cursor: pointer; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.item__img {
  width: calc(var(--w) * 100%); height: auto; max-height: 100%;
  object-fit: contain;
  transform: rotate(var(--rot));
  transition: transform 280ms var(--ease-out), opacity 220ms ease-out;
}
/* sold out or still baking: the sticker stays as a pale ghost, slightly sunk into the paper */
.tray.is-empty .item__img { opacity: 0.24; filter: grayscale(1); transform: rotate(var(--rot)) scale(0.95); }
/* a fresh batch: the sticker is pressed down with a small overshoot (class added for one beat by js) */
.tray.is-fresh .item__img { animation: press 420ms var(--ease-out) both; }
@keyframes press {
  0% { opacity: 0.24; transform: rotate(calc(var(--rot) - 4deg)) translateY(-10px) scale(1.06); }
  60% { opacity: 1; transform: rotate(var(--rot)) translateY(0) scale(0.985); }
  100% { opacity: 1; transform: rotate(var(--rot)) scale(1); }
}

/* paper label */
.tag {
  position: absolute; z-index: 2; left: 50%; bottom: 6px;
  width: max-content; max-width: 94%;
  padding: 6px 11px 7px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 8px 16px -10px rgba(var(--shade), 0.8);
  transform: translateX(-50%) rotate(var(--tilt, 0deg));
  transition: transform 200ms var(--ease-out);
  text-align: left;
}
.tag__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tag__name { font: italic 400 16px/1.2 var(--serif); }
.tag__price { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }
.tag__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 2px; }
.tag__state { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.tag__state::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%;
  background: currentColor; vertical-align: 0.06em;
}
.tag__sub { font-size: 12.5px; color: var(--ink-soft); }
.tag[data-state="just-out"] .tag__state { color: var(--crust); }
.tag[data-state="on-shelf"] .tag__state { color: var(--shelf); }
.tag[data-state="in-oven"] .tag__state, .tag[data-state="in-oven"] .tag__sub { color: var(--oven); }
.tag[data-state="in-oven"] .tag__sub { font-weight: 600; }
.tag[data-state="sold-out"] .tag__state,
.tag[data-state="not-yet"] .tag__state,
.tag[data-state="closed"] .tag__state { color: var(--ink-soft); }
.tag[data-state="sold-out"] .tag__price { text-decoration: line-through; }

@media (hover: hover) {
  .item:hover .item__img { transform: rotate(var(--rot)) translateY(-5px) scale(1.025); }
  .item:hover .tag { transform: translateX(-50%) rotate(0deg); }
}
.item:focus-visible { outline: none; }
.item:focus-visible .tag { outline: 2px solid var(--ink); outline-offset: 3px; transform: translateX(-50%) rotate(0deg); }
.item:active .item__img { transform: rotate(var(--rot)) scale(0.98); }

/* just out: one small steam curl rises from the sticker, once */
.item__steam {
  position: absolute; z-index: 3; left: 50%; top: 4px; width: 26px; height: 40px; margin-left: -13px;
  color: var(--paper); opacity: 0; pointer-events: none;
}
.tray.steam .item__steam { animation: steam 1.4s var(--ease-out) 1; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(10px) scaleY(0.8); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-14px) scaleY(1.1); }
}

/* first visit: stickers are laid down once, quickly */
.case.is-arriving .item__img { animation: lay 520ms var(--ease-out) both; animation-delay: calc(var(--n) * 35ms); }
@keyframes lay { from { opacity: 0; transform: rotate(calc(var(--rot) - 6deg)) translateY(14px) scale(1.04); } }

/* ---------- the time strip (paper) ---------- */
.dial {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: 8.5em 1fr auto; align-items: center; gap: 18px;
  margin: 0 var(--gutter);
  padding: 8px 18px 6px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 -2px 0 var(--paper-edge) inset, 0 12px 24px -16px rgba(var(--shade), 0.8);
}
.dial__label { display: flex; flex-direction: column; line-height: 1.15; cursor: pointer; }
.dial__mode { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crust); }
.dial__mode.is-preview { color: var(--ink-soft); }
.dial__mode.is-live::before { /* a small breathing dot while the case follows real time */
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%;
  background: currentColor; vertical-align: 0.08em; animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.3; } }
.dial__time { font: 400 22px/1.15 var(--serif); }
.dial__track { position: relative; padding-bottom: 18px; }
.dial input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: ew-resize; touch-action: pan-y;
}
.dial input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
.dial input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
.dial input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -11px; border-radius: 50%;
  background: var(--butter); border: 2px solid var(--ink);
  transition: transform 140ms var(--ease-out);
}
.dial input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
.dial input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--butter); border: 2px solid var(--ink);
  transition: transform 140ms var(--ease-out);
}
.dial input[type="range"]:active::-moz-range-thumb { transform: scale(1.18); }
.dial input[type="range"]:focus-visible { outline: none; }
.dial input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--crust); outline-offset: 3px; }
.dial input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--crust); outline-offset: 3px; }
.dial__marks {
  position: absolute; left: 12px; right: 12px; bottom: 0; height: 26px; margin: 0; padding: 0; list-style: none;
  font-size: 11px; color: var(--ink-soft); pointer-events: none;
}
.dial__marks li { position: absolute; bottom: 0; transform: translateX(-50%); left: calc(var(--i) * 100% / 9); }
.dial__marks li::before { /* hour tick */
  content: ""; position: absolute; left: 50%; bottom: 16px; width: 1px; height: 8px; background: var(--ink);
}
.dial__marks li:nth-child(1) { --i: 0; } .dial__marks li:nth-child(2) { --i: 1; }
.dial__marks li:nth-child(3) { --i: 2; } .dial__marks li:nth-child(4) { --i: 3; }
.dial__marks li:nth-child(5) { --i: 4; } .dial__marks li:nth-child(6) { --i: 5; }
.dial__marks li:nth-child(7) { --i: 6; } .dial__marks li:nth-child(8) { --i: 7; }
.dial__marks li:nth-child(9) { --i: 8; } .dial__marks li:nth-child(10) { --i: 9; }
.dial__now {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink);
}
.dial__now:disabled { opacity: 0.4; cursor: default; }

.small-print { padding: 8px var(--gutter) 10px; font-size: 12px; color: var(--on-kraft-soft); }
.small-print p { margin: 0; }
.small-print em { font-family: var(--serif); color: var(--ink); }

/* ---------- item view ---------- */
dialog { color: var(--ink); }
.coupe {
  width: min(1120px, calc(100% - 2 * var(--gutter))); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; background: transparent; overflow: visible;
}
.coupe::backdrop { background-color: var(--kraft); background-image: var(--fibre); }
.coupe__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.coupe__visual { position: relative; display: grid; place-items: center; min-height: min(68dvh, 620px); }
.whole { margin: 0; width: 100%; display: grid; place-items: center; }
.whole img {
  width: auto; max-width: 92%; max-height: min(58dvh, 520px);
  transform: rotate(var(--rot, 0deg));
  transition: transform 420ms var(--ease-out);
}
.coupe.is-cut .whole img { transform: rotate(calc(var(--rot, 0deg) - 4deg)) translate(-10%, -12%) scale(0.86); }

/* the inside: a photo card taped over the sticker */
.inside {
  position: absolute; z-index: 2; right: 0; bottom: 0; margin: 0;
  width: min(76%, 460px);
  padding: 12px 12px 14px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 22px 40px -18px rgba(var(--shade), 0.75);
  transform: rotate(2.5deg);
  transition: transform 460ms var(--ease-out), opacity 220ms ease, visibility 0s linear 0s;
}
.inside:not(.is-open) {
  opacity: 0; visibility: hidden; transform: translate(14%, 22%) rotate(9deg);
  transition: transform 260ms ease-in, opacity 200ms ease, visibility 0s linear 260ms;
}
.inside.is-open .marker { opacity: 1; scale: 1; transition-delay: calc(260ms + var(--m) * 70ms); }
.inside.is-open .inside__notes li { animation: rise 300ms var(--ease-out) both; animation-delay: calc(300ms + var(--m) * 70ms); }
.inside__tape {
  position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
  background: rgba(242, 193, 78, 0.72); transform: rotate(-4deg);
}
.inside__photo { position: relative; overflow: hidden; background: var(--paper-edge); }
.inside__photo img { width: 100%; height: 100%; object-fit: cover; }
.marker {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  opacity: 0; scale: 0.6;
  transition: opacity 200ms ease-out, scale 260ms var(--ease-out);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--crust); color: var(--paper); font-size: 13px; font-weight: 600;
  box-shadow: 0 0 0 3px var(--paper);
}
.inside figcaption { padding: 10px 4px 0; }
.inside__title { margin: 0 0 4px; font: italic 400 22px/1.1 var(--serif); }
.inside__notes { margin: 0; padding-left: 1.3em; font-size: 14px; line-height: 1.45; }
.inside__notes li { margin-bottom: 3px; }
.inside__notes li::marker { color: var(--crust); font-weight: 600; }

.coupe__name { margin: 0; font: 400 clamp(42px, 3vw + 24px, 76px)/1.02 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.coupe__name em { display: block; margin-top: 8px; font-size: 0.4em; color: var(--on-kraft-soft); }
.coupe__desc { max-width: 34em; margin: 18px 0 22px; }
.coupe__facts { margin: 0 0 26px; border-top: 1px solid var(--rule-on-kraft); }
.coupe__facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-on-kraft); }
.coupe__facts dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-kraft-soft); padding-top: 3px; }
.coupe__facts dd { margin: 0; }
.coupe__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coupe[open] .coupe__text > * { animation: rise 340ms var(--ease-out) both; }
.coupe[open] .coupe__text > :nth-child(2) { animation-delay: 40ms; }
.coupe[open] .coupe__text > :nth-child(3) { animation-delay: 80ms; }
.coupe[open] .coupe__text > :nth-child(4) { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- paper sheets ---------- */
.sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(500px, 100%); height: 100dvh; max-height: none; max-width: 100%;
  padding: 0; border: 0; background: transparent; overflow: visible; color: var(--ink);
}
.sheet::backdrop { background: rgba(var(--shade), 0.4); }
.sheet__paper {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 28px clamp(20px, 3vw, 40px) 40px;
  background: var(--paper); box-shadow: -24px 0 50px -30px rgba(var(--shade), 0.8);
}
.sheet a { color: var(--crust); }
.sheet__close {
  float: right; min-height: 44px; padding: 0 14px; margin: -8px -8px 0 12px;
  border: 1px solid var(--ink); border-radius: 999px; background: none; cursor: pointer; font-size: 14px; color: var(--ink);
}
.sheet__title { margin: 6px 0 20px; font: 400 clamp(32px, 1.4vw + 26px, 48px)/1.05 var(--serif); text-wrap: balance; }
.sheet__title em { color: var(--crust); }
.sheet__photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 0 20px; }
.sheet p { margin: 0 0 14px; max-width: 65ch; }
.sheet__sign { margin-top: 22px !important; font-family: var(--serif); font-size: 20px; }
.sheet__aside { font-size: 13px; color: var(--ink-soft); }
.map { display: block; width: 100%; height: auto; margin: 0 0 18px; --rule: rgba(43, 37, 33, 0.16); --paper: #F3ECDD; --flour: var(--paper); }
.hours { margin: 0 0 18px; border-top: 1px solid var(--rule); }
.hours div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-soft); }
.menu-group { margin: 0 0 22px; }
.menu-group h3 { margin: 0 0 6px; font: italic 400 24px/1.2 var(--serif); color: var(--crust); }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.menu-item__row { display: flex; align-items: baseline; gap: 8px; }
.menu-item__name { font: italic 400 19px/1.25 var(--serif); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted rgba(43, 37, 33, 0.4); transform: translateY(-4px); }
.menu-item__price { font-size: 14px; white-space: nowrap; }
.menu-item p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.credits { padding-left: 1.1em; }
.credits li { margin-bottom: 6px; }

.sheet, .sheet::backdrop {
  transition: transform 220ms ease-in, opacity 220ms ease-in, overlay 220ms allow-discrete, display 220ms allow-discrete;
}
.sheet { transform: translateX(100%); }
.sheet::backdrop { opacity: 0; }
.sheet[open] { transform: none; transition-duration: 320ms; transition-timing-function: var(--ease-out); }
.sheet[open]::backdrop { opacity: 1; transition-duration: 320ms; }
@starting-style {
  .sheet[open] { transform: translateX(100%); }
  .sheet[open]::backdrop { opacity: 0; }
}

/* lift: the sticker flies from the case into the item view (View Transitions) */
::view-transition-group(lift) { animation-duration: 380ms; animation-timing-function: var(--ease-out); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

/* ---------- one screen on desktop ---------- */
@media (min-width: 760px) and (min-height: 600px) {
  body { height: 100dvh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
  .strip { grid-template-columns: auto auto 1fr auto; grid-template-areas: "mark where now tabs"; min-height: 64px; }
  .strip__where { padding-top: 8px; }
  .strip__now { justify-content: center; }
  .case { min-height: 0; padding-top: 4px; }
}
@media (min-width: 760px) and (max-width: 1100px) {
  .strip__where { display: none; }
  .strip { grid-template-columns: auto 1fr auto; grid-template-areas: "mark now tabs"; }
}

/* ---------- phone ---------- */
@media (max-width: 759px), (max-height: 599px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .strip { grid-template-areas: "mark tabs" "now now" "where where"; grid-template-columns: auto 1fr; padding-top: 8px; padding-bottom: 6px; }
  .tabs { justify-self: end; gap: 0; }
  .tab { padding: 0 8px; font-size: 14px; }
  .tab::after { left: 8px; right: 8px; }
  .strip__now { margin-top: 4px; font-size: 13px; }
  .case__note { position: relative; left: auto; top: auto; transform: rotate(-1deg); margin: 10px var(--gutter) 12px; width: auto; }
  .counter { grid-template-rows: none; padding: 0; }
  .shelf {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 0 var(--gutter); gap: 0; scroll-padding-inline: var(--gutter); height: 250px;
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf__word { left: var(--gutter); font-size: 92px; }
  .shelf:nth-child(2) .shelf__word { right: auto; left: var(--gutter); }
  .tray { flex: 0 0 74%; scroll-snap-align: start; }
  .item { align-items: end; padding-bottom: 50px; }
  .item__img { max-height: 170px; }
  .dial {
    position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 20;
    grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 14px;
    padding: 6px var(--gutter) calc(6px + env(safe-area-inset-bottom));
  }
  .dial__label { grid-row: 1; }
  .dial__now { grid-row: 1; grid-column: 2; justify-self: end; min-height: 38px; }
  .dial__track { grid-row: 2; grid-column: 1 / -1; }
  .small-print { padding-top: 18px; }

  .coupe { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .coupe__inner {
    grid-template-columns: 1fr; gap: 16px; height: 100%; overflow-y: auto; overscroll-behavior: contain;
    padding: 16px var(--gutter) 28px; align-content: start; align-items: start; background-color: var(--kraft); background-image: var(--fibre);
  }
  .coupe__visual { min-height: 0; height: min(52dvh, 420px); }
  .whole img { max-height: min(40dvh, 320px); }
  .inside { width: 94%; right: 3%; bottom: 0; }
  .inside__notes { font-size: 13px; }
  .coupe__facts div { grid-template-columns: 8em 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .case.is-arriving .item__img { animation: none; }
  .tray.is-fresh .item__img, .coupe[open] .coupe__text > *, .inside.is-open .inside__notes li { animation: none; }
  .tray.is-empty .item__img { transform: rotate(var(--rot)); }
  .marker { scale: 1; }
  .dial__mode.is-live::before { animation: none; }
  .tray.steam .item__steam { animation: none; }
  .inside, .inside:not(.is-open) { transform: rotate(2.5deg); }
  .coupe.is-cut .whole img { transform: rotate(var(--rot, 0deg)) translate(-10%, -12%) scale(0.86); }
  .sheet, .sheet[open] { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
