/* The website and client zone.
   Art direction "Ember & Gold" (approved design: docs/website-design/): photo-first and cinematic. Charred warm darks,
   ember orange and saffron gold, wide bold headlines mixed with an elegant italic serif.
   Layout: full-bleed bands, content across the full screen width with side gutters. Dark "night" bands (hero, builder, events, footer) alternate with
   themed bands that follow the light / dark switch: light unless the visitor picks dark (data-theme="dark", set by
   js/theme-init.js before the first paint). Everything is built for phones first-class (checked at 390px). */

/* ---------- fonts (self-hosted, no outside requests) */
@font-face { font-family: "Archivo Variable"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Variable"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }

:root {
  --bg: #FBF8F4; --surface: #FFFFFF; --surface-2: #F3ECE3; --line: #E8DDD1;
  --text: #1A130E; --muted: #6B5B4E;
  --ember: #C2410C; --on-ember: #FFFFFF; --gold: #A16207; --herb: #2F7D4F; --danger: #B42318; --info: #3C5A8A;
  --shadow: 0 30px 60px -30px rgba(60, 28, 8, .35);
  --night: #120E0B; --night-2: #1B1512; --night-3: #2A2019;
  --cream: #F6EEE3; --cream-muted: #CDBBA8; --flame: #FF6B2C; --saffron: #F5B83D;
  --font-display: "Archivo Variable", "Archivo", "Arial Black", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Archivo Variable", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 100%; --gutter: clamp(16px, 4vw, 96px);
  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --logo-scale: 1; /* Settings › Brand › Size in the top bar (the brand's style sheet) */
  --nav-h: max(76px, calc(46px * var(--logo-scale) + 30px));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #120E0B; --surface: #1B1512; --surface-2: #261D17; --line: #352A21;
  --text: #F6EEE3; --muted: #BFAC99;
  --ember: #FF6B2C; --on-ember: #160E09; --gold: #F5B83D; --herb: #86D19F; --danger: #FF8A7A; --info: #9DB7E8;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .75);
  color-scheme: dark;
}
/* Bands that are always dark, whatever the theme: they sit on photography. */
.night {
  --bg: var(--night); --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .1); --line: rgba(246, 238, 227, .14);
  --text: var(--cream); --muted: var(--cream-muted); --ember: var(--flame); --on-ember: #160E09; --gold: var(--saffron); --herb: #86D19F;
  --danger: #FF8A7A;
  background: var(--night); color: var(--text); color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
/* Elements hidden with the hidden attribute stay hidden, whatever display their class gives them. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
/* Scroll bars: slim, in the brand colour on the page colour (dark in the dark theme). Inherited by every scroll box. */
:root { --scroll-thumb: color-mix(in srgb, var(--flame) 60%, var(--bg)); scrollbar-color: var(--scroll-thumb) var(--bg); scrollbar-width: thin; }
@supports not (scrollbar-color: auto) { /* Safari */
  ::-webkit-scrollbar { width: 10px; height: 10px; background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; border: 2px solid var(--bg); }
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { width: min(880px, 100%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The text being copied, for a moment (copyText in site.js): selectable but unseen; 16px so iPhones do not zoom. */
.copy-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; font-size: 16px; pointer-events: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--flame); color: #160E09; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; } .icon.lg { width: 26px; height: 26px; }
em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; line-height: .95; letter-spacing: -0.035em; }
h1 em, h2 em { color: var(--gold); font-stretch: 100%; letter-spacing: -0.02em; line-height: .9; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section.tight-top { padding-top: 0; }
.section.tight { padding-block: clamp(40px, 6vw, 80px); }
.section.best { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .title { display: grid; gap: 16px; max-width: 760px; }
.sec-head h2.sm { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; justify-self: start; width: fit-content; }
.link-arrow .icon { transition: transform .25s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.text-link { color: var(--ember); font-weight: 700; text-underline-offset: 3px; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack.lg { gap: 28px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }

/* ---------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease; background: var(--surface-2); color: var(--text); }
.btn-primary { background: var(--ember); color: var(--on-ember); box-shadow: 0 14px 30px -14px var(--ember); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px var(--ember); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: var(--cream); color: #1A130E; }
.btn-dark { background: #160E09; color: var(--cream); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-danger { background: transparent; border-color: color-mix(in srgb, var(--danger) 45%, transparent); color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn.block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[aria-busy="true"] { position: relative; color: transparent !important; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--on-ember); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-ghost[aria-busy="true"]::after, .btn-light[aria-busy="true"]::after { border-color: var(--text); border-right-color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.chip.herb { color: var(--herb); background: color-mix(in srgb, var(--herb) 14%, transparent); }
.chip.hot { color: var(--on-ember); background: var(--ember); }
.chip.gold { color: #1A130E; background: var(--saffron); }
.chip.info { color: var(--info); background: color-mix(in srgb, var(--info) 14%, transparent); }
.chip.danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; text-decoration: none; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font-weight: 600; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.pick:hover { border-color: var(--text); }
.pick[aria-pressed="true"], .pick-input:checked + .pick { background: var(--text); color: var(--bg); border-color: var(--text); }
.pick-input:focus-visible + .pick { outline: 3px solid var(--gold); outline-offset: 3px; }
.pick-input:disabled + .pick { opacity: .45; cursor: not-allowed; }
.pick small { font-weight: 500; opacity: .8; }

/* ---------- announcement + navigation */
.announce { background: var(--ember); color: var(--on-ember); font-size: .9rem; font-weight: 600; text-align: center; padding: 9px var(--gutter); position: relative; z-index: 41; }
.announce a { font-weight: 800; }
.nav { position: sticky; top: 0; z-index: 40; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease; color: var(--cream); background: var(--night); }
.nav.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--text); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: var(--nav-h); }
/* The logo (Settings › Brand): the picture for dark backgrounds on the dark bar over the hero and in dark mode, the one
   for light backgrounds once the bar is solid in light mode. Without a logo, the name in the display font, in
   currentColor: cream on the dark bar, the theme's text colour once the bar is solid. */
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: inherit; }
.logo-img { display: block; height: calc(46px * var(--logo-scale)); width: auto; max-width: min(calc(280px * var(--logo-scale)), 52vw); object-fit: contain; object-position: left center; }
.logo-img.on-dark { display: none; }
.nav:not(.solid) .logo-img.on-light { display: none; }
.nav:not(.solid) .logo-img.on-dark { display: block; }
:root[data-theme="dark"] .logo-img.on-light { display: none; }
:root[data-theme="dark"] .logo-img.on-dark { display: block; }
.logo-name { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
/* In the bar and the phone menu a long name (icons.ts: mid, long) is smaller and may take two lines, so the buttons
   beside it always fit. */
.nav .logo, .sheet-head .logo { flex: 0 1 auto; min-width: 0; }
/* A big logo shrinks to the room beside the buttons, never past them. */
.nav .logo-img, .sheet-head .logo-img { max-width: min(calc(280px * var(--logo-scale)), 52vw, 100%); }
.nav .logo-name.mid, .sheet-head .logo-name.mid { font-size: 1.3rem; }
.nav .logo-name.long, .sheet-head .logo-name.long { font-size: 1.15rem; line-height: 1.05; white-space: normal; max-width: 13em; }
.nav-links { display: flex; gap: 2px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 14px; border-radius: 999px; transition: background-color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid color-mix(in srgb, currentColor 22%, transparent); background: transparent; cursor: pointer; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; flex: none; }
.icon-btn:hover { border-color: currentColor; }
.icon-btn.lined { border-color: var(--line); color: var(--text); }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--flame); color: #160E09; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.icon-btn .count[hidden] { display: none; }
.icon-btn .count.bump { animation: bump .45s ease; }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 2px var(--night); }
@keyframes bump { 40% { transform: scale(1.35); } }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; } :root[data-theme="dark"] .theme-btn .moon { display: none; }
.menu-btn { display: none; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(circle at center, color-mix(in srgb, var(--flame) 28%, transparent), color-mix(in srgb, var(--saffron) 8%, transparent) 40%, transparent 65%); z-index: -1; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.grain { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; align-content: center; }
.live { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.2s ease-out infinite; flex: none; }
.live.closed i { background: var(--saffron); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 { font-size: clamp(3rem, 6.3vw, 6.5rem); }
.arch.b img { object-position: 28% 50%; }
.hero h1 em { display: inline-block; font-size: 1.08em; }
.hero .lede { color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; color: var(--muted); font-size: .95rem; }
.proof .faces { display: flex; }
.proof .faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--night); margin-left: -10px; }
.proof .faces img:first-child { margin-left: 0; }
.proof b { color: var(--text); }
.stars { display: inline-flex; gap: 2px; color: var(--saffron); }
.stars .icon { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.stars .icon.off { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .6; }

.collage { position: relative; height: clamp(460px, 48vw, 660px); }
.arch { position: absolute; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); background: var(--night-3); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.arch:hover img { transform: scale(1.1); }
.arch.a { left: 0; top: 8%; width: 50%; height: 84%; border-radius: 999px 999px 32px 32px; }
.arch.b { right: 0; top: 0; width: 45%; height: 54%; border-radius: 999px 999px 28px 28px; }
.arch.c { right: 4%; bottom: 0; width: 41%; height: 40%; border-radius: 28px; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8s ease-in-out -2s infinite; }
.float-c { animation: floaty 9s ease-in-out -4s infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.stamp { position: absolute; left: 38%; top: -2%; width: 132px; height: 132px; z-index: 3; display: grid; place-items: center; }
.stamp svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp svg.ring text { fill: var(--cream); font: 700 10.5px var(--font-body); letter-spacing: 2.6px; text-transform: uppercase; }
.stamp .core { width: 66px; height: 66px; border-radius: 50%; background: var(--flame); color: #160E09; display: grid; place-items: center; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--flame) 70%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-card { position: absolute; left: -6%; bottom: 6%; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 22px; background: rgba(27, 21, 18, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); text-decoration: none; max-width: 92%; }
.mini-card img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: none; }
.mini-card b { display: block; font-size: 1rem; }
.mini-card span { font-size: .85rem; color: var(--muted); }
.mini-card .price { font-size: 1.05rem; color: var(--text); }
.mini-card .add { width: 42px; height: 42px; border-radius: 50%; background: var(--flame); color: #160E09; border: 0; display: grid; place-items: center; cursor: pointer; margin-left: 6px; transition: transform .2s ease; flex: none; }
.mini-card .add:hover { transform: rotate(90deg); }
.tag-float { position: absolute; right: -2%; top: 58%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: #1A130E; font-weight: 700; font-size: .88rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); }

/* ---------- ticker */
.ticker { background: var(--flame); color: #160E09; overflow: hidden; padding-block: 18px; border-block: 1px solid rgba(0, 0, 0, .15); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker span { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.8rem, 4.2vw, 3.4rem); letter-spacing: -0.02em; text-transform: uppercase; padding-inline: 26px; white-space: nowrap; line-height: 1.1; }
.ticker span.outline { color: transparent; -webkit-text-stroke: 1.5px #160E09; }
.ticker span.script { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: clamp(2rem, 4.6vw, 3.8rem); letter-spacing: 0; }
.ticker .spark { width: 30px; height: 30px; fill: #160E09; stroke: none; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- bento categories */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 23vw, 300px); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); color: var(--cream); text-decoration: none; isolation: isolate; background: var(--night-2); min-height: 200px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 14, 11, 0) 28%, rgba(18, 14, 11, .92)); }
.tile .tile-body > div { min-width: 0; }
.t2 h3, .t3 h3, .t4 h3, .mosaic .tile:not(.m1):not(.m4) h3 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); }
.tile:hover img { transform: scale(1.06); }
.tile .tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.2vw, 28px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-stretch: 118%; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tile p { color: var(--cream-muted); font-size: .95rem; margin-top: 6px; }
.tile .go { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: #1A130E; display: grid; place-items: center; flex: none; transition: transform .35s ease, background-color .2s ease; }
.tile:hover .go { transform: rotate(-45deg); background: var(--saffron); }
.tile .badge { position: absolute; top: 18px; left: 18px; }
.t1 { grid-column: span 6; grid-row: span 2; }
.t2 { grid-column: span 3; grid-row: span 2; }
.t3 { grid-column: span 3; }
.t4 { grid-column: span 3; }
/* More than four categories: the extra tiles share full rows. */
.tx { grid-column: span 4; }

/* ---------- product cards (rail and menu grid) */
.rail-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Best sellers on the home page (pages/home.ts bestSellers): by section (a row per section) or all together (one list
   with a heading per section), and the switch between them. */
.view-switch { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.view-switch button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.view-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.best-group + .best-group { margin-top: clamp(28px, 4vw, 48px); }
.best-group .group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.best-group .group-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
/* "All together": one row on every screen, the sections one after another inside it, each name staying in view while
   its dishes slide past. */
.rail.strip { display: flex; gap: 36px; overflow-x: auto; padding-bottom: 20px; }
.strip-group { flex: none; display: grid; gap: 14px; align-content: start; padding-top: 12px; border-top: 2px solid color-mix(in srgb, var(--flame) 55%, transparent); }
.strip-label { position: sticky; left: 0; justify-self: start; display: flex; align-items: center; gap: 10px 16px; padding-right: 12px; background: var(--bg); }
.strip-label h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.strip-cards { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 310px); gap: 20px; }
.strip-cards > * { scroll-snap-align: start; }
.strip-arrows { display: inline-flex; gap: 10px; }
@media (pointer: coarse) { .view-switch button { min-height: 44px; } }
.rail-tools .icon-btn { border-color: var(--line); color: var(--text); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 310px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-color: var(--scroll-thumb) transparent; }
/* Wide screens: the row wraps onto more lines like the menu, so no card hides off to the side. Phones keep the swipe row. */
@media (min-width: 900px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; padding-bottom: 0; }
  .rail-tools [data-rail] { display: none; }
  .rail-tools .strip-arrows [data-rail] { display: inline-flex; }
}
.card { scroll-snap-align: start; position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--surface-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.card:hover .ph img { transform: scale(1.06); }
.card .ph .chip { position: absolute; top: 14px; left: 14px; }
.card .fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #1A130E; display: grid; place-items: center; cursor: pointer; }
.card .fav[aria-pressed="true"] { color: #E11D48; } .card .fav[aria-pressed="true"] .icon { fill: currentColor; }
/* A column whose price row sits at the bottom, so the prices and + buttons line up across a row of cards. */
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 a { text-decoration: none; }
/* The whole card opens the product; the buttons stay above that link. */
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .add-btn, .card .fav { position: relative; z-index: 2; }
.card .ph .fav { position: absolute; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; gap: 12px; }
.card .desc { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.sold-out .ph img { filter: grayscale(.7); opacity: .7; }
.price { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price s { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); margin-left: 6px; }
.price small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--muted); margin-right: 4px; letter-spacing: 0; }
.add-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ember); color: var(--on-ember); display: grid; place-items: center; cursor: pointer; transition: transform .25s ease; flex: none; text-decoration: none; }
.add-btn:hover { transform: scale(1.08) rotate(90deg); }
.add-btn.go-btn:hover { transform: scale(1.08); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.product-grid .card:hover { transform: translateY(-4px); }

/* ---------- platter builder */
.builder { position: relative; overflow: hidden; }
.builder::before { content: ""; position: absolute; right: -15%; top: 10%; width: 60vw; height: 60vw; background: radial-gradient(circle, color-mix(in srgb, var(--saffron) 16%, transparent), transparent 60%); pointer-events: none; }
.builder-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.builder-copy { display: grid; gap: 22px; }
.items { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, background-color .2s ease; }
.item.on { border-color: var(--saffron); background: color-mix(in srgb, var(--saffron) 8%, transparent); }
.item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.item b { display: block; font-size: 1rem; }
.item span { font-size: .88rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover:not(:disabled) { background: var(--surface-2); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output, .stepper .qty { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper.lg button { width: 46px; height: 46px; }
.progress-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); }
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--flame), var(--saffron)); border-radius: inherit; transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.builder-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.board-wrap { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.board { position: absolute; inset: 0; border-radius: 50%; background:
    radial-gradient(circle at 50% 50%, transparent 0 63%, rgba(0, 0, 0, .18) 63.5% 64%, transparent 64.5%),
    repeating-radial-gradient(circle at 46% 42%, #7A4B2A 0 6px, #6D4124 6px 13px, #80502E 13px 17px),
    #6D4124;
  box-shadow: inset 0 0 0 14px #5A3519, inset 0 0 70px rgba(0, 0, 0, .55), 0 60px 90px -40px rgba(0, 0, 0, .9); }
.board-center { position: absolute; inset: 37%; border-radius: 50%; background: rgba(18, 14, 11, .78); display: grid; place-items: center; text-align: center; z-index: 2; backdrop-filter: blur(6px); padding: 8px; }
.board-center b { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.board-center span { font-size: .78rem; color: var(--cream-muted); text-transform: uppercase; letter-spacing: .14em; }
.bite { position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), opacity .3s ease; z-index: 3; }
.bite.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.bite img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #F6EEE3; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8); }
.bite.empty { opacity: 1; transform: translate(-50%, -50%) scale(1); border: 2px dashed rgba(246, 238, 227, .45); display: grid; place-items: center; color: rgba(246, 238, 227, .7); }
.bite .label { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); background: var(--cream); color: #1A130E; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.slot-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- cakes feature */
.cake-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
/* Full-width screens: the photo is never taller than the screen (the same for the review and story photos). */
.cake-visual { position: relative; width: min(100%, max(320px, calc((100dvh - var(--nav-h) - 64px) * .83))); justify-self: center; }
.cake-visual .photo { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.8; box-shadow: var(--shadow); background: var(--surface-2); }
.cake-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.plaque { position: absolute; right: -4%; bottom: 10%; width: min(320px, 72%); padding: 22px 24px; border-radius: 18px; background: linear-gradient(145deg, #3B2314, #22140B); color: #F6E3C4; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12); transform: rotate(-3deg); }
.plaque small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #D9B884; margin-bottom: 6px; }
.plaque .msg { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: #F5C66A; overflow-wrap: anywhere; min-height: 1.1em; }
.cake-copy { display: grid; gap: 22px; }
.opt { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt > legend { padding: 0; margin-bottom: 10px; }
.opt label.lbl, .opt .lbl, .opt > legend { font-weight: 700; font-size: .95rem; }
.opt .lbl small, .opt > legend small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.text-in, .input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
textarea.input { min-height: 110px; padding-block: 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8775' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.text-in:focus, .input:focus { border-color: var(--ember); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ember) 20%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input:disabled { opacity: .6; }
.hint { font-size: .85rem; color: var(--muted); }
.cake-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding-top: 6px; }
.cake-buy .price { font-size: 2rem; }

/* ---------- desserts mosaic */
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 22vw, 290px)); gap: 16px; }
.mosaic .m1 { grid-row: span 2; }
.mosaic .m4 { grid-column: span 2; }

/* ---------- events */
.events { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 62vw, 760px); display: flex; align-items: center; }
/* The photo fills the right side and fades into the dark on its left edge, so it stays sharp. */
.events > img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.events::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 15% 50%, color-mix(in srgb, var(--flame) 14%, transparent), transparent 45%), linear-gradient(90deg, rgba(18, 14, 11, .2) 40%, rgba(18, 14, 11, .1) 100%); }
.events .wrap { width: min(var(--wrap), 100%); }
.events-copy { display: grid; gap: 24px; max-width: 640px; padding-block: 80px; }
.events h2 { text-transform: uppercase; font-stretch: 125%; font-size: clamp(2.6rem, 6vw, 5.4rem); }
.events h2 em { text-transform: none; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ticks .icon { color: var(--saffron); }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 10px; border-top: 1px solid var(--line); }
.stats div b { display: block; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; color: var(--saffron); }
.stats div span { font-size: .9rem; color: var(--muted); }

/* ---------- how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; }
.step .num { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ember); }
.step p { color: var(--muted); }
.circles-card { background: var(--night-2); color: var(--cream); border: 0; position: relative; overflow: hidden; }
.circles-card p { color: var(--cream-muted); }
.circles { position: relative; width: 100%; aspect-ratio: 1.6; margin-top: 4px; }
.circles svg { width: 100%; height: 100%; }
.circles text { font-family: var(--font-body); font-size: 12px; font-weight: 700; }
/* The rings (parts.ts deliveryCircles): green for the closest, then the brand's colours on the dark card. */
.circles .ring { stroke: rgba(246, 238, 227, .28); stroke-dasharray: 4 5; }
.circles .ring-0 { fill: rgba(74, 222, 128, .18); stroke: #86D19F; stroke-dasharray: none; }
.circles .ring-1 { fill: color-mix(in srgb, var(--flame) 12%, transparent); }
.circles .ring-2 { fill: color-mix(in srgb, var(--saffron) 8%, transparent); }
.circles .dot { fill: var(--flame); }
.circles .km { fill: var(--cream); }
.circles .fee-0 { fill: #86D19F; }
.circles .fee-1 { fill: var(--flame); }
.circles .fee-2 { fill: var(--saffron); }

/* ---------- reviews */
.review-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.review-photo { position: relative; width: min(100%, max(320px, calc((100dvh - var(--nav-h) - 64px) * .9))); justify-self: center; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); background: var(--surface-2); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.review-photo .score { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 18px; background: rgba(18, 14, 11, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--cream); display: grid; gap: 2px; }
.review-photo .score b { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 2rem; line-height: 1; }
.review-photo .score small { font-size: .85rem; }
.quote { display: grid; gap: 26px; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.01em; min-height: 3.5em; transition: opacity .35s ease; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .who b { display: block; }
.quote .who span { color: var(--muted); font-size: .92rem; }
.quote-nav { display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 8px; margin-left: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.dots button[aria-current="true"] { width: 30px; background: var(--ember); }

/* ---------- story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-visual { position: relative; padding-bottom: 12%; width: min(100%, max(320px, calc((100dvh - var(--nav-h) - 64px) * .9))); justify-self: center; }
.story-visual .big { width: 78%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 88%; border-radius: var(--r-lg); }
.story-visual .small { position: absolute; right: 0; bottom: 0; width: 46%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 75%; border-radius: var(--r-lg); border: 8px solid var(--bg); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.values .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2); color: var(--ember); display: grid; place-items: center; }
.values b { display: block; }
.values span { color: var(--muted); font-size: .95rem; }

/* ---------- final call to action */
.cta-wrap { padding-bottom: clamp(72px, 10vw, 140px); }
.cta-band { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); background: radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--saffron) 75%, white), transparent 45%), linear-gradient(120deg, color-mix(in srgb, var(--flame) 90%, black), var(--flame) 55%, var(--saffron)); color: #160E09; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; isolation: isolate; }
.cta-band .cta-copy { display: grid; gap: 22px; }
.cta-band h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); text-transform: uppercase; font-stretch: 125%; }
.cta-band h2 em { color: #160E09; text-transform: none; }
.cta-band p { font-size: 1.15rem; font-weight: 600; max-width: 40ch; }
.cta-photos { position: relative; height: clamp(240px, 28vw, 380px); }
.cta-photos img { position: absolute; border-radius: 50%; object-fit: cover; border: 8px solid rgba(255, 255, 255, .25); box-shadow: 0 30px 60px -20px rgba(80, 20, 0, .6); }
.cta-photos .p1 { width: 78%; aspect-ratio: 1; right: -6%; top: -6%; }
.cta-photos .p2 { width: 44%; aspect-ratio: 1; left: 0; bottom: -4%; }

/* ---------- footer */
.footer { padding-block: clamp(64px, 8vw, 110px) calc(32px + env(safe-area-inset-bottom, 0px)); overflow: hidden; flex: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer h4 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: var(--cream-muted); }
.footer a:hover { color: var(--cream); }
.footer .logo { color: var(--cream); }
.footer .logo-img { height: auto; max-width: min(calc(220px * var(--logo-scale)), 100%); max-height: calc(96px * var(--logo-scale)); }
.footer .logo-name { font-size: 2rem; white-space: normal; }
.footer .about { margin-top: 16px; max-width: 36ch; }
.footer .news { display: flex; gap: 8px; margin-top: 16px; }
.footer .news input { flex: 1; min-width: 0; min-height: 52px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--cream); padding: 0 20px; font: inherit; }
.footer .social { display: flex; gap: 8px; margin-top: 18px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cream); }
.footer-share { display: flex; gap: 14px; align-items: center; margin-top: 24px; }
.footer-qr { flex: none; width: 104px; padding: 6px; border-radius: 14px; background: #fff; }
.footer-share b { display: block; color: var(--cream); }
.footer-share span { display: block; margin: 2px 0 10px; font-size: .88rem; color: var(--cream-muted); }

/* ---------- sharing the website (share.ts): the QR code is always dark on white, so a phone scans it in either theme */
.qr-code { display: block; width: 100%; height: auto; }
.share-card { margin: 0; justify-self: center; width: min(300px, 100%); display: grid; justify-items: center; gap: 12px; padding: 22px 22px 16px; border-radius: 24px;
  background: #fff; color: #1A130E; border: 1px solid var(--line); box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .45); }
.share-card .logo-img { width: 74%; height: auto; max-height: 90px; object-position: center; }
.share-card .logo-name { font-size: 1.6rem; white-space: normal; text-align: center; }
.share-card figcaption { font-weight: 700; font-size: .95rem; text-align: center; overflow-wrap: anywhere; }
.share-box { display: grid; gap: 12px; }
.share-link { display: flex; gap: 8px; }
.share-link .input { flex: 1; min-width: 0; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* What a share button did, and what to do next (a toast would be hidden behind the share sheet). */
.share-status { margin: 0; padding: 12px 16px; border-radius: 16px; font-size: .92rem; background: color-mix(in srgb, var(--herb) 11%, var(--surface)); border: 1px solid color-mix(in srgb, var(--herb) 35%, transparent); }
.share-status:empty { display: none; }
.share-status.error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
/* The QR code picture to press and hold (or right-click) and copy, where the browser cannot copy pictures itself. */
.share-picture { display: block; width: min(240px, 80%); height: auto; margin: 12px auto 0; border-radius: 14px; border: 1px solid var(--line); -webkit-touch-callout: default; }
.share-panel { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 760px) {
  .share-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 420px) {
  .share-link { flex-direction: column; }
  .share-actions .btn { flex: 1 1 calc(50% - 4px); justify-content: center; padding-inline: 10px; }
}
.hours { font-size: .95rem; color: var(--cream-muted); }
.hours b { color: var(--cream); display: block; }
.hours + .hours { margin-top: 14px; }
.wordmark { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(2.6rem, 11vw, 12rem); letter-spacing: -0.05em; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 238, 227, .28); margin-top: clamp(48px, 7vw, 96px); white-space: nowrap; user-select: none; text-align: center; }
.wordmark em { -webkit-text-stroke: 0; color: var(--flame); font-size: .9em; }
/* Longer business names (layout.ts wordmark) get a smaller size, so the name still fits across; site.js then makes it
   fit the width exactly (letters differ in width). */
.wordmark.mid { font-size: clamp(2rem, 8vw, 9rem); }
.wordmark.long { font-size: clamp(2rem, 7vw, 7rem); white-space: normal; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--cream-muted); }
.legal .version { white-space: nowrap; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .78rem; font-weight: 700; color: var(--cream); }

/* ---------- floating bits */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 62px; height: 62px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 18px 36px -12px rgba(31, 168, 85, .7); text-decoration: none; transition: transform .25s ease, bottom .3s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }
body.has-buy-bar .wa-float { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; padding: 14px 22px; border-radius: 999px; background: #160E09; color: var(--cream); font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), opacity .3s ease, visibility .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .icon { color: #4ADE80; }
.toast.error .icon { color: #FF8A7A; }
body.has-buy-bar .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

/* ---------- scroll reveal (only applied by JavaScript, never needed to see content) */
.reveal-ready { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready.revealed { opacity: 1; transform: none; }

/* =====================================================================================================================
   Pages beyond the home page: menu, product, basket, checkout, sign-in, client zone, events, questions, legal pages.
   ===================================================================================================================== */

/* ---------- page heads (dark band at the top of inner pages) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 84px) clamp(36px, 5vw, 64px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; background: radial-gradient(circle, color-mix(in srgb, var(--flame) 22%, transparent), color-mix(in srgb, var(--saffron) 6%, transparent) 45%, transparent 65%); z-index: -1; }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.page-hero h1.sm { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero .lede { color: var(--cream-muted); }
.page-hero.with-photo { min-height: clamp(320px, 38vw, 480px); display: flex; align-items: flex-end; }
.page-hero.with-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
/* The darkening sits on ::before: ::after is the film grain of .grain bands. */
.page-hero.with-photo::before { inset: 0; width: auto; height: auto; z-index: -1; background: linear-gradient(180deg, rgba(18, 14, 11, .5), rgba(18, 14, 11, .94) 85%), linear-gradient(90deg, rgba(18, 14, 11, .75), rgba(18, 14, 11, .1) 75%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .88rem; color: var(--cream-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }

/* ---------- menu */
.cat-bar { position: sticky; top: var(--nav-h); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.cat-bar .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.cat-bar .wrap::-webkit-scrollbar { display: none; }
.cat-bar a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.cat-bar a:hover { border-color: var(--text); }
.cat-bar a[aria-current="true"], .cat-bar a[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat-bar a .n { font-size: .78rem; opacity: .7; }
.menu-section { padding-block: clamp(36px, 5vw, 64px) 0; scroll-margin-top: calc(var(--nav-h) + 72px); }
.menu-section:last-child { padding-bottom: clamp(64px, 8vw, 110px); }
.menu-section .sec-head { margin-bottom: 24px; }
.menu-section h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
.menu-section .lede { font-size: 1rem; }
.search-row { position: relative; display: flex; gap: 10px; width: min(520px, 100%); }
/* Dishes listed while typing (site.js): under the search box, on the page colour of the band it sits in. */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; display: grid; padding: 6px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45); max-height: min(420px, 60dvh); overflow-y: auto; color: var(--text); }
.suggest.floating { right: auto; z-index: 35; }
.suggest a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 14px; text-decoration: none; color: inherit; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--surface-2); }
.suggest .th { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.suggest .th img { width: 100%; height: 100%; object-fit: cover; }
.suggest .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .pr { font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.suggest .all { display: block; padding: 12px 10px 8px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; font-weight: 700; font-size: .92rem; color: var(--ember); }
.suggest .all:not([href]) { color: var(--muted); font-weight: 600; }
.search-row .input { min-height: 50px; border-radius: 999px; padding-left: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8775' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 18px center; background-size: 18px; }
.night .search-row .input { background-color: rgba(255, 255, 255, .06); color: var(--cream); }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(36px, 6vw, 72px) 20px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty-state .icon { width: 40px; height: 40px; color: var(--ember); }
.empty-state h3 { color: var(--text); }

/* ---------- product page */
/* The photo column is as wide as lets the photo (4:4.4) and its thumbnails fit the screen's height; the details take the rest. */
.product-layout { display: grid; grid-template-columns: min(52%, max(360px, calc((100dvh - var(--nav-h) - 140px) * .9))) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--nav-h) + 16px); }
.gallery .main { position: relative; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--surface-2); box-shadow: var(--shadow); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .chip { position: absolute; bottom: 18px; left: 18px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; }
.thumbs button { flex: none; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--surface-2); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--ember); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: grid; gap: 22px; }
.buy h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.buy .price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 18px; }
.buy .price-row .price { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.rich { color: var(--muted); display: grid; gap: 12px; max-width: 75ch; }
.rich h2, .rich h3 { color: var(--text); font-size: 1.15rem; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.25; font-family: var(--font-display); font-weight: 700; }
.rich ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
/* A YouTube video in a description (web/video.ts): its picture with a play button, then the player in the same place. */
.video { margin: 4px 0; }
.video .yt, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); overflow: hidden; background: #000; }
.video .yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.video .yt:hover img { transform: scale(1.03); }
.video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--flame); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .25s ease; }
.video .play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video .yt:hover .play, .video .yt:focus-visible .play { transform: scale(1.08); }
.rich strong { color: var(--text); }
.buy-form { display: grid; gap: 22px; }
.buy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.buy-actions .btn { flex: 1 1 220px; }
.opt-error { color: var(--danger); font-size: .88rem; font-weight: 600; }
.slot-pick { display: grid; gap: 10px; }
.slot-pick .item { grid-template-columns: 48px 1fr auto; }
.slot-pick .item img { width: 48px; height: 48px; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list details { border-bottom: 1px solid var(--line); }
.info-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 2px; cursor: pointer; font-weight: 700; }
.info-list summary::-webkit-details-marker { display: none; }
.info-list summary .icon { transition: transform .25s ease; }
.info-list details[open] summary .icon { transform: rotate(45deg); }
.info-list .body { padding: 0 2px 20px; color: var(--muted); display: grid; gap: 10px; }
.contents { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contents li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--text); }
.buy-bar { display: none; }

/* ---------- basket drawer and other sheets (native <dialog>) */
dialog.sheet { padding: 0; border: 0; margin: 0 0 0 auto; width: min(460px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; background: var(--bg); color: var(--text); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); }
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .35s cubic-bezier(.2, .8, .2, 1); }
dialog.sheet::backdrop { background: rgba(18, 14, 11, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog.sheet.left { margin: 0 auto 0 0; }
dialog.sheet.left[open] { animation-name: sheet-in-left; }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes sheet-in-left { from { transform: translateX(-40px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.6rem; min-width: 0; overflow-wrap: break-word; }
@media (max-width: 360px) { .sheet-head h2 { font-size: 1.35rem; } }
/* min-height 0: a long body scrolls inside the sheet, so the heading and close button stay in view on small phones */
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.sheet-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--surface); }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line.plain { grid-template-columns: minmax(0, 1fr); }
.line img, .line .noimg { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.line img { background: var(--surface-2); }
.line .top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.line b { font-size: 1rem; line-height: 1.3; }
.line .opts { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.line .bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.line .stepper button { width: 34px; height: 34px; }
.line .remove { border: 0; background: none; color: var(--muted); font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 6px 2px; }
.line .price { font-size: 1.1rem; }
.totals { display: grid; gap: 8px; margin: 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals .discount dd { color: var(--herb); }
.totals .grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.totals .grand dt { color: var(--text); font-weight: 800; }
.totals .grand dd { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.4rem; }
.menu-sheet nav { display: grid; gap: 4px; }
.menu-sheet nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 6px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.menu-sheet nav a .icon { color: var(--muted); }
.menu-sheet .small-links { display: grid; gap: 2px; margin-top: 8px; }
.menu-sheet .small-links a { min-height: 44px; display: flex; align-items: center; text-decoration: none; color: var(--muted); font-weight: 600; }

/* ---------- forms, notices */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > .lbl { font-weight: 700; font-size: .95rem; }
.field > label small, .field > .lbl small { font-weight: 500; color: var(--muted); }
/* A value shown as text (e.g. a long email address) wraps instead of widening the page on a phone */
.field > p { overflow-wrap: anywhere; }
.field .error-text { color: var(--danger); font-size: .88rem; font-weight: 600; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 58px; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ember); cursor: pointer; }
.check span small { display: block; color: var(--muted); font-size: .85rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notice { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: .95rem; }
.notice .icon { margin-top: 2px; }
.notice b { display: block; }
.notice.error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.notice.error .icon { color: var(--danger); }
.notice.success { background: color-mix(in srgb, var(--herb) 11%, var(--surface)); border-color: color-mix(in srgb, var(--herb) 35%, transparent); }
.notice.success .icon { color: var(--herb); }
.notice.info .icon { color: var(--info); }
.notice.warn { background: color-mix(in srgb, var(--saffron) 14%, var(--surface)); border-color: color-mix(in srgb, var(--saffron) 45%, transparent); }
.notice.warn .icon { color: var(--gold); }
.notice[hidden] { display: none; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.panel h3 { font-size: 1.1rem; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 4px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.copy-row { display: flex; align-items: center; gap: 8px; }
.copy-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; min-height: 34px; padding: 0 12px; font-size: .82rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--text); }

/* ---------- sign-in, sign-up */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100dvh - var(--nav-h)); }
.auth-art { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 64px); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 14, 11, .3), rgba(18, 14, 11, .92) 80%); }
.auth-art h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 12ch; }
.auth-main { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px) var(--gutter); }
.auth-card { width: min(440px, 100%); display: grid; gap: 22px; }
.auth-card h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.auth-card .switch { text-align: center; color: var(--muted); }

