/* Tastes Bar & Grill. Direction: the name as a monument. Palette taken from the venue's own menu board (black and amber). */
:root {
  --bg: #0b0a08;
  --surface: #151310;
  --ink: #f4f4f2;
  --muted: #b3a998;
  --accent: #f5a31a;
  --accent-ink: #0b0a08;
  --m: clamp(20px, 2.2vw, 32px);
  --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(2rem, 1.3rem + 3.2vw, 4rem);
  --row: clamp(1.25rem, 1.05rem + 1.1vw, 1.875rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Erode", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--font); }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: one shape, square corners */
.btn, .add, .tray button, .close, .link { font: inherit; cursor: pointer; border: 0; border-radius: 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 0.85em 1.4em; font-weight: 600; font-size: var(--step-body); transition: transform 0.2s var(--ease), background 0.2s; }
.btn:hover { transform: translateY(-2px); background: #ffb93b; }
.btn:active { transform: translateY(0) scale(0.98); }

/* Entrance: content shows by default, JS adds motion */
.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 { min-height: 100svh; display: flex; flex-direction: column; padding: 0 var(--m); position: relative; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.mark img { width: 64px; height: 64px; mix-blend-mode: lighten; }
.bar ul { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 1rem; }
.bar a { padding: 8px 0; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: color 0.2s; }
.bar a:hover { color: var(--accent); text-decoration-line: underline; }
.hero-mid { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--m); align-items: end; padding-bottom: clamp(16px, 3vh, 36px); min-height: 0; }
.hero-copy { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; align-self: end; }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 22em; }
.hero .frame { grid-column: 6 / 13; align-self: stretch; aspect-ratio: auto; width: 100%; }
.btn-nav { display: none; }
.frame { aspect-ratio: 4 / 5; background: var(--surface); position: relative; overflow: hidden; max-height: 100%; justify-self: end; height: 100%; }
.frame-stack { position: absolute; inset: 0; }
.frame-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.frame-stack img.on { opacity: 1; }
h1.monument, .monument { font-weight: 500; letter-spacing: -0.04em; line-height: 0.78; white-space: nowrap; font-size: calc((100vw - 2 * var(--m)) / 2.84); text-align: center; margin: 0 0 clamp(18px, 3vh, 34px); color: var(--ink); user-select: none; }

/* ABOUT */
.about { padding: clamp(60px, 8vw, 110px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--m); }
.facts { grid-column: 1 / 4; font-size: var(--step-small); display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.facts strong { display: block; color: var(--ink); font-weight: 600; }
.about-text { grid-column: 4 / 13; font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem); line-height: 1.2; }
.about-text .name { color: var(--ink); }
.about-text p { color: var(--ink); }
.about-text .soft { color: var(--muted); margin-top: 1.2em; }
.dropcap { float: left; width: 3.6em; height: 3.6em; margin: 0.1em 0.5em 0 0; object-fit: cover; mix-blend-mode: lighten; }

/* KITCHEN: one size, aligned columns */
.kitchen { background: var(--surface); padding: clamp(80px, 10vw, 160px) var(--m); }
.kitchen-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--m); }
.kitchen-list { grid-column: 1 / 9; }
.kitchen-photo { grid-column: 9 / 13; }
.kitchen h2, .barmenu h2 { font-weight: 500; font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; }
.note { color: var(--muted); margin: 18px 0 clamp(36px, 5vw, 64px); max-width: 32em; }
.rows .row { display: grid; grid-template-columns: 1fr auto 3.2em; align-items: center; column-gap: 24px; font-size: var(--row); line-height: 1.5; min-height: 1.6em; }
.row-name { min-width: 0; }
.row-price { font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.add { width: 1.5em; height: 1.5em; justify-self: end; background: var(--accent); color: var(--accent-ink); font-size: 1em; line-height: 1; font-weight: 600; transition: transform 0.15s var(--ease), background 0.2s; }
.add:hover { background: #ffb93b; transform: scale(1.12); }
.add:active { transform: scale(0.92); }
.add.bump { animation: bump 0.3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }
.rows .row:hover .row-name { color: var(--accent); }
.frame-sticky { position: sticky; top: 24px; width: 100%; height: auto; max-height: none; }

/* BAR: a whole field of amber */
.barmenu { background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 10vw, 160px) var(--m); }
.groups { column-count: 3; column-gap: clamp(32px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.group { break-inside: avoid; margin-bottom: clamp(32px, 4vw, 56px); }
.group h3 { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; margin-bottom: 14px; }
.barmenu .group ul { }
.barmenu .row { display: flex; justify-content: space-between; gap: 20px; font-size: var(--step-body); line-height: 1.75; }
.barmenu .row-price { white-space: nowrap; }
.group:nth-child(6) { break-inside: auto; }

/* GALLERY */
.gallery { padding: clamp(80px, 9vw, 140px) 0; }
.gallery-title { font-weight: 500; font-size: var(--step-lead); padding: 0 var(--m); margin-bottom: 18px; }
.gallery-title span { color: var(--accent); margin-left: 0.4em; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--m); padding: 14px var(--m); }
.strip li { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); transition: transform 0.25s var(--ease); }
.strip li:hover { transform: scale(1.06); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT */
.contact { background: var(--surface); min-height: 72svh; padding: var(--m); display: grid; grid-template-rows: auto 1fr auto; gap: 20px; position: relative; }
.contact-ask { font-weight: 400; font-size: var(--step-lead); max-width: 26em; padding-top: 8px; }
.address { align-self: end; font-size: clamp(2.2rem, 8.6vw, 9rem); line-height: 1; letter-spacing: -0.035em; font-weight: 500; color: var(--accent); white-space: nowrap; margin-bottom: 9vh; transition: color 0.2s; }
.address:hover { color: var(--ink); }
.corner-l { position: absolute; left: var(--m); bottom: var(--m); font-size: 1rem; color: var(--muted); }
.corner-r { position: absolute; right: var(--m); bottom: var(--m); font-size: 1rem; display: flex; gap: 24px; }
.corner-r a:hover { color: var(--accent); }

/* FOOTER */
.foot { background: var(--accent); color: var(--accent-ink); padding: clamp(110px, 12vw, 170px) var(--m) 24px; overflow: hidden; }
.monument-foot { color: var(--accent-ink); margin: 0 0 clamp(40px, 6vw, 80px); }
.foot-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--m); }
.places { grid-column: 1 / 6; font-size: var(--step-lead); line-height: 1.25; font-weight: 500; }
.foot-links { grid-column: 7 / 13; font-size: 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: start; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { display: flex; justify-content: space-between; margin-top: clamp(56px, 8vw, 96px); font-size: var(--step-small); }

/* 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(--accent); color: var(--accent-ink); padding: 16px 20px; font-weight: 600; font-size: 1.0625rem; box-shadow: 0 6px 24px rgba(0,0,0,0.45); /* 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(--bg); 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-size: 1.75rem; font-weight: 600; }
.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(--bg); color: var(--ink); 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: 600; }
.how label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.field { display: block; margin-bottom: 12px; font-weight: 600; 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(--bg); border-radius: 0; }
.field input:focus { outline: none; border-color: var(--bg); }
.small { font-size: var(--step-small); color: #4a4337; margin-bottom: 14px; }
.send { display: block; text-align: center; }
.send[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* CATERING + INQUIRIES */
.catering { padding: clamp(64px, 8vw, 120px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--m); align-items: center; }
.cat-text { grid-column: 1 / 7; }
.cat-photo { grid-column: 8 / 13; aspect-ratio: 4 / 3; height: auto; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.catering h2, .inquire h2 { font-weight: 500; font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; }
.catering .note, .inquire .note { margin-bottom: 24px; }
.cat-list { display: grid; gap: 14px; margin-bottom: 28px; color: var(--muted); }
.cat-list strong { display: block; color: var(--ink); font-weight: 600; font-size: var(--step-lead); }
.inquire { background: var(--surface); padding: clamp(56px, 7vw, 110px) var(--m); }
.inquire { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--m); align-items: start; }
.inquire > * { grid-column: 1 / 8; }
.inquire > .inq-photo { grid-column: 9 / 13; grid-row: 1 / 4; aspect-ratio: 4 / 5; height: auto; }
.inq-photo img { width: 100%; height: 100%; object-fit: cover; }
.inq { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; max-width: 720px; }
.inq .wide { grid-column: 1 / -1; }
.inq .field { color: var(--ink); }
.inq .field input, .inq .field select, .inq .field textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); border: 2px solid #3a342a; border-radius: 0; }
.inq .field input:focus, .inq .field select:focus, .inq .field textarea:focus { outline: none; border-color: var(--accent); }
.inq .btn { text-align: center; margin-top: 8px; }

