/* =====================================================
   Big Ragu's Italian Kitchen & Pub
   Mobile-first, single-page spec site
   Stack: HTML5 / CSS3 / Vanilla JS
   Fonts: Oswald 600/700/800/900, Lato 400/700
   ===================================================== */

/* ---- Reset & Root ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  --green:      #006400;
  --green-dark: #004D00;
  --red:        #CC0000;
  --cobalt:     #1B4F8A;
  --gold:       #D4A843;
  --near-black: #111111;
  --dark-gray:  #333333;
  --mid-gray:   #555555;
  --muted-gray: #888888;
  --cream:      #FDF8F0;
  --warm-white: #FFFFFF;
  --warm-cream: #F5E6C8;

  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --wrap:   1280px;
  --nav-h:  70px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
blockquote { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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;
}

/* ---- Eyebrow utility ---- */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.eyebrow--green  { color: var(--green); }
.eyebrow--cobalt { color: var(--cobalt); }
.eyebrow--red    { color: var(--red); }

/* ---- Button system ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  min-height: 48px;
  transition: background 0.2s ease-out, transform 0.2s ease-out, color 0.2s ease-out;
  text-decoration: none;
}

.btn--primary {
  background: var(--green);
  color: var(--warm-white);
  border: 2px solid var(--green);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--green);
  color: var(--warm-white);
  border: 2px solid var(--green);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  min-height: 44px;
}
.btn--nav:hover,
.btn--nav:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* ================================
   LOADER
   ================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__logo {
  width: auto;
  height: 200px;
  max-width: 70vw;
  object-fit: contain;
  animation: loaderScale 0.6s ease-out forwards;
}

@keyframes loaderScale {
  from { transform: scale(0.8); opacity: 0.7; }
  to   { transform: scale(1);   opacity: 1; }
}

.loader.fade-out {
  animation: loaderFade 0.4s ease-out forwards;
}

@keyframes loaderFade {
  to { opacity: 0; pointer-events: none; }
}

/* ================================
   NAV
   ================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  background: var(--cream);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(253, 248, 240, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(17,17,17,0.10);
}

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--near-black);
}

.nav__brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links {
  display: none;
  gap: 1.75rem;
}

.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--near-black);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--green); }

.nav__lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mid-gray);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s;
  min-height: 44px;
}
.nav__lang-toggle:hover { color: var(--green); }

.lang-label--en { color: var(--near-black); }
.lang-label--es { color: var(--muted-gray); }

[data-lang="es"] .lang-label--en { color: var(--muted-gray); }
[data-lang="es"] .lang-label--es { color: var(--near-black); }

.lang-sep { color: var(--muted-gray); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  pointer-events: none;
}

.mobile-menu.open {
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0);
  transition: background 0.3s;
}

.mobile-menu.open .mobile-menu__overlay {
  background: rgba(17,17,17,0.55);
}

.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--cream);
  padding: var(--nav-h) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.mobile-menu.open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--near-black);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__links a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--near-black);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(17,17,17,0.08);
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.mobile-menu__links a:hover { color: var(--green); }

.mobile-menu__cta { width: 100%; text-align: center; }

@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1.1) contrast(1.05);
  will-change: transform;
  animation: heroDrift 24s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17,17,17,0.82) 0%,
    rgba(17,17,17,0.45) 50%,
    rgba(17,17,17,0.10) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3.5rem;
  gap: 1.25rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin: 0;
  max-width: 16ch;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--warm-cream);
  margin: 0;
  max-width: 38ch;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
}

.hero__actions .btn {
  width: 100%;
}

.hero__happy-hour {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.hero__strip {
  position: relative;
  z-index: 2;
  background: var(--red);
  padding: 0.6rem var(--gutter);
  text-align: center;
}

.hero__strip span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-white);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
  .hero__actions .btn {
    width: auto;
  }
}

/* ================================
   ABOUT / OUR STORY
   ================================ */
