/* ==========================================================================
   Urban Cafe — styles
   Palette taken from the cafés themselves: warm charcoal, marble cream,
   the logo's flame amber, leather brown and the deep green of the chairs.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* Warm espresso theme: dark, but brown rather than black, lit by the logo's amber. */
  --ink: #120e0b;             /* deepest: buttons on gold, text on amber */
  --ink-2: #2a221c;
  --ink-3: #3a3029;
  --cream: #1e1915;           /* page background */
  --paper: #29211b;           /* cards */
  --marble: #352b23;          /* image placeholders, chips */
  --deep: #161210;            /* darker bands: marquee, barista, footer */
  --light: #f7f2ea;           /* light text and light fills */
  --amber: #f06433;
  --amber-glow: #ff8a5b;
  --amber-ink: #f47a4c;       /* flame orange text on dark */
  --gold-grad: linear-gradient(135deg, #f7875a 0%, #f06433 45%, #e2501f 100%);
  --leather: #6e4b36;
  --forest: #24352c;
  --text: #f3ebe0;
  --text-muted: #c2b6a6;
  --on-dark: #f3ebe0;
  --on-dark-muted: #c2b6a6;
  --line: rgba(243, 235, 224, .12);
  --line-dark: rgba(243, 235, 224, .14);
  --danger: #ff8f84;
  --success: #7ad6a2;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5.2rem);
  --step-5: clamp(3rem, 2rem + 5vw, 7rem);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --section: clamp(72px, 9vw, 140px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;

  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px; --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.25), 0 6px 18px rgba(0,0,0,.25);
  --shadow-2: 0 2px 6px rgba(0,0,0,.3), 0 22px 50px rgba(0,0,0,.45);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --dur-fast: 160ms; --dur: 320ms; --dur-slow: 700ms; --dur-reveal: 1000ms;

  --z-header: 40; --z-menu: 100; --z-toast: 1000;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--font-display); font-size: var(--step-0); line-height: 1.6;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px;
  background: var(--amber); color: var(--ink); border-radius: var(--radius-sm); transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.amber-text { color: var(--amber-ink); }
.on-dark .amber-text { color: var(--amber); }
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 10px var(--amber-glow); }
.on-dark .eyebrow { color: var(--on-dark-muted); }

/* The counter line — the amber under-glow of the bar, used as a divider motif */
.glow-line { height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--amber) 15%, var(--amber-glow) 50%, var(--amber) 85%, transparent); box-shadow: 0 0 18px 2px rgba(240,100,51,.55); }