/* BOTTOM DOCK: phone only */
.dock { display: none; }

/* PHONE */
@media (max-width: 1000px) {
  .groups { column-count: 2; }
  .inquire > * { grid-column: 1 / -1 !important; }
  .inq-photo { display: none; }
  .contact { display: flex; flex-direction: column; gap: 20px; min-height: 0; padding-bottom: 56px; }
  .address { order: 2; margin: 24px 0; }
  .corner-r { order: 3; } .corner-l { order: 4; }
}
@media (max-width: 800px) {
  body { font-size: 1.0625rem; }
  .hero { min-height: 0 !important; }
  .hero-mid { padding-bottom: 24px; }
  .hero .frame { min-height: 0 !important; height: auto !important; flex: none !important; aspect-ratio: 4 / 3 !important; }
  .about { padding: 44px var(--m) 48px; gap: 28px; }
  .kitchen, .barmenu { padding: 48px var(--m); }
  .groups { margin-top: 28px; }
  .gallery { padding: 48px 0; }
  .catering { grid-template-columns: 1fr; padding: 48px var(--m); }
  .cat-text, .cat-photo { grid-column: 1; }
  .cat-photo { order: -1; }
  .inquire { padding: 48px var(--m); }
  .inq { grid-template-columns: 1fr; }
  .contact { min-height: 0 !important; padding: 40px var(--m) 32px; }
  .address { margin: 0 !important; font-size: 10.5vw !important; }
  .foot { padding: 110px var(--m) 20px; }
  .monument-foot { margin-bottom: 28px; }
  .legal { margin-top: 32px; }
  .bar ul { gap: 16px; font-size: 1rem; }
  .hero-mid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 24px; align-items: stretch; padding-bottom: 40px; }
  .hero-mid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { order: -1; gap: 18px; }
  .hero .frame { flex: 1; }
  .btn-nav { display: inline-block; padding: 0 1.1em; line-height: 44px; min-height: 44px; font-size: 1rem; }
  .bar { gap: 22px; } .bar ul { margin-left: auto; } .hide-sm { display: none; }
  .hero .frame { grid-column: 1; order: -1; width: 100%; aspect-ratio: auto; height: 100%; min-height: 34svh; justify-self: stretch; max-height: none; }
  .hero-copy { grid-column: 1; } .hero { min-height: 100svh; }
  .lead { font-size: 1.125rem; }
  .about { grid-template-columns: 1fr; }
  .facts, .about-text { grid-column: 1; }
  .facts { order: 2; flex-direction: row; justify-content: space-between; gap: 16px; font-size: 0.8125rem; }
  .about-text { font-size: 1.25rem; line-height: 1.3; }
  .dropcap { width: 4em; height: 4em; }
  .kitchen-grid { grid-template-columns: 1fr; }
  .kitchen-list, .kitchen-photo { grid-column: 1; }
  .kitchen-photo { display: none; }
  .rows .row { grid-template-columns: 1fr auto 2.6em; font-size: 1.125rem; padding: 6px 0; column-gap: 14px; }
  .barmenu .row { font-size: 1.0625rem; }
  .gallery { min-height: 0; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .address { font-size: 11.5vw; white-space: normal; line-height: 1; margin-bottom: 12vh; }
  .corner-r { position: static; flex-direction: column; gap: 8px; }
  .corner-l { position: static; }
  .contact { grid-template-rows: auto 1fr auto auto; min-height: 86svh; }
  .foot-row { grid-template-columns: 1fr; }
  .places, .foot-links { grid-column: 1; }
}

@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(--surface); 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; color: var(--muted); 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(--accent); }
  .tray { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bar ul { display: none; }
  .groups { column-count: 1; }
  .inq-photo { display: none; }
}

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