.about {
  background: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about__photo-col {
  width: 100%;
}

.about__photo-frame {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  background-image: url('assets/interior_1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 3px solid var(--red);
}

.about__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.about__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--near-black);
  margin: 0;
}

.about__food-is-love {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--red);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0.5rem 0;
}

.about__body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333333;
  margin: 0 0 1rem;
}
.about__body p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .about__photo-frame {
    margin: 0;
    max-width: none;
  }
}

/* ================================
   MENU SECTION
   ================================ */
.menu-section {
  background: var(--near-black);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.menu-section__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  color: var(--warm-white);
  text-align: center;
  margin: 0 0 2.5rem;
}

/* ---- Tabs ---- */
.menu-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  padding-bottom: 0;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-gray);
  padding: 0.875rem 1.1rem;
  min-width: 100px;
  min-height: 48px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.menu-tab:hover { color: var(--warm-white); }
.menu-tab--active,
.menu-tab[aria-selected="true"] {
  color: var(--warm-white);
  border-bottom-color: var(--green);
}

/* ---- Menu panels ---- */
.menu-panel { display: none; }
.menu-panel--active,
.menu-panel[aria-expanded="true"] { display: block; }

/* ---- Menu card grid ---- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-card {
  background: var(--warm-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 3px solid var(--red);
}

.menu-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-repeat: no-repeat;
  background-color: #e8e0d4;
  transition: transform 0.35s ease-out;
}

.menu-card__img--placeholder {
  background-color: #e8e0d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted-gray);
}

@media (hover: hover) {
  .menu-card:hover .menu-card__img {
    transform: scale(1.04);
  }
}

.menu-card {
  overflow: hidden;
}

.menu-card__img-wrap {
  overflow: hidden;
}

.menu-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.menu-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--near-black);
  margin: 0 0 0.4rem;
}

.menu-card__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin: 0;
  line-height: 1.55;
}

/* ================================
   GALLERY
   ================================ */
.gallery {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.gallery .wrap {
  margin-bottom: 2rem;
}

.gallery__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  text-transform: uppercase;
  color: var(--near-black);
  margin: 0;
  line-height: 1.05;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0 var(--gutter);
  max-width: var(--wrap);
  margin: 0 auto;
}

/* Mobile: single column stack */
.gallery__item {
  display: block;
  overflow: hidden;
  cursor: pointer;
  background: #e8e0d4;
  border: 0;
  padding: 0;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease-out;
}

@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.04);
  }
}

.gallery__placeholder {
  height: 260px;
  border: 2px dashed var(--muted-gray);
  background: transparent;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted-gray);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.gallery__placeholder small {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* NOTE: The old "asymmetric" desktop gallery layout (wide+tall hero, explicit
   nth-child grid placement for a 7-item grid) was removed here. It was dead code
   from a previous gallery design — the live gallery uses .gallery-polaroid-item
   with its own clean responsive grid (.gallery--polaroid .gallery__grid: 1 col
   mobile, 2 cols >=600px, 3 cols >=900px). The stale rules were pinning polaroids
   to fixed cells, leaving gaps and a lonely last row. */

/* ================================
   BAR SECTION
   ================================ */
.bar-section {
  background: var(--chalkboard);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.bar-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.bar-section__promo {
  color: var(--warm-white);
}

.bar-section__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  color: var(--warm-white);
  text-transform: uppercase;
}

.bar-section__time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 3rem);
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.bar-section__body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 50ch;
}

.bar-section__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gold);
  margin: 0.5rem 0 0;
}

.bar-section__photo {
  display: none;
}

.bar-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  max-height: 420px;
}

@media (min-width: 768px) {
  .bar-section__inner {
    grid-template-columns: 1fr 1fr;
  }
  .bar-section__photo {
    display: block;
  }
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.testimonials__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--near-black);
  margin: 0 0 3rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--warm-white);
  padding: 1.75rem;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial-card__quote {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin: 0 0 1.25rem;
  font-style: italic;
}

