/* Doušek — výběrová káva, Brno
   Mobile-first. Breakpoints: 720px (tablet), 960px (desktop). */

:root {
  --paper: #F4EFE6;
  --paper-2: #EAE3D5;
  --card: #FBF8F2;
  --ink: #1B1612;
  --ink-soft: #5B5046;
  --night: #15110E;
  --green: #173B2F;
  --green-deep: #0F2A21;
  --copper: #A85A32;
  --copper-light: #DDAA87;
  --cream: #F6F0E4;
  --cream-soft: rgba(246, 240, 228, .74);
  --line: rgba(27, 22, 18, .14);
  --line-light: rgba(246, 240, 228, .18);
  --ok: #3E9B62;
  --warn: #D9923B;
  --off: #B9614F;
  --err: #A63A2A;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --pad: clamp(20px, 5vw, 40px);
  --max: 1160px;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 0px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 76px;
  background: var(--night);
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }

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

h1, h2, .logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 7.4vw, 3.25rem); }
h3 { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  transition: top .15s;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 14px;
}
.eyebrow--light { color: var(--copper-light); }

.lead { color: var(--ink-soft); font-size: 1.0625rem; max-width: 34em; margin-top: 16px; text-wrap: pretty; }
.lead--light { color: var(--cream-soft); }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s, border-color .2s, color .2s, opacity .2s;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--green); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost-light { border-color: rgba(246, 240, 228, .4); color: var(--cream); background: rgba(21, 17, 14, .25); }
.btn--text { background: transparent; color: var(--ink-soft); min-height: 48px; }

@media (hover: hover) {
  .btn--primary:hover { background: var(--green-deep); }
  .btn--light:hover { background: #fff; }
  .btn--outline:hover { border-color: var(--ink); }
  .btn--ghost-light:hover { border-color: var(--cream); background: rgba(21, 17, 14, .45); }
  .btn--text:hover { color: var(--ink); }
}

/* ---------- Header ---------- */
.header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  color: var(--cream);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto;
  padding: 14px var(--pad);
}
.logo { font-size: 1.75rem; font-weight: 500; letter-spacing: -.01em; text-decoration: none; line-height: 1; padding: 6px 0; }
.nav { display: none; }
.header__side { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(21, 17, 14, .5); border: 1px solid var(--line-light);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .8125rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.status[hidden] { display: none; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--off); flex: none; }
[data-state="open"] .status__dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 155, 98, .22); }
[data-state="closing"] .status__dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(217, 146, 59, .22); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(92vh, 860px);
  min-height: min(92svh, 860px);
  background: var(--night); color: var(--cream);
}
.hero__media { position: absolute; inset: 0 0 auto 0; height: 68%; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(21, 17, 14, .62) 0%, rgba(21, 17, 14, 0) 22%),
    linear-gradient(to top, var(--night) 0%, rgba(21, 17, 14, .82) 16%, rgba(21, 17, 14, 0) 46%);
}
.hero__content { padding: 120px var(--pad) 26px; max-width: 640px; }
.hero__title { font-size: clamp(2.6rem, 11.4vw, 4.6rem); line-height: 1; }
.hero__title em { font-style: italic; font-weight: 300; color: var(--copper-light); }
.hero__lead { margin-top: 16px; color: var(--cream-soft); max-width: 30em; text-wrap: pretty; }
.hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.hero__actions .btn { padding-inline: 14px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 20px;
  font-size: .8125rem; color: var(--cream-soft);
}
.hero__facts li + li::before { content: "·"; margin: 0 9px; opacity: .6; }

@media (min-width: 350px) {
  .hero__actions { grid-template-columns: 1.2fr 1fr; }
}

/* ---------- Facts strip ---------- */
.facts { background: var(--night); color: var(--cream); padding: 8px 0 34px; }
.facts__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--line-light); position: relative;
}
.facts__list.wrap { padding-inline: 0; width: auto; margin-inline: var(--pad); }
.facts__list li { display: flex; flex-direction: column; gap: 4px; }
.facts__list strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 6.4vw, 2.5rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.facts__list span { font-size: .8125rem; line-height: 1.35; color: var(--cream-soft); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 11vw, 128px); }
.section__head { margin-bottom: 28px; }