/* ---------- checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 110px); }
.co-steps { display: grid; gap: 20px; }
.co-step { counter-increment: step; }
.co-steps { counter-reset: step; }
.co-step .panel-head h2::before { content: counter(step) ". "; color: var(--ember); }
.summary { position: sticky; top: calc(var(--nav-h) + 16px); }
.summary .line { grid-template-columns: 56px 1fr; }
.summary .line img, .summary .line .noimg { width: 56px; height: 56px; border-radius: 12px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.seg label { position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 52px; border-radius: 18px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.seg label:hover { border-color: var(--text); }
.seg input { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; accent-color: var(--ember); margin: 0; }
.seg label:has(input:checked) { border-color: var(--ember); background: color-mix(in srgb, var(--ember) 7%, transparent); }
.seg label:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.seg b { font-size: 1rem; }
.seg span { font-size: .88rem; color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; display: grid; justify-items: center; gap: 2px; width: 74px; padding: 10px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; }
.day small { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day b { font-family: var(--font-display); font-stretch: 112%; font-size: 1.4rem; line-height: 1.1; }
.day span { font-size: .74rem; color: var(--muted); }
.day[aria-pressed="true"] { border-color: var(--ember); background: var(--ember); color: var(--on-ember); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] span { color: inherit; opacity: .85; }
.day:disabled { opacity: .4; cursor: not-allowed; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-list { display: grid; gap: 10px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { min-height: 46px; text-transform: uppercase; }
.place { display: grid; gap: 12px; }
.fine { font-size: .82rem; color: var(--muted); }

/* ---------- order confirmation and the client zone */
.thanks { display: grid; justify-items: center; text-align: center; gap: 18px; }
.thanks .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--flame); color: #160E09; display: grid; place-items: center; box-shadow: 0 20px 50px -14px color-mix(in srgb, var(--flame) 80%, transparent); }
.thanks .tick .icon { width: 40px; height: 40px; stroke-width: 2.6; }
.thanks .order-no { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 110px); }
.account-nav { display: grid; gap: 4px; position: sticky; top: calc(var(--nav-h) + 16px); }
.account-nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-weight: 600; color: var(--muted); }
.account-nav a:hover { background: var(--surface-2); color: var(--text); }
.account-nav a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.account-nav a[aria-current="page"] .icon { color: var(--ember); }
.account-nav .sign-out { margin-top: 10px; border: 0; background: none; text-align: left; min-height: 48px; padding: 0 14px; border-radius: 14px; font-weight: 600; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 12px; }
.account-nav .sign-out:hover { background: var(--surface-2); color: var(--text); }
.orders { display: grid; gap: 12px; }
.order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.order-card:hover { border-color: var(--text); transform: translateY(-2px); }
.order-card .no { font-weight: 800; }
.order-card .what { color: var(--muted); font-size: .92rem; grid-column: 1 / -1; }
.order-card .when { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--text); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.new { color: var(--info); background: color-mix(in srgb, var(--info) 13%, transparent); }
.status.busy { color: var(--gold); background: color-mix(in srgb, var(--saffron) 18%, transparent); }
.status.ready { color: var(--herb); background: color-mix(in srgb, var(--herb) 14%, transparent); }
.status.done { color: var(--muted); }
.status.stopped { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .pt { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.timeline li.done .pt { background: var(--ember); color: var(--on-ember); }
.timeline li.now .pt { background: var(--flame); color: #160E09; box-shadow: 0 0 0 6px color-mix(in srgb, var(--flame) 22%, transparent); }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: .9rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* ---------- events, questions, reviews, find us, legal pages */
.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.pkg { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pkg .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.pkg .ph img { width: 100%; height: 100%; object-fit: cover; }
.pkg .body { padding: 22px; display: grid; gap: 12px; align-content: start; }
.pkg ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; cursor: pointer; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .25s ease; color: var(--ember); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 2px 24px; color: var(--muted); display: grid; gap: 10px; max-width: 75ch; }
.faq-group + .faq-group { margin-top: clamp(32px, 5vw, 56px); }
.faq-group h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 14px; }
.review-cards { columns: 3 300px; column-gap: 20px; }
.review-card { break-inside: avoid; margin-bottom: 20px; display: grid; gap: 12px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.review-card blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2; }
.review-card .who { color: var(--muted); font-size: .9rem; }
.review-card .who b { color: var(--text); }
.review-card .reply { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .92rem; }
.review-card .reply b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ember); margin-bottom: 4px; }
.review-card img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.review-card .review-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.review-card .review-photos img { aspect-ratio: 1; border-radius: 12px; }
.rating-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.rating-head .big { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; }
.hubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.hub-card { display: grid; gap: 14px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.today td { font-weight: 800; color: var(--ember); }
.zones { display: grid; gap: 8px; }
.zones div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); }
.prose { display: grid; gap: 14px; max-width: 72ch; color: var(--muted); }
.prose h2 { color: var(--text); font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 18px; }
.prose h3 { color: var(--text); margin-top: 10px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--ember); }
.meta-line { color: var(--muted); font-size: .9rem; }
.error-page { display: grid; justify-items: start; gap: 22px; padding-block: clamp(56px, 9vw, 120px); }
.error-page .big { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(5rem, 18vw, 12rem); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--ember); }