.testimonial-card__attr {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card__attr cite {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--near-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.testimonial-card__source {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted-gray);
}

/* ================================
   FIND US / LOCATION
   ================================ */
.find-us {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(17,17,17,0.08);
}

.find-us__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.find-us__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 2px;
}

.find-us__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--near-black);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.find-us__address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.find-us__landmark {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin: 0 0 1.25rem;
}

.find-us__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
  transition: color 0.2s;
}
.find-us__phone:hover { color: var(--green-dark); }

/* Hours table */
.hours-table-wrap {
  margin-bottom: 1.75rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.hours-table td {
  padding: 0.45rem 0.5rem;
  color: var(--dark-gray);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}

.hours-table td:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--near-black);
  width: 3.5rem;
}

.hours-table__closed td {
  color: var(--muted-gray);
}

.hours-table__closed td:last-child {
  color: var(--red);
  font-weight: 700;
}

.hours-asterisk {
  color: var(--gold);
  font-size: 0.9em;
  cursor: help;
}

.hours-verify {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted-gray);
  margin: 0.4rem 0 0;
}

/* Socials */
.find-us__connect {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 2px dotted rgba(0,0,0,0.18);
}
.find-us__connect-label {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red);
  margin: 0 0 0.9rem;
  line-height: 1;
}
.find-us__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.find-us__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.2rem;
  border: 1.5px solid var(--ink);
  border-radius: 50px;
  background: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.find-us__social-link:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .find-us__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .find-us__map iframe { height: 420px; }
}

/* ================================
   CTA STRIP
   ================================ */
.cta-strip {
  background: var(--near-black);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
}

.cta-strip__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  color: var(--warm-white);
  margin: 0 0 0.75rem;
}

.cta-strip__sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--warm-cream);
  margin: 0 auto 2.5rem;
  max-width: 40ch;
}

.cta-strip__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-strip__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--near-black);
  border-top: 1px solid var(--dark-gray);
}

/* Footer top row: clean centered stack on mobile, balanced 3-part row on desktop.
   Mobile is a flex column (everything centered); desktop is brand-left / links-center /
   socials-right via space-between. No fixed columns, no orphaned vertical centering. */
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

/* Brand block: logo + tagline as ONE unit so they always share an alignment edge. */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__logo {
  display: block;
  width: auto;
  height: 92px;
  max-width: 100%;
  background: var(--cream);
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.footer__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 26ch;
  line-height: 1.2;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted-gray);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.footer__social-icon {
  color: var(--muted-gray);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.footer__social-icon:hover { color: var(--gold); }

/* Desktop keeps the same clean CENTERED stack as mobile (logo card, tagline,
   links row, socials row), just with a little more breathing room. No hard-left
   brand block, so the whole footer reads centered and balanced on every screen. */
@media (min-width: 768px) {
  .footer__inner { gap: 1.9rem; padding-top: 3.5rem; padding-bottom: 3rem; }
  .footer__tagline { max-width: none; }
}

.footer__bottom {
  border-top: 1px solid var(--dark-gray);
  padding: 1rem var(--gutter);
}

.footer__address {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin: 0 0 0.25rem;
  text-align: center;
  overflow-wrap: break-word;
}

.footer__address a {
  color: inherit;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer__address a:hover { color: var(--gold); }

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin: 0;
  text-align: center;
  overflow-wrap: break-word;
}

/* ================================
   LIGHTBOX
   ================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.92);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: 1rem;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox__caption {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  font-size: 2.5rem;
  color: var(--warm-white);
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--warm-white);
  opacity: 0.7;
  transition: opacity 0.2s;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__prev { left: -3.5rem; }
.lightbox__next { right: -3.5rem; }
.lightbox__prev:hover,
.lightbox__next:hover { opacity: 1; }

/* ================================
   SCROLL REVEAL
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================
   TRATTORIA EDITORIAL DESIGN SYSTEM
   Hand-crafted accents, polaroids, stamps, doodles,
   real-menu typography, chalkboard, napkin testimonials.
   ===================================================== */

:root {
  --font-script: 'Caveat', cursive;
  --font-stamp:  'Permanent Marker', cursive;
  --font-mono:   'Special Elite', 'Courier New', monospace;
  --paper:       #FBF6E8;
  --paper-edge:  #E8DEC2;
  --ink:         #1A1310;
  --chalkboard:  #0F2A1E;
}

/* Subtle paper-grain via CSS noise for cream sections */
.paper-bg {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 25% 30%, rgba(180,140,90,0.04) 0, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(180,140,90,0.05) 0, transparent 40%);
}

