/* The shopfront's own colours: charcoal sign, pink and teal lettering, a teal awning, the logo's sky blue. */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Shrikhand';
  src: url('../fonts/shrikhand-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #e4f2fa;
  --sky-2: #cfe7f5;
  --paper: #fffdf8;
  --ink: #17181c;
  --ink-2: #2b2e35;
  --teal: #17a3b4;
  --teal-deep: #0b6f7c;
  --teal-light: #7fdbe6;
  --pink: #ff5fa2;
  --pink-2: #ff8fc0;
  --pink-soft: #ffd3e6;
  --muted: #4a5560;
  --on-dark: #e9eef2;
  --on-dark-muted: #b9c4cc;
  --margin: clamp(16px, 2.4vw, 32px);
  --section-gap: clamp(88px, 11vw, 168px);

  --display: 'Shrikhand', 'Hanken Grotesk', Georgia, serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  --step-head: clamp(2.625rem, 1.5rem + 4.4vw, 5.5rem);
  --step-name: clamp(3.75rem, 1.5rem + 7.6vw, 8.75rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --scallop-size: 28px;
  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23fffdf8'/%3E%3C/svg%3E");
  --stripe: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
#menu, #photos, #visit { scroll-margin-top: 16px; }
a, button, summary, label { touch-action: manipulation; }
button, summary, .button, .dock a, .jumps a { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, blockquote, address { margin: 0; }
address { font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--pink); color: var(--ink); }
[hidden] { display: none !important; }
figcaption { font-size: var(--step-small); margin-top: 10px; text-wrap: pretty; }
.intro__note, .gallery__note, .hero__lead, .dish__desc, .group__note { text-wrap: pretty; }
.shot img, .group__photo, .match__picture img { outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--margin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -80px; z-index: 20; padding: 12px 16px; background: var(--paper); }
.skip:focus { top: 16px; }

.head {
  font-family: var(--display);
  font-size: var(--step-head);
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
}
.lead {
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Controls */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.button--wide { width: 100%; text-align: center; }
.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: transform 220ms var(--ease);
}

/* Paper edge shared by the menu sheet and the back of the card */
.scallop { height: 14px; background: var(--scallop) repeat-x center bottom / var(--scallop-size) 14px; }
.scallop--bottom { transform: scaleY(-1); }

/* Awning valance: one scallop per stripe, like the one over the door */
.awning {
  height: calc(var(--stripe) * 0.9);
  background: repeating-linear-gradient(90deg, var(--teal) 0 var(--stripe), var(--paper) var(--stripe) calc(var(--stripe) * 2));
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(var(--stripe) * 0.4) no-repeat,
    radial-gradient(circle calc(var(--stripe) / 2) at 50% 0, #000 98%, #0000) 0 calc(var(--stripe) * 0.4) / var(--stripe) calc(var(--stripe) / 2) repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% calc(var(--stripe) * 0.4) no-repeat,
    radial-gradient(circle calc(var(--stripe) / 2) at 50% 0, #000 98%, #0000) 0 calc(var(--stripe) * 0.4) / var(--stripe) calc(var(--stripe) / 2) repeat-x;
}

/* Hero: the sign board, with the shop itself beside it */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.hero__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.hero__logo { width: auto; height: clamp(58px, 5.5vw, 76px); transform: rotate(-2deg); filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4)); }
.back__logo { width: 150px; margin-bottom: 16px; }
.hero__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.hero__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; letter-spacing: 0.01em; }
.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px);
}
.hero__copy { animation: rise-in 800ms var(--ease) both; }
.hero__kicker {
  color: var(--teal-light);
  font-weight: 600;
  font-size: var(--step-small);
}
.hero__name {
  margin-top: 14px;
  font-family: var(--display);
  font-size: var(--step-name);
  font-weight: 400;
  line-height: 0.92;
  color: var(--pink);
  text-shadow: 0.045em 0.05em 0 var(--ink-2);
  text-wrap: balance;
}
.hero__cafe {
  display: block;
  width: fit-content;
  margin: 0.08em 0 0 0.6em;
  font-size: clamp(1.875rem, 0.75rem + 3.8vw, 4.375rem);
  color: var(--teal);
  transform: rotate(-5deg);
  transform-origin: left center;
}
.hero__lead {
  margin-top: clamp(22px, 3vw, 36px);
  max-width: 24em;
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.hero__facts { margin-top: 18px; display: grid; gap: 10px; color: var(--on-dark-muted); font-weight: 500; }
.hero__status {
  width: fit-content;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--teal-light);
  font-weight: 700;
}
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(24px, 3vw, 36px);
}
.hero__foot .link { color: var(--paper); }
.hero__media { position: relative; padding: 0 0 clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); animation: rise-in 900ms 120ms var(--ease) both; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--ink-2);
  outline: 10px solid var(--paper);
  transform: rotate(1.2deg);
}
.hero__photo {
  position: absolute;
  inset: -24% 0 auto;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__plate {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(130px, 30%, 260px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  outline: 8px solid var(--paper);
  transform: rotate(-6deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hero__sticker {
  position: absolute;
  top: clamp(-28px, -2vw, -12px);
  right: clamp(-12px, -1vw, 0px);
  display: grid;
  place-content: center;
  width: clamp(104px, 11vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(0.8rem, 0.6rem + 0.4vw, 0.95rem);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transform: rotate(12deg);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 8px var(--pink);
}
.hero__sticker span { display: block; font-family: var(--display); font-size: 1.9em; letter-spacing: 0; text-transform: none; }

/* Intro */
.intro { padding-block: var(--section-gap); }
.intro__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}
.intro__top .head { grid-column: 1 / span 7; }
.intro__note { grid-column: 8 / -1; font-size: 1.1875rem; max-width: 30em; }
.intro__duo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-top: clamp(48px, 6vw, 88px);
}
.intro__plate { position: relative; }
.intro__plate img { width: 100%; object-fit: cover; }
.intro__plate--a img { aspect-ratio: 4 / 5; }
.intro__plate--b img { aspect-ratio: 4 / 3; }
.intro__plate figcaption {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 6px 16px 8px;
  background: var(--ink);
  color: var(--pink);
  font-family: var(--display);
  font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.625rem);
  line-height: 1.1;
  transform: rotate(-3deg);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: 28px;
  border-top: 3px solid var(--ink);
}
.facts dt {
  font-family: var(--display);
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem);
  line-height: 1;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}
.facts dd { margin-top: 10px; max-width: 14em; font-weight: 500; }
.intro__more {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 104px);
}
.intro__text { display: grid; gap: 16px; max-width: 36em; }
.intro__deal {
  justify-self: center;
  max-width: 22em;
  padding: 28px 32px;
  background: var(--pink);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.32;
  transform: rotate(-2deg);
  box-shadow: 8px 8px 0 var(--ink);
}