.on-dark { background: var(--deep); color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold-grad); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  touch-action: manipulation; isolation: isolate; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--light); transform: translateY(101%); transition: transform var(--dur) var(--ease-out); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--ink); box-shadow: 0 10px 30px -10px rgba(240,100,51,.8); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--amber { --btn-bg: var(--gold-grad); --btn-fg: var(--ink); }
.band--amber .btn { --btn-bg: var(--ink); --btn-fg: var(--light); }
.band--amber .btn::after { background: var(--light); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--light); box-shadow: inset 0 0 0 1.5px rgba(243,235,224,.45); }
.btn--ghost:hover { box-shadow: none; }
.on-dark .btn--ghost:hover { color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; min-height: 44px; }
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.site-header.is-scrolled { background: rgba(22,18,16,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 500; text-decoration: none; border-radius: var(--radius-pill);
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--amber); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--amber); color: var(--ink);
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
  .menu-toggle span + span { margin-top: 5px; }
  .menu-toggle .bars { display: grid; }
  .brand img { height: 40px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column;
  padding: 20px var(--gutter) 32px; background: var(--deep); color: var(--light);
  clip-path: circle(0% at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path 600ms var(--ease-out), visibility 0s 600ms;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path 700ms var(--ease-out), visibility 0s; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-menu .top img { height: 40px; }
.mobile-menu .close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.mobile-menu .close svg { width: 22px; height: 22px; }
.mobile-menu nav { margin-top: auto; display: grid; gap: 4px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; min-height: 56px;
  font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(24px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.mobile-menu nav a small { font-size: .9rem; font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0; }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 180ms; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 220ms; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 260ms; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 300ms; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 340ms; }
.mobile-menu .btn-row { margin-top: 28px; }
.mobile-menu .btn-row .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: 140px; padding-bottom: clamp(80px, 9vw, 130px); overflow: clip; min-height: min(100svh, 940px); display: grid; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--deep); }
.hero-bg img { width: 100%; height: 118%; object-fit: cover; object-position: center 40%; transform: translate3d(0, var(--parallax, 0px), 0) scale(1.04); will-change: transform; animation: hero-zoom 2.6s var(--ease-out) both; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(240,100,51,.16), transparent 70%),
    linear-gradient(90deg, rgba(22,18,16,.88) 0%, rgba(22,18,16,.66) 40%, rgba(22,18,16,.22) 72%, rgba(22,18,16,.35) 100%),
    linear-gradient(180deg, rgba(22,18,16,.55) 0%, transparent 25%, transparent 70%, var(--cream) 100%);
}
@keyframes hero-zoom { from { opacity: 0; transform: scale(1.14); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin-block: 22px 26px; }
.hero h1 .serif { font-weight: 400; letter-spacing: -.02em; }
.hero .lede { font-size: var(--step-1); color: var(--text-muted); max-width: 34ch; line-height: 1.5; }
.hero .btn-row { margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; color: var(--text-muted); font-size: var(--step--1); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--amber-ink); }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(31,111,67,.15); }

.hero-visual { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1 / 1.08; justify-self: end; }
.hero-plate {
  position: absolute; left: 4%; right: 4%; bottom: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 5px solid rgba(240,100,51,.75); box-shadow: 0 0 0 10px rgba(30,25,21,.55), 0 0 90px 10px rgba(240,100,51,.28), var(--shadow-2);

}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-tag {
  position: absolute; right: -6%; bottom: 10%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(30,25,21,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-2); font-size: .92rem; line-height: 1.25;
}
.hero-tag b { display: block; font-size: 1rem; }
.hero-tag .cup { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); }
.hero-tag .cup svg { width: 22px; height: 22px; }

/* Pendant lamps — the cage lights hanging in both cafés */
.lamps { position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none; z-index: 2; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px); mask-image: linear-gradient(to bottom, transparent 0, #000 110px); }
.lamp { position: absolute; top: 0; transform-origin: 50% 0; animation: lamp-drop 1.4s var(--ease-spring) both, lamp-sway 6s ease-in-out 1.6s infinite; }
.lamp svg { display: block; overflow: visible; }
.lamp .bulb { animation: flicker 5s ease-in-out infinite; }
.lamp .halo { animation: halo 5s ease-in-out infinite; transform-origin: center; }
.lamp:nth-child(1) { left: 8%; animation-delay: .1s, 1.8s; }
.lamp:nth-child(2) { left: 48%; animation-delay: .25s, 2.4s; }
.lamp:nth-child(3) { left: 82%; animation-delay: .4s, 2s; }
.lamp:nth-child(2) .bulb, .lamp:nth-child(2) .halo { animation-delay: 1.3s; }
.lamp:nth-child(3) .bulb, .lamp:nth-child(3) .halo { animation-delay: 2.6s; }

@keyframes lamp-drop { from { transform: translateY(-110%); } to { transform: translateY(0); } }
@keyframes lamp-sway { 0%, 100% { rotate: -1.6deg; } 50% { rotate: 1.6deg; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .82; } 50% { opacity: 1; } 52% { opacity: .9; } }
@keyframes halo { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .8; transform: scale(1.08); } }