/* Checkered tablecloth divider strip */
.tablecloth-divider {
  height: 28px;
  background-image:
    linear-gradient(45deg, var(--red) 25%, transparent 25%, transparent 75%, var(--red) 75%),
    linear-gradient(45deg, var(--red) 25%, transparent 25%, transparent 75%, var(--red) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  background-color: #fff;
  opacity: 0.85;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* ---- Polaroid frame ---- */
.polaroid {
  display: inline-block;
  background: #fff;
  padding: 14px 14px 56px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.06) inset,
    0 12px 28px rgba(0,0,0,0.22),
    0 4px 8px rgba(0,0,0,0.12);
  position: relative;
  max-width: 100%;
}
.polaroid--tilt-l { transform: rotate(-2.5deg); }
.polaroid--tilt-r { transform: rotate(2.5deg); }
.polaroid--tilt-xl { transform: rotate(-5deg); }
.polaroid--tilt-xr { transform: rotate(4deg); }

.polaroid img,
.polaroid__media {
  display: block;
  width: 100%;
  height: auto;
  background: #f0eadd;
}

.polaroid__caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 600;
}

/* Tape strip (faux washi tape at top) */
.polaroid::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 96px;
  height: 22px;
  background: rgba(214, 196, 130, 0.78);
  border-left: 1px dashed rgba(255,255,255,0.5);
  border-right: 1px dashed rgba(255,255,255,0.5);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  pointer-events: none;
}
.polaroid--tape-r::before { transform: translateX(-50%) rotate(6deg); top: -8px; left: 30%; }
.polaroid--tape-l::before { transform: translateX(-50%) rotate(-7deg); top: -8px; left: 70%; }
.polaroid--no-tape::before { display: none; }

/* ---- Stamp ---- */
.stamp {
  display: inline-block;
  font-family: var(--font-stamp);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  border: 3px solid currentColor;
  padding: 0.35em 0.75em;
  background: transparent;
  transform: rotate(-7deg);
  font-size: 0.95rem;
  line-height: 1.1;
  position: relative;
  filter: opacity(0.88) contrast(1.05);
  white-space: nowrap;
}
.stamp::before,
.stamp::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: inherit;
  border-radius: inherit;
  opacity: 0.4;
  pointer-events: none;
}
.stamp::after {
  inset: 2px;
  border-width: 1px;
  border-style: dashed;
}
.stamp--green { color: var(--green); }
.stamp--cobalt { color: var(--cobalt); }
.stamp--ink { color: var(--ink); }
.stamp--rotate-r { transform: rotate(6deg); }
.stamp--rotate-flat { transform: rotate(-2deg); }
.stamp--lg { font-size: 1.4rem; padding: 0.45em 1em; }
.stamp--xl { font-size: 2rem; padding: 0.55em 1.2em; }

/* ---- Doodle SVG sizing ---- */
.doodle {
  display: inline-block;
  vertical-align: middle;
  color: inherit;
}
.doodle--sm { width: 28px; height: 28px; }
.doodle--md { width: 44px; height: 44px; }
.doodle--lg { width: 72px; height: 72px; }
.doodle--xl { width: 120px; height: 120px; }

