/* ==========================================================================
   Café Sperl · concept design · Engage Lanka
   ========================================================================== */

/* Instrument Serif (SIL OFL), self-hosted: display and editorial text */
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/instrument-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("../assets/fonts/instrument-serif-400i.woff2") format("woff2"); }

/* Satoshi (Fontshare, free licence), self-hosted */
@font-face { font-family: "Satoshi"; font-weight: 300; font-style: normal; font-display: swap; src: url("../assets/fonts/satoshi-300.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/satoshi-400.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 400; font-style: italic; font-display: swap; src: url("../assets/fonts/satoshi-400i.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/satoshi-500.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-style: italic; font-display: swap; src: url("../assets/fonts/satoshi-500i.woff2") format("woff2"); }

:root {
  --paper: #F7EFE1;
  --paper-2: #F0E4D0;
  --ink: #1B1A17;
  --coffee: #2A180E; /* very dark coffee brown for headings and titles */
  --ink-soft: #5B574E;
  --line: rgba(27, 26, 23, .18);
  --accent: #FF9F6B;
  --pink: #E8567F;
  --teal: #2B9C9A;
  --cobalt: #2D63C8;
  --mustard: #E9B44C;
  --tomato: #E4572E;
  --grey-panel: #E3E2DE;

  --f-script: "Mrs Saint Delafield", "Snell Roundhand", "Apple Chancery", cursive;
  --f-text: "Satoshi", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif; /* display text: statements, cards, names, timeline */
  --f-sans: var(--f-text);
  --f-mono: var(--f-text);
  --f-statement: var(--f-serif);

  --inset: 12px;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --bar-h: 40px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.3 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* paper grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .045;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 8px; }

/* ---------- type ---------- */

.caps {
  font-family: var(--f-sans);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.18;
  text-align: center;
}

.statement {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.1;
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
.statement em, .serif em { font-style: italic; }

.mono-small { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }

/* ---------- frames ---------- */

.frame {
  position: relative;
  margin: var(--inset);
  border: 1px solid var(--line);
  padding: clamp(20px, 4vw, 64px);
}
.wrap { max-width: var(--max); margin-inline: auto; }

/* ---------- top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--inset);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar__brand {
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  justify-self: start;
}
.emblem {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px var(--ink);
  font-family: var(--f-mono);
  font-size: 6.5px;
  letter-spacing: .02em;
  text-decoration: none;
  line-height: 1;
}
.topbar__nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11.5px;
}
.topbar__nav > a:not(.status) { text-decoration: none; }
.topbar__nav > a:not(.status):hover { text-decoration: underline; text-underline-offset: 3px; }

.lang { display: inline-flex; gap: 6px; align-items: center; }
.lang__btn {
  padding: 2px 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: .55;
}
.lang__btn[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 11.5px;
}
.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.status[data-open="true"] .status__dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

main { padding-top: var(--bar-h); }

/* ---------- film treatment + photo slots ---------- */

.slot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 15%, #e9d8bd 0%, #d6bf9f 55%, #bfa283 100%);
  isolation: isolate;
}
.slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.2) saturate(.82) contrast(.9) brightness(1.04);
}
.slot::before,
.slot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.slot::before {
  background: radial-gradient(ellipse at center, transparent 55%, rgba(60, 38, 18, .32) 100%);
}
.slot::after {
  background-image: var(--grain);
  opacity: .1;
}
.slot__brief { display: none; }

/* placeholder state (no photo file present) */
.slot.is-empty > img { visibility: hidden; }
.slot.is-empty:not(.slot--hero) .slot__brief {
  display: block;
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.5;
}
.slot.is-empty:not(.slot--hero) {
  box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .22);
}
.strip .slot.is-empty > .slot__brief::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-bottom: 8px;
  background: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: clamp(420px, 56vw, 820px);
  overflow: hidden;
  background: #cdb08c;
}
.hero__media {
  position: absolute;
  inset: -4% 0;
  will-change: transform;
}
.hero__fallback, .slot--hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot--hero { background: none; }
.slot--hero.is-empty::before, .slot--hero.is-empty::after { display: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(40, 24, 10, .0) 40%, rgba(40, 24, 10, .28) 100%);
}

.hero__script {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 90%;
  margin: 0;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(120px, 24vw, 420px);
  line-height: .9;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(40, 24, 10, .28);
  transform: translate(-50%, -52%) rotate(-6deg);
  clip-path: inset(-20% 100% -20% -10%);
  animation: script-in 1.7s .25s var(--ease) forwards;
}
@keyframes script-in { to { clip-path: inset(-20% -10% -20% -10%); } }

