/* ============================================================
   BIG D PIZZA — Detroit Style. Big D Energy.
   Palette: charcoal #171310, cream #F6EEE2, sauce red #D6382B,
   golden cheese #E8A33D, Dallas blue #1B3A6B
   Fonts: Anton (display) + Archivo (body)
   ============================================================ */

:root {
  --charcoal: #171310;
  --charcoal-2: #221C17;
  --cream: #F6EEE2;
  --cream-dim: #EFE3D0;
  --red: #D6382B;
  --red-dark: #B02A20;
  --gold: #E8A33D;
  --blue: #1B3A6B;
  --ink: #221C17;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 19, 16, 0.14);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ---------- Typography ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.accent-red { color: var(--red); }
.kicker {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.kicker-gold { color: var(--gold); }
.kicker-red { color: var(--red); }
.section-head { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head .section-title, .section-head .kicker { margin-left: auto; margin-right: auto; }
.section-sub { margin-top: 18px; font-size: 1.06rem; color: #4A4038; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 14px 30px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn-big { padding: 18px 42px; font-size: 1.2rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(214, 56, 43, 0.35);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(214, 56, 43, 0.45); }
.btn-dark {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 238, 226, 0.65);
}
.btn-ghost:hover { background: var(--cream); color: var(--charcoal); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: var(--charcoal);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
.brand-d {
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  width: 1.55em;
  height: 1.55em;
  border-radius: 6px;
  font-size: 0.95em;
  transform: translateY(-0.08em);
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.nav-link {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-order { padding: 11px 24px; font-size: 0.95rem; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 102;
  flex-shrink: 0;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 12, 10, 0.55) 0%, rgba(15, 12, 10, 0.35) 45%, rgba(15, 12, 10, 0.7) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px clamp(20px, 4vw, 48px) 60px;
  width: 100%;
}
.hero-kicker {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.hero-accent { color: var(--gold); }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  max-width: 560px;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 238, 226, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red);
  overflow: hidden;
  padding: 14px 0;
  border-top: 3px solid var(--charcoal);
  border-bottom: 3px solid var(--charcoal);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker-track i {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Signature section ---------- */
.signature {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 8vw, 110px);
}
.signature .section-sub { color: rgba(246, 238, 226, 0.75); }
.signature-cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Menu ---------- */
.menu-section { padding: clamp(70px, 9vw, 120px) 0; }
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.menu-tab {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-tab:hover { background: var(--charcoal); color: var(--cream); }
.menu-tab.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: panel-in 0.45s ease; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.menu-panel-tag {
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 30px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}
.menu-grid-detroit { grid-template-columns: repeat(3, 1fr); }
.menu-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23, 19, 16, 0.2); }
.menu-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.menu-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-card-top h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--red);
  white-space: nowrap;
}
.price-lg { font-size: 1.7rem; }
.menu-card-body p { font-size: 0.94rem; color: #54493F; flex: 1; }
.menu-card-body .btn { align-self: flex-start; }
.menu-card-plain { background: var(--charcoal); color: var(--cream); }
.menu-card-plain-inner { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.menu-card-plain-inner h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
}
.menu-card-plain-inner p { flex: 1; color: rgba(246, 238, 226, 0.82); font-size: 0.94rem; }
.menu-card-bottom { display: flex; justify-content: space-between; align-items: center; }
.menu-card-bottom .price { color: var(--cream); }
.menu-cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }
.menu-cta p { font-weight: 600; margin-bottom: 16px; }

/* ---------- Story ---------- */
.story {
  background: var(--cream-dim);
  padding: clamp(70px, 9vw, 120px) 0;
}
.story-intro { max-width: 860px; margin: 0 auto clamp(30px, 4vw, 48px); }
.story-intro .kicker, .story-intro .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.story-lede {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  text-align: center;
  color: #4A4038;
  margin-left: auto; margin-right: auto;
}
.story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.fact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--red);
  line-height: 1;
}
.fact-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B5D50;
}
.story-strip {
  max-width: 760px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  text-align: center;
  font-size: 1.05rem;
  color: #4A4038;
  margin-left: auto; margin-right: auto;
}
.story-strip strong { color: var(--red); }

/* ---------- Reviews ---------- */
.reviews {
  background: var(--charcoal-2);
  color: var(--cream);
  padding: clamp(70px, 9vw, 120px) 0;
}
.reviews .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.reviews .kicker { text-align: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.5vw, 44px);
  max-width: 1080px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.review { border-left: 4px solid var(--red); padding-left: 24px; }
.stars { display: flex; gap: 5px; margin-bottom: 14px; }
.stars span {
  width: 16px; height: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.review-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.review cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 238, 226, 0.6);
}
.reviews-cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }

/* ---------- Location ---------- */
.location { padding: clamp(70px, 9vw, 120px) 0; }
.location-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.location-head .kicker, .location-head .section-title { margin-left: auto; margin-right: auto; }
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.ghost-note {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 24px;
}
.ghost-note h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}
.ghost-note p { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; }
.location-card, .hours-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.location-card h4, .hours-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 14px;
}
.address { font-size: 1.15rem; font-weight: 600; line-height: 1.5; margin-bottom: 20px; }
.location-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-line { margin-top: 18px; font-weight: 600; }
.phone-line a { color: var(--red); text-decoration: none; }
.phone-line a:hover { text-decoration: underline; }
.hours-card table { width: 100%; border-collapse: collapse; }
.hours-card td { padding: 8px 0; border-bottom: 1px dashed #DDD2C0; font-size: 0.96rem; }
.hours-card td:last-child { text-align: right; font-weight: 600; }
.hours-note { margin-top: 14px; font-size: 0.85rem; color: #6B5D50; }
.location-map {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.location-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 340px;
}
.location-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 3; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Social ---------- */
.social {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 90px);
}
.social .container { margin-bottom: clamp(30px, 4vw, 44px); }
.social .kicker { text-align: center; }
.social .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.social-cta { text-align: center; margin-top: clamp(36px, 5vw, 54px); }
.social-cta p { font-weight: 600; margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--cream-dim);
  padding: clamp(70px, 9vw, 120px) 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 18px;
  border: 2px solid #D8CCB8;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form textarea { min-height: 130px; }
.contact-form .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(54px, 7vw, 80px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 238, 226, 0.15);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-tag { color: rgba(246, 238, 226, 0.7); line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-info p { margin-bottom: 10px; color: rgba(246, 238, 226, 0.8); font-size: 0.94rem; }
.footer-info a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-bottom { text-align: center; padding-top: 26px; font-size: 0.85rem; color: rgba(246, 238, 226, 0.6); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--charcoal);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}
.mcta {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  border: 2px solid rgba(246, 238, 226, 0.4);
  border-radius: 10px;
  padding: 13px 6px;
}
.mcta-order {
  flex: 1.6;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-size: 1rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .menu-grid, .menu-grid-detroit { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 101;
    background: rgba(23, 19, 16, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 1.2rem; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .menu-grid, .menu-grid-detroit { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .story-facts { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-links { align-items: center; }
  .hero { min-height: 560px; }
  .hero-ctas .btn { width: 100%; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}
