/* Gram — specialty coffee, Brno */

:root {
  --cream: #f4eee4;
  --paper: #fbf8f3;
  --sand: #e8dfd1;
  --line: #ddd2c1;
  --ink: #2a1d16;
  --ink-2: #5b4a3f;
  --ink-3: #85725f;
  --terra: #a24a28;
  --terra-d: #873c1f;
  --ok: #3f6b4a;
  --err: #a8321f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 14px;
  --r-lg: 22px;
  --pad: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --topbar: 60px;
  --dock: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--dock) + var(--safe-b));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.015em; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(32px, 7.5vw, 54px); }
h3 { font-size: 24px; }
p { margin: 0; }
em { font-style: italic; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

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

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.lead, .body-lg { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.body-lg { margin-top: 18px; max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color .2s var(--ease), transform .15s var(--ease), border-color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-d); }
.btn-primary:disabled { background: var(--sand); color: var(--ink-3); cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--terra); }
.link-btn.danger { color: var(--ink-3); font-weight: 500; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--topbar); padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
  display: flex; align-items: center; gap: 16px;
  transition: background-color .3s, box-shadow .3s, color .3s;
  color: var(--ink);
}
.topbar.is-solid { background: rgba(244, 238, 228, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.logo { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.logo-dot { color: var(--terra); }
.topnav { display: none; gap: 28px; margin-left: auto; }
.topnav a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.topnav a:hover { opacity: 1; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(251, 248, 243, .85); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.topbar.is-solid .status { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #7bc48f; box-shadow: 0 0 0 3px rgba(123, 196, 143, .25); }
.status.is-closed .status-dot { background: #d9a273; box-shadow: 0 0 0 3px rgba(217, 162, 115, .25); }
.topbar-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero-media { position: relative; height: 52svh; min-height: 300px; max-height: 520px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 29, 22, 0) 45%, rgba(42, 29, 22, .35) 100%); }
.hero-copy { position: relative; z-index: 1; margin-top: -72px; padding: 0 var(--pad) 32px; }
/* Tmavý podklad jede s textem, takže je čitelný při jakékoli výšce obsahu. */
.hero-copy::before { content: ""; position: absolute; inset: -40px 0 0 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 29, 22, 0) 0, rgba(42, 29, 22, .85) 70px, var(--ink) 120px); pointer-events: none; }
.hero .eyebrow { color: #f1c7a8; }
.hero h1 { font-size: clamp(44px, 12vw, 92px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.hero h1 em { font-weight: 400; color: #f1c7a8; }
.hero .lead { color: rgba(251, 248, 243, .82); margin-top: 16px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero .btn-ghost { border-color: rgba(251, 248, 243, .6); color: var(--paper); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-facts { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(251, 248, 243, .18); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; }
.hero-facts span { font-size: 12.5px; line-height: 1.3; color: rgba(251, 248, 243, .68); }

.my-booking { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 8px 12px 16px; border-radius: var(--r); background: rgba(251, 248, 243, .12); border: 1px solid rgba(251, 248, 243, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.my-booking-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #f1c7a8; font-weight: 600; }
.my-booking strong { font-weight: 500; }
.my-booking .link-btn { color: var(--paper); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vw, 140px) var(--pad); max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 36px; }

.concept-grid { display: grid; gap: 40px; }
.numbers { margin: 36px 0 0; display: grid; gap: 0; }
.numbers div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.numbers div:last-child { border-bottom: 1px solid var(--line); }
.numbers dt { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--terra); font-variation-settings: "opsz" 144; }
.numbers dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.concept-media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Menu ---------- */
.menu { border-top: 1px solid var(--line); }
.feature { display: grid; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px; box-shadow: 0 1px 0 var(--line); }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-copy { padding: 24px 22px 26px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.feature h3 { font-size: 28px; }
.feature p { margin-top: 10px; color: var(--ink-2); }
.feature .feature-meta { font-size: 14px; color: var(--ink-3); }

.tabs { display: flex; gap: 6px; padding: 5px; background: var(--sand); border-radius: 999px; margin-bottom: 8px; max-width: 420px; }
.tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(42, 29, 22, .12); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mi-name { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.mi-desc { grid-column: 1; font-size: 14.5px; color: var(--ink-3); }
.mi-price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.mi-price::after { content: " Kč"; color: var(--ink-3); font-weight: 400; font-size: 14px; }
.menu-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.panel:not([hidden]) { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Space ---------- */
.space { border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery figure { overflow: hidden; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide img { aspect-ratio: 3 / 2; }

/* ---------- Visit ---------- */
.visit { border-top: 1px solid var(--line); }
.visit-grid { display: grid; gap: 40px; }
.how { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.how li { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: baseline; font-size: 16px; color: var(--ink-2); }
.how-ico { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.how strong { color: var(--ink); font-weight: 600; }
.visit-actions { display: flex; gap: 10px; margin-top: 28px; }
.visit-actions .btn { flex: 1; }
.hours { background: var(--paper); border-radius: var(--r-lg); padding: 26px 22px; align-self: start; }
.hours h3 { margin-bottom: 14px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after { content: "dnes"; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.hours-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ---------- Final CTA ---------- */
.final { background: var(--ink); color: var(--paper); padding: clamp(80px, 14vw, 150px) var(--pad); text-align: center; }
.final h2 { font-size: clamp(40px, 10vw, 76px); font-weight: 350; }
.final p { margin: 16px auto 30px; color: rgba(251, 248, 243, .72); font-size: 18px; }

.footer { background: var(--ink); color: rgba(251, 248, 243, .7); border-top: 1px solid rgba(251, 248, 243, .12); padding: 32px var(--pad) 40px; font-size: 14px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 10px; }
.footer .logo { color: var(--paper); }
.footer a { text-decoration: none; border-bottom: 1px solid rgba(251, 248, 243, .3); }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px calc(10px + var(--safe-b));
  background: rgba(244, 238, 228, .94); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(0); transition: transform .35s var(--ease);
}
.dock.is-hidden { transform: translateY(110%); }
.dock-main { flex: 1; min-height: 54px; font-size: 17px; }
.dock-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; min-height: 54px; border-radius: var(--r); text-decoration: none; font-size: 12px; font-weight: 600; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.dock-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.dock-btn:active { background: var(--sand); }

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

/* ---------- Sheet (booking) ---------- */
.sheet {
  padding: 0; border: 0; margin: 0; max-width: none; max-height: none;
  width: 100%; height: 100%; background: transparent; color: var(--ink);
  overflow: hidden;
}
.sheet::backdrop { background: rgba(30, 20, 14, .5); opacity: 0; transition: opacity .3s var(--ease); }
.sheet.is-open::backdrop { opacity: 1; }
.sheet-inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 40px rgba(30, 20, 14, .2);
  transform: translateY(100%); transition: transform .38s var(--ease);
  will-change: transform;
}
.sheet.is-open .sheet-inner { transform: translateY(0); }
.sheet.is-dragging .sheet-inner { transition: none; }
.sheet-head { position: relative; display: flex; align-items: center; gap: 8px; padding: 22px 12px 12px 20px; border-bottom: 1px solid var(--line); touch-action: none; cursor: grab; }
.grabber { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--line); }
.sheet-title { flex: 1; min-width: 0; }
.sheet-title h2 { font-size: 24px; }
.steps { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.icon-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.back { margin-left: -8px; background: transparent; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 20px 20px; }
.sheet-foot { padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--paper); }
.sheet-foot[hidden] { display: none; }

.field { border: 0; margin: 0; padding: 18px 0 4px; min-width: 0; }
.field legend, .field > label { display: block; padding: 0; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.legend-aside { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 6px; }
.opt { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 4px; }
.hint { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.err { font-size: 13.5px; color: var(--err); margin-top: 6px; }

/* chips */
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; min-width: 48px; padding: 0 14px; border-radius: 12px;
  background: var(--cream); border: 1.5px solid transparent;
  font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15;
  transition: background-color .15s, border-color .15s, color .15s; user-select: none; -webkit-user-select: none;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { background: transparent; border-color: var(--line); border-style: dashed; color: #b4a796; text-decoration: line-through; font-weight: 500; }

.party { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.party .chip span { padding: 0; width: 100%; min-width: 0; }
.party .chip { display: flex; }

.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.days::-webkit-scrollbar { display: none; }
.days .chip { scroll-snap-align: start; flex: none; }
.days .chip span { width: 62px; height: 70px; padding: 0; gap: 3px; }
.days small { font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.days b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1; }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slots .chip { display: flex; }
.slots .chip span { width: 100%; padding: 0; font-size: 15px; }
.slot-group { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 8px 0 2px; }
.slot-group:first-child { margin-top: 0; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; flex: 1 1 auto; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px; border-radius: 12px; background: var(--cream); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; text-decoration: line-through; }

input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  min-height: 52px; padding: 12px 16px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--line);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 76px; line-height: 1.45; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(42, 29, 22, .08); }
input[aria-invalid="true"] { border-color: var(--err); }
::placeholder { color: #b4a796; }

.summary { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--cream); border-radius: var(--r); }
.summary strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.summary span { font-size: 14px; color: var(--ink-3); }
.summary .link-btn { flex: none; padding: 10px 0; }

.done { text-align: center; padding: 20px 0 8px; }
.done-mark { width: 72px; height: 72px; margin: 4px auto 18px; }
.done-mark svg { width: 100%; height: 100%; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease) forwards; }
.done-mark path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .4s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-title { font-size: 30px; outline: none; }
.done-sub { margin-top: 8px; color: var(--ink-2); }
.ticket { margin: 22px 0; text-align: left; background: var(--cream); border-radius: var(--r); padding: 4px 18px; }
.ticket div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ticket div:last-child { border-bottom: 0; }
.ticket dt { color: var(--ink-3); font-size: 14.5px; }
.ticket dd { margin: 0; font-weight: 600; text-align: right; }
.ticket .code { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; }
.done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.done .link-btn { margin-top: 12px; }

.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock) + var(--safe-b) + 14px); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-size: 15px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(30, 20, 14, .25); transition: opacity .25s, transform .3s var(--ease); max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Small phones ---------- */
@media (max-width: 360px) {
  .hero-facts strong { font-size: 17px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .party { gap: 4px; }
}

/* ---------- Tablet / desktop ---------- */
@media (min-width: 720px) {
  .feature { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .feature img { aspect-ratio: 1; height: 100%; }
  .feature-copy { padding: 40px; }
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
  .gallery .g-wide { grid-column: 1; grid-row: 1 / span 2; }
  .gallery .g-wide img { aspect-ratio: auto; }
  .visit-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .slots { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .toast { bottom: 28px; }
  .topnav { display: flex; }
  .status { margin-left: 8px; }
  .topbar-cta { display: inline-flex; }
  .topbar:not(.is-solid) .topbar-cta { background: var(--paper); color: var(--ink); }

  .hero { display: flex; flex-direction: row; align-items: stretch; min-height: min(100vh, 900px); background: var(--cream); color: var(--ink); }
  .hero-media { position: relative; order: 2; flex: 0 0 50%; height: auto; max-height: none; }
  .hero-media::after, .hero-copy::before { display: none; }
  .hero-copy { margin-top: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--topbar) + 40px) clamp(40px, 5vw, 88px) 56px; }
  .hero .eyebrow, .hero h1 em { color: var(--terra); }
  .hero .lead { color: var(--ink-2); }
  .hero .btn-ghost { border-color: var(--ink); color: var(--ink); }
  .hero .btn-ghost:hover { background: var(--ink); color: var(--paper); }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-facts { border-top-color: var(--line); max-width: 520px; }
  .hero-facts span { color: var(--ink-3); }
  .my-booking { background: var(--paper); border-color: var(--line); max-width: 520px; }
  .my-booking-label { color: var(--terra); }
  .my-booking .link-btn { color: var(--terra); }
  .topbar:not(.is-solid) { color: var(--ink); background: rgba(244, 238, 228, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .topbar:not(.is-solid) .status { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

  .concept-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
  .menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
  .menu .section-head { grid-column: 1 / -1; }
  .menu .feature { grid-column: 1; grid-row: 2 / span 3; grid-template-columns: 1fr; margin: 0; }
  .menu .feature img { aspect-ratio: 4 / 3; }
  .menu .tabs, .menu .panel, .menu .menu-note { grid-column: 2; }

  /* sheet as centered modal */
  .sheet-inner { left: 50%; top: 50%; bottom: auto; width: 520px; max-height: min(820px, calc(100vh - 48px)); border-radius: 24px; transform: translate(-50%, -46%) scale(.98); opacity: 0; transition: transform .3s var(--ease), opacity .25s; }
  .sheet.is-open .sheet-inner { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-head { cursor: default; touch-action: auto; padding-top: 16px; }
  .grabber { display: none; }
}

@media (hover: hover) {
  .chip input:not(:disabled):not(:checked):hover + span, .seg input:not(:checked):hover + span { border-color: var(--ink-3); }
}

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