/* Bloom & Coal Food Bar. Idea: the glass door marked FOOD BAR is the front page. Palette from the venue's own menu (oxblood, cream, orange). */
:root {
  --wine: #4a171b;
  --deep: #2b0e11;
  --cream: #f3ede0;
  --ink: #2b0e11;
  --orange: #e8791e;
  --orange-hi: #f08a33;
  --pill: #4a2a24;
  --muted-cream: #d8c9b8;
  --m: clamp(20px, 2.4vw, 36px);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--step-body)/1.5 var(--sans); }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
i { font-style: italic; }

.btn, .add, .tray button, .close, .link { font: inherit; cursor: pointer; border: 0; border-radius: 0; }
.btn { display: inline-block; background: var(--orange); color: var(--deep); padding: 0.85em 1.4em; font-weight: 700; font-size: var(--step-body); transition: transform 0.2s var(--ease), background 0.2s; text-align: center; }
.btn:hover { transform: translateY(-2px); background: var(--orange-hi); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(243, 237, 224, 0.12); }

.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }

/* HERO */
.hero { background: var(--wine); color: var(--cream); padding: 0 var(--m); }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.mark { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 1.5rem; letter-spacing: -0.01em; }
.mark i { color: var(--orange); }
.bar ul { display: flex; gap: clamp(18px, 3vw, 40px); }
.bar ul a { padding: 8px 0; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.bar ul a:hover { color: var(--orange); text-decoration-line: underline; }
.hero-mid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--m); align-items: center; padding: clamp(24px, 5vw, 72px) 0 clamp(48px, 7vw, 96px); }
.hero-copy { grid-column: 1 / 8; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(4.25rem, 13vw, 11rem); line-height: 0.88; letter-spacing: -0.035em; }
.hero h1 span, .hero h1 i { display: block; }
.hero h1 i { color: var(--orange); font-size: 0.6em; line-height: 0.9; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 24em; color: var(--cream); }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; }

