/* B · Deck Lights: the building itself at night. Dark stained timber, the big red roof letters, warm string lights on the deck. */
:root {
  --bg: #171513;
  --surface: #221f1c;
  --alt: #2c2824;
  --ink: #f3ece2;
  --muted: #c2b6a6;
  --title: #ff5a4c;
  --sign: #ff5a4c;
  --accent: #ffc24a;
  --accent-deep: #f0a91c;
  --on-accent: #1a1410;
  --footer: #0f0e0d;
  --on-footer: #f3ece2;
  --header: 64px;
  --bar-h: 60px;
  --display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --lights: radial-gradient(circle, #ffd77a 0 3px, rgba(255, 194, 74, .35) 4px, transparent 7px) 0 0 / 34px 14px repeat-x;
  --planks: repeating-linear-gradient(180deg, transparent 0 46px, rgba(0, 0, 0, .35) 46px 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id] { scroll-margin-top: calc(var(--header) + 8px); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

.label {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(32px, 7.5vw, 54px); color: var(--ink); margin-bottom: .45em; text-transform: uppercase; letter-spacing: -.01em; }
.muted { color: var(--muted); }

/* Sections get a row of deck lights along the top */
.lit { position: relative; }
.lit::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: var(--lights); pointer-events: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid var(--accent);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: rgba(23, 21, 19, .6); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.photo { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px;
  background: rgba(15, 14, 13, .96);
  border-bottom: 1px solid var(--alt);
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 14px; background: var(--lights); pointer-events: none; }
.brand { font-family: var(--display); font-size: 24px; text-transform: uppercase; color: var(--sign); text-decoration: none; letter-spacing: -.01em; text-shadow: 0 0 16px rgba(255, 90, 76, .45); }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta { background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--accent-deep); color: var(--on-accent); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }

  .site-nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--footer); border-bottom: 2px solid var(--accent);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 16px; border-top: 1px solid var(--alt); }
  .site-nav .nav-cta { margin: 12px 16px 16px; text-align: center; }
}