/* Hand-drawn underline */
.scribble {
  position: relative;
  display: inline-block;
}
.scribble::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: -10px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M2 8 C 40 2, 80 14, 120 6 S 200 12, 240 4 S 290 10, 298 6' fill='none' stroke='%23CC0000' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.scribble--green::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M2 8 C 40 2, 80 14, 120 6 S 200 12, 240 4 S 290 10, 298 6' fill='none' stroke='%23006400' stroke-width='3' stroke-linecap='round'/></svg>");
}

/* Italian flag pennant accent */
.pennant {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 14px;
  vertical-align: middle;
}
.pennant span {
  display: block;
  width: 18px;
  height: 100%;
}
.pennant span:nth-child(1) { background: #008C45; }
.pennant span:nth-child(2) { background: #F4F5F0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.pennant span:nth-child(3) { background: #CD212A; }

/* =====================================================
   HERO - EDITORIAL REBUILD
   ===================================================== */

.hero-editorial {
  position: relative;
  min-height: 100dvh;
  background: var(--paper);
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  overflow: hidden;
}
.hero-editorial__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
.hero-editorial__left {
  position: relative;
  padding: 1rem 0;
}
.hero-editorial__eyebrow {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--red);
  margin: 0 0 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-editorial__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 11vw, 7.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
.hero-editorial__h1 .accent-red { color: var(--red); }
.hero-editorial__h1 .accent-green { color: var(--green); }
.hero-editorial__h1 .with-doodle {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.08em;
  line-height: 0.92;
}
.doodle--period {
  width: 0.62em;
  height: 0.62em;
  margin-bottom: 0.04em;
  flex-shrink: 0;
}
.hero-editorial__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  color: var(--dark-gray);
  margin: 1.5rem 0 1.6rem;
  max-width: 38ch;
}
.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.hero-editorial__phone-link {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px dashed var(--red);
  padding-bottom: 2px;
}

.hero-editorial__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 2rem;
}
.hero-editorial__polaroid {
  max-width: min(420px, 90%);
  width: 100%;
}
.hero-editorial__polaroid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-editorial__stamp-pos {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}

.hero-editorial__strip {
  position: relative;
  margin-top: auto;
  padding: 1.25rem var(--gutter);
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-stamp);
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.hero-editorial__strip::before,
.hero-editorial__strip::after {
  content: '★';
  margin: 0 0.6em;
  opacity: 0.85;
}

/* Floating doodle decorations */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.hero-deco--meatball-tr { top: 6%; right: 4%; }
.hero-deco--pizza-bl   { bottom: 9%; left: 3%; opacity: 0.5; }

@media (min-width: 900px) {
  .hero-editorial__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
  .hero-editorial__polaroid { max-width: 460px; }
}

/* =====================================================
   ABOUT - POLAROID + FOOD IS LOVE
   ===================================================== */
.about--editorial .about__photo-frame {
  display: none;
}
.about--editorial .about__photo-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 1.5rem;
}
.about-polaroid {
  max-width: 420px;
  width: 100%;
}
.about-polaroid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.food-is-love-script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--red);
  line-height: 0.95;
  margin: 0.5rem 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transform: rotate(-2deg);
}

/* =====================================================
   MENU - REAL MENU TYPOGRAPHY
   ===================================================== */
.menu-list-wrap {
  background: var(--paper);
  background-image:
    radial-gradient(circle at 20% 25%, rgba(170,130,80,0.05) 0, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(170,130,80,0.06) 0, transparent 45%);
  border: 2px solid var(--ink);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  position: relative;
  max-width: 920px;
  margin: 2.5rem auto 0;
}
.menu-list-wrap::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(0,0,0,0.18);
  pointer-events: none;
}

.menu-list-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.menu-list-header__overline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin: 0 0 0.6rem;
}
.menu-list-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
}
.menu-list-header__rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 0.9rem auto 0;
}

.menu-section-group {
  margin-bottom: 2.6rem;
}
.menu-section-group:last-child { margin-bottom: 0; }

