/* Good Fellas Pizza — Whittier. Self-contained. No third-party trackers. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #b3121b;
  --red-hot: #d21a25;
  --red-dark: #8a0e15;
  --green: #1b7a34;
  --gold: #e8c36a;
  --gold-dim: #c9a24a;
  --cream: #f6efe3;
  --cream-2: #efe4d2;
  --paper: #fffaf2;
  --ink: #161310;
  --muted: #5c5348;
  --line: rgba(22, 19, 16, 0.12);
  --white: #fffaf3;
  --black: #0b0a09;
  --header-h: 4.85rem;
  --max: 72rem;
  --radius: 14px;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 40px rgba(11, 10, 9, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--black);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 6px;
}
.skip:focus { top: 1rem; }

.stripe {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--green) 0 18px,
    #fff 18px 36px,
    var(--red) 36px 54px
  );
}

/* ----- Header ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 9, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  color: var(--white);
  border-bottom: 1px solid rgba(232, 195, 106, 0.18);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.4rem 1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}
.logo-link img {
  height: 3.85rem;
  width: auto;
}
@media (min-width: 860px) {
  .logo-link img { height: 4.55rem; }
}
.nav {
  display: none;
  gap: 0.15rem 1.15rem;
  align-items: center;
}
.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.1rem;
}
.nav a:hover { color: var(--gold); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; fill: currentColor; }
#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .nav { display: flex; }
}

/* Mobile drawer */
@media (max-width: 859px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(232, 195, 106, 0.18);
    gap: 0;
  }
  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1.05rem;
  }
  #nav-toggle:checked ~ .nav { display: flex; }
  #nav-toggle:checked ~ .menu-toggle .icon-open { display: none; }
  #nav-toggle:checked ~ .menu-toggle .icon-close { display: block; }
  .menu-toggle .icon-close { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.1;
  white-space: nowrap;
}
.btn-order {
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(179, 18, 27, 0.35);
}
.btn-order:hover { background: var(--red-hot); color: #fff !important; }
.btn-call {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(232, 195, 106, 0.7);
}
.btn-call:hover { background: rgba(232, 195, 106, 0.12); color: var(--gold) !important; }
.btn-call-solid {
  background: var(--ink);
  color: #fff !important;
  border-color: var(--ink);
}
.btn-call-solid:hover { background: #2a2420; color: #fff !important; }
.btn-lg {
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}
.header .btn { padding: 0.65rem 0.9rem; font-size: 0.82rem; }
@media (min-width: 700px) {
  .header .btn { padding: 0.7rem 1.15rem; font-size: 0.9rem; }
}
@media (max-width: 419px) {
  .header .btn-call { display: none; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  max-height: 58rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #1a0c0c;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 72%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,6,6,0.88) 0%, rgba(8,6,6,0.62) 48%, rgba(8,6,6,0.22) 100%),
    linear-gradient(180deg, rgba(8,6,6,0.15) 0%, rgba(8,6,6,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.15rem 3.25rem;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-lead {
  font-size: 1.12rem;
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: rgba(255,250,243,0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.75rem; }

.gambino {
  display: grid;
  gap: 0.35rem;
  max-width: 34rem;
  background: rgba(11, 10, 9, 0.62);
  border: 1px solid rgba(232, 195, 106, 0.4);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  backdrop-filter: blur(6px);
}
.gambino .kicker {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0;
}
.gambino h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.gambino .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--gold);
  margin: 0.15rem 0;
  letter-spacing: -0.03em;
  line-height: 1;
}
.gambino p { margin: 0; color: rgba(255,250,243,0.92); }

/* ----- Sections ----- */
.section { padding: 3.5rem 1.15rem; }
.section-tight { padding-top: 2.5rem; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; margin: 0 0 1.75rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.bg-paper { background: var(--paper); }
.bg-ink { background: var(--black); color: var(--white); }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .lead, .bg-ink p { color: rgba(255,250,243,0.86); }
.bg-ink a { color: var(--gold); }
.bg-cream-2 { background: var(--cream-2); }

/* Specials */
.specials-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .specials-grid { grid-template-columns: 1.15fr 1fr; }
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.card .price-tag {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}
.weekday {
  display: grid;
  gap: 0.75rem;
}
.deal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 10px;
  padding: 0.95rem 1.05rem;
  box-shadow: 0 8px 20px rgba(11,10,9,0.06);
}
.deal .day {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--green);
  margin: 0 0 0.15rem;
}
.deal h3 { font-family: var(--font-display); font-weight: 800; margin: 0 0 0.2rem; font-size: 1.15rem; }
.deal .amt { float: right; color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.deal p { margin: 0; color: var(--muted); }
.note { font-size: 0.92rem; color: var(--muted); margin: 1rem 0 0; }

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.about-photos {
  display: grid;
  gap: 0.75rem;
}
.about-photos img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-photos .tall { aspect-ratio: 4/5; }
.about-photos .wide { aspect-ratio: 16/10; }

/* Menu / gallery */
.menu-grid, .gallery {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 700px) {
  .menu-grid, .gallery { grid-template-columns: repeat(4, 1fr); }
}
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11,10,9,0.12);
  background: #1a1010;
}
.tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tile figcaption, .tile .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.menu-list {
  columns: 1;
  gap: 2.5rem;
  margin: 0 0 2rem;
  padding: 0;
}
@media (min-width: 700px) { .menu-list { columns: 2; } }
.menu-list li {
  break-inside: avoid;
  list-style: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-list strong { display: block; font-family: var(--font-display); font-weight: 750; }
.menu-list span { color: var(--muted); font-size: 0.95rem; }

/* Areas */
.areas {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1000px) {
  .areas article:first-child { grid-column: span 1; }
}
.area {
  background: rgba(255,250,242,0.05);
  border: 1px solid rgba(232, 195, 106, 0.22);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.2rem;
}
.area h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.area p { margin: 0; font-size: 0.95rem; color: rgba(255,250,243,0.86); }

/* Visit */
.visit-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .visit-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.hours th { font-weight: 700; width: 46%; }
.hours tr[aria-current="date"] th,
.hours tr[aria-current="date"] td {
  background: #f8e6c4;
  color: var(--ink);
}
.hours tr[aria-current="date"] th {
  box-shadow: inset 4px 0 0 var(--red);
  padding-left: 0.55rem;
}
.contact-block p { margin: 0 0 0.45rem; }
.contact-block a { color: var(--ink); font-weight: 650; text-decoration: none; }
.contact-block a:hover { color: var(--red); text-decoration: underline; }
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--cream-2);
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  margin: 0;
  color: var(--ink);
  z-index: 0;
}
.map-wrap iframe { position: relative; z-index: 1; }
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.socials a:hover { border-color: var(--red); color: var(--red); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255,250,243,0.86);
  padding: 2.5rem 1.15rem 5.5rem;
}
@media (min-width: 700px) { .footer { padding-bottom: 2.5rem; } }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr auto; align-items: start; }
}
.footer .logo-link img { height: 5.25rem; }
.footer h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.footer a { color: var(--gold); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fine {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,250,243,0.6);
}

/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(11,10,9,0.96);
  border-top: 1px solid rgba(232, 195, 106, 0.2);
}
.mobile-cta .btn { flex: 1; }
@media (min-width: 700px) { .mobile-cta { display: none; } }
@media (max-width: 699px) {
  body { padding-bottom: 0; }
  .footer { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom)); }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