.hero__stamp {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(16px, 2.4vw, 32px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(40, 24, 10, .5);
}
.hero__stamp .orn { width: 96px; height: 8px; }

/* ---------- frame panel ---------- */

.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: clamp(420px, 50vw, 720px);
}
.panel__text {
  display: grid;
  justify-items: center;
  gap: 28px;
  max-width: 560px;
  margin-inline: auto;
}
.panel__poster { display: grid; place-items: center; padding: 16px 0; }
.poster {
  width: min(100%, 400px);
  padding: 10px 10px 8px;
  background: #fffdf8;
  box-shadow: 0 1px 2px rgba(27, 26, 23, .18), 0 18px 40px -14px rgba(27, 26, 23, .38);
  transform: rotate(2deg);
  transition: transform .5s var(--ease);
}
.poster img { width: 100%; height: auto; }
.poster:hover { transform: rotate(0deg) translateY(-4px); }
.poster__cap {
  display: flex;
  justify-content: space-between;
  padding: 8px 2px 0;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- film strip ---------- */

.strip-wrap { padding-block: clamp(28px, 4vw, 56px); }
.strip {
  --h: clamp(260px, 32vw, 460px);
  display: flex;
  gap: 12px;
  padding-left: var(--inset);
  padding-right: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--inset);
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.strip.is-dragging * { pointer-events: none; }
.strip .slot {
  flex: 0 0 auto;
  height: var(--h);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  counter-increment: shot;
}
.strip { counter-reset: shot; }
.strip .slot.is-empty::before {
  background: none;
  inset: 10px;
  border: 1px solid rgba(27, 26, 23, .2);
  z-index: 2;
}
.strip .slot.is-empty::after { z-index: 1; }
.strip .slot > img { -webkit-user-drag: none; user-select: none; }
.strip .slot:nth-child(2n).is-empty { background: radial-gradient(120% 90% at 70% 10%, #ead9c3 0%, #dcc4a8 55%, #c4a98c 100%); }
.strip .slot:nth-child(3n).is-empty { background: radial-gradient(120% 90% at 40% 20%, #e4d6c0 0%, #cdbfa6 55%, #b3a48a 100%); }
.strip .slot:nth-child(5n).is-empty { background: radial-gradient(120% 90% at 50% 10%, #ecd5bd 0%, #dcb9a0 55%, #c29b83 100%); }
.strip .slot.is-empty::after { opacity: .2; }
.strip .slot.is-empty > .slot__brief { padding-top: 0; }
.strip .slot:not(.is-empty)::before { z-index: 2; }


/* ---------- sticker ---------- */

.sticker { height: auto; filter: drop-shadow(0 6px 10px rgba(27, 26, 23, .18)); }

/* ---------- intro ---------- */

.intro { padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(40px, 6vw, 96px); }
.intro__inner { max-width: var(--max); margin-inline: auto; }
.intro__note { max-width: 340px; margin: 0 0 clamp(32px, 6vw, 96px) auto; }
.intro__lower {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  max-width: 1100px;
  margin: clamp(40px, 6vw, 88px) auto 0;
}
.intro__sticker { width: 100%; max-width: 220px; transform: rotate(-9deg); margin-top: -8px; }
.intro__col { display: grid; gap: 22px; justify-items: start; }

/* ---------- postcard collage ---------- */

.collage { position: relative; padding-block: clamp(24px, 4vw, 64px) clamp(56px, 8vw, 120px); overflow: hidden; }
.collage__stage { position: relative; height: clamp(400px, 46vw, 680px); }
.card-pos { position: absolute; width: clamp(150px, 24vw, 340px); }
.card-pos--1 { left: -3%; top: 12%; z-index: 2; }
.card-pos--2 { left: 15%; top: 0; z-index: 3; width: clamp(130px, 19vw, 270px); }
.card-pos--3 { left: 37%; top: 22%; z-index: 4; }
.card-pos--4 { left: 60%; top: 4%; z-index: 3; }
.card-pos--5 { right: -3%; top: 28%; z-index: 2; width: clamp(130px, 19vw, 270px); }
.card {
  --shift: 0px;
  margin: 0;
  padding: 8px 8px 0;
  background: #fffdf8;
  box-shadow: 0 1px 2px rgba(27, 26, 23, .16), 0 20px 36px -12px rgba(27, 26, 23, .4);
  rotate: var(--r);
  translate: 0 var(--shift);
  transition: rotate .9s var(--ease), scale .45s var(--ease), box-shadow .45s var(--ease);
}
.card img { width: 100%; height: auto; }
.card figcaption { padding: 7px 2px 9px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.js .card-pos:not(.in) .card { rotate: calc(var(--r) * 2); }
.card:hover {
  rotate: 0deg;
  scale: 1.05;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(27, 26, 23, .16), 0 30px 50px -14px rgba(27, 26, 23, .45);
  transition-duration: .45s;
}
.card-pos:hover { z-index: 10; }

/* ---------- at the sperl ---------- */

.at { padding-block: clamp(40px, 6vw, 88px); }
.at__head {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 72px);
}
.emblem--lg { width: 64px; height: 64px; font-size: 13px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--ink); }
.at__sticker { position: absolute; width: clamp(88px, 11vw, 160px); left: calc(50% + clamp(80px, 12vw, 190px)); top: -10px; transform: rotate(10deg); }
.at__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: var(--max);
  margin-inline: auto;
}
.note {
  grid-column: span 2;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  min-height: clamp(180px, 20vw, 280px);
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid var(--line);
  text-align: center;
}
.note--half { grid-column: span 3; min-height: clamp(150px, 15vw, 210px); }
.note__no { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.serif, .note p { font-family: var(--f-serif); font-size: clamp(21px, 2.2vw, 32px); line-height: 1.2; text-wrap: balance; }

/* ---------- menu ---------- */

.menu { padding-block: clamp(40px, 6vw, 88px); }
.menu__head { display: grid; justify-items: center; gap: 28px; margin-bottom: clamp(28px, 4vw, 56px); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab {
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
.tab:hover { background: var(--paper-2); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.menu__panel {
  max-width: 1200px;
  margin-inline: auto;
  transition: opacity .16s ease;
}
.menu__panel.is-out { opacity: 0; }
.menu__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 6vw, 96px);
  row-gap: 22px;
}
.mi__row { display: flex; align-items: baseline; gap: 10px; }
.mi__name { font-family: var(--f-serif); font-size: clamp(21px, 2vw, 28px); line-height: 1.15; }
.mi__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--ink-soft); transform: translateY(-4px); }
.mi__price { white-space: nowrap; font-size: 12.5px; }
.mi__desc { margin-top: 2px; font-size: 11.5px; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; }
.menu__note { max-width: 1200px; margin: 28px auto 0; }
.menu__foot { max-width: 1200px; margin: 14px auto 0; padding-top: 16px; border-top: 1px solid var(--line); }
.menu__foot a { text-underline-offset: 3px; white-space: nowrap; }
.menu__note:empty { display: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- history ---------- */

.history { padding-block: clamp(40px, 6vw, 88px); }
.timeline { max-width: 1000px; margin: clamp(28px, 4vw, 56px) auto 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid;
  grid-template-columns: minmax(84px, 150px) 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__year { font-size: 13px; letter-spacing: .06em; }
.timeline .serif { font-size: clamp(20px, 2.1vw, 30px); text-wrap: pretty; }

.stage { max-width: 1000px; margin: clamp(40px, 6vw, 88px) auto 0; display: grid; gap: 14px; }
.stage__h, .awards__h, .producers__h {
  margin: 0;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stage .serif { font-size: clamp(22px, 2.5vw, 36px); line-height: 1.2; }
.awards__h { max-width: 1100px; margin: clamp(40px, 6vw, 88px) auto 18px; }
.awards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin-inline: auto;
}
.badge {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 16px 20px;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: -6px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.55;
  rotate: var(--r);
  background: var(--paper);
}
.badge__year { font-family: var(--f-serif); font-size: 38px; line-height: 1; padding-top: 4px; }

/* ---------- producers ---------- */

.producers { padding: clamp(36px, 5vw, 72px) var(--gutter); }
.producers__inner { max-width: 1000px; margin-inline: auto; display: grid; gap: 18px; }
.producers__list { display: grid; margin: 0; }
.producers__list > div { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; }
.producers__list dt { white-space: nowrap; }
.producers__list dt::after { content: ""; }
.producers__list > div::after { content: none; }
.producers__list dd { margin: 0 0 0 auto; text-align: right; color: var(--ink-soft); }
.producers__list > div { border-bottom: 1px dotted var(--ink-soft); }

/* ---------- visit ---------- */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px);
}
.visit__text { display: grid; gap: 22px; justify-items: start; max-width: 480px; margin-inline: auto; width: 100%; }
.visit__text .caps { text-align: left; }
.visit__addr { display: grid; gap: 2px; font-style: normal; }
.visit__addr .serif { font-size: clamp(26px, 3vw, 44px); line-height: 1.1; }
.visit__contact a { text-underline-offset: 3px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours td { text-align: right; }
.visit__map { display: grid; gap: 18px; justify-items: center; }
.mapcard {
  width: min(100%, 520px);
  padding: 8px;
  background: #fffdf8;
  box-shadow: 0 1px 2px rgba(27, 26, 23, .16), 0 20px 40px -14px rgba(27, 26, 23, .36);
  transform: rotate(-1.5deg);
}
.mapcard svg { width: 100%; height: auto; }

/* ---------- keep in touch ---------- */

.touch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 88px);
}
.touch__text { display: grid; gap: 18px; max-width: 420px; margin-inline: auto; justify-items: start; }
.touch__text .caps { text-align: left; }
.touch__form { max-width: 560px; width: 100%; margin-inline: auto; }
form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 2px; position: relative; }
.field label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  padding: 8px 0 9px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 22px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-bottom-width: 2px;
  padding-bottom: 8px;
}
.field [aria-invalid="true"] { border-bottom-color: var(--tomato); }
.err { min-height: 0; font-size: 11px; line-height: 1.4; color: #b3361a; }
.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
form .btn { justify-self: start; }
.form-done { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--ink); }
.form-done[hidden] { display: none; }
.form-done .serif { font-size: clamp(24px, 2.4vw, 34px); }

/* ---------- footer ---------- */

.footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(56px, 8vw, 110px) var(--gutter) 96px;
  text-align: center;
}
.footer__mark { font-family: var(--f-serif); font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.footer__since { margin-top: -6px; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--ink-soft); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 12px; }
.footer__links a, .footer__legal a { text-underline-offset: 3px; }
.footer__legal { max-width: 640px; font-size: 11px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- concept pill ---------- */

.pill {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 150;
  display: flex;
  align-items: center;
  max-width: calc(100vw - 28px);
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 10px 28px -8px rgba(27, 26, 23, .5);
}
.pill a { padding: 10px 6px 10px 16px; text-decoration: none; }
.pill a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pill a:focus-visible, .pill__x:focus-visible { outline-color: var(--accent); outline-offset: -3px; }
.pill__x { padding: 6px 14px 8px 8px; border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; opacity: .75; }
.pill__x:hover { opacity: 1; }
.pill[hidden] { display: none; }


/* ==========================================================================
   Reference refinements (Café 11 look): split frames, flush rows, bigger collage
   ========================================================================== */

.caps--sm { font-size: clamp(18px, 1.9vw, 28px); letter-spacing: .05em; }

.hero { height: clamp(400px, 48vw, 760px); }

/* frame panel: two equal columns split by a hairline */
.frame.panel { padding: 0; gap: 0; align-items: stretch; min-height: clamp(360px, 38vw, 580px); }
.panel .caps { font-weight: 400; }
.panel__text { max-width: none; margin: 0; align-content: center; padding: var(--gutter); border-right: 1px solid var(--line); }
.panel__poster { padding: var(--gutter); }
.poster { width: min(100%, clamp(220px, 24vw, 340px)); }

/* film strip: flush left, tight gaps */
.strip-wrap { padding-block: 12px clamp(28px, 4vw, 56px); }
.strip { gap: 4px; padding-left: 0; scroll-padding-left: 0; }
.strip .slot { aspect-ratio: 4 / 5; }

/* intro: sticker left, one narrow text column right */
.intro__lower { grid-template-columns: minmax(120px, 1fr) minmax(0, 340px); max-width: 1000px; gap: clamp(24px, 6vw, 96px); align-items: start; margin-top: clamp(28px, 4vw, 56px); }
.intro__sticker { margin: 0 0 0 clamp(0px, 4vw, 64px); max-width: 190px; justify-self: start; }

/* collage: bigger, deeper overlaps, no captions */
.collage { padding-block: clamp(20px, 3vw, 48px) clamp(40px, 6vw, 96px); }
.collage__stage { height: clamp(400px, 44vw, 660px); }
.card-pos { width: clamp(170px, 31vw, 450px); }
.card-pos--1 { left: -7%; top: 14%; z-index: 2; }
.card-pos--2 { left: 17%; top: 0; z-index: 3; width: clamp(150px, 24vw, 350px); }
.card-pos--3 { left: 35%; top: 20%; z-index: 4; }
.card-pos--4 { left: 58%; top: 2%; z-index: 3; }
.card-pos--5 { right: -6%; top: 24%; z-index: 2; width: clamp(150px, 24vw, 350px); }
.card { padding: 5px; }

/* at the sperl: edge-to-edge hairline cards, label top-left */
.at { padding: clamp(28px, 4vw, 56px) var(--inset) var(--inset); }
.at__head { margin-bottom: clamp(28px, 3.4vw, 52px); }
.at__sticker { top: -34px; }
.emblem--lg { width: 48px; height: 48px; font-size: 10px; }
.at__grid { gap: 0; max-width: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.note {
  position: relative;
  align-content: center;
  justify-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: clamp(190px, 21vw, 320px);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 2.4vw, 36px);
}
.note--half { min-height: clamp(150px, 15vw, 240px); }
.note__no { position: absolute; left: 14px; top: 12px; font-size: 10px; }

/* feature panel: grey box centred inside a frame */
.frame.feature { display: grid; justify-items: center; gap: clamp(28px, 4vw, 56px); padding-block: clamp(32px, 5vw, 72px); }
.feature__text { display: grid; justify-items: center; gap: 20px; width: min(100%, 520px); text-align: center; }
.feature__text .mono-small { text-align: center; }
.sizes { display: grid; width: 100%; margin: 0; text-align: left; }
.sizes > div { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.sizes > div:last-child { border-bottom: 1px solid var(--line); }
.sizes dt { font-family: var(--f-serif); font-size: 26px; line-height: 1.1; }
.sizes dd { margin: 0; color: var(--ink-soft); }
.sizes .sizes__price { margin-left: auto; color: var(--ink); }

/* keep in touch: split frame, hairline form rows */
.frame.touch { padding: 0; gap: 0; align-items: stretch; }
.touch__text { max-width: none; margin: 0; align-content: start; padding: var(--gutter); border-right: 1px solid var(--line); }
.touch__form { max-width: none; margin: 0; }
.touch form { gap: 0; }
.touch .field-row { gap: 0; }
.touch .field-row .field + .field { border-left: 1px solid var(--line); }
.touch .field {
  padding: 12px clamp(16px, 2.4vw, 32px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s;
}
.touch .field:focus-within { background: var(--paper-2); }
.touch .field input[type="text"], .touch .field input[type="email"], .touch .field select, .touch .field textarea { border-bottom: 0; padding: 6px 0 10px; }
.touch .field input:focus-visible, .touch .field select:focus-visible, .touch .field textarea:focus-visible { padding-bottom: 10px; border-bottom-width: 0; }
.touch .field [aria-invalid="true"] { box-shadow: 0 2px 0 var(--tomato); }
.touch .field--check { padding-bottom: 14px; }
.touch form .btn { justify-self: end; margin: 18px clamp(16px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px); }
.touch .form-done { margin: var(--gutter); }

@media (max-width: 900px) {
  .panel__text { border-right: 0; border-bottom: 1px solid var(--line); }
  .touch__text { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro__lower { grid-template-columns: 1fr; }
  .intro__sticker { margin-left: 0; }
  .touch .field-row .field + .field { border-left: 0; }
}
@media (max-width: 600px) {
  .strip .slot { aspect-ratio: 4 / 5; }
  .at__grid { border-left: 1px solid var(--line); }
  .note { border-right: 1px solid var(--line); }
  .note, .note--half { min-height: 150px; }
  .collage__stage { padding: 8px 10px 0; }
  .card { padding: 4px; }
}

/* ---------- photographs ---------- */

.hero::after { background: linear-gradient(180deg, rgba(40, 24, 10, .18) 0%, rgba(40, 24, 10, .26) 55%, rgba(40, 24, 10, .42) 100%); }
.slot--hero > img { object-position: 50% 58%; filter: none; }
.slot--hero::before, .slot--hero::after { display: none; }

.band { margin: var(--inset) 0 0; width: 100%; height: clamp(240px, 36vw, 540px); }
.band > img { object-position: 50% 55%; }

.menu__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 1200px;
  margin: clamp(24px, 3vw, 40px) auto 0;
}
.menu__photos .slot { aspect-ratio: 4 / 5; }

.visit__print { width: min(100%, 300px); margin: 0; transform: rotate(2deg); }
.visit__print .slot { aspect-ratio: 4 / 5; }
.visit__map { gap: 26px; }

@media (max-width: 600px) {
  .menu__photos { grid-template-columns: 1fr 1fr; }
  .visit__print { width: min(78%, 280px); }
}

/* ---------- menu book (opens inside the right half of the frame panel) ---------- */

.panel__poster { container-type: inline-size; overflow: hidden; align-content: center; }
.book {
  --W: min(330px, calc((100cqw - 24px) / 2));
  --H: calc(var(--W) * 1.45);
  display: grid;
  justify-items: center;
  gap: 22px;
  width: 100%;
}
.book__stage {
  position: relative;
  width: calc(var(--W) * 2);
  height: var(--H);
  perspective: 2200px;
  transform: translateX(-25%);
  transition: transform .9s var(--ease);
}
.book[data-open="true"] .book__stage { transform: none; }

.book__page, .book__cover {
  position: absolute;
  top: 0;
  width: var(--W);
  height: var(--H);
}
.book__page--r { left: 50%; }
.book__page {
  padding: 20px 18px 30px;
  overflow: hidden;
  background: #fbf8f1;
  color: var(--ink);
  border: 1px solid var(--line);
}
.book__page--r {
  box-shadow: 1px 1px 0 #fffdf8, 2px 2px 0 var(--line), 3px 3px 0 #fffdf8, 4px 4px 0 var(--line), 0 22px 40px -16px rgba(27, 26, 23, .42);
}
.book__page--r::before, .book__page--l::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(27, 26, 23, .16), rgba(27, 26, 23, 0) 16px);
}
.book__page--l::before { background: linear-gradient(270deg, rgba(27, 26, 23, .16), rgba(27, 26, 23, 0) 16px); }

.book__cover {
  left: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
  z-index: 3;
}
.book[data-open="true"] .book__cover { transform: rotateY(-180deg); }
.book[data-open="false"] .book__cover:hover { transform: rotateY(-9deg); }

.book__front, .book__page--l {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.book__front {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f1e6d2;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 2px rgba(27, 26, 23, .2), 0 24px 44px -14px rgba(27, 26, 23, .45);
}
.book[data-open="true"] .book__front { visibility: hidden; pointer-events: none; transition: visibility 0s 1s; }
.book__front img { width: 100%; height: 100%; object-fit: cover; }
.book__front::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(27, 26, 23, .22), rgba(27, 26, 23, 0) 14px);
}
.book__title {
  position: absolute;
  left: 0; right: 0; top: 8.5%;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1;
  color: var(--ink);
}
.book__sub {
  position: absolute;
  left: 0; right: 0; top: calc(8.5% + clamp(40px, 4.4vw, 62px));
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.book__hint {
  position: absolute;
  left: 50%; bottom: 4.5%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  white-space: nowrap;
}
.book__front:hover .book__hint, .book__front:focus-visible .book__hint { background: var(--accent); color: var(--ink); }
.book__front:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.book__page--l { transform: rotateY(180deg); box-shadow: -1px 1px 0 #fffdf8, -2px 2px 0 var(--line); }

/* page contents */
.bk { height: 100%; min-height: 0; display: flex; flex-direction: column; transition: opacity .16s ease; }
.book.is-turning .bk { opacity: 0; }
.bk__title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}
.bk__list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.bk__row { display: flex; align-items: baseline; gap: 6px; font-family: var(--f-serif); font-size: clamp(11.5px, calc(var(--W) * .047), 13.5px); line-height: 1.22; }
.bk__name { min-width: 0; }
.bk__dots { flex: 1; min-width: 8px; border-bottom: 1px dotted var(--ink-soft); transform: translateY(-3px); }
.bk__price { font-family: var(--f-mono); font-size: 10.5px; white-space: nowrap; }
.bk__num { margin-top: auto; padding-top: 8px; text-align: center; font-size: 10px; color: var(--ink-soft); }
.bk__text { font-size: 11px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 10px; }
.bk__links { display: grid; gap: 8px; justify-items: start; margin-top: 6px; font-size: 11px; }
.bk__links a { text-underline-offset: 3px; }

.book__ctrl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.book__ctrl[hidden] { display: none; }
.book__btn { padding: 7px 12px; border: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 11.5px; cursor: pointer; transition: background-color .18s, color .18s; }
.book__btn:hover:not(:disabled), .book__btn:focus-visible { background: var(--ink); color: var(--paper); }
.book__btn:disabled { opacity: .35; cursor: default; }
.book__btn--close { border-color: var(--line); }
.book__pos { min-width: 64px; text-align: center; font-size: 11px; color: var(--ink-soft); }

/* single-page mode (phones): the cover swings away, one page at a time */
.book[data-mode="one"] { --W: min(300px, calc(100cqw - 8px)); }
.book[data-mode="one"] .book__stage { width: var(--W); transform: none; }
.book[data-mode="one"] .book__cover, .book[data-mode="one"] .book__page--r { left: 0; }
.book[data-mode="one"] .book__page--l { display: none; }
.book[data-mode="one"][data-open="true"] .book__cover { opacity: 0; pointer-events: none; transition: transform 1s var(--ease), opacity .3s .55s; }

@media (prefers-reduced-motion: reduce) {
  .book__stage, .book__cover, .bk { transition: none; }
}

/* ==========================================================================
   Four-page structure: cross-page fades, nav state, mobile overlay, page headers
   ========================================================================== */

@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.pill { view-transition-name: pill; }

.topbar__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.burger {
  display: none;
  width: 34px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 17px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 13.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 13.5px; transform: rotate(-45deg); }

.overlay {
  position: fixed;
  inset: var(--bar-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px var(--gutter) 64px;
  background: var(--paper);
  animation: overlay-in .35s var(--ease);
}
.overlay[hidden] { display: none; }
.overlay nav { display: grid; }
.overlay a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-serif);
  font-size: clamp(42px, 13vw, 72px);
  line-height: 1.05;
  text-decoration: none;
}
.overlay a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.nav-open body { overflow: hidden; }
@keyframes overlay-in { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 901px) { .overlay { display: none !important; } }

/* inner-page header: the hero's script title, smaller, in a hairline frame */
.page-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-block: clamp(36px, 6vw, 88px) clamp(28px, 4vw, 56px);
  overflow: hidden;
}
.page-head__script {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(84px, 14vw, 210px);
  line-height: .95;
  padding-inline: .15em;
  color: var(--ink);
  text-align: center;
  transform: rotate(-4deg);
  clip-path: inset(-20% 100% -20% -10%);
  animation: script-in 1.4s .15s var(--ease) forwards;
}
.page-head__line { margin: 0; }