/* Headline word-rise */
.rise { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rise > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
@keyframes rise { to { transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fade-up .9s var(--ease-out) forwards; animation-delay: var(--d, 600ms); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero-plate.fade-up { animation: fade-up .9s var(--ease-out) var(--d, 600ms) forwards, bob 7s ease-in-out 2s infinite; }

@media (max-width: 900px) {
  .hero { padding-top: 112px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(22,18,16,.7) 0%, rgba(22,18,16,.82) 45%, rgba(22,18,16,.9) 80%, var(--cream) 100%); }
  .hero-visual { justify-self: center; max-width: 330px; margin-top: 24px; }
  .hero-tag { right: -2%; }
  .lamp:nth-child(2) { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--deep); color: var(--light); padding-block: 22px; overflow: hidden; border-block: 1px solid var(--ink-3); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex: none; }
.marquee-group span { font-size: var(--step-2); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.marquee-group span:nth-child(4n+3) { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--amber); }
.marquee-group svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(18% 18% 18% 18% round var(--radius-lg)); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.4s var(--ease-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }

/* ---------- Intro / story ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro h2 { font-size: var(--step-4); letter-spacing: -.04em; }
.intro p { font-size: var(--step-1); color: var(--text-muted); line-height: 1.55; }
.intro p + p { margin-top: 18px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pillar .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(240,100,51,.12); color: var(--amber); border: 1px solid rgba(240,100,51,.3); margin-bottom: 22px; }
.pillar .icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--step-1); letter-spacing: -.02em; margin-bottom: 8px; }
.pillar p { color: var(--text-muted); font-size: 1rem; }
@media (max-width: 900px) { .intro-grid, .pillars { grid-template-columns: 1fr; } }

/* ---------- Gallery strip ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--marble); position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:nth-child(1) { grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { aspect-ratio: 4 / 3; }
.gallery figure:nth-child(4) { grid-column: span 2; aspect-ratio: 16 / 7; }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(18,14,11,.72); color: var(--light); font-size: .85rem; backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery figure:nth-child(4) { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head h2 { font-size: var(--step-4); letter-spacing: -.04em; margin-top: 14px; }
.section-head p { color: var(--text-muted); max-width: 42ch; font-size: var(--step-1); line-height: 1.5; }
.on-dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Dish rail ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 360px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 6px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.dish {
  scroll-snap-align: start; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.dish-img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--marble); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: .72em; font-weight: 600; color: var(--text-muted); margin-right: 3px; letter-spacing: .04em; }
.dish p { color: var(--text-muted); font-size: .96rem; line-height: 1.5; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--marble); font-size: .78rem; font-weight: 600; width: fit-content; }
.rail-controls { display: flex; gap: 10px; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(243,235,224,.4); background: transparent; display: grid; place-items: center;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur-fast);
}
.icon-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.rail-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.rail-progress span { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform 200ms linear; }

/* ---------- Barista ---------- */
.barista-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.barista-visual { position: relative; }
.barista-visual .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; }
.barista-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.barista-visual .float {
  position: absolute; right: -8%; bottom: -10%; width: 42%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--deep); box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.barista-visual .float img { width: 100%; height: 100%; object-fit: cover; }
.steam { position: absolute; left: 50%; top: -6%; width: 110px; translate: -50% 0; color: var(--light); opacity: .7; z-index: 2; pointer-events: none; }
.steam path { stroke-dasharray: 60 140; animation: steam 4.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.2s; }
.steam path:nth-child(3) { animation-delay: 2.3s; }
@keyframes steam { 0% { stroke-dashoffset: 200; opacity: 0; } 30% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.barista h2 { font-size: var(--step-4); letter-spacing: -.04em; margin-block: 14px 20px; }
.barista .lede { color: var(--on-dark-muted); font-size: var(--step-1); line-height: 1.55; max-width: 40ch; }
.price-list { margin-block: 32px 36px; border-top: 1px solid var(--line-dark); }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.price-list .name { font-weight: 600; font-size: 1.08rem; }
.price-list .desc { color: var(--on-dark-muted); font-size: .9rem; }
.price-list .leader { flex: 1; border-bottom: 1.5px dotted rgba(247,242,234,.25); transform: translateY(-4px); }
@media (max-width: 900px) {
  .barista-grid { grid-template-columns: 1fr; }
  .barista-visual { margin-bottom: 48px; margin-right: 8%; }
}

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.loc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.loc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.loc-card:hover .loc-media img { transform: scale(1.05); }
.loc-badge { position: absolute; top: 16px; left: 16px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--amber); color: var(--ink); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.loc-body { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; flex: 1; align-content: start; }
.loc-body h3 { font-size: var(--step-3); letter-spacing: -.035em; }
.loc-sub { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.loc-sub svg { width: 18px; height: 18px; color: var(--amber-ink); flex: none; }
.hours { display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--radius); background: var(--cream); }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: .96rem; }
.hours dt { color: var(--text-muted); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---------- Order / CTA bands ---------- */
.band { border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.band h2 { font-size: var(--step-3); letter-spacing: -.035em; margin-top: 12px; }
.band p { margin-top: 14px; color: var(--text-muted); font-size: var(--step-1); line-height: 1.5; }
.band.on-dark p { color: var(--on-dark-muted); }
.band--amber { background: var(--amber); color: var(--ink); }
.band--amber p { color: var(--ink-3); }
.band--amber .eyebrow { color: var(--ink-2); }
.band--amber .eyebrow::before { background: var(--ink); box-shadow: none; }
.band .btn-row { justify-content: flex-end; }
.order-list { display: grid; gap: 10px; }
.order-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 22px;
  border-radius: var(--radius); background: rgba(247,242,234,.06); border: 1px solid var(--line-dark); text-decoration: none; font-weight: 600; font-size: 1.1rem;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur);
}
.order-link:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: translateX(4px); }
.order-link svg { width: 20px; height: 20px; }
.order-empty { padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line-dark); color: var(--on-dark-muted); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band .btn-row { justify-content: flex-start; } }