/* ---------- small shared pieces */
/* A product (or category, banner) without a photo yet: a covered dish on a plate, like the platters in the photos, on
   a warm linen background, with "Photo coming soon" where there is room. Made from the theme's colours, so it follows
   light and dark and every business's own colours; on the dark photo tiles (menu bento, banners) it takes the night
   colours. The dish is a small drawing kept here (a data: picture, used as a mask), so it needs no file. */
.noimg {
  --np-bg: var(--surface-2); --np-tint: var(--ember); --np-plate: var(--surface); --np-ring: color-mix(in srgb, var(--gold) 40%, var(--line));
  --np-mark: var(--ember); --np-dot: color-mix(in srgb, var(--text) 7%, transparent); --np-word: var(--muted);
  container: noimg / size;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 48px; overflow: hidden;
  background:
    radial-gradient(circle, var(--np-dot) 0 1px, transparent 1.5px) 0 0 / 12px 12px,
    radial-gradient(closest-side at 50% 45%, color-mix(in srgb, var(--np-tint) 20%, transparent), transparent),
    linear-gradient(160deg, var(--np-bg), color-mix(in srgb, var(--np-tint) 14%, var(--np-bg)));
}
.noimg .np {
  position: relative; flex: none; width: 60%; width: 62cqmin; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--np-plate) 0 74%, var(--np-ring) 75.5% 78%, var(--np-plate) 79.5%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 7%, transparent), 0 3cqmin 7cqmin -2cqmin rgba(60, 28, 8, .32);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.noimg .np::after {
  --np-dish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='6.3' r='1.7'/%3E%3Cpath d='M3 17a9 9 0 0 1 18 0z'/%3E%3Crect x='1.2' y='17.9' width='21.6' height='2.3' rx='1.15'/%3E%3C/svg%3E");
  content: ""; position: absolute; inset: 25%; background: var(--np-mark);
  -webkit-mask: var(--np-dish) center / contain no-repeat; mask: var(--np-dish) center / contain no-repeat;
}
.noimg .np-soon { display: none; margin-top: 6cqmin; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--np-word); }
@container noimg (min-width: 220px) and (min-height: 200px) {
  .noimg .np { width: 50cqmin; }
  .noimg .np-soon { display: block; }
}
.card:hover .noimg .np, .tile:hover .noimg .np { transform: scale(1.05) rotate(-6deg); }
.card.sold-out .noimg { filter: grayscale(.7); opacity: .7; }
/* On the dark photo tiles the words sit at the bottom: the plate moves up, in the night colours, without the note. */
.tile .noimg {
  position: absolute; inset: 0; z-index: -2; justify-content: flex-start; padding-top: 9%;
  --np-bg: var(--night-2); --np-tint: var(--flame); --np-plate: var(--night-3); --np-ring: color-mix(in srgb, var(--saffron) 45%, transparent);
  --np-mark: var(--flame); --np-dot: rgba(246, 238, 227, .06);
}
.tile .noimg .np-soon { display: none; }
/* Small round pictures: the platter builder and the choices in a package */
.item .noimg { width: 56px; height: 56px; min-height: 0; border-radius: 50%; }
.slot-pick .item .noimg { width: 48px; height: 48px; }
.promo-tile { display: block; min-height: clamp(260px, 32vw, 420px); }
.promo-tile h3 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin-top: 10px; }
.promo-tile p { font-size: 1.05rem; }
.page-hero .search-row { margin-top: 6px; }
.page-hero .choice-row .pick { border-color: rgba(246, 238, 227, .25); }
.menu-section .choice-row { margin-bottom: 4px; }
.rail-tools .link-arrow { margin-right: 6px; align-self: center; }
.hidden { display: none !important; }