/* Hero: full-bleed bar photo. Status line and call button must sit above the fold at 390x844 */
.hero { position: relative; isolation: isolate; min-height: min(760px, calc(100svh - var(--header) - var(--bar-h))); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 21, 19, .55) 0%, rgba(23, 21, 19, .8) 35%, var(--bg) 100%); }
.hero-copy { padding-top: 56px; padding-bottom: 36px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.hero h1 { font-size: clamp(60px, 17vw, 150px); color: var(--sign); line-height: .9; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 14px; text-shadow: 0 0 28px rgba(255, 90, 76, .5), 0 4px 0 #6d1510; }
.hero h1 span { display: inline-block; }
.hero-lead { font-size: clamp(19px, 4.6vw, 24px); max-width: 24em; margin-bottom: 16px; color: var(--ink); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(15, 14, 13, .85); border: 1px solid var(--alt); padding: 8px 16px; border-radius: 999px;
  font-weight: 600; margin-bottom: 20px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status:has([data-state='open']) .dot { background: #5bd17a; box-shadow: 0 0 10px #5bd17a; }
.status:has([data-state='closed']) .dot { background: var(--sign); }

/* What's on */
.week { padding: 64px 0; background: var(--surface); }
.nights { list-style: none; margin: 24px 0 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; }
.nights li { scroll-snap-align: start; background: var(--alt); border-radius: 6px; padding: 22px 20px; border-top: 4px solid var(--sign); }
.nights .day { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.nights h3 { font-size: 24px; color: var(--ink); text-transform: uppercase; }
.nights .when { color: var(--accent); font-weight: 700; margin: 4px 0 10px; }
.nights li p:last-child { margin: 0; color: var(--muted); }
.week-more { margin: 22px 0 0; font-weight: 700; }
.week-more a { color: var(--accent); }
@media (min-width: 900px) { .nights { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* Split layouts */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
}

.about { padding: 72px 0; background: var(--bg) var(--planks); }
.photo.deck { aspect-ratio: 3 / 4; max-height: 640px; }
.aside { font-size: 15px; }

/* Menu: a dark board with amber prices. Tabs only show once JS marks them ready */
.menu { padding: 72px 0; background: var(--surface); }
.menu-card {
  background: var(--bg);
  border: 1px solid var(--alt);
  border-radius: 6px;
  padding: 8px 18px 22px;
  margin-top: 22px;
}
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 14px 0; margin-bottom: 6px;
  border-bottom: 1px solid var(--alt);
  scrollbar-width: thin; scrollbar-color: var(--muted) transparent;
}
.menu-tabs button {
  flex: none;
  font: inherit; font-weight: 700; font-size: 15px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--muted); background: transparent; color: var(--ink);
  cursor: pointer;
}
.menu-tabs button[aria-selected='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.menu-tabs:not(.is-ready) { display: none; }
.menu-panel { padding-top: 14px; }
.menu-panel + .menu-panel { border-top: 1px solid var(--alt); margin-top: 18px; }
.menu-tabs.is-ready ~ .menu-panel { border-top: 0; margin-top: 0; }

.group-title { font-size: 26px; color: var(--title); text-transform: uppercase; margin: 4px 0 10px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 860px) { .items { grid-template-columns: 1fr 1fr; } }
.items li { padding: 14px 0; border-bottom: 1px solid var(--alt); }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 700; font-size: 18px; }
.price { color: var(--accent); white-space: nowrap; font-weight: 700; }
.items p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.menu-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 800px) { .menu-card { padding: 8px 32px 28px; } }

/* Delivery: an amber-lit ticket */
.delivery { padding: 56px 0; background: var(--bg); }
.delivery-grid { display: grid; gap: 18px; align-items: center; background: var(--alt); border: 2px dashed var(--accent); border-radius: 10px; padding: 26px 22px; }
.delivery .section-title { font-size: clamp(28px, 6vw, 42px); color: var(--ink); margin-bottom: .3em; }
.delivery p { color: var(--muted); margin: 0; }
.delivery .btn { justify-self: start; }
@media (min-width: 900px) { .delivery-grid { grid-template-columns: 1.4fr auto; padding: 32px 40px; } }

/* Hours */
.hours { padding: 72px 0; background: var(--surface); }
.week-list { list-style: none; margin: 0 0 18px; padding: 0; max-width: 440px; }
.week-list li { display: flex; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--alt); }
.week-list li.is-today { background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: 4px; border-bottom-color: transparent; }
.photo.tall { aspect-ratio: 3 / 4; max-height: 600px; max-width: 460px; width: 100%; justify-self: center; }

/* Gallery */
.gallery { padding: 72px 0; background: var(--bg); }
.gallery-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gallery-grid figure { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--alt); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-grid .g-tall { aspect-ratio: 3 / 4; }
.gallery-grid .g-tall + figure { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery-grid .g-wide { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 460px; }
  .gallery-grid .g-tall, .gallery-grid .g-tall + figure { grid-row: auto; aspect-ratio: 4 / 3; }
}

/* Reviews: themes from real reviews, never invented quotes */
.reviews { padding: 72px 0; background: var(--surface); }
.reviews-sub { color: var(--muted); }
.themes { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.themes li { background: var(--alt); padding: 20px; border-radius: 6px; border-left: 4px solid var(--accent); }
.themes h3 { font-size: 20px; color: var(--ink); text-transform: uppercase; margin-bottom: 6px; }
.themes p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .themes { grid-template-columns: repeat(2, 1fr); max-width: 820px; } }

/* Find us */
.find { padding: 72px 0; background: var(--bg); }
.find-grid { display: grid; gap: 28px; }
address { font-style: normal; font-size: 19px; margin-bottom: 14px; }
.directions { color: var(--muted); max-width: 30em; }
.map { border-radius: 6px; overflow: hidden; min-height: 320px; border: 1px solid var(--alt); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.4) brightness(.85); }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }

/* Footer */
.site-footer { position: relative; background: var(--footer); color: var(--on-footer); padding-bottom: 24px; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: var(--lights); }
.footer-grid { display: grid; gap: 24px; padding-top: 40px; }
.footer-brand { font-family: var(--display); font-size: 40px; text-transform: uppercase; color: var(--sign); margin: 0 0 4px; line-height: 1; }
.site-footer h2 { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; color: var(--accent); }
.site-footer a { color: var(--on-footer); }
.copyright { text-align: center; font-size: 13px; margin: 24px 16px 0; color: var(--muted); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .5);
}
.mobile-bar a {
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.mobile-bar .mobile-bar-alt { background: var(--footer); color: var(--ink); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
@media (min-width: 900px) { .hero-bg { object-position: 50% 40%; } }