/* Events teaser */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: var(--step-4); letter-spacing: -.04em; margin-block: 14px 20px; }
.split p { color: var(--text-muted); font-size: var(--step-1); line-height: 1.55; }
.tick-list { display: grid; gap: 12px; margin-block: 26px 34px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list svg { width: 22px; height: 22px; flex: none; color: var(--amber-ink); margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-dark); padding-top: clamp(64px, 8vw, 110px); padding-bottom: 32px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--on-dark-muted); max-width: 30ch; }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 16px; font-weight: 600; }
.site-footer li { margin-bottom: 0; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; gap: 8px; }
.site-footer a:hover { color: var(--amber); }
.site-footer a svg { width: 16px; height: 16px; flex: none; }
.footer-hours { color: var(--on-dark-muted); font-size: .94rem; line-height: 1.7; }
.footer-hours b { color: var(--light); font-weight: 600; }
.footer-word { font-size: clamp(4rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(247,242,234,.16); margin-top: 72px; white-space: nowrap; user-select: none; }
.footer-word span { color: var(--amber); -webkit-text-stroke: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .88rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); }
.socials a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: minmax(0, 1fr); } .footer-brand { grid-column: auto; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: 140px; padding-bottom: clamp(40px, 6vw, 72px); position: relative; }
.page-hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin-top: 18px; }
.page-hero .lede { margin-top: 22px; font-size: var(--step-1); color: var(--text-muted); max-width: 46ch; line-height: 1.5; }

/* ---------- Menu page ---------- */
.loc-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; margin-top: 32px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); }
.loc-switch button { position: relative; z-index: 1; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--radius-pill); background: none; font-weight: 600; text-align: left; line-height: 1.15; transition: color var(--dur) var(--ease-out); }
.loc-switch button small { display: block; font-weight: 500; font-size: .78rem; opacity: .75; }
.loc-switch button[aria-pressed="true"] { color: var(--ink); }
.loc-switch .thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: var(--radius-pill); background: var(--gold-grad); transition: transform 500ms var(--ease-out); }
.loc-switch[data-active="runda"] .thumb { transform: translateX(100%); }