/* Menu: the sheet scrolls, the ticket holds */
.menu { background: var(--teal); padding-block: clamp(64px, 8vw, 120px); }
.menu__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.sheet__body { background: var(--paper); padding: clamp(28px, 5vw, 64px); }
.sheet__title {
  text-align: center;
  font-family: var(--display);
  font-size: var(--step-head);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.sheet__note { max-width: 30em; margin: 16px auto 0; text-align: center; }
.sheet__hours { margin-top: 56px; text-align: center; font-weight: 700; }
.menu-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 28rem;
  margin: 24px auto 0;
  padding: 4px 6px 4px 16px;
  border-radius: 999px;
  background: var(--sky);
  border: 2px solid transparent;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.menu-search:focus-within { border-color: var(--ink); background: var(--paper); }
.menu-search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
}
.menu-search input:focus { outline: none; }
.menu-search input::placeholder { color: var(--muted); }
.menu-search__clear {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step-small);
  font-weight: 700;
}
.menu-search__status {
  margin-top: 12px;
  text-align: center;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--muted);
}
.jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--sky);
  font-weight: 600;
  text-decoration: none;
}
.groups { margin-top: 40px; columns: 2; column-gap: clamp(32px, 4vw, 56px); }
.group { margin-bottom: 52px; break-inside: avoid; scroll-margin-top: 16px; }
.group__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
.group summary { list-style: none; cursor: default; }
.group summary::-webkit-details-marker { display: none; }
.group__count { display: none; }
.groups { orphans: 1; widows: 1; }
.group__note { text-align: center; margin-bottom: 16px; color: var(--muted); }
.allergy { margin-top: 56px; padding: 24px; background: var(--sky); }
.allergy .group__name { margin-bottom: 12px; }
.sizes { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.sizes thead th { font-size: var(--step-small); font-weight: 600; line-height: 1.15; padding: 0 2px 8px; text-align: center; vertical-align: bottom; width: 62px; }
.sizes tbody th { text-align: left; font-weight: 600; padding-block: 4px; padding-right: 8px; }
.sizes td { padding: 3px 2px; vertical-align: top; }
.sizes .dish__desc { display: block; font-weight: 400; }
.size { display: block; cursor: pointer; }
.size input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size .price { display: flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 6px; background: var(--sky); font-weight: 600; font-size: 1rem; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.size input:checked + .price { background: var(--pink); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.size input:focus-visible + .price { outline: 3px solid var(--ink); outline-offset: 2px; }
.group legend, .group__name {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--teal-deep);
}
.dish label, .dish--ask {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: baseline;
  padding-block: 10px;
  border-bottom: 1px dashed rgba(23, 24, 28, 0.18);
}
.dish label { cursor: pointer; transition: transform 200ms var(--ease); }
.dish__name { grid-column: 2; font-weight: 700; }
.dish .price { grid-column: 3; font-weight: 700; }
.dish__desc { grid-column: 2 / -1; font-size: 1rem; line-height: 1.35; color: var(--muted); }
.dish input {
  appearance: none;
  grid-column: 1;
  width: 24px;
  height: 24px;
  margin: 0;
  align-self: start;
  border: 2px solid var(--ink);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.dish input:active { transform: scale(0.9); }
.dish input:checked { background: var(--pink); }
.dish input:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--ink);
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 18%, 85% 6%, 36% 72%);
}