pre.bank { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); font: inherit; font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.page-hero .row .muted { color: var(--cream-muted); }
.page-hero .rating-head .muted { color: var(--cream-muted); }
.panel .ticks li { font-weight: 500; }
.panel .ticks .icon { color: var(--herb); }
.hub-card .hours-table { margin-top: 4px; }
.order-card .row { grid-column: 1 / -1; gap: 8px; }
.addr-list .order-card:hover { transform: none; }
.check a { position: relative; z-index: 1; }

/* ---------- install the app */
.install-bar { position: fixed; left: 16px; right: 96px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 55; max-width: 460px; display: grid; grid-template-columns: 48px 1fr; gap: 12px 14px; align-items: center; padding: 14px 16px; border-radius: 22px; background: #160E09; color: var(--cream); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); border: 1px solid rgba(246, 238, 227, .14); }
.install-bar[hidden] { display: none; }
.install-bar img { width: 48px; height: 48px; border-radius: 12px; }
.install-bar b { display: block; }
.install-bar span { font-size: .86rem; color: var(--cream-muted); }
.install-bar .row { grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }
.install-bar .btn-ghost { color: var(--cream); border-color: rgba(246, 238, 227, .25); }
body.has-buy-bar .install-bar { display: none; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account { grid-template-columns: minmax(0, 1fr); }
  .account-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav a, .account-nav .sign-out { flex: none; min-height: 44px; border: 1.5px solid var(--line); border-radius: 999px; margin: 0; }
  .account-nav a[aria-current="page"] { background: var(--text); color: var(--bg); box-shadow: none; border-color: var(--text); }
  .account-nav a[aria-current="page"] .icon { color: inherit; }
}
@media (max-width: 900px) {
  .hero-grid, .builder-grid, .cake-grid, .review-grid, .story-grid, .cta-band, .product-layout, .checkout, .auth, .two-col { grid-template-columns: minmax(0, 1fr); }
  .collage { height: clamp(420px, 92vw, 560px); max-width: 560px; width: 100%; justify-self: center; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .t1 { grid-column: span 2; grid-row: span 1; } .t2 { grid-column: span 1; grid-row: span 2; } .t3, .t4 { grid-column: span 1; }
  .tx { grid-column: span 1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 220px); }
  .mosaic .m1 { grid-row: span 1; grid-column: span 2; } .mosaic .m4 { grid-column: span 2; }
  .plaque { right: 2%; }
  .cta-photos { height: 260px; max-width: 420px; }
  .events { align-items: flex-end; }
  .events > img { width: 100%; height: 58%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .events-copy { padding-top: clamp(260px, 52vw, 380px); }
  .gallery { position: static; }
  .gallery .main { aspect-ratio: 4 / 3.6; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
  .summary { position: static; }
  .auth-art { min-height: 220px; }
  .auth-art::before { background: linear-gradient(180deg, rgba(18, 14, 11, .66), rgba(18, 14, 11, .9)); }
  .auth-art h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  /* Product page: the add-to-basket button stays at the bottom of the screen. */
  .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .buy-bar .price { font-size: 1.3rem; }
  .buy-bar .btn { flex: 1; max-width: 260px; }
  body.has-buy-bar .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  /* Menu on phones: compact rows (photo on the left) so more dishes fit on the screen. */
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .product-grid .card { grid-template-rows: none; grid-template-columns: 116px minmax(0, 1fr); border-radius: 22px; }
  .product-grid .card .ph { aspect-ratio: auto; height: 100%; min-height: 132px; }
  .product-grid .card .ph .chip { top: 8px; left: 8px; font-size: .7rem; padding: 3px 8px; }
  .product-grid .card .fav { display: none; }
  .product-grid .card .body { padding: 14px 14px 14px 16px; gap: 6px; }
  .product-grid .card h3 { font-size: 1.05rem; }
  .product-grid .card .tags { display: none; }
  .product-grid .card .desc { font-size: .85rem; }
  .product-grid .card .price { font-size: 1.15rem; }
  .product-grid .card .add-btn { width: 42px; height: 42px; }
  .review-cards { columns: 1; }
}
@media (max-width: 600px) {
  :root { --nav-h: max(66px, calc(36px * var(--logo-scale) + 30px)); }
  .announce { font-size: .82rem; }
  .nav-inner { min-height: var(--nav-h); gap: 10px; }
  .logo-img { height: calc(36px * var(--logo-scale)); }
  .logo-name { font-size: 1.25rem; }
  .nav .logo-name, .sheet-head .logo-name { white-space: normal; overflow-wrap: anywhere; line-height: 1.05; }
  .nav .logo-name.mid, .nav .logo-name.long, .sheet-head .logo-name.mid, .sheet-head .logo-name.long { font-size: 1.05rem; }
  .nav-tools { gap: 6px; }
  .nav-tools .hide-sm { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .stamp { width: 104px; height: 104px; left: 40%; }
  .stamp .core { width: 52px; height: 52px; }
  .mini-card { left: 0; bottom: 2%; } .tag-float { right: 0; top: 52%; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 230px; }
  .t1, .t2, .t3, .t4, .tx { grid-column: span 1; grid-row: span 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .order-card { grid-template-columns: minmax(0, 1fr); }
  dialog.sheet { width: 100%; }
  .install-bar { right: 16px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .btn { padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
@media print {
  .nav, .announce, .wa-float, .footer, .install-bar, .buy-bar, .account-nav { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- other ways to sign in, one-time codes, card payments, deleting the account */
button.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; justify-self: start; }
.providers { display: grid; gap: 10px; }
.provider { justify-content: flex-start; gap: 14px; padding-inline: 22px; }
.provider .icon { width: 22px; height: 22px; }
.icon.brand { stroke: none; }
.btn-wa .icon { fill: currentColor; stroke: none; }
.or-line { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .88rem; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wa-form { gap: 16px; }
.code-input { font-size: 1.5rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; max-width: 260px; }
.ways { display: grid; gap: 10px; }
.way { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name action" "detail action"; gap: 2px 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; }
.way-name { grid-area: name; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.way-name .icon { width: 20px; height: 20px; }
.way > :nth-child(2) { grid-area: detail; overflow-wrap: anywhere; }
.way > :nth-child(3) { grid-area: action; }
.way-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Two-step sign-in: the code step on the sign-in page, and setting it up under My details */
.code-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.qr-box { width: min(232px, 100%); padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.qr-box svg { display: block; width: 100%; height: auto; }
.secret { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 700; letter-spacing: .06em; color: var(--text); overflow-wrap: anywhere; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.codes code { padding: 9px 10px; border: 1px dashed var(--line); border-radius: 10px; text-align: center; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .95rem; letter-spacing: .04em; }
.form-actions.start { justify-content: flex-start; }
.pay-by { display: flex; align-items: center; gap: 8px; margin: 0; }
.review-line { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.review-line:first-of-type { border-top: 0; padding-top: 0; }
.reviewed { display: grid; gap: 2px; }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { cursor: pointer; color: var(--line); padding: 4px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.stars-input label .icon { width: 30px; height: 30px; fill: currentColor; }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: var(--gold); }
.stars-input input:focus-visible + label { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 8px; }
.pay-card-alt { display: grid; gap: 10px; justify-items: start; padding-top: 14px; border-top: 1px dashed var(--line); }
.pay-card-alt p { margin: 0; }
.credit-box { padding: 14px 16px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--gold) 60%, var(--line)); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }
@media (max-width: 560px) {
  .way { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "detail" "action"; gap: 6px; }
  .way > :nth-child(3) { justify-self: start; margin-top: 6px; }
  .provider { padding-inline: 18px; }
}

/* The driver's photo at the door, on the order page */
.door-photo { display: inline-block; }
.door-photo img { display: block; width: 240px; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* Invoice and credit note links on the order page */
.doc-links { margin-top: 18px; }
.doc-links .doc-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Photos with a review, on the order page */
.review-photo-field { display: grid; gap: 8px; justify-items: start; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-preview { position: relative; display: block; }
.photo-preview img { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.photo-preview .remove { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.photo-preview .remove:hover { border-color: var(--text); }

/* Event quotes in the client zone */
.order-card.still:hover { border-color: var(--line); transform: none; }
.quote-answer .price.big { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.quote-note { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
.quote-note.plain { font-family: inherit; font-style: normal; font-size: inherit; line-height: inherit; color: var(--muted); }
.quote-answer .fine { margin: 0; }