.menu-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px dotted rgba(0,0,0,0.35);
  padding-bottom: 0.6rem;
}
.menu-section-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
}
.menu-section-header__doodle { color: var(--red); flex-shrink: 0; }
.menu-section-header__es {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--mid-gray);
  margin-left: auto;
}

/* Small note that introduces a section: size legend, sauce list, all-prices-same callout */
.menu-size-key {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--mid-gray);
  margin: 0 0 0.6rem;
  line-height: 1.45;
  max-width: 60ch;
}

/* "All prices in MXN" disclaimer at the top of the menu */
.menu-price-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--mid-gray);
  margin: -0.5rem auto 2rem;
  max-width: 60ch;
}

.menu-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.55rem 0;
  position: relative;
}
.menu-line__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.menu-line__leader {
  border-bottom: 2px dotted rgba(0,0,0,0.45);
  align-self: end;
  margin: 0 0.5rem 0.45em;
  min-width: 30px;
}
.menu-line__price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.menu-line__desc {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--mid-gray);
  margin: 0.15rem 0 0;
  line-height: 1.45;
  max-width: 60ch;
}
.menu-line--featured .menu-line__name { color: var(--red); }
.menu-line__badge {
  display: inline-block;
  font-family: var(--font-stamp);
  font-size: 0.7rem;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 0.15em 0.5em;
  transform: rotate(-6deg);
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

@media (min-width: 800px) {
  .menu-list-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }
  .menu-list-cols .menu-section-group { break-inside: avoid; }
}

/* =====================================================
   GALLERY - POLAROID WALL
   ===================================================== */
.gallery--polaroid {
  background: #f0e4cc;
  background-image:
    repeating-linear-gradient(45deg, rgba(120,80,40,0.05) 0 2px, transparent 2px 8px),
    radial-gradient(circle at 30% 40%, rgba(80,50,20,0.06) 0, transparent 60%);
  padding: 3.5rem 1rem;
}
.gallery--polaroid .gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 0.5rem;
}
.gallery-polaroid-item {
  background: #fff;
  padding: 14px 14px 56px;
  box-shadow:
    0 12px 24px rgba(0,0,0,0.18),
    0 4px 8px rgba(0,0,0,0.12);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  border: none;
  display: block;
  width: 100%;
  text-align: left;
}
.gallery-polaroid-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f0eadd;
}
.gallery-polaroid-item__caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 600;
}
.gallery-polaroid-item--placeholder {
  background: repeating-linear-gradient(135deg, #fff 0 12px, #f6f1e3 12px 24px);
  color: var(--mid-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 56px;
  aspect-ratio: 1 / 1;
  font-family: var(--font-script);
  font-size: 1.3rem;
}
.gallery-polaroid-item--placeholder small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted-gray);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Per-item rotations & tape positions */
.gallery-polaroid-item:nth-child(6n+1) { transform: rotate(-3deg); }
.gallery-polaroid-item:nth-child(6n+2) { transform: rotate(2deg); }
.gallery-polaroid-item:nth-child(6n+3) { transform: rotate(-1.5deg); }
.gallery-polaroid-item:nth-child(6n+4) { transform: rotate(3deg); }
.gallery-polaroid-item:nth-child(6n+5) { transform: rotate(-2deg); }
.gallery-polaroid-item:nth-child(6n+6) { transform: rotate(1deg); }

.gallery-polaroid-item::before {
  content: '';
  position: absolute;
  top: -10px;
  width: 84px;
  height: 22px;
  background: rgba(214,196,130,0.78);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  pointer-events: none;
  border-left: 1px dashed rgba(255,255,255,0.5);
  border-right: 1px dashed rgba(255,255,255,0.5);
}
.gallery-polaroid-item:nth-child(6n+1)::before { left: 40%; transform: rotate(-7deg); }
.gallery-polaroid-item:nth-child(6n+2)::before { left: 55%; transform: rotate(8deg); }
.gallery-polaroid-item:nth-child(6n+3)::before { left: 30%; transform: rotate(-5deg); }
.gallery-polaroid-item:nth-child(6n+4)::before { left: 60%; transform: rotate(6deg); }
.gallery-polaroid-item:nth-child(6n+5)::before { left: 45%; transform: rotate(-9deg); }
.gallery-polaroid-item:nth-child(6n+6)::before { left: 50%; transform: rotate(3deg); }

.gallery-polaroid-item:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 18px 36px rgba(0,0,0,0.25);
  z-index: 10;
}

