/* ==========================================================================
   Arturo's Coal Oven Pizza — Tokens
   ========================================================================== */
:root {
  --ink-black: #140807;
  --brick-red: #3A1410;
  --brick-red-light: #4E1E17;
  --ember: #B4331D;
  --ember-light: #DE5A3C;
  --brass: #E8B44A;
  --cream: #F2E9DC;
  --faded: #9C8D7E;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.55);

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

body {
  background: var(--ink-black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--ink-black);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.section-title.center { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ember);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(194,59,34,0.35);
}
.btn-primary:hover { background: var(--ember-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(242,233,220,0.4);
}
.btn-secondary:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }
.btn-call {
  background: transparent;
  color: var(--brass);
  border: 1px solid rgba(232,180,74,0.5);
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}
.btn-call:hover { background: rgba(232,180,74,0.1); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(20,8,7,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.main-nav {
  display: none;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.main-nav a { position: relative; padding: 0.25rem 0; }
.main-nav a:hover { color: var(--brass); }
.header-call { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink-black);
  z-index: 499;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1.75rem;
}
.mobile-nav-panel.is-open { display: flex; }
.mobile-nav-panel a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
}
.mobile-nav-panel a:hover { color: var(--brass); }
.mobile-nav-panel .btn { align-self: flex-start; margin-top: 1rem; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-call { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,8,7,0.55) 0%, rgba(20,8,7,0.35) 35%, rgba(20,8,7,0.88) 82%, var(--ink-black) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 5.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 13vw, 7rem);
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 8px 40px rgba(0,0,0,0.5);
  letter-spacing: -0.02em;
}
.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--cream);
  max-width: 32ch;
  margin: 1.1rem 0 2rem;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream);
  font-size: 1.4rem;
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Story
   ========================================================================== */
.story { background: var(--ink-black); }
.story-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  gap: 2.5rem;
}
.story-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.story-copy h2 { margin-bottom: 1.25rem; }
.story-copy p {
  color: var(--cream);
  opacity: 0.88;
  max-width: 58ch;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

@media (min-width: 900px) {
  .story-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }
}

/* ==========================================================================
   Menu
   ========================================================================== */
.menu-section {
  background: var(--brick-red);
  border-top: 1px solid rgba(232,180,74,0.15);
  border-bottom: 1px solid rgba(232,180,74,0.15);
}
.menu-hero-img {
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  margin: 0 auto 3rem;
  max-width: 760px;
  box-shadow: var(--shadow-deep);
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(242,233,220,0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.75;
  transition: all 0.25s var(--ease);
}
.menu-tab:hover { opacity: 1; border-color: var(--brass); }
.menu-tab.is-active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink-black);
  opacity: 1;
}

.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: fadein 0.4s var(--ease); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .menu-panel.is-active { animation: none; }
}

/* No-JS fallback: show every panel stacked and visible */
.no-js .menu-tabs { display: none; }
.no-js .menu-panel { display: block !important; margin-bottom: 3rem; }

.menu-cat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brass);
  margin-bottom: 0.35rem;
}
.menu-cat-title--spaced { margin-top: 2.5rem; }
.menu-cat-note {
  font-size: 0.85rem;
  color: var(--faded);
  font-style: italic;
  margin-bottom: 1rem;
}

.menu-list {
  columns: 1;
  column-gap: 3rem;
}
@media (min-width: 720px) {
  .menu-list { columns: 2; }
}
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px dotted rgba(242,233,220,0.15);
}
.menu-list .item {
  font-weight: 500;
  color: var(--cream);
  flex-shrink: 0;
  max-width: 68%;
}
.menu-list .item em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--faded);
  font-weight: 400;
  margin-top: 0.15rem;
}
.menu-list .leader {
  flex: 1;
  border-bottom: 1px dotted rgba(242,233,220,0.35);
  margin-bottom: 0.35rem;
  min-width: 1rem;
}
.menu-list .price {
  font-weight: 600;
  color: var(--brass);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-footnote {
  font-size: 0.78rem;
  color: var(--faded);
  margin-top: 2.5rem;
  text-align: center;
}

.bar-note {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(232,180,74,0.2);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.bar-note p:not(.eyebrow) { color: var(--cream); opacity: 0.85; }

/* ==========================================================================
   Jazz
   ========================================================================== */
.jazz-section {
  position: relative;
  background: var(--ink-black);
  overflow: hidden;
}
.jazz-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(194,59,34,0.22) 0%, rgba(194,59,34,0) 65%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .jazz-glow { animation: none; opacity: 0.8; } }

.jazz-lede {
  max-width: 56ch;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--cream);
  opacity: 0.85;
  font-size: 1.05rem;
  position: relative;
}

.jazz-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .jazz-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .jazz-strip { grid-template-columns: repeat(4, 1fr); }
}
.jazz-photo {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.jazz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.jazz-photo:hover img { transform: scale(1.06); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { background: var(--brick-red-light); }
.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-photo {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-photo:hover img { transform: scale(1.06); }

/* ==========================================================================
   Visit
   ========================================================================== */
.visit-section { background: var(--ink-black); }
.visit-inner {
  display: grid;
  gap: 3rem;
}
.visit-facts {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 2.25rem;
}
.visit-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.3rem;
}
.visit-facts dd {
  font-size: 1.15rem;
  color: var(--cream);
}
.visit-facts dd a:hover { color: var(--ember-light); }

.visit-fineprint {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242,233,220,0.12);
  font-size: 0.85rem;
  color: var(--faded);
  display: grid;
  gap: 0.75rem;
  max-width: 56ch;
}
.visit-fineprint a { color: var(--brass); text-decoration: underline; }
.visit-fineprint a:hover { color: var(--ember-light); }

.visit-map {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-deep);
  background: var(--brick-red);
}
.visit-map img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.7) brightness(0.75);
}
.visit-map:hover img {
  transform: scale(1.04);
  filter: saturate(0.9) brightness(0.85);
}
.visit-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(20,8,7,0.35) 0%, rgba(20,8,7,0.75) 100%);
  color: var(--cream);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.5rem;
}
.visit-map-pin { font-size: 2.2rem; }

@media (min-width: 900px) {
  .visit-inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink-black);
  border-top: 1px solid rgba(232,180,74,0.15);
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
  color: var(--faded);
  font-size: 0.88rem;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.footer-inner a:hover { color: var(--brass); }
.footer-credit { font-style: italic; margin-top: 0.5rem; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,4,3,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: var(--cream);
  line-height: 1;
  padding: 0.5rem;
}
.lightbox-close:hover { color: var(--brass); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
  color: var(--cream);
  padding: 0.5rem 1rem;
}
.lightbox-nav:hover { color: var(--brass); }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
@media (min-width: 640px) {
  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
@media (min-width: 1440px) {
  .section-inner { padding: 7rem 2rem; }
}