/* ---------- Beans ---------- */
.beans {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 4px var(--pad) 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.beans::-webkit-scrollbar { display: none; }
.bean {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.bean__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--green); color: var(--cream); font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.bean__no { font-family: var(--font-display); font-size: .9375rem; color: var(--ink-soft); }
.bean h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; letter-spacing: -.02em; }
.bean h3 span { font-style: italic; font-weight: 300; color: var(--copper); }
.bean__notes { margin-top: 14px; color: var(--ink); font-size: 1rem; line-height: 1.45; min-height: 2.9em; }
.bean__meta { margin-top: auto; padding-top: 20px; }
.bean__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .875rem; }
.bean__meta dt { color: var(--ink-soft); }
.bean__meta dd { font-weight: 500; text-align: right; }

/* ---------- Craft ---------- */
.craft { background: var(--green); color: var(--cream); padding-block: clamp(56px, 10vw, 120px); }
.craft__in { display: grid; gap: 36px; }
.craft__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--green-deep); }
.craft__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.craft__list { margin-top: 30px; display: grid; }
.craft__list li {
  display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--line-light);
}
.craft__list li:last-child { border-bottom: 1px solid var(--line-light); }
.craft__num { font-family: var(--font-display); font-size: 1.625rem; line-height: 1; color: var(--copper-light); letter-spacing: -.02em; white-space: nowrap; }
.craft__list h3 { font-size: 1.0625rem; }
.craft__list p { margin-top: 5px; color: var(--cream-soft); font-size: .9688rem; }

/* ---------- Menu ---------- */
.menu { display: grid; gap: 32px; }
.menu__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.menu__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.menu .section__head { margin-bottom: 22px; }

.tabs {
  display: none; grid-template-columns: repeat(3, auto); gap: 4px;
  background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 8px;
}
.js .tabs { display: grid; }
.tab {
  min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
  font-size: .9063rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(27, 22, 18, .14); }
.tabpanel__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 26px 0 4px; }
.js .tabpanel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.js .tabpanel[hidden] { display: none; }
.js .tabpanel { animation: panel-in .28s var(--ease); }
.tabpanel:focus-visible { outline-offset: 6px; }

.menu-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.menu-list__row { display: flex; align-items: baseline; gap: 10px; }
.menu-list__row span { font-weight: 600; }
.menu-list__row i { flex: 1; border-bottom: 1px dotted rgba(27, 22, 18, .3); transform: translateY(-4px); min-width: 16px; }
.menu-list__row b { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; white-space: nowrap; }
.menu-list p { color: var(--ink-soft); font-size: .9063rem; margin-top: 2px; }
.menu__note { margin-top: 16px; font-size: .8438rem; color: var(--ink-soft); }

/* ---------- Place ---------- */
.place { background: var(--paper-2); padding-bottom: clamp(56px, 10vw, 112px); }
.place__media { aspect-ratio: 3 / 2.3; overflow: hidden; background: var(--paper-2); }
.place__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.place__body { padding-top: 36px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perks li {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border-radius: var(--radius-sm); padding: 16px;
  font-size: .9063rem; font-weight: 500; line-height: 1.3;
}
.perks .ico { width: 24px; height: 24px; color: var(--green); }

/* ---------- CTA ---------- */
.cta { background: var(--night); color: var(--cream); padding-block: clamp(64px, 11vw, 128px); }
.cta h2 { font-size: clamp(2.4rem, 9.5vw, 4.25rem); }
.cta .lead { color: var(--cream-soft); }
.cta__actions { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Visit ---------- */
.visit { display: grid; gap: 30px; }
.visit__media img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--paper-2); }
.visit__caption { margin-top: 10px; font-size: .8438rem; color: var(--ink-soft); }
.visit .section__head { margin-bottom: 16px; }
.visit__status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9688rem; margin-bottom: 20px; }
.visit__status[hidden] { display: none; }
.visit__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visit__actions .btn--primary { grid-column: 1 / -1; }
.visit__grid { display: grid; gap: 30px; margin-top: 36px; }
.h-small { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }

.hours { width: 100%; border-collapse: collapse; font-size: .9688rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after {
  content: "dnes"; margin-left: 10px; padding: 3px 9px; border-radius: 999px;
  background: var(--green); color: var(--cream); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: 2px;
}
.ways li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; color: var(--ink-soft); }
.ways b { color: var(--ink); font-weight: 600; margin-right: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--cream-soft); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .9375rem; }
.footer__in { display: grid; gap: 24px; }
.logo--footer { color: var(--cream); font-size: 2rem; padding: 0; }
.footer__claim { margin-top: 6px; }
.footer__links { display: grid; gap: 2px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; border-bottom: 1px solid transparent; }
.footer__legal { font-size: .8125rem; opacity: .75; }
@media (hover: hover) { .footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Bottom bar (mobile) ---------- */
.bar {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 239, 230, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .34s var(--ease), visibility 0s .34s;
}
.bar.is-on { transform: none; visibility: visible; transition: transform .34s var(--ease), visibility 0s; }
.bar__route {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .9688rem; text-decoration: none; color: var(--ink);
}
.bar__cta { flex-direction: column; gap: 3px; min-height: 52px; padding: 0 16px; }
.bar__cta small { font-size: .6875rem; font-weight: 500; opacity: .78; letter-spacing: .01em; }
.bar__cta small:empty { display: none; }
body { padding-bottom: 0; }
.footer { padding-bottom: calc(40px + 74px + env(safe-area-inset-bottom)); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px;
  font-size: .9063rem; font-weight: 500; white-space: nowrap; max-width: calc(100vw - 32px);
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================
   Reservation dialog
   ===================================================== */
.rsv {
  position: fixed; inset: 0; margin: auto 0 0 0;
  width: 100%; max-width: 100%;
  height: calc(100% - 20px - env(safe-area-inset-top)); max-height: none;
  padding: 0; border: 0; border-radius: 22px 22px 0 0;
  background: var(--paper); color: var(--ink);
  overflow: hidden;
}
.rsv[open] { display: flex; flex-direction: column; animation: sheet-in .36s var(--ease); }
.rsv.is-closing { animation: sheet-out .22s ease-in forwards; }
.rsv::backdrop { background: rgba(15, 12, 10, .62); animation: fade-in .3s ease; }
.rsv.is-closing::backdrop { animation: fade-out .22s ease forwards; }

.rsv__head { display: flex; align-items: center; gap: 6px; padding: 12px 10px 10px 20px; flex: none; }
.rsv__head:has([data-rsv-back]:not([hidden])) { padding-left: 10px; }
.rsv__titles { flex: 1; min-width: 0; }
.rsv__titles h2 { font-size: 1.5rem; outline: none; }
.rsv__step { font-size: .8125rem; color: var(--ink-soft); margin-top: 3px; }
.rsv__icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
}
.rsv__icon[hidden] { display: none; }
.rsv__icon:active { background: var(--paper-2); }
@media (hover: hover) { .rsv__icon:hover { background: var(--paper-2); } }
.rsv__icon .ico { width: 22px; height: 22px; }

.rsv__progress { height: 3px; background: var(--paper-2); flex: none; }
.rsv__progress span { display: block; height: 100%; width: 50%; background: var(--green); transition: width .4s var(--ease); }

.rsv__body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 22px 20px 28px;
}
.rsv__pane[hidden] { display: none; }
.rsv__pane { animation: panel-in .3s var(--ease); }

.field { margin-bottom: 26px; }
.field legend, .field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 12px; padding: 0; }
.field__hint { font-weight: 400; font-size: .8125rem; color: var(--ink-soft); margin-left: 6px; }
.field__help { font-size: .8125rem; color: var(--ink-soft); margin-top: 8px; }
.field__err { font-size: .8438rem; color: var(--err); font-weight: 500; margin-top: 8px; }
.field__err[hidden] { display: none; }

.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1.0625rem; line-height: 1.3; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: none; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(91, 80, 70, .6); }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 59, 47, .12); }
.field input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(166, 58, 42, .1); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--size { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.chip {
  min-height: 48px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card);
  font-weight: 600; font-size: .9688rem; font-variant-numeric: tabular-nums;
  transition: background-color .16s, color .16s, border-color .16s, transform .12s;
}
.chips--size .chip { padding: 0; }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }

.days {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68px; gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 20px;
  margin-inline: -20px; padding: 2px 20px 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.days::-webkit-scrollbar { display: none; }
.day {
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 76px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card);
  transition: background-color .16s, color .16s, border-color .16s, transform .12s;
}
.day:active { transform: scale(.95); }
.day__dow { font-size: .75rem; font-weight: 600; color: var(--ink-soft); text-transform: capitalize; }
.day__num { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; }
.day__mon { font-size: .6875rem; color: var(--ink-soft); }
.day[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.day[aria-pressed="true"] .day__dow, .day[aria-pressed="true"] .day__mon { color: var(--cream-soft); }

.slots__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 10px; }
.slots__label:first-child { margin-top: 0; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot {
  min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card);
  font-weight: 600; font-size: .9688rem; font-variant-numeric: tabular-nums;
  transition: background-color .16s, color .16s, border-color .16s, transform .12s;
}
.slot:active:not(:disabled) { transform: scale(.95); }
.slot[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.slot:disabled { background: transparent; border-style: dashed; color: rgba(91, 80, 70, .5); text-decoration: line-through; cursor: not-allowed; }
.slots__empty { padding: 18px; border-radius: var(--radius-sm); background: var(--paper-2); color: var(--ink-soft); font-size: .9375rem; }
.is-nudge { animation: nudge .5s var(--ease); }

.callout { background: var(--paper-2); border-radius: var(--radius-sm); padding: 18px; display: grid; gap: 14px; margin-bottom: 26px; }
.callout[hidden] { display: none; }
.callout p { font-size: .9688rem; }

.recap {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 10px 16px; margin-bottom: 26px;
  background: var(--paper-2); border: 0; border-radius: var(--radius-sm); text-align: left;
}
.recap__text { font-weight: 600; font-size: .9688rem; }
.recap__edit { font-size: .875rem; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; flex: none; }
.rsv__fine { font-size: .8125rem; color: var(--ink-soft); }

.rsv__foot {
  flex: none; padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--paper);
}
.rsv__foot[hidden] { display: none; }
.rsv__summary { font-size: .875rem; color: var(--ink-soft); text-align: center; min-height: 1.4em; margin-bottom: 10px; }
.rsv__summary b { color: var(--ink); font-weight: 600; }
.rsv__summary:empty { display: none; }
.rsv__foot .btn[hidden] { display: none; }
.rsv__foot .btn.is-soft { opacity: .45; }

.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(246, 240, 228, .35); border-top-color: var(--cream);
  animation: spin .7s linear infinite;
}
.btn.is-busy { pointer-events: none; }
.btn.is-busy .spinner { display: block; }