.ticket-rail { position: sticky; top: var(--margin); }
.ticket {
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 10px 10px 0 var(--ink);
}
.ticket__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px dashed var(--ink); }
.ticket__top span { font-weight: 700; color: var(--muted); }
.ticket__title {
  font-family: var(--display);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
}
.ticket__empty { margin-top: 20px; }
.ticket__lines { margin-top: 16px; max-height: 38svh; overflow-y: auto; }
.ticket__lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 5px;
  animation: line-in 320ms var(--ease) both;
}
.ticket__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-block: 20px 24px;
  padding-top: 16px;
  border-top: 2px dashed var(--ink);
  font-size: var(--step-lead);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ticket__alt { margin-top: 18px; font-size: 1rem; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 4px; }
.ticket__clear { margin-top: 0; }

/* Match: the back room on a match day */
.match { padding-block: var(--section-gap); background: var(--ink); color: var(--on-dark); }
.match .head { color: var(--pink); }
.match__text {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}
.match__text .head { grid-column: 1 / span 7; }
.match__text p { grid-column: 8 / -1; max-width: 32em; }
.match__picture {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(40px, 5vw, 72px);
}
.match__picture img { width: 100%; height: clamp(360px, 44vw, 680px); object-fit: cover; }
.match__picture figcaption { color: var(--on-dark-muted); font-size: 1rem; }