/* home: torte teaser, split like the frame panel */
.frame.teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
}
.teaser__art { display: grid; place-items: center; padding: var(--gutter); border-right: 1px solid var(--line); }
.teaser__poster { width: min(100%, 250px); }
.teaser__text { display: grid; justify-items: center; align-content: center; gap: 20px; padding: var(--gutter); text-align: center; max-width: 520px; margin-inline: auto; }
.teaser__text .mono-small { text-align: center; }

/* menu page: price and allergen note in its own frame */
.frame.menu-note { padding-block: clamp(20px, 3vw, 36px); }
.menu-note .menu__foot { margin: 0 auto; border-top: 0; padding-top: 0; }
.menu-note p { text-align: center; }

@media (max-width: 900px) {
  .burger { display: block; }
  .teaser__art { border-right: 0; border-bottom: 1px solid var(--line); }
  .frame.teaser { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .page-head__script { animation: none; clip-path: none; }
  .overlay { animation: none; }
  .burger span { transition: none; }
}

/* ==========================================================================
   Satoshi tuning: body, labels, buttons, prices and uppercase headings are Satoshi, so sizes are re-set.
   Display text keeps Instrument Serif (--f-serif); the script titles keep the cursive face.
   ========================================================================== */

body { font-size: 14.5px; line-height: 1.6; font-weight: 400; }
.mono-small { font-size: 14px; line-height: 1.6; }
.btn { font-size: 13.5px; font-weight: 500; padding: 10px 18px; }
.topbar__nav { font-size: 13px; }
.status { font-size: 13px; font-weight: 500; }

.caps { letter-spacing: .04em; }
.mi__desc { font-size: 12.5px; }
.mi__price { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.timeline__year { font-size: 14px; font-weight: 500; }
.badge { font-size: 12.5px; }

.note__no, .poster__cap, .card figcaption, .hero__stamp, .footer__since, .field label,
.stage__h, .awards__h, .producers__h, .book__sub, .slot__brief { font-size: 11.5px; font-weight: 500; }
.slot__brief { font-weight: 400; }
.tab { font-size: 13px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { font-size: 15px; }
.err { font-size: 12.5px; }
.check { font-size: 13px !important; }
.footer__legal { font-size: 12.5px; }
.pill { font-size: 13px; }
.book__hint { font-size: 12px; font-weight: 500; }
.book__btn { font-size: 12.5px; font-weight: 500; }
.book__pos { font-size: 12px; }
.bk__price { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.bk__text, .bk__links { font-size: 12px; }
.bk__title { font-weight: 400; }
.page-head__line { font-weight: 300; }

/* ==========================================================================
   Photographs in place of illustrations: collage prints, torte teaser, sub-page headers, menu gallery
   ========================================================================== */

.slot--r45 { aspect-ratio: 4 / 5; }
.slot--r34 { aspect-ratio: 3 / 4; }
.slot--r43 { aspect-ratio: 4 / 3; }
.slot--zoom > img { transform: scale(1.75); transform-origin: 14% 79%; }

/* home: five photo prints on the collage stage */
.collage__stage { height: clamp(400px, 43vw, 640px); }
.card-pos { width: clamp(150px, 24vw, 350px); }
.card-pos--1 { left: -4%; top: 14%; }
.card-pos--2 { left: 17%; top: 0; width: clamp(140px, 21vw, 310px); }
.card-pos--3 { left: 36%; top: 17%; width: clamp(150px, 25vw, 360px); }
.card-pos--4 { left: 58%; top: 1%; width: clamp(150px, 23vw, 330px); }
.card-pos--5 { right: -4%; top: 25%; width: clamp(160px, 27vw, 390px); }
.card .slot > img { height: 100%; }

/* home: torte teaser with a real photograph */
.teaser__poster { width: min(100%, 270px); }
.teaser__poster .slot { overflow: hidden; }

/* sub-page header: the hero treatment with a photograph behind the title */
.page-head { position: relative; isolation: isolate; min-height: clamp(300px, 34vw, 500px); align-content: center; border-color: rgba(27, 26, 23, .28); }
.page-head__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(40, 24, 10, .26), rgba(40, 24, 10, .46));
}
.page-head__script { color: #fff; text-shadow: 0 2px 30px rgba(40, 24, 10, .35); }
.page-head__line { color: #fff; text-shadow: 0 1px 14px rgba(40, 24, 10, .5); }
.page-head .slot.is-empty { background: radial-gradient(120% 90% at 30% 15%, #8c6f55 0%, #6e5440 60%, #5a4331 100%); }

/* menu page: food gallery directly under the header */
.menu-gallery { padding: 0 var(--inset); }
.menu-gallery .menu__photos { max-width: none; margin: 0; gap: 4px; }
.menu-gallery .slot { aspect-ratio: 5 / 6; }

/* strip now follows the frame panel directly */
.strip-wrap { padding-top: 0; }

@media (max-width: 600px) {
  .menu-gallery .menu__photos { grid-template-columns: 1fr 1fr; }
}

.teaser__art { padding: 0; place-items: stretch; position: relative; min-height: clamp(380px, 40vw, 600px); overflow: hidden; }
.teaser__photo { position: absolute; inset: 0; background: none; }
.teaser__photo > img { transform: none; }
@media (max-width: 900px) { .teaser__art { min-height: 0; aspect-ratio: 4 / 3; } }

.book__btn--icon { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; }
.book__btn--close { border-color: var(--ink); }

/* ---------- headings and titles in dark coffee brown ---------- */

.caps, .statement, .serif, .note p, .page-head__line { color: var(--coffee); }
.page-head__line { color: #fff; }
h2, h3, .stage__h, .awards__h, .producers__h { color: var(--coffee); }
.topbar__brand, .footer__mark, .overlay a, .mi__name, .sizes dt, .visit__addr .serif,
.badge__year, .book__title, .bk__title, .timeline .serif, .stage .serif, .field label { color: var(--coffee); }
.page-head__script { color: #fff; }
.hero__script { color: #fff; }

/* ---------- scroll performance ---------- */

.hero { contain: paint; isolation: isolate; }
.hero__media { backface-visibility: hidden; transform: translate3d(0, 0, 0); will-change: transform; }
/* the film look on the hero is a static overlay (nothing to repaint while the photo moves) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(120, 80, 40, .10) 45%, rgba(60, 38, 18, .34) 100%), rgba(110, 76, 44, .14);
}
.hero__script, .hero__stamp { will-change: transform; }
.card { will-change: translate; }
body::after { will-change: transform; transform: translateZ(0); }

/* @@NEXT */




/* ---------- reveal + motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
  .topbar__nav { gap: 14px; }
}

@media (max-width: 900px) {
  .topbar__nav > a:not(.status) { display: none; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel__text { order: 1; }
  .panel__poster { order: 2; }
  .intro__sticker { grid-column: 1 / -1; max-width: 170px; }
  .menu__list { grid-template-columns: 1fr; }
  .feature__text { max-width: none; justify-items: center; }
  .feature__text .caps { text-align: center; }
  .at__sticker { left: auto; right: 0; top: -20px; }
  .awards { grid-template-columns: repeat(3, 1fr); }
  .visit, .touch { grid-template-columns: 1fr; }
  .visit__text, .touch__text { max-width: none; justify-items: center; text-align: center; }
  .visit__text .caps, .touch__text .caps { text-align: center; }
  .visit__addr { justify-items: center; }
  .touch__text { max-width: 560px; }
}

@media (max-width: 600px) {
  :root { --inset: 6px; }
  body { font-size: 14px; }
  .topbar { grid-template-columns: 1fr auto; }
  .emblem { display: none; }
  .topbar__nav { gap: 10px; }
  .status { padding: 0 9px; gap: 6px; font-size: 11px; }
  .hero__script { font-size: 22.5vw; width: 96%; }
  .hero__stamp { font-size: 9.5px; letter-spacing: .05em; }
  .strip .slot { aspect-ratio: 3 / 4; }
  .intro__lower { grid-template-columns: 1fr; }
  .at__grid { grid-template-columns: 1fr; }
  .note, .note--half { grid-column: auto; min-height: 130px; padding-top: 40px; }
  .at__sticker { width: 84px; right: 4px; }
  .collage__stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; padding: 8px 14px 0; }
  .card-pos { position: relative; inset: auto !important; width: auto !important; }
  .awards { grid-template-columns: 1fr 1fr; }
  .badge:last-child { grid-column: 1 / -1; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; }
  .producers__list > div { flex-wrap: wrap; }
  .pill { left: 8px; right: 8px; bottom: 8px; max-width: none; justify-content: space-between; }
  .footer { padding-bottom: 110px; }
  .card-pos--2, .card-pos--4 { margin-top: 42px; }
  .card-pos--5 { grid-column: 1 / -1; width: 58% !important; justify-self: center; }
  .card { rotate: calc(var(--r) * .5); }
  .js .card-pos:not(.in) .card { rotate: var(--r); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__script { animation: none; clip-path: none; }
  .hero__media { transform: none !important; }
  .status__dot { animation: none !important; }
  .poster, .btn, .card, .tab { transition: none; }
  .card { translate: none !important; }
}

/* menu page: gallery sits between the menu and the torte */
.menu-gallery { margin-block: var(--inset); }

/* "Your table in Vienna's living room" uses the same serif as the big statements */
#panel-h {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.08;
  letter-spacing: normal;
  text-transform: none;
  text-wrap: balance;
}