/* THE DOOR */
.door-wrap { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.door { position: relative; aspect-ratio: 3 / 5; width: 100%; border: 10px solid #7b7f84; background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 3px, transparent 3px 56px),
    linear-gradient(160deg, #3d2c2e 0%, #1c1214 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8% 18% 8% 22%; gap: 12px; }
.handle { position: absolute; left: 7%; top: 18%; bottom: 18%; width: 12px; background: linear-gradient(90deg, #8d9196, #d6d9dc 45%, #7a7e83); }
.door-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: 0.02em; }
.flame { width: 12px; height: 17px; background: var(--orange); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; }
.door ul { width: 100%; }
.door li { padding: 12px 0; border-top: 1px solid rgba(232, 121, 30, 0.55); }
.door li:first-child { border-top: 0; }
.door li a { display: block; font-size: clamp(0.8125rem, 1.1vw, 1rem); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; padding: 4px 0; }
.door li a:hover { color: var(--orange); }
.door-cap { font-size: var(--step-small); color: var(--muted-cream); text-align: center; }

/* BOXES */
.boxes { background: var(--orange); color: var(--deep); padding: clamp(56px, 8vw, 128px) var(--m); }
.boxes-head { margin-bottom: clamp(32px, 4vw, 56px); }
.boxes h2, .menu-title, .find h2 { font-family: var(--serif); font-weight: 500; font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; }
.note { margin-top: 16px; max-width: 34em; }
.box-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--m); }
.box { background: var(--cream); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.serves { font-size: var(--step-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine); }
.box h3 { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; }
.box .desc { flex: 1; }
.box-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.pill { background: var(--pill); color: var(--cream); border-radius: 999px; padding: 0.25em 0.9em; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; font-size: 1rem; }
.box .pill { font-size: 1.25rem; padding: 0.3em 1em; }
.add { width: 44px; height: 44px; background: var(--orange); color: var(--deep); font-size: 1.5rem; line-height: 1; font-weight: 700; transition: transform 0.15s var(--ease), background 0.2s; flex: none; }
.add:hover { background: var(--orange-hi); transform: scale(1.1); }
.add:active { transform: scale(0.92); }
.add.bump { animation: bump 0.3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }
.box .add { background: var(--wine); color: var(--cream); }

/* MENU */
.menu { padding: clamp(64px, 9vw, 140px) var(--m); }
.menu-note { margin-bottom: clamp(24px, 4vw, 56px); }
.cat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px var(--m); padding: clamp(28px, 4vw, 56px) 0; border-top: 2px solid var(--wine); }
.cat-head { grid-column: 1 / 5; align-self: start; position: sticky; top: 24px; }
.cat-head h3 { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--wine); }
.cat-note { margin-top: 12px; font-size: var(--step-small); max-width: 24em; }
.cat .rows { grid-column: 5 / 13; }
.item { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; column-gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(74, 23, 27, 0.2); }
.item:last-child { border-bottom: 0; }
.item-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row-name { font-weight: 700; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.25; }
.desc { font-size: 0.9375rem; line-height: 1.45; color: #5a3a3a; }
.box .desc { font-size: var(--step-body); color: var(--ink); }
.item:hover .row-name { color: var(--wine); }

/* FIND US */
.find { background: var(--wine); color: var(--cream); padding: clamp(56px, 8vw, 128px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--m); align-items: center; }
.find-text { grid-column: 1 / 9; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.find-lead { font-size: var(--step-lead); line-height: 1.3; max-width: 22em; }
.addr { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1rem + 2.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--orange); }
.find-act { display: flex; flex-wrap: wrap; gap: 14px; }
.find-meta { display: flex; flex-wrap: wrap; gap: 6px 28px; color: var(--muted-cream); }
.find-meta a { text-decoration: underline; text-underline-offset: 4px; }
.find-meta a:hover { color: var(--orange); }
.find-photo { grid-column: 10 / 13; justify-self: end; width: 100%; max-width: 300px; border: 8px solid #7b7f84; background: var(--deep); }
.find-photo img { width: 100%; height: auto; }

/* FOOTER */
.foot { background: var(--deep); color: var(--cream); padding: clamp(64px, 8vw, 110px) var(--m) 24px; overflow: hidden; }
.monument { font-family: var(--serif); font-weight: 700; font-style: italic; letter-spacing: -0.04em; line-height: 0.9; white-space: nowrap; font-size: calc((100vw - 2 * var(--m)) / 6.4); margin: 0 0 clamp(36px, 5vw, 72px); color: var(--cream); user-select: none; }
.monument i { color: var(--orange); }
.foot-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px var(--m); }
.places { grid-column: 1 / 7; font-size: var(--step-lead); line-height: 1.3; }
.foot-links { grid-column: 8 / 13; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: start; }
.foot-links a:hover { color: var(--orange); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); font-size: var(--step-small); color: var(--muted-cream); }

/* ORDER TRAY + SHEET */
.tray { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--m); z-index: 20; }
.tray button { width: 100%; max-width: 640px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; background: var(--orange); color: var(--deep); padding: 16px 20px; font-weight: 700; font-size: 1.0625rem; box-shadow: 0 6px 24px rgba(0,0,0,0.4); /* taste-skill-ignore: floating bar */ transition: transform 0.2s var(--ease); }
.tray button:hover { transform: translateY(-2px); }
.tray[hidden] { display: none; }
.order { border: 0; padding: 24px; width: min(560px, 100%); max-height: 92svh; background: #fff; color: var(--deep); margin: auto 0 0 auto; border-radius: 0; }
@media (min-width: 700px) { .order { margin: auto; } }
.order::backdrop { background: rgba(0,0,0,0.7); }
.order[open] { animation: sheet 0.35s var(--ease); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.order h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; }
.close, .link { background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; font-size: 1rem; }
.lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 0; }
.lines .qty { display: inline-flex; align-items: center; gap: 10px; }
.lines .qty button { width: 36px; height: 36px; background: var(--wine); color: var(--cream); border: 0; font: inherit; font-size: 1.25rem; cursor: pointer; }
.total-row { display: flex; justify-content: space-between; margin: 14px 0 18px; font-size: 1.25rem; }
.how { border: 0; padding: 0; margin: 0 0 14px; display: flex; gap: 24px; }
.how legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.how label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.field { display: block; margin-bottom: 12px; font-weight: 700; font-size: 1rem; }
.field input { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; font-size: 16px; border: 2px solid #cfc4b0; background: #fff; color: var(--deep); border-radius: 0; }
.field input:focus { outline: none; border-color: var(--wine); }
.small { font-size: var(--step-small); color: #4a3a37; margin-bottom: 14px; }
.send { display: block; text-align: center; }
.send[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

.dock { display: none; }

/* TABLET */
@media (max-width: 1000px) {
  .hero-copy { grid-column: 1 / 8; }
  .door-wrap { grid-column: 8 / 13; }
  .cat-head { grid-column: 1 / 5; }
  .cat .rows { grid-column: 5 / 13; }
  .find-text { grid-column: 1 / 8; }
  .find-photo { grid-column: 9 / 13; }
}

/* PHONE */
@media (max-width: 800px) {
  .hero-mid { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: 16px 0 44px; }
  .door-wrap { align-self: center; width: min(100%, 320px); }
  .hero h1 { font-size: clamp(4rem, 22vw, 7rem); }
  .box-grid { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr; padding: 28px 0 20px; }
  .cat-head, .cat .rows { grid-column: 1; position: static; }
  .item { grid-template-columns: 1fr auto 44px; column-gap: 12px; }
  .find { grid-template-columns: 1fr; }
  .find-text, .find-photo { grid-column: 1; }
  .find-photo { justify-self: start; max-width: 260px; }
  .foot-row { grid-template-columns: 1fr; }
  .places, .foot-links { grid-column: 1; }
  .legal { flex-direction: column; }
}
@media (max-width: 700px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--deep); color: var(--muted-cream); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; font-size: 0.8125rem; transition: color 0.2s; }
  .dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .dock a[aria-current="true"] { color: var(--orange); }
  .tray { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bar ul { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .btn, .add, .tray button, .dock a { transition: none; }
}
