:root{--accent:#2346a0;--accent-ink:#2346a0;--accent-soft:#e6ebf7;--accent-dark:#a9bdf2}
/* Cafe template. Palette vars (--accent, --accent-ink, --accent-soft, --accent-dark) are prepended by build.py. */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --text: #1d201e;
  --muted: #4f5551;
  --line: #dcdfda;
  --radius: 14px;
  --font: "Segoe UI Variable Display", "Segoe UI", "Avenir Next", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131513;
    --surface: #1b1e1c;
    --text: #ecefe9;
    --muted: #b3bab4;
    --line: #2d322f;
    --accent-ink: var(--accent-dark);
    --accent-soft: rgb(255 255 255 / .05);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 700; }
p { margin: 0; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.top a.call { font-weight: 600; text-decoration: none; padding: 10px 2px; }

/* Hero */
.hero { padding-top: 28px; padding-bottom: 56px; display: grid; gap: 28px; }
.rating { font-size: 1rem; font-weight: 600; color: var(--accent-ink); }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.6vw, 4.4rem); font-weight: 750; max-width: 15ch; margin-top: 12px; }
.hero .sub { color: var(--muted); font-size: 1.12rem; max-width: 40ch; margin-top: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 650; font-size: 1.02rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-main { background: var(--accent); color: #fff; }
.btn-main:hover { filter: brightness(1.08); }
.btn-alt { border: 1.5px solid var(--line); color: var(--text); }
.btn-alt:hover { border-color: var(--accent-ink); }
.hero-card {
  background: var(--accent); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: end;
}
.hero-card .big { font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); font-weight: 750; line-height: 1; letter-spacing: -0.03em; }
.hero-card p { font-size: 1rem; opacity: .92; max-width: 30ch; }

/* Favourites */
.section { padding-block: 56px; border-top: 1px solid var(--line); }
.favs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.favs li { padding: 18px 0; display: grid; gap: 4px; }
.favs li + li { border-top: 1px dashed var(--line); }
.favs h3 { font-size: 1.35rem; font-weight: 700; }
.favs p { color: var(--muted); }

/* Ordering */
.how { margin-top: 28px; display: grid; gap: 14px; counter-reset: s; }
.how div { background: var(--accent-soft); border-radius: var(--radius); padding: 20px 22px; }
.how h3 { font-size: 1.15rem; font-weight: 700; color: var(--accent-ink); }
.how p { color: var(--text); margin-top: 4px; }

/* Reviews */
.quotes { margin-top: 28px; display: grid; gap: 28px; }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.quotes figure:first-child blockquote { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.quotes figcaption { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.more { display: inline-block; margin-top: 24px; font-weight: 600; padding: 8px 0; }

/* Visit */
.visit { display: grid; gap: 32px; margin-top: 28px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; font-weight: 400; }
.hours th { color: var(--muted); padding-right: 16px; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.where p + p { margin-top: 10px; }
.where .addr { font-size: 1.2rem; font-weight: 650; }

/* Footer + mobile bar */
footer { padding: 40px 0 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
.bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; display: flex; gap: 10px;
  padding: 8px; border-radius: 999px; background: var(--surface);
  box-shadow: 0 10px 30px rgb(20 30 20 / .14);
}
.bar .btn { flex: 1; min-height: 48px; padding: 0 14px; }

@media (min-width: 768px) {
  .hero { grid-template-columns: 1.5fr 1fr; align-items: end; padding-top: 48px; padding-bottom: 80px; }
  .favs { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .favs li:nth-child(2) { border-top: 0; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: 1.4fr 1fr; }
  .quotes figure:first-child { grid-row: span 2; }
  .visit { grid-template-columns: 1fr 1fr; gap: 64px; }
  .bar { display: none; }
  footer { padding-bottom: 40px; }
  .section { padding-block: 80px; }
  .hero-card { min-height: 260px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .hero > *:nth-child(2) { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Sticky bar shows only once the hero buttons scroll away (CSS scroll timeline; older browsers just show it). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .bar { animation: bar-in linear both; animation-timeline: scroll(root); animation-range: 380px 460px; }
    @keyframes bar-in { from { opacity: 0; transform: translateY(24px); visibility: hidden; } to { opacity: 1; transform: none; visibility: visible; } }
  }
}
