/* Sintel · Basis — de menukaart. Asgrijs als ondergrond, papier als kaart, houtskool als inkt,
   sintel-oranje alleen op de knop en de gloed. Young Serif voor de kop, Source Serif 4 voor de tekst. */
:root {
  --ground: #e2e2df;
  --paper: #f8f8f8;
  --paper-2: #eeeeee;
  --ink: #1e1915;
  --muted: #5a5047;
  --accent: #ff5a1a;
  --accent-ink: #1e1915;
  --coal-1: #2a221c;
  --coal-2: #3b2f26;
  --coal-3: #4c3c30;
  --coal-ink: #f2f2f2;
  --display: 'Young Serif', Georgia, serif;
  --text: 'Source Serif 4', Georgia, serif;
  --step-small: 0.875rem;
  --step-body: 1.0625rem;
  --step-lead: 1.375rem;
  --step-head: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --m: 12px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; margin: 0; }
p { margin: 0; }
.nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--accent); color: var(--accent-ink); font-family: var(--text); font-weight: 600; font-size: 1.0625rem; text-decoration: none; border-radius: 0; transition: transform .25s var(--ease), background-color .25s; position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: auto 0 0 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8'%3E%3Crect width='14' height='8' fill='%231e1915'/%3E%3C/svg%3E") 0 0 / 28px 100% repeat-x; transform: translateY(100%); transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 1.0625rem; }

/* kopbalk: verschijnt na de eerste kaart */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 10px 24px; background: var(--paper); transform: translateY(-100%); transition: transform .35s var(--ease); }
.top.is-on { transform: none; }
.top__mark { font-family: var(--display); font-size: 2rem; text-decoration: none; margin-right: auto; }
.top__nav { display: flex; gap: 22px; }
.top__nav a { text-decoration: none; font-size: 1.0625rem; padding: 8px 0; transition: color .2s; }
.top__nav a:hover { color: var(--muted); text-decoration: underline; }

/* ---------- hero: de kaart naast de zaal ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); padding: var(--m); min-height: 100svh; }
.hero__card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.grate { height: 56px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='8'%3E%3Crect width='28' height='8' fill='%231e1915'/%3E%3C/svg%3E") 0 0 / 56px 100% repeat-x; }
.hero__body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 64px) 28px; gap: 22px; }
.hero__mark { font-family: var(--display); font-size: clamp(4.5rem, 8.4vw, 8.5rem); line-height: .85; letter-spacing: -0.035em; }
.hero h1 { font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1; }
.hero__lead { max-width: 38ch; font-size: 1.0625rem; color: var(--ink); }
.hero__links { display: flex; gap: 26px; margin-top: auto; padding-top: 12px; font-size: 1.0625rem; }
.hero__links a { padding: 10px 2px; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
.hero__links a:hover { color: var(--muted); }

/* het vuur nu: de balk loopt van aansteken tot sluiten, de gloed staat waar de avond nu is */
.fire { width: min(100%, 440px); background: var(--paper-2); padding: 18px 20px 16px; text-align: left; }
.fire__title { font-family: var(--display); font-size: 1.375rem; line-height: 1.05; }
.fire__text { margin-top: 6px; font-size: 1.0625rem; color: var(--ink); }
.fire__bar { --p: 0; position: relative; height: 12px; margin-top: 14px; background: var(--ground); }
.fire__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--coal-2); transition: width .8s var(--ease); }
.fire__bar i::after { content: ''; position: absolute; right: -9px; top: -5px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); opacity: 0; }
.fire.is-open .fire__bar i::after, .fire[data-stage="vlam"] .fire__bar i::after { opacity: 1; animation: glow 2.4s ease-in-out infinite; }
.fire__ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: var(--step-small); color: var(--muted); }
@keyframes glow { 0%, 100% { transform: scale(.82); } 50% { transform: scale(1.08); } }

