:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #aaa79d;
  --faint: #77766f;
  --night: #171715;
  --panel: #22221f;
  --panel-soft: #292823;
  --line: rgba(245, 238, 223, .12);
  --amber: #d6a24a;
  --amber-bright: #edbd67;
  --cream: #f2eadb;
  --danger: #df8b79;
  --success: #9eb894;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--ink); font-size: 1rem; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 3px; }
[hidden] { display: none !important; }

.customer-page { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
.site-header { width: min(100% - 40px, 1080px); margin: auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: grid; text-decoration: none; gap: 0; line-height: 1; }
.wordmark-name { font-size: 1.25rem; letter-spacing: .21em; font-weight: 850; }
.wordmark-period, .footer-mark span { color: var(--amber); }
.wordmark-subtitle { color: var(--muted); font-size: .63rem; letter-spacing: .22em; margin-top: 7px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.command-pill { border: 1px solid rgba(214,162,74,.4); border-radius: 99px; padding: 7px 12px; color: var(--amber-bright); font-size: .83rem; font-weight: 650; }
.icon-button { border: 1px solid var(--line); background: transparent; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1.3rem; }
.icon-check { font-size: 1rem; }

main { width: min(100% - 40px, 1080px); margin: auto; }
.intro { padding: 74px 0 44px; max-width: 700px; }
.intro-kicker, .eyebrow { font-size: .72rem; font-weight: 750; letter-spacing: .16em; color: var(--amber-bright); }
.intro-kicker { display: flex; align-items: center; gap: 9px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 13px rgba(214,162,74,.65); }
.intro h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; font-size: clamp(2.55rem, 7vw, 4.9rem); line-height: .99; margin: 18px 0 17px; }
.intro h1 em { color: var(--amber-bright); font-weight: 400; }
.intro > p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.notice { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 13px 15px; margin: 0 0 14px; font-size: .86rem; }
.notice-warning { color: #e0d8c8; background: #25231e; border: 1px solid rgba(214,162,74,.18); }
.notice-demo { color: #f0d9ad; background: rgba(138,91,22,.23); border: 1px solid rgba(214,162,74,.48); }
.notice-closed { color: #f0d9ad; background: rgba(130,62,42,.2); border: 1px solid rgba(223,139,121,.36); }
.notice-closed strong { color: #f0b4a6; white-space: nowrap; letter-spacing: .08em; }
.notice-demo strong { white-space: nowrap; }
.age-mark { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid rgba(214,162,74,.45); border-radius: 50%; font-weight: 800; color: var(--amber-bright); font-size: .8rem; }
.menu-area { padding: 52px 0 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-heading .eyebrow { margin: 0 0 6px; }
.section-heading h2, .drawer-heading h2, .account-modal h2 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.menu-count { color: var(--faint); font-size: .85rem; padding-bottom: 5px; }
.category-nav { display: flex; gap: 9px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px; background: transparent; color: var(--muted); cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.category-chip:hover { border-color: rgba(214,162,74,.6); color: var(--ink); }
.category-chip.is-active { border-color: var(--amber); color: #191814; background: var(--amber); font-weight: 700; }
.menu-group { padding: 26px 0 4px; scroll-margin-top: 20px; }
.menu-group-title { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.menu-group-title h3 { font-size: 1.17rem; margin: 0; font-weight: 680; }
.menu-group-title span { height: 1px; flex: 1; background: var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.product-card { background: linear-gradient(145deg, #282722, #20201d); border: 1px solid rgba(255,255,255,.075); border-radius: 15px; overflow: hidden; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: rgba(214,162,74,.45); transform: translateY(-2px); }
.product-art { height: 132px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 97%, rgba(214,162,74,.2), transparent 51%), #23221e; display: grid; place-items: center; }
.product-art::before { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(214,162,74,.14); border-radius: 50%; }
.product-art::after { content: ""; position: absolute; width: 200px; height: 200px; border: 1px solid rgba(214,162,74,.08); border-radius: 50%; }
.product-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass-art { height: 88px; width: 58px; border: 2px solid rgba(238,220,179,.7); border-top: 0; border-radius: 2px 2px 14px 14px; transform: perspective(90px) rotateX(-4deg); position: relative; z-index: 1; box-shadow: inset 0 -35px 0 rgba(172,105,32,.45); }
.glass-art::before { content: ""; height: 9px; position: absolute; left: -3px; right: -3px; top: -2px; border-radius: 50%; background: var(--amber); border: 2px solid #f0d8ab; }
.glass-art::after { content: ""; position: absolute; right: -17px; top: 17px; width: 18px; height: 40px; border: 2px solid rgba(238,220,179,.6); border-left: 0; border-radius: 0 14px 14px 0; }
.product-content { padding: 14px 14px 15px; }
.product-category { font-size: .66rem; letter-spacing: .13em; font-weight: 750; color: var(--amber); text-transform: uppercase; margin: 0 0 5px; }
.product-content h4 { font-size: 1.02rem; line-height: 1.25; margin: 0 0 6px; font-weight: 690; }
.product-description { color: var(--muted); font-size: .82rem; line-height: 1.4; min-height: 2.3em; margin: 0 0 13px; }
.variant-list { display: grid; gap: 8px; }
.variant-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.variant-label { color: #ddd8cc; font-size: .84rem; }
.variant-action { display: flex; align-items: center; gap: 10px; }
.variant-price { white-space: nowrap; font-size: .9rem; font-weight: 700; color: var(--cream); }
.add-button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(214,162,74,.56); color: var(--amber-bright); background: transparent; cursor: pointer; font-size: 1.15rem; transition: background .15s ease, color .15s ease; }
.add-button:hover { background: var(--amber); color: #181713; }
.add-button:disabled { opacity: .4; cursor: not-allowed; }
.unavailable-label { color: var(--faint); font-size: .78rem; }
.empty-menu { padding: 40px 22px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }

.entry-state { padding: 42px 0 92px; max-width: 450px; }
.entry-art { height: 210px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 100%, rgba(214,162,74,.22), transparent 52%), linear-gradient(130deg,#22221f,#1b1b18); border: 1px solid var(--line); }
.entry-glass { display: block; width: 77px; height: 124px; border: 2px solid rgba(238,220,179,.72); border-top: 0; border-radius: 3px 3px 19px 19px; position: relative; transform: perspective(140px) rotateX(-6deg); box-shadow: inset 0 -65px 0 rgba(172,105,32,.5); }
.entry-glass::before { content: ""; position: absolute; top: -2px; left: -4px; right: -4px; height: 15px; border: 2px solid #f0d8ab; border-radius: 50%; background: var(--amber); }
.entry-glass::after { content: ""; position: absolute; width: 23px; height: 61px; right: -23px; top: 26px; border: 2px solid rgba(238,220,179,.65); border-left: 0; border-radius: 0 18px 18px 0; }
.entry-state .eyebrow { margin: 0 0 8px; }
.entry-state h2, .unavailable-state h2 { font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; line-height: 1.06; font-weight: 500; margin: 0 0 13px; letter-spacing: -.035em; }
.entry-state > p:not(.eyebrow), .unavailable-state p { color: var(--muted); margin: 0 0 23px; max-width: 40ch; }
.button { border: 0; border-radius: 10px; padding: 13px 18px; font-weight: 700; cursor: pointer; transition: background .17s ease, transform .17s ease, opacity .17s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .52; cursor: wait; }
.button-primary { background: var(--amber); color: #181713; }
.button-primary:hover:not(:disabled) { background: var(--amber-bright); }
.button-quiet { background: transparent; border: 1px solid var(--line); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button-quiet:hover { border-color: var(--amber); }
.button-full { width: 100%; }
.status-state { padding: 72px 0 100px; text-align: center; color: var(--muted); }
.loader-ring { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--amber); border-radius: 50%; animation: spin .75s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.unavailable-state { padding: 70px 0 100px; max-width: 470px; }
.state-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--danger); border-radius: 50%; color: var(--danger); font-size: 1.2rem; margin-bottom: 20px; }
.text-link { color: var(--amber-bright); text-underline-offset: 4px; }

.cart-bar { position: fixed; z-index: 20; inset-inline: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(23,23,21,0), rgba(23,23,21,.92) 35%); }
.cart-open { width: min(100%, 680px); margin: auto; min-height: 58px; border: 0; border-radius: 13px; background: var(--amber); color: #191814; display: flex; align-items: center; gap: 12px; padding: 9px 16px; cursor: pointer; box-shadow: 0 6px 28px rgba(0,0,0,.35); }
.cart-count { min-width: 31px; height: 31px; border: 1px solid rgba(0,0,0,.22); border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.cart-label { font-weight: 700; }
.cart-open strong { margin-left: auto; font-size: 1rem; }
.drawer-backdrop, .modal-backdrop { position: fixed; z-index: 29; inset: 0; background: rgba(0,0,0,.68); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 30; inset: auto 0 0; max-height: min(88dvh, 760px); overflow: auto; background: #22221f; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 12px max(20px, calc((100vw - 680px) / 2)) calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 50px rgba(0,0,0,.35); animation: rise .22s ease-out; }
@keyframes rise { from { transform: translateY(28px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }
.drawer-handle { width: 42px; height: 4px; background: #57564e; border-radius: 99px; margin: 0 auto 24px; }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-heading .eyebrow { margin: 0 0 5px; }
.drawer-close { font-size: 1.5rem; }
.cart-lines { display: grid; gap: 12px; max-height: 38dvh; overflow: auto; }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
.cart-line h3 { margin: 0 0 3px; font-size: .95rem; }
.cart-line p { margin: 0; color: var(--muted); font-size: .8rem; }
.cart-line-actions { display: flex; align-items: center; gap: 8px; }
.quantity-button { width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.quantity-value { min-width: 18px; text-align: center; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 7px; font-weight: 700; }
.cart-summary strong { font-size: 1.2rem; }
.cart-footnote { color: var(--muted); font-size: .82rem; margin: 0 0 18px; }
.cart-empty { color: var(--muted); text-align: center; padding: 26px 0; }

.modal-backdrop { z-index: 40; display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.account-modal { width: min(100%, 510px); max-height: min(90dvh, 780px); overflow-y: auto; background: #22221f; border: 1px solid var(--line); border-radius: 20px; padding: 25px; position: relative; box-shadow: 0 18px 70px rgba(0,0,0,.45); }
.modal-close { position: absolute; top: 18px; right: 18px; }
.account-modal > .eyebrow { margin: 0 0 6px; }
.account-state { color: var(--muted); margin: 8px 0 18px; }
.account-totals { border-top: 1px solid var(--line); padding: 13px 0; display: flex; justify-content: space-between; color: var(--muted); }
.account-totals strong { color: var(--ink); }
.account-pending { border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.account-pending strong { color: var(--amber-bright); font-size: 1.1rem; }
.account-orders { padding: 12px 0; max-height: 210px; overflow: auto; }
.account-order { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: #dfdbd1; font-size: .87rem; }
.account-order small { display: block; color: var(--faint); font-size: .75rem; }
.close-request { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.close-request label { display: block; font-size: .88rem; font-weight: 650; margin-bottom: 9px; }
.people-control { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; color: var(--muted); }
.people-control button { width: 36px; height: 36px; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.people-control input { background: transparent; border: 0; color: var(--ink); width: 40px; text-align: center; font-weight: 750; font-size: 1.12rem; }
.people-control input::-webkit-inner-spin-button { appearance: none; }
.split-preview { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.split-pill { border: 1px solid var(--line); border-radius: 99px; padding: 5px 9px; font-size: .79rem; color: var(--muted); }
.close-request.is-closed { color: var(--success); }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 18px); opacity: 0; pointer-events: none; padding: 12px 16px; border: 1px solid rgba(214,162,74,.45); border-radius: 10px; background: #302b20; color: var(--cream); box-shadow: 0 8px 34px rgba(0,0,0,.3); transition: opacity .2s ease, transform .2s ease; width: max-content; max-width: calc(100% - 30px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.site-footer { border-top: 1px solid var(--line); width: min(100% - 40px, 1080px); margin: 20px auto 0; padding: 28px 0 calc(30px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 20px; color: var(--faint); font-size: .83rem; flex-wrap: wrap; }
.footer-mark { text-decoration: none; color: var(--ink); font-size: .9rem; letter-spacing: .14em; font-weight: 850; }
.site-footer nav { display: flex; gap: 15px; margin-left: auto; }
.site-footer nav a { color: var(--muted); text-underline-offset: 4px; }
.site-footer small { width: 100%; font-size: .77rem; }
.legal-page { width: min(100% - 40px, 760px); margin: 0 auto; padding: 52px 0 100px; }
.legal-page .eyebrow { margin: 0 0 8px; }
.legal-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.legal-page h2 { margin-top: 32px; font-size: 1.1rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page .legal-placeholder { border-left: 2px solid var(--amber); padding: 12px 16px; background: var(--panel); color: var(--cream); }
.legal-back { display: inline-block; margin-top: 24px; color: var(--amber-bright); }

@media (min-width: 740px) {
  .site-header { min-height: 96px; }
  .intro { padding: 98px 0 52px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
  .product-art { height: 164px; }
  .product-content { padding: 17px 17px 18px; }
  .menu-area { padding-top: 64px; }
  .entry-state { padding-top: 60px; }
}

@media (min-width: 1020px) {
  main { width: min(100% - 72px, 1080px); }
  .site-header, .site-footer { width: min(100% - 72px, 1080px); }
  .product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .site-header { min-height: 76px; }
  .intro { padding-top: 52px; }
  .intro h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .notice { font-size: .8rem; align-items: flex-start; }
  .notice-demo { display: grid; grid-template-columns: 1fr; gap: 2px; }
  .section-heading h2 { font-size: 1.8rem; }
  .product-grid { gap: 10px; }
  .product-art { height: 106px; }
  .glass-art { transform: scale(.78); }
  .product-content { padding: 11px; }
  .product-content h4 { font-size: .91rem; }
  .product-description { font-size: .76rem; min-height: 3em; }
  .variant-label, .variant-price { font-size: .77rem; }
  .add-button { width: 29px; height: 29px; }
  .site-footer { gap: 13px; }
  .site-footer nav { margin-left: 0; width: 100%; }
  .account-modal { padding: 23px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
