/* Pete's Blue Chip — variant A (Anthropic frontend-design skill)
   Tokens: Night Sky #0B0B0D · Panel Cream #F7F3E6 · Sign Red #B5121B
           Chip Blue #1D3F9E · Wrap Yellow #F6E9B4 · Booth Oxblood #4A2528
   Type:   Display "Arial Black" · Body Georgia · Utility "Courier New"          */

:root {
  --night: #0B0B0D;
  --cream: #F7F3E6;
  --red: #B5121B;
  --blue: #1D3F9E;
  --wrap: #F6E9B4;
  --oxblood: #4A2528;
  --bulb: #FFCF7E;
  --display: "Arial Black", "Arial Bold", Arial, sans-serif;
  --body: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--oxblood);
  background: var(--cream);
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); }

h1, h2, h3, .brand, .footer-brand {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
}

h2 { font-size: clamp(1.5rem, 4.2vw, 2.25rem); letter-spacing: 0.01em; margin-bottom: 0.6rem; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ---------- utility type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.eyebrow-blue { color: var(--blue); }
.eyebrow-gold { color: var(--bulb); }

/* ---------- focus + skip ---------- */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.site-header :focus-visible,
.hero :focus-visible,
.visit :focus-visible,
.site-footer :focus-visible { outline-color: var(--bulb); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cream); color: var(--oxblood);
  padding: 12px 18px; z-index: 99; font-family: var(--mono);
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
  border-bottom: 1px solid rgba(247, 243, 230, 0.14);
}
.header-inner {
  max-width: 1060px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  color: var(--cream); text-decoration: none;
  font-size: 1rem; letter-spacing: 0.02em; white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a:not(.btn) {
  color: var(--cream); text-decoration: none;
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 2px;
}
.site-nav a:not(.btn):hover { color: var(--bulb); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 14px 20px; border-radius: 6px;
  border: 2px solid transparent;
  transition: transform 0.15s ease-out, background-color 0.15s ease-out;
}
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: #9c0f17; }
.btn-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: rgba(29, 63, 158, 0.08); }
.btn-cream { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-cream:hover { background: rgba(247, 243, 230, 0.12); }
.btn-call {
  background: var(--red); color: #fff;
  font-size: 0.85rem; padding: 14px 16px; white-space: nowrap;
}
.btn-call:hover { background: #9c0f17; }

/* ---------- HERO: night + the sign panel (signature element) ---------- */
.hero { background: var(--night); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.hero-photo img {
  width: 100%; border-radius: 8px;
}

.sign-frame {
  background: var(--red);
  padding: 9px;
  border-radius: 14px;
  box-shadow: 0 0 70px rgba(255, 207, 126, 0.16), 0 18px 50px rgba(0, 0, 0, 0.55);
}
.sign-bulbs {
  border: 5px dotted var(--bulb);
  border-radius: 9px;
  padding: 9px;
}
.sign-panel {
  background: var(--cream);
  border-radius: 5px;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.sign-panel h1 {
  color: var(--red);
  font-size: clamp(1.55rem, 5.2vw, 2.5rem);
  letter-spacing: 0.005em;
  margin-bottom: 0.8rem;
}
.hero-sub { margin-bottom: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.2rem; }
.hero-hours {
  font-family: var(--mono); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; color: var(--blue);
  border-top: 2px dotted rgba(74, 37, 40, 0.35);
  padding-top: 0.9rem;
}

/* hero light-up flicker (JS-gated) */
@keyframes light-up {
  0% { opacity: 0.35; }
  55% { opacity: 1; }
  70% { opacity: 0.55; }
  100% { opacity: 1; }
}
html.js:not(.noanim) .sign-frame { animation: light-up 0.28s ease-out both; }

/* ---------- STORY ---------- */
.story { padding: clamp(3rem, 7vw, 5rem) 0; }
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.story-text p { max-width: 58ch; }
.story-quote {
  margin-top: 1.6rem; padding-left: 1.1rem;
  border-left: 4px solid var(--red);
}
.story-quote p { font-style: italic; }
.story-quote cite,
.feature blockquote cite,
.review-card cite {
  display: block; margin-top: 0.6rem;
  font-family: var(--mono); font-style: normal; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.story-snapshot {
  justify-self: center;
  background: #fff; padding: 12px 12px 14px;
  box-shadow: 0 10px 26px rgba(74, 37, 40, 0.18);
  transform: rotate(1.2deg);
  max-width: 320px;
}
.story-snapshot figcaption {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em;
  text-align: center; padding-top: 10px; color: var(--oxblood);
}

/* ---------- MENU BOARD ---------- */
.menu { padding: clamp(3rem, 7vw, 5rem) 0; background: #F1EBD8; }
.menu-note { font-family: var(--mono); font-size: 0.85rem; margin-bottom: 2rem; }
.menu-boards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; align-items: start;
}
.board {
  background: var(--cream);
  border: 1px solid rgba(74, 37, 40, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(74, 37, 40, 0.08);
}
.board-band {
  background: var(--red); color: #fff;
  font-size: 0.95rem; letter-spacing: 0.06em;
  padding: 12px 16px;
}
.board-list { list-style: none; padding: 14px 16px 16px; }
.board-list li {
  display: flex; align-items: baseline;
  padding: 7px 0; font-size: 1rem;
}
.board-list .item { flex-shrink: 1; }
.board-list .tag {
  font-family: var(--mono); font-style: normal; font-size: 0.72rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue);
  white-space: nowrap;
}
.board-list .dots {
  flex: 1 1 14px; min-width: 14px;
  border-bottom: 2px dotted rgba(74, 37, 40, 0.4);
  margin: 0 8px; transform: translateY(-4px);
}
.board-list .price { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.board-extra {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.03em;
  padding: 0 16px 16px; color: rgba(74, 37, 40, 0.85);
}

/* burrito feature */
.feature {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--cream);
  border: 1px solid rgba(74, 37, 40, 0.15);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(74, 37, 40, 0.08);
  overflow: hidden;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem); }
.feature-text h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--red); margin-bottom: 0.6rem; }
.feature-text > p { max-width: 52ch; }
.feature-text blockquote { margin: 1.1rem 0; padding-left: 1rem; border-left: 4px solid var(--wrap); }
.feature-text blockquote p { font-style: italic; }
.feature-ticket {
  font-family: var(--mono); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.06em; color: var(--blue);
  border-top: 2px dotted rgba(74, 37, 40, 0.35); padding-top: 0.8rem;
}

/* ---------- PHOTOS ---------- */
.photos { padding-bottom: clamp(3rem, 7vw, 5rem); background: #F1EBD8; }
.booths-band { position: relative; }
.booths-band img { width: 100%; max-height: 420px; object-fit: cover; }
.booths-band figcaption {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(11, 11, 13, 0.78); color: var(--cream);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.05em;
  padding: 7px 14px; border-radius: 4px; white-space: nowrap; max-width: calc(100% - 24px);
}
.photo-grid {
  margin-top: 22px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.photo-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px;
}
.photo-grid figcaption {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding-top: 8px; color: rgba(74, 37, 40, 0.85);
}

/* ---------- REVIEWS: wrap-paper cards ---------- */
.reviews { padding: clamp(3rem, 7vw, 5rem) 0; }
.review-cards {
  margin-top: 1.4rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.review-card {
  background: var(--wrap);
  padding: 1.5rem 1.4rem;
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(74, 37, 40, 0.14);
}
.review-card p { font-style: italic; }
.review-card:nth-child(1) { transform: rotate(-0.6deg); }
.review-card:nth-child(2) { transform: rotate(0.4deg); }
.review-card:nth-child(3) { transform: rotate(-0.3deg); }

/* ---------- VISIT ---------- */
.visit { background: var(--oxblood); color: var(--cream); padding: clamp(3rem, 7vw, 5rem) 0; }
.visit h2 { color: var(--cream); }
.visit-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.visit-lede { max-width: 52ch; margin-bottom: 1.4rem; }
.hours { margin-bottom: 1.4rem; max-width: 26rem; }
.hours-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-weight: 700; font-size: 1rem;
  padding: 9px 0; border-bottom: 2px dotted rgba(247, 243, 230, 0.35);
}
.hours-row dt { text-transform: uppercase; letter-spacing: 0.05em; }
.visit-address { font-style: normal; margin-bottom: 1.4rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }
.visit-facts {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em;
  color: rgba(247, 243, 230, 0.8);
}
.visit-photo img { border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #351A1D; color: rgba(247, 243, 230, 0.85);
  padding: 2.2rem 0; font-size: 0.95rem;
}
.footer-inner { text-align: center; }
.footer-brand { color: var(--cream); font-size: 1.05rem; margin-bottom: 0.4rem; }
.site-footer a { color: var(--cream); }

/* ---------- reveal animation (JS-gated; content visible without JS) ---------- */
html.js:not(.noanim) .reveal:not(.visible) { opacity: 0; transform: translateY(14px); }
html.js:not(.noanim) .reveal { transition: opacity 0.24s ease-out, transform 0.24s ease-out; }
html.js:not(.noanim) .reveal.visible { opacity: 1; transform: none; }
html.js:not(.noanim) .review-card.reveal.visible:nth-child(1) { transform: rotate(-0.6deg); }
html.js:not(.noanim) .review-card.reveal.visible:nth-child(2) { transform: rotate(0.4deg); }
html.js:not(.noanim) .review-card.reveal.visible:nth-child(3) { transform: rotate(-0.3deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .sign-frame { animation: none; }
  html.js .reveal, html.js .reveal:not(.visible) { opacity: 1; transform: none; transition: none; }
  html.js .review-card:nth-child(1) { transform: rotate(-0.6deg); }
  html.js .review-card:nth-child(2) { transform: rotate(0.4deg); }
  html.js .review-card:nth-child(3) { transform: rotate(-0.3deg); }
  .btn { transition: none; }
}

/* ---------- sticky-header anchor offset ---------- */
#menu, #photos, #visit { scroll-margin-top: 88px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .menu-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-cards { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { order: -1; max-width: 34rem; margin: 0 auto; }
  .sign-frame { max-width: 34rem; margin: 0 auto; }
  .story-grid, .visit-grid, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-photo img { max-height: 420px; }
  .visit-photo { max-width: 26rem; }
}

@media (max-width: 640px) {
  .menu-boards { grid-template-columns: minmax(0, 1fr); }
  .header-inner { gap: 10px; padding: 8px 12px; }
  .site-nav { gap: 10px; }
  .brand { font-size: 0.85rem; }
  .site-nav a:not(.btn) { font-size: 0.78rem; }
  .call-num { display: none; }
  .booths-band figcaption { white-space: normal; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .visit-actions .btn { width: 100%; }
}

@media (max-width: 419px) {
  .nav-photos { display: none; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); }
}