@media (min-width: 600px) {
  .gallery--polaroid .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .gallery--polaroid .gallery__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =====================================================
   HOURS - TRATTORIA TABLE CARD
   ===================================================== */
.hours-card {
  background: #fff;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(170,130,80,0.04) 0, transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(170,130,80,0.05) 0, transparent 60%);
  border: 1.5px solid var(--ink);
  padding: 1.8rem 1.5rem 1.4rem;
  position: relative;
  margin-top: 2rem;
  max-width: 380px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
}
.hours-card::before {
  content: '';
  position: absolute;
  top: -1.5px; left: -1.5px; right: -1.5px;
  height: 8px;
  background: linear-gradient(to right,
    #008C45 0%, #008C45 33.33%,
    #F4F5F0 33.33%, #F4F5F0 66.66%,
    #CD212A 66.66%, #CD212A 100%);
  border-bottom: 1.5px solid var(--ink);
}
.hours-card::after {
  content: '';
  position: absolute;
  inset: 12px 8px 8px;
  border: 1px dashed rgba(0,0,0,0.16);
  pointer-events: none;
}
.hours-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0.4rem 0 1.1rem;
  color: var(--ink);
  position: relative;
}
.hours-card__rows {
  position: relative;
}
.hours-card__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
}
.hours-card__day {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.hours-card__leader {
  border-bottom: 2px dotted rgba(0,0,0,0.35);
  align-self: end;
  margin: 0 0.4rem 0.35em;
  min-width: 24px;
}
.hours-card__time {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hours-card__row--closed .hours-card__day { color: var(--red); }
.hours-card__row--closed .hours-card__time {
  color: var(--red);
  font-family: var(--font-script);
  font-size: 1.1rem;
  letter-spacing: 0;
}
.hours-card__footnote {
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--mid-gray);
  text-align: center;
  margin: 1rem 0 0;
  font-style: normal;
  letter-spacing: 0;
  position: relative;
}

/* keep legacy chalkboard rules but neutralize so any stray markup hides */
.chalkboard {
  display: none;
}
.chalkboard__title {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 2.4rem;
  margin: 0 0 0.4rem;
  text-align: center;
  color: #f4eed8;
  letter-spacing: 0.02em;
  line-height: 1;
}
.chalkboard__rule {
  display: block;
  width: 60%;
  height: 2px;
  background: rgba(244,238,216,0.5);
  margin: 0 auto 1rem;
}
.chalkboard__rows {
  width: 100%;
}
.chalkboard__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.5rem;
  padding: 0.3rem 0.6rem;
  font-weight: 600;
  color: #f4eed8;
}
.chalkboard__row--closed {
  color: #ff9b8a;
}
.chalkboard__row--closed .chalkboard__time {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.85;
}
.chalkboard__day { font-family: var(--font-script); font-weight: 700; }
.chalkboard__time { font-family: var(--font-script); font-weight: 600; opacity: 0.95; }
.chalkboard__footnote {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(244,238,216,0.65);
  text-align: center;
  margin: 0.8rem 0 0;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* =====================================================
   TESTIMONIALS - NAPKIN NOTES
   ===================================================== */
.testimonials--napkins {
  background: var(--paper);
  background-image:
    radial-gradient(circle at 30% 20%, rgba(180,140,90,0.05) 0, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(180,140,90,0.05) 0, transparent 50%);
  padding: 3.5rem var(--gutter);
}
.testimonials--napkins .testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}
.napkin {
  background: #fff;
  padding: 1.8rem 1.6rem 1.4rem;
  position: relative;
  border: none;
  border-bottom: 2px solid rgba(0,0,0,0.04);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04) inset,
    0 10px 20px rgba(0,0,0,0.10),
    0 3px 6px rgba(0,0,0,0.06);
  /* deckled paper edge effect */
  clip-path: polygon(
    0% 4%, 6% 0%, 18% 3%, 32% 0%, 48% 2%, 62% 0%, 78% 3%, 92% 0%, 100% 5%,
    97% 18%, 100% 35%, 98% 52%, 100% 68%, 97% 85%, 100% 100%,
    85% 97%, 70% 100%, 55% 98%, 40% 100%, 25% 97%, 10% 100%, 0% 96%,
    3% 80%, 0% 65%, 2% 50%, 0% 35%, 3% 20%
  );
  margin: 0;
}
.napkin:nth-child(1) { transform: rotate(-1.5deg); }
.napkin:nth-child(2) { transform: rotate(1.2deg); }
.napkin:nth-child(3) { transform: rotate(-0.8deg); }

