@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 200 900; font-display: block; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-display: block; }
/* Wickerlight's public site: the same crema-and-espresso brand as the bar's board. */
:root {
  --bg: #f6efe6; --panel: #fffaf3; --card: #ffffff; --card-2: #f1e7da;
  --line: rgba(72, 44, 22, .10); --line-2: rgba(72, 44, 22, .18);
  --ink: #2a1c13; --ink-2: #5a4636; --ink-3: #806a58;
  --car: #c27a3a; --car-2: #9a5521; --car-bg: rgba(194, 122, 58, .14); --car-ring: rgba(194, 122, 58, .55);
  --sage: #47704c; --sage-bg: rgba(71, 112, 76, .12); --berry: #a8433a; --berry-bg: rgba(168, 67, 58, .1);
  --on-car: #fffaf3; --alt: #efe5d7; --glass: rgba(255, 250, 243, .9); --foot: #2a1c13; --foot-ink: #d8c6b2;
  --shadow: rgba(72, 44, 22, .3); --scrim: rgba(42, 28, 19, .42); --field-focus: #fff;
  --ph-coffee: #ead9c4; --ph-more: #dfe6d5; --ph-bakery: #f0dcc0;
  --serif: "Source Serif 4", Georgia, serif; --sans: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #16100c; --panel: #1d1611; --card: #251c16; --card-2: #30251d;
  --line: rgba(255, 220, 186, .09); --line-2: rgba(255, 220, 186, .16);
  --ink: #f5ebe0; --ink-2: #d2bfac; --ink-3: #a8937f;
  --car: #dc9554; --car-2: #eeab6c; --car-bg: rgba(220, 149, 84, .15); --car-ring: rgba(220, 149, 84, .55);
  --sage: #93c49a; --sage-bg: rgba(130, 190, 140, .13); --berry: #ef8f80; --berry-bg: rgba(225, 100, 85, .15);
  --on-car: #1d120a; --alt: #120d0a; --glass: rgba(29, 22, 17, .86); --foot: #0e0a07; --foot-ink: #a8937f;
  --shadow: rgba(0, 0, 0, .55); --scrim: rgba(0, 0, 0, .55); --field-focus: #2a2018;
  --ph-coffee: #3a2a1e; --ph-more: #2a3326; --ph-bakery: #3d2c18;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { font-style: normal !important; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
img { display: block; }
fieldset { border: 0; }
legend { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.tnum { font-variant-numeric: tabular-nums; }
.mb-chat { --mb-accent: #9a5521; }

.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.brand em { color: var(--car-2); font-weight: 400; }
.brand-mark { display: inline-grid; width: 30px; height: 30px; color: var(--car); }
.brand-mark svg { width: 100%; height: 100%; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav nav a { padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.nav nav a:hover { background: var(--card-2); color: var(--ink); }
.nav nav a.staff { color: var(--ink-3); font-size: 13px; }
.nav nav a.cta { background: var(--ink); color: var(--bg); font-weight: 600; margin-left: 6px; padding: 9px 16px; }
.burger, .nav-x, .scrim { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 48px max(24px, calc((100vw - 1200px) / 2)) 56px; }
.open { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--sage); background: var(--sage-bg); padding: 5px 11px; border-radius: 14px; }
.open i, .quote i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1.02; letter-spacing: -.02em; margin: 16px 0 14px; }
.hero p { color: var(--ink-2); font-size: 17px; max-width: 44ch; }
.hero-cta { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.hero .quote { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--car-2); }
.hero-img { position: relative; }
.hero-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; box-shadow: 0 40px 80px -48px var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.btn.car { background: var(--car); color: var(--on-car); box-shadow: 0 10px 28px -14px var(--car-2); }
.btn.car:hover { filter: brightness(1.06); }
.btn.car:disabled { opacity: .5; cursor: not-allowed; }
.btn.line { border: 1px solid var(--line-2); background: var(--card); }
.btn.wide { width: 100%; }

.band { padding: 64px max(24px, calc((100vw - 1200px) / 2)); }
.band.alt { background: var(--alt); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--car-2); }
.sec-h { margin-bottom: 22px; }
.sec-h h2, .stamp h2, .visit h2 { font-family: var(--serif); font-weight: 600; font-size: 40px; letter-spacing: -.015em; line-height: 1.08; margin-top: 6px; }
.lede { color: var(--ink-2); margin-top: 6px; font-size: 16px; max-width: 60ch; }
.paused { margin: -6px 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--berry-bg); color: var(--berry); font-weight: 600; }
.paused[hidden] { display: none; }

.shop { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips button { height: 38px; padding: 0 16px; border-radius: 19px; font-size: 14px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line-2); background: var(--panel); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.item img, .item .ph { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.ph { display: grid; place-items: center; color: var(--car-2); }
.ph svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph.coffee { background: var(--ph-coffee); } .ph.more { background: var(--ph-more); color: var(--sage); } .ph.bakery { background: var(--ph-bakery); }
.i-t { min-width: 0; }
.i-t h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2; }
.i-t p { font-size: 13px; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--car-bg); color: var(--car-2); }
.low { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--berry); }
.i-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.price { font-weight: 700; font-size: 15px; }
.add { height: 34px; padding: 0 14px; border-radius: 17px; font-size: 13px; font-weight: 700; background: var(--car-bg); color: var(--car-2); border: 1px solid var(--car-ring); }
.add:hover { background: var(--car); color: var(--on-car); }
.add:disabled { opacity: .4; cursor: not-allowed; }