/* Photos */
.gallery { padding-block: var(--section-gap); }
.gallery__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.gallery__top > div { grid-column: 1 / span 6; }
.gallery__note { margin-top: 24px; max-width: 26em; font-size: 1.1875rem; }
.gallery__film { grid-column: 7 / -1; }
.gallery__film video { display: block; width: 100%; height: auto; background: var(--sky-2); outline: 8px solid var(--paper); outline-offset: -8px; }
.gallery__film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-top: 4px; }
.gallery__controls { display: flex; gap: 16px; }
.gallery__body { margin-top: clamp(40px, 5vw, 72px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { min-height: 48px; padding: 8px 20px; border-radius: 999px; background: var(--paper); font-weight: 700; transition: background-color 160ms var(--ease); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tab__count { font-variant-numeric: tabular-nums; opacity: 0.7; margin-left: 4px; }
.panel { margin-bottom: 48px; }
.panel__title { margin-bottom: 16px; }
.can-tab .panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.can-tab .panel { margin-bottom: 0; }
.shots { columns: 3; column-gap: 14px; }
.shot { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; background: var(--sky-2); }
.shot[hidden] { display: none; }
.shot img { width: 100%; transition: transform 500ms var(--ease); }
.shot:active img { transform: scale(0.98); }
.shots__more { display: flex; width: 100%; margin-top: 8px; }
.clips { columns: 3; column-gap: 14px; }
.clip { margin-bottom: 20px; break-inside: avoid; }
.clip video { display: block; width: 100%; height: auto; background: var(--ink); }
.has-viewer { overflow: hidden; }
.viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  border: 0;
  background: var(--ink);
  color: var(--paper);
  grid-template: "close close" auto "frame frame" minmax(0, 1fr) "prev next" auto / 1fr 1fr;
}
.viewer[open] { display: grid; animation: viewer-in 180ms var(--ease) both; overscroll-behavior: contain; }
.viewer__count { font-variant-numeric: tabular-nums; font-weight: 700; }
.viewer::backdrop { background: var(--ink); }
.viewer__frame { grid-area: frame; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding-inline: var(--margin); }
.viewer__frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; touch-action: pan-y pinch-zoom; }
.viewer__frame figcaption { max-width: 44em; margin: 10px auto; text-align: center; }
.viewer__btn { min-height: 56px; padding-inline: 20px; font-weight: 700; touch-action: manipulation; }
.viewer__btn:active { opacity: 0.7; }
.viewer__close { grid-area: close; justify-self: end; }
.viewer__prev { grid-area: prev; }
.viewer__next { grid-area: next; background: var(--pink); color: var(--ink); }

/* Review slips */
.slips { background: var(--pink-2); color: var(--ink); padding-block: clamp(72px, 9vw, 136px); overflow: hidden; }
.slips .head { text-align: center; }
.slips__fan {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: clamp(40px, 5vw, 72px);
  filter: drop-shadow(6px 8px 0 var(--ink));
}
.slip {
  flex: 0 1 300px;
  min-width: 0;
  margin-left: -24px;
  padding: 44px 26px 40px;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(var(--tilt));
  -webkit-mask: var(--tear);
  mask: var(--tear);
  --tear:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x;
}
.slip::before { content: '\201C'; display: block; height: 0.5em; margin-bottom: 8px; font-family: var(--display); font-size: 3.5rem; line-height: 1; color: var(--teal-deep); }
.slip:first-child { margin-left: 0; }
.slip:nth-child(1) { --tilt: -4deg; }
.slip:nth-child(2) { --tilt: 2deg; margin-top: 36px; }
.slip:nth-child(3) { --tilt: -1.5deg; }
.slip:nth-child(4) { --tilt: 3deg; margin-top: 48px; }
.slip:nth-child(5) { --tilt: -3deg; margin-top: 12px; }
.slip p { font-size: 1.375rem; font-weight: 700; line-height: 1.32; letter-spacing: -0.015em; }
.slip footer { margin-top: 20px; font-size: var(--step-small); color: var(--muted); }

/* Visit */
.visit {
  position: relative;
  min-height: 100svh;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-block: clamp(32px, 4vw, 60px);
  padding-inline: max(clamp(32px, 4vw, 60px), calc((100% - 1360px) / 2 + var(--margin)));
  overflow: hidden;
}
.visit__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pad { position: relative; background: var(--paper); }
.visit__card { width: min(100%, 460px); padding: 32px 32px 0; display: grid; gap: 16px; box-shadow: 12px 12px 0 var(--ink); }
.visit__card .button { margin-inline: -32px; width: calc(100% + 64px); margin-top: 8px; border-radius: 0; box-shadow: none; }
.visit__title { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-weight: 400; line-height: 1.05; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 400; padding-block: 4px; }
.hours td { text-align: right; font-weight: 700; white-space: nowrap; }

/* Back of the card */
.back { background: var(--ink); padding: clamp(48px, 7vw, 96px) var(--margin) var(--margin); }
.back__panel { max-width: 1120px; margin-inline: auto; }
.back__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--paper);
  padding: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 32px;
}
.back__sign { margin-bottom: 16px; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem); letter-spacing: 0; color: var(--teal-deep); }
.back__message p { max-width: 26em; }
.back__address { display: flex; justify-content: space-between; gap: 24px; }
.back__address ul { display: grid; gap: 4px; align-content: start; }
.back__address a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.125rem; }
.back__stamp {
  order: 2;
  flex: 0 0 auto;
  width: 96px;
  height: 128px;
  object-fit: cover;
  border: 6px dotted var(--pink-2);
}
.credits, .imprint { background: var(--paper); padding-inline: clamp(28px, 5vw, 64px); font-size: var(--step-small); line-height: 1.45; }
.credits { padding-bottom: 20px; }
.credits summary { font-weight: 700; min-height: 44px; display: flex; align-items: center; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.credits p { columns: 2; column-gap: 40px; }
.imprint { padding-bottom: 28px; text-align: center; font-weight: 700; }

/* The stub of the pad that stays with you */
.stub {
  position: fixed;
  left: var(--margin);
  bottom: var(--margin);
  z-index: 10;
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 56px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transform: translateY(160%);
  visibility: hidden;
  transition: transform 360ms var(--ease), visibility 360ms;
}
.stub.is-shown { transform: none; visibility: visible; }

/* Quick actions, phones only */
.dock { display: none; }
.link:active, .jumps a:active, .dock a:active, .dish label:active { opacity: 0.7; }

/* Entrances move content but never hide it, so it reads even if an observer never fires. */
.can-reveal [data-reveal] > *,
.can-reveal .slip[data-reveal] {
  translate: 0 24px;
  transition: translate 700ms var(--ease);
}
.can-reveal .slip[data-reveal] { translate: 0 60px; }
.can-reveal [data-reveal].is-in > *,
.can-reveal .slip[data-reveal].is-in { translate: 0 0; }
.can-reveal [data-reveal] > *:nth-child(2) { transition-delay: 80ms; }
.can-reveal [data-reveal] > *:nth-child(3) { transition-delay: 160ms; }
.can-reveal [data-reveal] > *:nth-child(4) { transition-delay: 240ms; }
.can-reveal h2[data-reveal], .can-reveal .tabs[data-reveal] { translate: 0 24px; transition: translate 700ms var(--ease); }
.can-reveal h2[data-reveal].is-in, .can-reveal .tabs[data-reveal].is-in { translate: 0 0; }
.can-reveal .slip:nth-child(2) { transition-delay: 70ms; }
.can-reveal .slip:nth-child(3) { transition-delay: 140ms; }
.can-reveal .slip:nth-child(4) { transition-delay: 210ms; }
.can-reveal .slip:nth-child(5) { transition-delay: 280ms; }
.can-reveal .slip > * { translate: none; }

@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { transform: translateY(28px); } to { transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .slips__fan { flex-wrap: wrap; justify-content: flex-start; }
  .slip { flex: 0 0 min(78%, 420px); margin: -16px 0 0; }
  .slip:nth-child(even) { margin-left: auto; }
  .slip:first-child { margin-top: 0; }
  .hero__body { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 720px; }
}

@media (max-width: 1100px) {
  .groups { columns: 1; }
}

@media (max-width: 800px) {
  .intro__top, .intro__more, .match__text { display: block; }
  .intro__note, .match__text p { margin-top: 20px; }
  .intro__deal { margin-top: 32px; }
  .intro__duo { grid-template-columns: minmax(0, 1fr); }
  .intro__plate--a img { aspect-ratio: 4 / 4.4; }
  .facts { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .menu { padding-inline: 0; }
  .menu__grid { grid-template-columns: minmax(0, 1fr); padding-inline: 10px; }
  .ticket-rail { position: static; }
  .ticket { box-shadow: 6px 6px 0 var(--ink); }
  .visit { display: block; min-height: 0; padding: 0 0 var(--margin); }
  .visit__photo { position: static; height: 70svh; }
  .visit__card { width: auto; margin: -80px var(--margin) 0; box-shadow: 6px 6px 0 var(--ink); }
  .back__body { grid-template-columns: minmax(0, 1fr); }
  .stub { left: 0; right: 0; bottom: 0; justify-content: space-between; }
  .back { padding-bottom: 88px; }
}

@media (max-width: 560px) {
  :root { --margin: 20px; --stripe: 32px; }
  .hero__foot .button { width: 100%; }
  .hero__nav { padding-block: 10px; }
  .hero__logo { height: 52px; }
  .hero__links { gap: 16px; }
  .hero__media { padding-left: 14px; }
  .slip { flex-basis: 92%; padding-inline: 16px; }
  .slip:nth-child(even) { margin-left: auto; }
  .visit__card { padding: 24px 16px 0; }
  .visit__card .button { margin-inline: -16px; width: calc(100% + 32px); }
  .credits p { columns: 1; }
}

@media (max-width: 800px) {
  :root { --section-gap: 72px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .back { padding-bottom: var(--margin); }

  .stub { display: none; }
  .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--ink);
    color: var(--paper);
  }
  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 64px;
    font-weight: 700;
    text-decoration: none;
  }
  .dock__main { background: var(--pink); color: var(--ink); }

  .hero__foot .link { display: none; }

  .hero { min-height: 0; }
  .hero__body { padding-top: 20px; gap: 36px; }

  .gallery__top { display: block; }
  .gallery__film { margin-top: 24px; }
  .shots { columns: 2; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .clips { columns: 2; column-gap: 8px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
  .match__picture { grid-template-columns: 1fr 1fr; gap: 8px; }
  .match__picture figure:first-child { grid-column: 1 / -1; }
  .match__picture img { height: 52svh; }
  .match__picture figure:not(:first-child) img { height: 34svh; }
  .match__picture figcaption { display: none; }

  /* The menu becomes a list of sections with a bar to jump between them */
  .sheet__body { padding: 28px 16px; }
  .sheet__title, .sheet__note { text-align: left; margin-inline: 0; }
  .jumps {
    position: sticky;
    top: 0;
    z-index: 5;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    padding-block: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    background: var(--paper);
  }
  .jumps::-webkit-scrollbar { display: none; }
  .jumps a { flex: 0 0 auto; white-space: nowrap; }
  .groups { margin-top: 24px; }
  .group { margin-bottom: 8px; scroll-margin-top: 64px; }
  .group summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding-inline: 14px;
    background: var(--sky);
    cursor: pointer;
  }
  .group summary .group__name { flex: 1; margin: 0; text-align: left; font-size: 1.375rem; }
  .group summary::after { content: '+'; font-size: var(--step-lead); font-weight: 700; line-height: 1; }
  .group[open] summary::after { content: '\2212'; }
  .group[open] summary { margin-bottom: 12px; }
  .group[open] { margin-bottom: 28px; }
  .group__count { display: block; font-weight: 700; }
  .group__note { text-align: left; }
  .dish label, .dish--ask { padding-block: 12px; }
  .allergy { margin-top: 32px; padding: 16px; }

  /* Reviews swipe sideways */
  .slips .head { text-align: left; }
  .slips__fan {
    flex-wrap: nowrap;
    gap: 12px;
    padding-block: 16px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .slips__fan::-webkit-scrollbar { display: none; }
  .slip,
  .slip:first-child,
  .slip:nth-child(n) { flex: 0 0 84%; margin: 0; scroll-snap-align: start; }

  .visit__photo { height: 44svh; }
  .visit__card { margin-top: -48px; }
  .ticket { scroll-margin-top: 16px; }
  .ticket__lines { overscroll-behavior: contain; }
}

@media (max-width: 360px) {
  :root { --margin: 16px; --step-head: 2.375rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* Privacy notice */
.legal { max-width: 44rem; margin-inline: auto; padding: 32px var(--margin) 96px; display: grid; gap: 16px; }
.legal .head { margin-top: 24px; }
.legal .lead { margin-top: 32px; }

/* Only devices that can really hover: a tap must not leave these stuck on */
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); background-color: var(--pink-2); }
  .link:hover { transform: translateX(3px); }
  .hero__links a:hover { color: var(--pink); }
  .jumps a:hover { background-color: var(--pink-soft); }
  .shot:hover img { transform: scale(1.04); }
  .tab:hover { background-color: var(--pink-soft); color: var(--ink); }
  .size:hover .price { transform: translateY(-2px); }
  .dish label:hover { transform: translateX(4px); }
}