.menu-nav { position: sticky; top: 0; z-index: 30; background: rgba(30,25,21,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top var(--dur) var(--ease-out); }
.site-header:not(.is-hidden) ~ main .menu-nav { top: 76px; }
.menu-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; position: relative; }
.menu-nav-inner::-webkit-scrollbar { display: none; }
.menu-nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; transition: background-color var(--dur), color var(--dur); }
.menu-nav a:hover { background: var(--marble); }
.menu-nav a.is-active { background: var(--amber); color: var(--ink); }
.menu-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-block: 40px 8px; }
.search { position: relative; flex: 1; max-width: 420px; }
.search input { width: 100%; min-height: 52px; padding: 0 18px 0 48px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--paper); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(240,100,51,.35); }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; color: var(--text-muted); }
.menu-legend { display: flex; gap: 16px; color: var(--text-muted); font-size: .9rem; align-items: center; }
.veg { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--success); color: var(--success); font-size: .66rem; font-weight: 800; flex: none; }

.menu-body { padding-bottom: var(--section); }
.menu-group-title { display: flex; align-items: center; gap: 16px; margin-top: 72px; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.menu-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-section { scroll-margin-top: 150px; display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 72px); padding-block: 48px; border-bottom: 1px solid var(--line); }
.menu-section-head { position: sticky; top: 160px; align-self: start; }
.menu-section-head h2 { font-size: var(--step-3); letter-spacing: -.035em; }
.menu-section-head .note { margin-top: 12px; color: var(--text-muted); font-size: .95rem; }
.menu-section-head .thumb-img { margin-top: 22px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--marble); }
.menu-section-head .thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; align-content: start; }
.menu-items.has-cols { grid-template-columns: 1fr; }
.menu-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-item .row { display: flex; align-items: baseline; gap: 10px; }
.menu-item .name { font-weight: 600; font-size: 1.06rem; display: inline-flex; align-items: center; gap: 8px; }
.menu-item .leader { flex: 1; min-width: 16px; border-bottom: 1.5px dotted rgba(243,235,224,.22); transform: translateY(-4px); }
.menu-item .desc { margin-top: 4px; color: var(--text-muted); font-size: .93rem; line-height: 1.5; max-width: 52ch; }
.menu-item .cols { display: grid; grid-template-columns: repeat(2, 64px); text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cols-head { display: flex; justify-content: flex-end; gap: 0; color: var(--text-muted); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cols-head span { width: 64px; text-align: right; }
.extras { grid-column: 1 / -1; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.extras h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.extras ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.extras li { font-size: .96rem; }
.extras b { font-variant-numeric: tabular-nums; margin-left: 4px; }
.menu-empty { padding: 64px 0; text-align: center; color: var(--text-muted); }
.menu-foot { margin-top: 40px; color: var(--text-muted); font-size: .92rem; }
mark { background: rgba(240,100,51,.85); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.menu-panel { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.menu-panel.is-swapping { opacity: 0; transform: translateY(10px); }
@media (max-width: 900px) {
  .menu-section { grid-template-columns: 1fr; padding-block: 36px; }
  .menu-section-head { position: static; display: grid; grid-template-columns: 1fr 120px; gap: 6px 18px; align-items: center; }
  .menu-section-head .thumb-img { margin-top: 0; grid-row: span 2; aspect-ratio: 1; }
  .menu-items { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--danger); }
.field .help { font-size: .86rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid rgba(243,235,224,.18); background: #1a1512; color: var(--text); font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(240,100,51,.35); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .88rem; font-weight: 500; display: none; }
.field .error.is-shown { display: block; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.form-note { color: var(--text-muted); font-size: .9rem; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); display: none; align-items: flex-start; gap: 12px; }
.form-status.is-shown { display: flex; }
.form-status.ok { background: rgba(31,111,67,.25); color: var(--success); }
.form-status.err { background: rgba(180,35,24,.22); color: var(--danger); }
.form-status svg { width: 22px; height: 22px; flex: none; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice-group legend { margin-bottom: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--radius-pill); border: 1.5px solid rgba(243,235,224,.2); background: #1a1512; font-weight: 500; transition: all var(--dur-fast); }
.choice input:checked + span { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.choice input:focus-visible + span { outline: 3px solid var(--amber-ink); outline-offset: 3px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.aside-card { border-radius: var(--radius-lg); padding: 28px; background: var(--deep); border: 1px solid var(--line); color: var(--on-dark); display: grid; gap: 14px; }
.aside-card h3 { font-size: var(--step-1); }
.aside-card p { color: var(--on-dark-muted); }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Review page ---------- */
.review-shell { min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(120% 70% at 50% 0%, #2c241d 0%, var(--ink) 60%); color: var(--on-dark); }
.review-card { width: min(100%, 560px); text-align: center; }
.review-card .logo { height: 64px; width: auto; margin: 0 auto 28px; }
.review-card h1 { font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -.035em; }
.review-card .sub { margin-top: 12px; color: var(--on-dark-muted); font-size: 1.08rem; }
.stars { display: flex; justify-content: center; gap: 6px; margin-top: 34px; border: 0; padding: 0; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { cursor: pointer; padding: 6px; border-radius: 12px; touch-action: manipulation; }
.stars svg { width: clamp(44px, 12vw, 58px); height: clamp(44px, 12vw, 58px); fill: transparent; stroke: rgba(247,242,234,.45); stroke-width: 1.5; transition: transform 220ms var(--ease-spring), fill 160ms, stroke 160ms; }
.stars label.is-lit svg { fill: var(--amber); stroke: var(--amber); filter: drop-shadow(0 0 12px rgba(240,100,51,.55)); }
.stars label:hover svg { transform: scale(1.12); }
.stars input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.stars input:checked + label svg { animation: pop 420ms var(--ease-spring); }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
.rating-word { min-height: 1.6em; margin-top: 10px; color: var(--amber); font-weight: 600; }
.review-step { display: none; margin-top: 30px; text-align: left; }
.review-step.is-shown { display: block; animation: fade-up .6s var(--ease-out) both; --d: 0ms; }
.review-step .options { display: grid; gap: 12px; }
.option-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(247,242,234,.06); border: 1px solid var(--line-dark); text-decoration: none; text-align: left; width: 100%; color: inherit; transition: background-color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-out); min-height: 72px; }
.option-card:hover { background: rgba(240,100,51,.12); border-color: var(--amber); transform: translateY(-2px); }
.option-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: var(--ink); flex: none; }
.option-card .ic svg { width: 22px; height: 22px; }
.option-card b { display: block; font-size: 1.05rem; }
.option-card small { color: var(--on-dark-muted); font-size: .9rem; }
.review-form .field label { color: var(--light); }
.review-form .field .help { color: var(--on-dark-muted); }
.review-form .field input, .review-form .field textarea { background: rgba(247,242,234,.06); border-color: var(--line-dark); color: var(--light); }
.review-form .field input::placeholder, .review-form .field textarea::placeholder { color: rgba(247,242,234,.45); }
.review-form .form-status.ok { background: rgba(31,111,67,.25); color: #a8e6c1; }
.review-form .form-status.err { background: rgba(180,35,24,.25); color: #ffb4ab; }
.review-foot { margin-top: 40px; color: var(--on-dark-muted); font-size: .88rem; }
.review-foot a { color: var(--light); }

/* ---------- QR page ---------- */
.qr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.qr-card { background: #fbf7f0; color: #1a1511; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; display: grid; gap: 14px; justify-items: center; break-inside: avoid; }
.qr-card .logo { height: 54px; width: auto; }
.qr-card h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.qr-card .qr { padding: 14px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.qr-card .qr canvas, .qr-card .qr img { width: 200px; height: 200px; display: block; }
.qr-card .url { font-size: .8rem; color: #5e544b; overflow-wrap: anywhere; }
.qr-card .glow-line { width: 60%; }
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .page-hero { padding-top: 0; }
  .qr-card { border: 2px solid #000; box-shadow: none; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); translate: -50% 0; padding: 14px 20px; border-radius: var(--radius-pill); background: var(--ink); color: var(--light); box-shadow: var(--shadow-2); opacity: 0; transform: translateY(20px); transition: opacity var(--dur), transform var(--dur) var(--ease-out); pointer-events: none; }
.toast.is-shown { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .rise > span, .fade-up { transform: none; opacity: 1; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="clip"] img { transform: none; }
  .marquee-track { animation: none; }
  .hero-bg img { transform: none; animation: none; }
  @view-transition { navigation: none; }
}

/* ---------- Full-bleed photo band ---------- */
.photo-band { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(96px, 14vw, 200px); }
.photo-band-bg { position: absolute; inset: 0; z-index: -1; }
.photo-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.photo-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,18,16,.92) 0%, rgba(22,18,16,.7) 45%, rgba(22,18,16,.15) 100%); }
.photo-band-inner { max-width: var(--max); }
.photo-band h2 { font-size: var(--step-4); letter-spacing: -.04em; margin-block: 14px 18px; max-width: 14ch; }
.photo-band p { color: var(--text-muted); font-size: var(--step-1); max-width: 40ch; line-height: 1.5; margin-bottom: 30px; }
@media (max-width: 760px) { .photo-band-bg::after { background: linear-gradient(180deg, rgba(22,18,16,.55), rgba(22,18,16,.9)); } }
.page-hero { isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 80% at 85% 10%, rgba(240,100,51,.13), transparent 70%); pointer-events: none; }
.band.on-dark { border: 1px solid var(--line); }

/* ---------- Online ordering ---------- */
.order-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--text-muted); font-size: .95rem; }
.order-facts li { display: inline-flex; align-items: center; gap: 8px; }
.order-facts svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: var(--section); }
.order-menu .menu-tools { margin-top: 32px; }
.o-section { padding-top: 40px; scroll-margin-top: 150px; }
.o-section-head { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.o-section-head img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.o-section-head h2 { font-size: var(--step-2); letter-spacing: -.03em; }
.o-section-head p { color: var(--text-muted); font-size: .9rem; margin-top: 4px; max-width: 60ch; }
.o-items { display: grid; }
.o-item { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.o-info { min-width: 0; }
.o-info h3 { font-size: 1.06rem; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.o-info p { color: var(--text-muted); font-size: .9rem; margin-top: 4px; line-height: 1.45; max-width: 52ch; }
.o-ctls { display: grid; gap: 8px; justify-items: end; align-content: start; flex: none; }
.add-ctl { display: flex; align-items: center; gap: 12px; }
.add-ctl .v-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.add-ctl .price { font-variant-numeric: tabular-nums; }
.add-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold-grad); color: var(--ink); font-size: 1.5rem; font-weight: 600; line-height: 1; display: grid; place-items: center; transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur); touch-action: manipulation; }
.add-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px -6px rgba(240,100,51,.8); }
.add-btn:active { transform: scale(.92); }
.stepper { display: inline-flex; align-items: center; height: 44px; border-radius: var(--radius-pill); background: var(--marble); border: 1px solid rgba(240,100,51,.4); animation: pop 300ms var(--ease-spring); }
.stepper button { width: 40px; height: 44px; border: 0; background: none; color: var(--amber); font-size: 1.35rem; font-weight: 600; touch-action: manipulation; }
.stepper button:hover { color: var(--light); }
.stepper b { min-width: 22px; text-align: center; }

.cart { position: sticky; top: 152px; max-height: calc(100dvh - 172px); overflow: auto; overscroll-behavior: contain; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-1); margin-top: 32px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cart-head h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.cart-close { display: none; width: 44px; height: 44px; }
.cart-step { display: grid; gap: 16px; }
.cart-step[hidden] { display: none; }
.cart-lines { display: grid; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line b { display: block; font-size: .98rem; }
.cart-line small { display: block; color: var(--text-muted); font-size: .8rem; }
.cart-line .line-price { display: block; color: var(--amber); font-size: .9rem; margin-top: 2px; }
.cart-line .stepper { height: 38px; flex: none; }
.cart-line .stepper button { height: 38px; width: 34px; }
.cart-empty { display: grid; justify-items: center; gap: 10px; padding: 26px 0; text-align: center; color: var(--text-muted); }
.cart-empty svg { width: 36px; height: 36px; color: var(--amber); opacity: .7; }
.cart-totals { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--radius); background: var(--cream); }
.cart-totals div { display: flex; justify-content: space-between; color: var(--text-muted); font-size: .95rem; }
.cart-totals .grand { color: var(--text); font-weight: 700; font-size: 1.1rem; padding-top: 6px; margin-top: 4px; border-top: 1px solid var(--line); }
.cart-cta { width: 100%; }
.back-link { justify-self: start; min-height: 40px; font-size: .92rem; color: var(--text-muted); background: none; border: 0; padding: 0; }
.back-link:hover { color: var(--light); }
.seg { gap: 8px; }
.seg .choice span { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.cart .field input, .cart .field textarea, .cart .field select { min-height: 48px; }
.cart .field textarea { min-height: 70px; }
.done-badge { width: 64px; height: 64px; margin: 4px auto 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 40px rgba(240,100,51,.4); animation: pop 600ms var(--ease-spring); }
.done-badge svg { width: 32px; height: 32px; }
.cart-step[data-step="done"] h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.done-no { color: var(--text-muted); margin-top: -8px; }
.done-no b { color: var(--amber); letter-spacing: .04em; }
.done-body { display: grid; gap: 14px; }
.done-lines { display: grid; gap: 4px; font-size: .92rem; color: var(--text-muted); }
.done-note { font-size: .93rem; color: var(--text-muted); }
.done-note.warn { color: var(--danger); }
.mpesa { padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(122,214,162,.35); background: rgba(31,111,67,.18); }
.mpesa h4 { font-size: 1rem; margin-bottom: 8px; color: var(--success); }
.mpesa ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .94rem; }
.bump { animation: pop 420ms var(--ease-spring); }

.cart-bar { display: none; }
.cart-backdrop { display: none; }

@media (max-width: 1020px) {
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .cart {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 90; margin: 0; max-height: 88dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    transform: translateY(105%); transition: transform 420ms var(--ease-out), visibility 0s 420ms; visibility: hidden;
  }
  .cart.is-open { transform: none; visibility: visible; transition: transform 420ms var(--ease-out); }
  .cart-close { display: grid; }
  .cart-backdrop { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(10,8,6,.6); opacity: 0; transition: opacity 300ms; }
  .cart-backdrop[hidden] { display: none; }
  .cart-backdrop.is-open { opacity: 1; }
  .cart-bar {
    position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 20px 0 10px;
    border: 0; border-radius: var(--radius-pill); background: var(--gold-grad); color: var(--ink); font-weight: 700; font-size: 1rem;
    box-shadow: 0 14px 34px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.1);
  }
  .cart-bar[hidden] { display: none; }
  .cart-bar-count { min-width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); }
  .order-page .site-footer { padding-bottom: 100px; }
}
@media (max-width: 520px) {
  .o-item { flex-direction: column; gap: 10px; }
  .o-ctls { display: flex; flex-wrap: wrap; gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) { .cart { transition: none; } }

.order-link--main { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.order-link--main:hover { background: var(--light); }
.send-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: rgba(240,100,51,.12); border: 1px solid rgba(240,100,51,.35); color: var(--text); }
.send-note svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 1px; }

/* ---------- Urban Cafe badge logo ---------- */
.brand { gap: 12px; text-decoration: none; color: var(--light); }
.brand img { height: 54px; width: 54px; flex: none; transition: transform 600ms var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.brand-name span { color: var(--amber); }
.mobile-menu .top .brand img { height: 46px; width: 46px; }
.footer-brand img { height: 120px; width: 120px; }
.review-card .logo { height: 128px; width: 128px; }
.qr-card .logo { height: 96px; width: 96px; }
@media (max-width: 900px) { .brand img { height: 46px; width: 46px; } .brand-name { font-size: 1.2rem; } }
