@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: block; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-VF.woff2") format("woff2"); font-weight: 400 700; font-display: block; }
:root {
  --bg: #f7f1e8; --panel: #fffcf7; --card: #fff; --card-2: #f3ebdf; --line: rgba(74,48,24,.10); --line-2: rgba(74,48,24,.18);
  --ink: #24190f; --ink-2: #57483a; --ink-3: #7c6a59; --ember: #e8964a; --ember-2: #a8541a; --ember-bg: rgba(232,150,74,.16);
  --basil: #3d7a2c; --basil-bg: rgba(77,140,56,.12); --wine: #b8432f; --wine-bg: rgba(200,80,60,.11);
  --serif: "Fraunces", Georgia, serif; --sans: "Instrument Sans", system-ui, sans-serif;
}
* { 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; }
.tnum { font-variant-numeric: tabular-nums; }
.mb-chat { --mb-accent: #a8541a; }

.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: rgba(247,241,232,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.brand em { color: var(--ember-2); font-weight: 400; }
.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: #fff; font-weight: 600; margin-left: 6px; padding: 9px 16px; }
.burger, .nav-x, .scrim { display: none; }

.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,241,232,.96) 0%, rgba(247,241,232,.86) 34%, rgba(247,241,232,.25) 62%, rgba(247,241,232,0) 80%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
.hero-txt { position: relative; z-index: 1; padding: 0 max(24px, calc((100vw - 1200px) / 2)) 72px; max-width: calc(560px + max(24px, (100vw - 1200px) / 2)); }
.open { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--basil); background: rgba(255,255,255,.9); padding: 5px 11px; border-radius: 14px; }
.open i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 56px; line-height: 1.02; letter-spacing: -.02em; margin: 16px 0 14px; font-variation-settings: "opsz" 72; }
.hero p { color: var(--ink-2); font-size: 17px; max-width: 44ch; }
.hero-cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.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.ember { background: var(--ember); color: #1b1009; box-shadow: 0 10px 28px -12px rgba(168,84,26,.55); }
.btn.ember:hover { background: #f0a862; }
.btn.ember:disabled { opacity: .5; cursor: not-allowed; }
.btn.line { border: 1px solid var(--line-2); background: rgba(255,255,255,.7); }
.btn.line.dark { background: var(--card); }

.band { padding: 64px max(24px, calc((100vw - 1200px) / 2)); }
.band.alt { background: #f0e7da; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-2); }
.sec-h { margin-bottom: 22px; }
.sec-h h2, .book h2, .visit h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.015em; line-height: 1.08; margin-top: 6px; }
.lede { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.paused { margin: -6px 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--wine-bg); color: var(--wine); 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: 36px; padding: 0 15px; border-radius: 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line-2); background: var(--panel); }
.chips button.on { background: var(--ember); border-color: var(--ember); color: #1b1009; font-weight: 600; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: center; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.item.noimg { grid-template-columns: minmax(0, 1fr) 44px; }
.item.in { border-color: rgba(214,128,52,.55); box-shadow: 0 0 0 3px rgba(232,150,74,.14); }
.it-t h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.005em; line-height: 1.2; }
.it-t p { font-size: 13px; color: var(--ink-3); margin: 3px 0 8px; line-height: 1.35; }
.it-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pr { font-weight: 700; font-size: 14px; margin-right: 4px; }
.tg { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--basil-bg); color: var(--basil); }
.tg.nut, .tg.out { background: var(--wine-bg); color: var(--wine); }
.tg.low { background: var(--ember-bg); color: var(--ember-2); }
.it-ph { position: relative; width: 112px; height: 112px; }
.item.noimg .it-ph { width: 44px; height: 44px; }
.it-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.add { position: absolute; right: -4px; bottom: -4px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(74,48,24,.22); border: 3px solid var(--card); }
.item.noimg .add { right: 0; bottom: 0; background: var(--card-2); }
.add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.item.in .add { background: var(--ember); color: #1b1009; }
.add:disabled { opacity: .35; cursor: not-allowed; }
.q { position: absolute; left: 6px; top: 6px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--ember); color: #1b1009; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.item.noimg .q { left: -30px; top: 10px; }
.item.out .it-t h3, .item.out .it-ph img { opacity: .5; }

.cart { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px -34px rgba(74,48,24,.5); }
.cart-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cart h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.sheet-x { width: 40px; height: 40px; font-size: 24px; color: var(--ink-2); }
.cart .empty { color: var(--ink-3); font-size: 14px; padding: 8px 0 4px; }
.cl { display: grid; gap: 8px; padding-bottom: 10px; 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 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: 30px; }
.qty button { width: 28px; height: 100%; font-size: 16px; }
.qty b { min-width: 18px; text-align: center; font-size: 13px; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; font-size: 14px; color: var(--ink-2); }
.sums dd { text-align: right; }
.sums .t { font-weight: 700; color: var(--ink); font-size: 16px; }
.co { display: grid; gap: 10px; }
.co label, .b-form label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.co input, .co select, .b-form input { height: 42px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--panel); outline: none; width: 100%; min-width: 0; }
.co input:focus, .co select:focus, .b-form input:focus { border-color: var(--ember-2); box-shadow: 0 0 0 3px var(--ember-bg); background: #fff; }
.co .btn { width: 100%; }
.err { color: var(--wine); font-size: 13px; font-weight: 600; }
.placed, .b-done { display: grid; gap: 10px; justify-items: start; }
.placed .btn { width: 100%; }
.ok-ring { width: 46px; height: 46px; border-radius: 50%; background: var(--basil-bg); color: var(--basil); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.placed h3, .b-done h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.placed p, .b-done p { color: var(--ink-2); font-size: 14.5px; }

.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.b-img { margin-top: 22px; width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(74,48,24,.6); }
.b-form, .b-done { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 16px; }
.b-form[hidden], .b-done[hidden] { display: none; }
fieldset { border: 0; }
legend { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { height: 38px; min-width: 42px; padding: 0 12px; border-radius: 19px; border: 1px solid var(--line-2); background: var(--panel); font-size: 14px; font-weight: 500; }
.pick button.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pick button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-form .btn { justify-self: start; }
.done-a { display: flex; gap: 10px; flex-wrap: wrap; }

.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(--ink); color: #c9b8a4; font-size: 13px; }
.cartbar { display: none; }

@media (max-width: 1080px) {
  .items { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 46px; }
}
@media (max-width: 900px) {
  .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%); transition: transform .25s ease; }
  .nav-open .nav nav { transform: none; box-shadow: -20px 0 40px -20px rgba(36,25,15,.4); }
  .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: rgba(36,25,15,.42); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .nav-open .scrim, .sheet-open .scrim { opacity: 1; pointer-events: auto; }
  .shop, .book, .visit { 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: 28px; }
  .cartbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px 16px; background: linear-gradient(180deg, transparent, var(--bg) 40%); }
  .cartbar[hidden], .sheet-open .cartbar { display: none; }
  .cartbar button { width: 100%; height: 54px; border-radius: 16px; background: var(--ember); color: #1b1009; display: flex; align-items: center; gap: 12px; padding: 0 18px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 28px -10px rgba(168,84,26,.45); }
  .cartbar .n { width: 26px; height: 26px; border-radius: 8px; background: rgba(27,16,9,.16); display: grid; place-items: center; font-size: 13px; }
  .cartbar .sum { margin-left: auto; }
  .b-img { display: none; }
}
@media (max-width: 600px) {
  .nav { height: 60px; padding: 0 16px; }
  .brand { font-size: 21px; }
  .hero { min-height: 520px; }
  .hero::after { background: linear-gradient(180deg, rgba(247,241,232,.2) 0%, rgba(247,241,232,.55) 40%, rgba(247,241,232,.94) 66%, var(--bg) 100%); }
  .hero-txt { padding: 0 16px 36px; }
  .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, .book h2, .visit h2 { font-size: 30px; }
  .item { grid-template-columns: minmax(0, 1fr) 96px; padding: 12px; }
  .it-ph { width: 96px; height: 96px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .b-form, .b-done { padding: 18px; }
  .b-form .btn { justify-self: stretch; }
  .foot { padding: 20px 16px 96px; }
}
@media (max-width: 1020px) {
  .nav nav { visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .nav-open .nav nav { visibility: visible; transition: transform .25s ease; }
}
@media (max-width: 900px) { .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); } }