.napkin__quote {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 1rem;
  position: relative;
}
.napkin__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--red);
  position: absolute;
  top: -1.2rem;
  left: -0.4rem;
  line-height: 1;
  opacity: 0.65;
}
.napkin__attr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px dashed rgba(0,0,0,0.18);
  padding-top: 0.7rem;
  font-style: normal;
}
.napkin__attr cite {
  font-family: var(--font-script);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.napkin__attr-source {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .testimonials--napkins .testimonials__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =====================================================
   SECTION RHYTHM: hide old menu tabs and old testimonials
   ===================================================== */
.menu-tabs, .menu-panel, .menu-grid, .menu-card { display: none !important; }
.testimonial-card { display: none !important; }
.hero__bg, .hero__overlay, .hero__content, .hero__strip { display: none !important; }
.hero { background: transparent; height: auto; min-height: 0; overflow: visible; }
.about__photo-frame { display: none; }

/* Hide the existing hours-table in favor of chalkboard */
.hours-table-wrap { display: none; }

/* ============================================================
   Narrow-phone hardening (< 400px) + overflow safety.
   The layout is mobile-first and reflows cleanly, but real phones go down to
   ~320px (narrower than headless tooling can render). These guarantee no long
   word or 3-tier price string can ever overflow on the smallest screens.
   ============================================================ */
.menu-line__name,
.menu-line__desc,
.menu-size-key,
.menu-price-note,
.footer__address,
.footer__tagline { overflow-wrap: break-word; }

@media (max-width: 400px) {
  :root { --gutter: 1.05rem; }                 /* tighter side padding on very small phones */
  .menu-line__name  { font-size: 1rem; }
  .menu-line__price { font-size: 0.82rem; white-space: nowrap; }  /* keep "$140 / $240 / $300" on one line */
  .menu-line { gap: 0.3rem; column-gap: 0.5rem; }
}

/* ---- Specials ---- */
.specials {
  background: var(--chalkboard);
  padding: 4.5rem 0 5.5rem;
}
.specials__hdr {
  text-align: center;
  margin-bottom: 3.5rem;
}
.specials__chalk-label {
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}
.specials__title {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: #fff;
  margin: 0 0 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.specials__flag-rule {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  width: 120px;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.specials__flag-rule span { flex: 1; }
.specials__flag-rule span:nth-child(1) { background: var(--green); }
.specials__flag-rule span:nth-child(2) { background: #fff; }
.specials__flag-rule span:nth-child(3) { background: var(--red); }

.specials__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.specials__polaroid {
  flex: 0 0 auto;
  width: min(320px, 85vw);
}
.specials__polaroid .polaroid__caption {
  color: var(--ink);
}
@media (max-width: 720px) {
  .specials__grid { gap: 3rem; }
  .specials__polaroid { width: min(280px, 80vw); }
}