.cart { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px -34px var(--shadow); }
.c-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cart h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.c-x { width: 44px; height: 44px; font-size: 24px; color: var(--ink-2); flex: none; }
.c-empty { color: var(--ink-3); font-size: 14px; padding: 4px 0; }
.cl { display: grid; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.cl li { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; font-size: 14px; }
.cl-n small { display: block; font-size: 12px; color: var(--ink-3); }
.cl li > span:last-child { text-align: right; font-weight: 600; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; height: 32px; }
.qty button { width: 30px; height: 100%; font-size: 16px; }
.qty b { min-width: 18px; text-align: center; font-size: 13px; }
.sum-r { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding-top: 10px; }
.sum-r.t { padding-top: 2px; padding-bottom: 12px; }
.co { display: grid; gap: 12px; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.times button { height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; font-weight: 600; padding: 0 4px; }
.times button:first-child { grid-column: 1 / -1; }
.times button.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.co label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.co input { height: 44px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--panel); outline: none; width: 100%; min-width: 0; }
.co input:focus { border-color: var(--car-2); box-shadow: 0 0 0 3px var(--car-bg); background: var(--field-focus); }
.fine { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.err { color: var(--berry); font-size: 13px; font-weight: 600; }
.err[hidden] { display: none; }
.placed { display: grid; gap: 10px; justify-items: start; }
.placed .btn { width: 100%; }
.ok-ring { width: 46px; height: 46px; border-radius: 50%; background: var(--sage-bg); color: var(--sage); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.placed h3 { font-size: 26px; }
.placed p { color: var(--ink-2); font-size: 14.5px; }

/* a drink's size and milk */
.opt { position: fixed; inset: 0; z-index: 72; display: grid; place-items: center; background: var(--scrim); padding: 16px; }
.opt[hidden] { display: none; }
.opt-card { width: min(440px, 100%); background: var(--card); border-radius: 20px; padding: 20px; display: grid; gap: 16px; box-shadow: 0 30px 80px -30px var(--shadow); }
.opt-h { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.opt-h img, .opt-h .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.opt-h h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.opt-h p { font-size: 13px; color: var(--ink-3); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.seg button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); font-size: 14px; font-weight: 600; }
.seg button small { font-weight: 500; color: var(--ink-3); }
.seg button.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.seg button.on small { color: inherit; opacity: .75; }

.stamp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.stamp-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -40px var(--shadow); }
.sc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sc-h b { font-family: var(--serif); font-size: 18px; }
.sc-h span:last-child { margin-left: auto; font-weight: 700; color: var(--car-2); }
.sc-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sc-dots i { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line-2); }
.sc-dots i.on { border: 0; background: radial-gradient(circle at 50% 50%, var(--on-car) 0 18%, var(--car) 19%); }
.stamp-card p { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }

.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.visit dl { display: grid; grid-template-columns: 80px 1fr; gap: 10px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.visit dt { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.visit dd { font-weight: 600; overflow-wrap: anywhere; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px max(24px, calc((100vw - 1200px) / 2)); padding-right: max(220px, calc((100vw - 1200px) / 2)); background: var(--foot); color: var(--foot-ink); font-size: 13px; }
.cartbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 13px; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 1080px) {
  .items { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 46px; }
}
@media (max-width: 900px) {
  .nav { backdrop-filter: none; background: var(--bg); }
  .burger { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); }
  .burger svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  .nav nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 84vw); z-index: 70; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px; background: var(--panel); transform: translateX(102%); visibility: hidden; transition: transform .24s ease, visibility 0s .24s; }
  .nav-open .nav nav { transform: none; visibility: visible; transition: transform .24s ease; box-shadow: -20px 0 40px -20px var(--shadow); }
  .nav nav a { padding: 12px; font-size: 16px; }
  .nav nav a.cta { margin: 10px 0 0; text-align: center; }
  .nav-x { display: grid; place-items: center; align-self: flex-end; width: 44px; height: 44px; font-size: 26px; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 65; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .nav-open .scrim, .sheet-open .scrim { opacity: 1; pointer-events: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 16 / 10; border-radius: 18px; }
  .shop, .visit, .stamp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cart { position: static; }
  .cart.as-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 86dvh; overflow-y: auto; border-radius: 20px 20px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .cartbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 40%); }
  .cartbar[hidden] { display: none; }
  .cartbar button { width: 100%; height: 54px; border-radius: 16px; background: var(--car); color: var(--on-car); display: flex; align-items: center; gap: 12px; padding: 0 18px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 28px -12px var(--car-2); }
  .cartbar .n { width: 26px; height: 26px; border-radius: 8px; background: var(--car-bg); display: grid; place-items: center; font-size: 13px; }
  .cartbar .sum { margin-left: auto; }
  .opt { place-items: end stretch; padding: 0; }
  .opt-card { width: 100%; border-radius: 20px 20px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .nav { height: 60px; padding: 0 16px; }
  .brand { font-size: 20px; }
  .hero { padding: 16px 16px 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 15.5px; }
  .hero-cta .btn { flex: 1; padding: 0 12px; }
  .band { padding: 44px 16px; }
  .sec-h h2, .stamp h2, .visit h2 { font-size: 30px; }
  .item { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px; padding: 10px; }
  .item img, .item .ph { width: 68px; height: 68px; }
  .i-t h3 { font-size: 16.5px; }
  .tag { display: block; width: max-content; margin: 4px 0 0; }
  .foot { padding: 20px 16px 96px; }
}