.hero__room { position: relative; }
.fade { position: sticky; top: var(--m); height: calc(100svh - 2 * var(--m)); border-radius: var(--radius); overflow: hidden; background: var(--coal-1); }
.fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.fade img.is-on { opacity: 1; }
.fade img:first-child { opacity: 1; }
.js .fade img:first-child:not(.is-on) { opacity: 0; }
.fade img.is-on { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- menu: kaarten die tot ruggen vouwen ---------- */
.spines { position: relative; padding: 0 var(--m); }
.spines__stage { padding: 140px 20px 0; max-width: 1400px; margin: 0 auto; }
.spines h2 { font-size: var(--step-head); max-width: 14ch; }
.spines__lead { margin-top: 18px; max-width: 52ch; font-size: var(--step-lead); line-height: 1.35; }
.deck { display: grid; gap: var(--m); margin-top: 48px; }
.card { color: var(--coal-ink); padding: 32px; min-height: 420px; display: flex; flex-direction: column; overflow: hidden; }
.card--1 { background: var(--coal-1); }
.card--2 { background: var(--coal-2); }
.card--3 { background: var(--coal-3); }
.card--4 { background: var(--coal-1); }
.card h3 { font-size: 2rem; line-height: 1.05; }
.card h3 button { all: unset; font: inherit; letter-spacing: inherit; cursor: pointer; }
.card h3 button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.card__heat { margin-top: 8px; color: #d8d2ca; font-size: 1.0625rem; }
.dishes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.dishes li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; font-size: 1.0625rem; }
.dishes small { display: block; color: #d8d2ca; font-size: 1.0625rem; }
.spines__foot { margin-top: 48px; font-size: 1.0625rem; max-width: 60ch; }

@media (min-width: 861px) {
  .js .spines { height: 230svh; }
  .js .spines__stage { position: sticky; top: 0; height: 100svh; padding-top: 96px; display: flex; flex-direction: column; }
  .js .deck { position: relative; height: 380px; margin-top: 40px; display: block; overflow: hidden; }
  .js .card { position: absolute; top: 0; bottom: 0; left: 0; width: 620px; transition: transform .7s var(--ease), width .7s var(--ease); }
  .js .card.is-spine { width: 120px; padding: 32px 22px; }
  .js .card.is-spine .card__heat, .js .card.is-spine .dishes { opacity: 0; }
  .js .card .card__heat, .js .card .dishes { transition: opacity .4s; }
  .js .card.is-spine h3 { white-space: nowrap; }
  .js .card.is-waiting { transform: translateX(var(--wait, 100vw)); }
  .js .spines__foot { margin-top: 28px; }
  .js .card .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; max-width: 900px; }
  .js .card.is-peek .card__heat, .js .card.is-peek .dishes { opacity: 0; }
}

/* ---------- de brief van Jesse ---------- */
.letter { padding: 110px var(--m) 160px; display: flex; flex-direction: column; align-items: center; }
.sheet { width: min(640px, 100%); background: var(--paper); padding: 60px 60px 84px; display: grid; gap: 1.1em; font-size: 1.0625rem; line-height: 1.6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' preserveAspectRatio='none'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") 0 0 / 100% calc(100% - 16px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 0h32v0a16 16 0 0 1-32 0z'/%3E%3C/svg%3E") 0 100% / 32px 16px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' preserveAspectRatio='none'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") 0 0 / 100% calc(100% - 16px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 0h32v0a16 16 0 0 1-32 0z'/%3E%3C/svg%3E") 0 100% / 32px 16px repeat-x; }
.sheet__face { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 60% 30%; margin-bottom: 10px; }
.sheet__sign { font-style: italic; font-size: 1.375rem; margin-top: 8px; }
.sheet__role { font-style: normal; font-size: 1.0625rem; color: var(--muted); }
.stub { width: min(640px, 100%); margin-top: 18px; background: var(--paper); min-height: 72px; padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; position: relative; font-size: 1.0625rem; }
.stub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='6'%3E%3Ccircle cx='7' cy='3' r='2.8' fill='%23fbf9f4'/%3E%3C/svg%3E") 0 0 / 14px 6px repeat-x; }
.stub a { font-family: var(--display); font-size: 2rem; text-decoration: none; transition: color .2s; }
.stub a:hover { color: var(--accent); }

/* ---------- foto's met een label eronder ---------- */
.tiles { max-width: 1400px; margin: 0 auto; padding: 40px 32px 160px; }
.tiles h2 { font-size: var(--step-head); margin-bottom: 40px; }
.tiles__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 12px; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.tile { overflow: hidden; }
.tile:hover img { transform: scale(1.04); }
.tile__tag { position: relative; padding: 12px; min-height: 92px; display: grid; gap: 8px; font-size: var(--step-small); }
.tile__tag p { display: flex; justify-content: space-between; gap: 8px; }
.tile__tag p + p { font-size: 1.0625rem; font-weight: 600; }
.tile--a .tile__tag { background: var(--coal-1); color: var(--coal-ink); }
.tile--b .tile__tag { background: var(--accent); color: var(--ink); }
.tile--c .tile__tag { background: var(--paper); color: var(--ink); }
.tile--d .tile__tag { background: var(--coal-3); color: var(--coal-ink); }

/* ---------- de bon om uit te knippen ---------- */
.coupon-wrap { padding: 120px 32px; }
.coupon { max-width: 1180px; margin: 0 auto; background: var(--accent); color: var(--ink); display: grid; grid-template-columns: 46fr 54fr; position: relative; }
.coupon::before, .coupon::after { content: ''; position: absolute; left: calc(46% - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--ground); }
.coupon::before { top: -14px; }
.coupon::after { bottom: -14px; }
.coupon__left { padding: 48px; display: flex; flex-direction: column; gap: 20px; border-right: 5px dotted var(--ground); }
.coupon h2 { font-size: 2rem; line-height: 1; }
.coupon__left > p { max-width: 40ch; font-size: 1.0625rem; }
.hours { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 4px; font-size: 1.0625rem; max-width: 340px; }
.hours li { display: flex; justify-content: space-between; padding: 2px 0; }
.hours li.is-today { font-weight: 600; }
.hours li.is-today span:first-child::after { content: ' · vandaag'; font-weight: 400; }
.coupon__right { padding: 48px; display: grid; gap: 10px; align-content: center; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 10px 18px; background: #ff7a45; color: var(--ink); text-decoration: none; font-size: 1.0625rem; transition: background-color .2s, transform .2s var(--ease); }
.slot span:first-child { font-weight: 600; }
.slot span:last-child { text-align: right; }
a.slot:hover { background: #ff8f61; transform: translateX(4px); }
.slot--note { background: transparent; padding-inline: 0; min-height: 44px; }
.coupon__call { display: flex; align-items: center; justify-content: center; min-height: 58px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 1.0625rem; margin-top: 6px; transition: transform .2s var(--ease), background-color .2s; }
.coupon__call:hover { background: var(--coal-2); transform: translateY(-2px); }

/* ---------- de achterkant van de kaart ---------- */
.back { padding: 0 32px 40px; }
.back__card { max-width: 1180px; margin: 0 auto; background: var(--paper); padding: 90px 56px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; min-height: 420px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' preserveAspectRatio='none'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") 0 50px / 100% calc(100% - 50px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='50'%3E%3Cpath d='M0 50a50 50 0 0 1 100 0z'/%3E%3C/svg%3E") 50% 0 / 100px 50px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' preserveAspectRatio='none'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") 0 50px / 100% calc(100% - 50px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='50'%3E%3Cpath d='M0 50a50 50 0 0 1 100 0z'/%3E%3C/svg%3E") 50% 0 / 100px 50px repeat-x; }
.back h2 { font-size: 2rem; }
.back__msg { display: grid; gap: 14px; align-content: start; font-size: 1.0625rem; max-width: 44ch; }
.back__addr { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 1.0625rem; position: relative; padding-right: 110px; }
.back__addr a { text-decoration-thickness: 1px; text-underline-offset: 4px; padding: 4px 0; }
.back__addr a:hover { color: var(--muted); }
.stamp { position: absolute; right: 0; top: 0; width: 88px; aspect-ratio: 3 / 4; object-fit: cover; padding: 6px; background: var(--paper); outline: 2px dashed var(--muted); outline-offset: -2px; transform: rotate(4deg); }
.back__imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: var(--muted); }

.callbar { display: none; }

/* binnenkomen: kop, dan tekst, dan beeld */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  :root { --m: 12px; }
  .top { padding: 8px 16px; gap: 10px; }
  .top__nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: var(--m); gap: 0; min-height: 0; }
  .hero__room { order: -1; }
  .fade { position: relative; top: 0; height: 48svh; }
  .hero__card { margin-top: -24px; position: relative; z-index: 1; }
  .grate { height: 40px; background-size: 40px 100%; }
  .hero__body { padding: 26px 20px 20px; gap: 18px; }
  .hero__mark { font-size: 21vw; }
  .hero h1 { font-size: 9vw; }
  .hero__links { flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
  .hero .btn { width: 100%; min-height: 54px; }
  .top .btn { padding: 0 14px; }
  .spines__stage { padding: 96px 4px 0; }
  .spines h2 { font-size: 10vw; }
  .deck { margin-top: 32px; }
  .card { min-height: 0; padding: 26px 22px; }
  .card h3 { font-size: 2rem; }
  .letter { padding: 110px 0 96px; }
  .sheet { padding: 32px 24px 64px; font-size: 1.0625rem; }
  .stub { flex-direction: column; align-items: stretch; text-align: center; }
  .stub a { display: flex; justify-content: center; align-items: center; min-height: 52px; background: var(--accent); }
  .tiles { padding: 16px 16px 110px; }
  .tiles h2 { font-size: 10vw; margin-bottom: 24px; }
  .tiles__grid { grid-template-columns: 1fr 1fr; gap: 16px 8px; }
  .tile__tag { min-height: 0; padding: 10px; }
  .tile__tag p:first-child { flex-wrap: wrap; row-gap: 2px; }
  .tile__tag p:first-child span { flex: 0 0 45%; }
  .tile__tag p + p { flex-direction: column; font-size: var(--step-small); }
  .coupon-wrap { padding: 80px 12px; }
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { left: auto; top: calc(52% - 14px); bottom: auto; }
  .coupon::before { left: -14px; }
  .coupon::after { right: -14px; }
  .coupon__left { padding: 32px 22px; border-right: 0; border-bottom: 5px dotted var(--ground); }
  .coupon__right { padding: 26px 16px 22px; }
  .slot { flex-direction: column; align-items: flex-start; gap: 0; min-height: 60px; }
  .slot span:last-child { text-align: left; }
  .back { padding: 0 0 72px; }
  .back__card { grid-template-columns: 1fr; padding: 70px 22px 26px; -webkit-mask-size: 100% calc(100% - 32px), 64px 32px; mask-size: 100% calc(100% - 32px), 64px 32px; -webkit-mask-position: 0 32px, 50% 0; mask-position: 0 32px, 50% 0; padding-top: 60px; }
  .back__addr { padding-right: 80px; font-size: 1.0625rem; }
  .stamp { width: 64px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; transform: translateY(110%); transition: transform .3s var(--ease); }
  .callbar.is-on { transform: none; }
  .callbar a { min-height: 56px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
  .callbar a + a { background: var(--accent); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fade img, .fade img.is-on { animation: none; transition: none; }
  .fire__bar i::after { animation: none !important; }
  .js .card { transition: none; }
}

.dishes .nums, .tile__tag .nums, .hours .nums { white-space: nowrap; }