/* Done */
.rsv__pane--done { text-align: center; padding-top: 10px; }
.done__mark { width: 72px; height: 72px; margin: 0 auto 18px; }
.done__mark svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done__mark circle { fill: var(--green); stroke: none; transform-origin: center; animation: pop .45s var(--ease) both; }
.done__mark path { stroke: var(--cream); stroke-width: 3.2; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .4s .25s var(--ease) forwards; }
.done__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; letter-spacing: -.02em; line-height: 1.1; outline: none; }
.done__sub { color: var(--ink-soft); margin-top: 8px; font-size: .9688rem; }
.ticket {
  text-align: left; margin: 24px 0; padding: 4px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.ticket div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ticket div:last-child { border-bottom: 0; }
.ticket dt { color: var(--ink-soft); font-size: .9063rem; }
.ticket dd { font-weight: 600; text-align: right; }
.ticket [data-t-code] { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.done__actions { display: grid; gap: 10px; }
.done__cancel {
  margin-top: 14px; min-height: 44px; padding: 0 14px; border: 0; background: transparent;
  color: var(--ink-soft); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px;
}
.done__cancel.is-armed { color: var(--err); font-weight: 600; }

/* ---------- Keyframes ---------- */
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 60% { transform: translateX(5px); } }

/* =====================================================
   ≥ 720px
   ===================================================== */
@media (min-width: 720px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__actions .btn { padding-inline: 26px; }
  .facts__list { gap: 32px; }
  .facts__list span { font-size: .9375rem; }
  .beans { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; gap: 18px; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .cta__actions { display: flex; flex-wrap: wrap; }
  .visit__actions { display: flex; flex-wrap: wrap; }
  .visit__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
  .footer__legal { grid-column: 1 / -1; }
  .place__media { aspect-ratio: 3 / 2; max-width: var(--max); margin-inline: auto; }

  .rsv {
    margin: auto; width: min(540px, calc(100vw - 48px)); height: min(760px, calc(100% - 48px));
    border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  }
  .rsv[open] { animation-name: modal-in; }
  .rsv.is-closing { animation-name: modal-out; }
  .rsv__head { padding: 18px 16px 12px 28px; }
  .rsv__head:has([data-rsv-back]:not([hidden])) { padding-left: 16px; }
  .rsv__body { padding: 26px 28px 30px; }
  .rsv__foot { padding: 14px 28px 20px; }
  .days { margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; }
  .slots { grid-template-columns: repeat(5, 1fr); }
}

/* =====================================================
   ≥ 960px
   ===================================================== */
@media (min-width: 960px) {
  body { font-size: 1.125rem; }
  .lead { font-size: 1.1875rem; }

  .header { position: fixed; transition: background-color .3s, color .3s, box-shadow .3s; }
  .header.is-scrolled {
    background: rgba(244, 239, 230, .9); color: var(--ink);
    -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
    box-shadow: 0 1px 0 var(--line);
  }
  .header.is-scrolled .status { background: transparent; border-color: var(--line); }
  .header.is-scrolled .header__cta { background: var(--green); color: var(--cream); }
  .nav { display: flex; gap: 6px; margin-right: auto; margin-left: 28px; }
  .nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; opacity: .86; transition: opacity .2s, background-color .2s; }
  .nav a:hover { opacity: 1; background: rgba(128, 128, 128, .16); }
  .header__cta { display: inline-flex; }

  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(100vh, 900px); align-items: center; }
  .hero__media { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 100%; z-index: 0; }
  .hero__media img { position: absolute; inset: 0; object-position: 50% 40%; }
  .hero__media::after { background: linear-gradient(to right, var(--night) 0%, rgba(21, 17, 14, 0) 22%); }
  .hero__content {
    grid-column: 1; grid-row: 1; justify-self: end;
    width: 100%; max-width: calc(var(--max) / 2 + var(--pad));
    padding: 120px 48px 72px var(--pad);
  }
  .hero__title { font-size: clamp(3.4rem, 5.4vw, 5rem); }
  .hero__lead { font-size: 1.1875rem; margin-top: 22px; }
  .hero__actions { margin-top: 32px; }
  .hero__facts { font-size: .875rem; margin-top: 28px; }

  .facts { padding: 0 0 56px; }
  .facts__list { padding-top: 36px; }
  .facts__list.wrap { max-width: var(--max); margin-inline: auto; width: calc(100% - 2 * var(--pad)); }
  .facts__list li { flex-direction: row; align-items: baseline; gap: 14px; }

  .section__head { margin-bottom: 44px; }
  .bean { padding: 30px 30px 26px; }
  .bean h3 { font-size: 2.375rem; }

  .craft__in { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .craft__media { aspect-ratio: 4 / 5; }
  .craft__media img { object-position: 50% 50%; }
  .craft__list li { grid-template-columns: 110px 1fr; padding: 24px 0; }
  .craft__num { font-size: 2rem; }

  .menu { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .menu__media { aspect-ratio: 1; position: sticky; top: 100px; }
  .menu__media img { object-position: 50% 50%; }
  .js .tabs { display: inline-grid; }
  .tab { padding: 0 22px; }

  .place { padding-top: clamp(56px, 8vw, 96px); }
  .place__media { border-radius: var(--radius); width: calc(100% - 2 * var(--pad)); aspect-ratio: 16 / 9; }
  .place__body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; padding-top: 52px; }
  .place__body .section__head { margin-bottom: 0; }
  .perks { grid-template-columns: 1fr 1fr; }

  .cta__in { text-align: center; }
  .cta .lead { margin-inline: auto; }
  .cta__actions { justify-content: center; margin-top: 36px; }

  .visit { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .visit__media { position: sticky; top: 100px; }
  .visit__media img { aspect-ratio: 4 / 4.2; }

  .bar { display: none; }
  .footer { padding-bottom: 48px; }
  .toast { bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
