/* ============================================================
   Ciminelli's Pizzeria — styles.css
   Mobile-first | Italian modern palette (red / green / cream)
   ============================================================ */


/* ----  Reset & Custom Properties  ---- */

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

:root {
  --red:          #C41E3A;
  --red-dark:     #9B1730;
  --red-deeper:   #6B0F20;
  --green:        #1A4220;
  --green-mid:    #2D6030;
  --cream:        #FAF6F0;
  --cream-dark:   #EDE7D9;
  --gold:         #C8973A;
  --gold-light:   #E0B96A;
  --dark:         #1C1C1C;
  --dark-mid:     #2A2A2A;
  --text:         #2C2C2C;
  --text-muted:   #686868;
  --white:        #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, .18);

  --radius:    12px;
  --radius-sm: 8px;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --ease: 0.22s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* offset for sticky header */
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

address {
  font-style: normal;
}

a {
  color: inherit;
}


/* ----  Layout Utilities  ---- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px)  { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }

.section {
  padding-block: 80px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 104px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255, 255, 255, .72); }

.section-cta {
  text-align: center;
  margin-top: 48px;
}


/* ----  Buttons  ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--ease),
    color var(--ease),
    border-color var(--ease),
    transform var(--ease);
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — red */
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  padding: 14px 28px;
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 0 20px rgba(196, 30, 58, .42);
}

/* Outline — white border (used on dark/colored backgrounds) */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .95);
  padding: 14px 28px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}

/* Outline dark — for use on light backgrounds */
.btn-outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
  padding: 14px 28px;
}
.btn-outline-dark:hover {
  background: var(--red);
  color: var(--white);
}

/* Size modifiers */
.btn-lg  { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm  { padding: 10px 20px; font-size: 0.875rem; }


/* ============================================================
   STICKY HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 2px solid var(--red);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0, 0, 0, .4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin-inline: auto;
  padding: 14px 20px;
}

@media (min-width: 768px)  { .header-inner { padding: 14px 32px; } }
@media (min-width: 1024px) { .header-inner { padding: 14px 48px; } }


/* --- Logo --- */

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  flex-shrink: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  overflow: visible; /* guard against any inherited overflow: hidden clipping logo-name or logo-sub */
  min-height: 0;     /* let flex children set the height — no fixed constraint */
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}


/* --- Nav --- */

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background var(--ease);
}
.nav-toggle:hover { background: rgba(255, 255, 255, .08); }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav links — mobile: dropdown */
.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 40px);
  max-width: 360px;
  background: var(--dark-mid);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.nav-links.is-open {
  display: flex;
}

.nav-links li a {
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}
.nav-links li a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, .06);
}

/* Nav — desktop: inline row (1080px threshold — bumped from 980px to prevent 7-link + nowrap overflow) */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }

  /* Phase 9: min-width:0 allows nav to compress below min-content; overflow:hidden prevents
     nav-links from bleeding visually into the header-ctas phone widget at tight viewport widths */
  .main-nav {
    min-width: 0;
    overflow: hidden;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 4px;
    position: static;
    transform: none;
    width: auto;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .nav-links li a {
    font-size: 0.9rem;
    padding: 8px 12px;
    white-space: nowrap; /* prevent multi-word links like "Wine List" from wrapping */
  }
}


/* --- Header CTAs --- */

.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--cream-dark);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--ease);
}
.header-phone:hover { color: var(--gold); }

@media (min-width: 600px) {
  .header-phone { display: flex; }
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/iStock-2159121217-scaled.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  animation: kenBurns 20s ease-in-out alternate infinite;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 6, 6, .88)  0%,
    rgba(100, 15, 30, .72) 55%,
    rgba(16, 36, 16, .65) 100%
  );
}

/* Right-side contrast gradient — counters bright highlight on hero image right edge */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(8, 4, 4, .60) 0%,
    rgba(8, 4, 4, .25) 40%,
    transparent        65%
  );
  z-index: 0; /* above .hero-bg (no z-index), below .hero-content (z-index: 1) */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); /* Phase 9: ensure contrast on any hero image */
}

.hero-locale {
  display: block;
  font-style: italic;
  font-size: 0.6em;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  margin-top: 10px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 40px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); /* Phase 9: bumped from .5 opacity for better contrast */
}

/* Hero CTA hierarchy — primary stays solid red, secondary is outline-only (white border, transparent fill) */
/* Phase 7: both hero CTAs locked to same min-height for pixel parity */
/* Phase 9: !important ensures parity on subpage .page-hero heroes (events, catering, etc.)
   where different cascade order could drop the rule */
/* Phase 10: explicit padding + line-height lock — eliminates vertical alignment drift caused
   by font-weight disparity between btn-primary (600) and btn-outline (700) */
.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-height: 60px !important;
  padding: 18px 36px !important;
  line-height: 1.2 !important;
}
.hero-actions .btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.hero-actions .btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.hero-actions .btn-outline {
  background: rgba(0, 0, 0, .22) !important;  /* slight dark backdrop so text reads on any hero image */
  color: var(--white) !important;
  border-color: #ffffff !important;            /* fully opaque 2px white border — high contrast */
  font-weight: 700 !important;                 /* bolder weight for readability against photo overlay */
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  box-shadow: none !important;                 /* clear inset shadow — eliminates visual height discrepancy vs btn-primary */
  backdrop-filter: blur(3px);                  /* frosted-glass micro-effect to separate from bg */
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, .18) !important;
  border-color: var(--white) !important;
  box-shadow: none !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* ============================================================
   FEATURED MENU
   ============================================================ */

.featured-menu {
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.menu-tile {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.menu-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.menu-tile-img {
  height: 220px;
  overflow: hidden;
  background: var(--cream-dark);
}

.menu-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-tile:hover .menu-tile-img img {
  transform: scale(1.04);
}

.menu-tile-body {
  padding: 20px;
}

.menu-tile-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.menu-tile-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================================
   GOURMET PIZZA
   ============================================================ */

.gourmet {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow */
.gourmet::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 30, 58, .14) 0%, transparent 68%);
  pointer-events: none;
}

.gourmet::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 66, 32, .2) 0%, transparent 68%);
  pointer-events: none;
}

.gourmet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 600px)  { .gourmet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gourmet-grid { grid-template-columns: repeat(4, 1fr); } }

.gourmet-col {
  padding: 32px 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  text-align: center;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.gourmet-col:hover {
  background: rgba(196, 30, 58, .1);
  border-color: rgba(196, 30, 58, .32);
  transform: translateY(-4px);
}

.gourmet-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 18px;
}

.gourmet-col h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1.3;
}

.gourmet-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.65;
}


/* ============================================================
   CATERING
   ============================================================ */

.catering {
  background: var(--green);
}

.catering-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .catering-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.catering-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
}

.catering-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.catering-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catering-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, .9);
  line-height: 1.5;
}

.catering-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.catering-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, .06);
}

.catering-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background: var(--cream-dark);
  /* Phase 9: explicit physical padding-top — reinforces .section padding-block as a
     direct property so cascade edge-cases and older rendering paths both get space */
  padding-top: 80px;
}
@media (min-width: 768px) {
  .about {
    padding-top: 104px; /* matches .section 768px+ standard */
  }
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr auto;
  }
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 580px;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }

/* Circular badge */
.about-badge {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  /* Phase 9: right-side buffer so the box-shadow ring (0 0 0 10px) doesn't clip at the
     viewport edge when the badge occupies the trailing column of the grid */
  padding: 12px 1rem 12px 0;
}

.badge-inner {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 0 10px rgba(196, 30, 58, .14), var(--shadow-md);
}

.badge-line {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.badge-place {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-block: 5px;
  line-height: 1.2;
}


/* ============================================================
   LOCATION & HOURS
   ============================================================ */

.location {
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1.6fr 1fr;
  }
}

.location-map iframe {
  display: block;
  border-radius: var(--radius);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-block h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.location-block address {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.location-link {
  font-size: 0.875rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--ease);
}
.location-link:hover { color: var(--red-dark); }

/* Hours table */
.hours-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 10px;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 9px 0;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--cream-dark);
}

.hours-table th {
  font-weight: 600;
  color: var(--dark);
  width: 56%;
}

.hours-table td {
  color: var(--text-muted);
}

.hours-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

/* Tap-to-call CTA */
.tap-to-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  padding: 14px 20px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
}

.tap-to-call:hover {
  background: var(--red);
  color: var(--white);
}

/* Mobile: full-width call button */
@media (max-width: 599px) {
  .tap-to-call {
    width: 100%;
    justify-content: center;
    font-size: 1.15rem;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--dark);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

@media (min-width: 640px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.5fr; }
}

/* Brand column */
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2px;
}

.footer-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
  margin-bottom: 10px;
}

.footer-phone {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-phone:hover { color: var(--white); }

/* Nav/links columns */
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-col ul li a:hover { color: var(--white); }

/* Gift certs card */
.footer-gift {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-sm);
}

.footer-gift p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 6px;
}

.footer-gift p:first-child {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-gift .btn-outline {
  margin-top: 12px;
  font-size: 0.82rem;
  padding: 9px 16px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .38);
}


/* ============================================================
   PHASE 2 — Animations, New Components & Page Styles
   ============================================================ */

/* ---- Ken-Burns ---- */
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.12); }
}

/* ---- Active nav link ---- */
.nav-links [aria-current="page"] {
  color: var(--gold) !important;
  background: rgba(200, 151, 58, .12) !important;
}

/* ---- Footer logo image ---- */
.footer-logo-img {
  display: block;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ---- Scroll-reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .56s ease, transform .56s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger menu tiles */
.menu-grid .menu-tile:nth-child(1) { transition-delay:   0ms; }
.menu-grid .menu-tile:nth-child(2) { transition-delay:  80ms; }
.menu-grid .menu-tile:nth-child(3) { transition-delay: 160ms; }
.menu-grid .menu-tile:nth-child(4) { transition-delay: 240ms; }
.menu-grid .menu-tile:nth-child(5) { transition-delay: 320ms; }
.menu-grid .menu-tile:nth-child(6) { transition-delay: 400ms; }

/* ---- Subpage hero (shorter than home) ---- */
.page-hero {
  background: var(--dark);
  padding: 120px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); /* Phase 9: contrast on all subpage hero images */
}
.page-hero .lead {
  font-size: 1.04rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); /* Phase 9: bumped from .5 opacity */
}
.page-hero .hero-actions {
  margin-top: 28px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 10px 0 0;
  font-size: .8rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb li + li::before {
  content: '/';
  margin: 0 6px;
  color: rgba(255,255,255,.3);
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,.55); }

/* ---- Internal-link highlight band ---- */
.link-band {
  background: var(--cream);
  padding: 48px 0;
}
.link-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.link-band p {
  font-size: .95rem;
  color: var(--text-muted);
}
.link-band a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}
.link-band a:hover { color: var(--red-dark); }

/* ---- Stats counters (About page) ---- */
.stats-section { background: var(--cream-dark); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { font-size: .65em; vertical-align: super; }
.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---- Full menu page ---- */
.menu-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
@media (min-width: 768px) { .menu-intro-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.menu-intro-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.menu-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-intro-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--dark);
  margin-bottom: 14px;
}
.menu-intro-text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.menu-category { margin-bottom: 56px; }
.menu-category-header {
  border-bottom: 3px solid var(--red);
  padding-bottom: 10px;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.menu-category-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--dark);
}
.cat-note {
  font-size: .8rem;
  color: var(--text-muted);
  font-style: italic;
}
.menu-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 680px) { .menu-items-list { grid-template-columns: repeat(2,1fr); gap: 0 40px; } }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-info h3 {
  font-family: var(--font-serif);
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.menu-item-info p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.menu-item-price {
  font-weight: 700;
  font-size: .88rem;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Contact page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.1fr; } }
.contact-info-col { display: flex; flex-direction: column; gap: 32px; }
.contact-form-wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--dark);
  margin-bottom: 20px;
}
.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) { .contact-form { padding: 22px 18px; } }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  color: var(--dark);
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ---- prefers-reduced-motion overrides ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg               { animation: none !important; }
  .reveal                { opacity: 1 !important; transform: none !important; transition: none !important; }
  .menu-tile,
  .gourmet-col           { transition: none !important; }
  .menu-tile-img img     { transition: none !important; }
  .btn                   { transition: none !important; }
}


/* ============================================================
   PRINT — strip nav/hero chrome, keep info
   ============================================================ */

@media print {
  .site-header,
  .hero,
  .gourmet,
  .catering-img { display: none; }

  body { font-size: 12pt; color: #000; }

  .section { padding-block: 24pt; }
}

/* =================================================================
   MENU PAGE — full menu list with category jump nav (Phase 4)
   ================================================================= */

.menu-jumpnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding-block: 14px;
  margin-block-end: 12px;
}
.menu-jumpnav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.menu-jumpnav-list a {
  display: inline-block;
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 999px;
  color: var(--ink, #2a1d12);
  font-size: .87rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.menu-jumpnav-list a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.menu-cat {
  padding-block: 56px;
}
.menu-cat-light { background: var(--cream); color: var(--ink, #2a1d12); }
.menu-cat-dark  { background: var(--ink-dark, #1d130b); color: var(--cream); }

.menu-cat .section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 28px;
  text-align: center;
}
.menu-cat-dark .section-header h2 { color: var(--cream); }

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.menu-item {
  border-bottom: 1px dashed rgba(0,0,0,.1);
  padding-block: 12px 14px;
}
.menu-cat-dark .menu-item {
  border-bottom-color: rgba(255,255,255,.14);
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  justify-content: space-between;
}
.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.menu-item-price {
  font-family: var(--font-sans, Inter, system-ui);
  font-size: .95rem;
  font-weight: 600;
  color: var(--red);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.menu-cat-dark .menu-item-price { color: #ffb74d; }

.menu-item-desc {
  font-size: .87rem;
  line-height: 1.55;
  color: rgba(0,0,0,.65);
  margin: 4px 0 0;
}
.menu-cat-dark .menu-item-desc {
  color: rgba(255,255,255,.7);
}

@media (max-width: 600px) {
  .menu-jumpnav { top: 56px; padding-block: 10px; }
  .menu-jumpnav-list a { padding: 6px 11px; font-size: .82rem; }
  .menu-cat { padding-block: 36px; }
  .menu-list { grid-template-columns: 1fr; gap: 14px; }
}

/* =================================================================
   HERO RIBBON — "Best Rated" badge
   ================================================================= */
.hero-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 9px 18px 9px 15px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #ffd980;
  font-family: var(--font-sans, Inter, system-ui);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.hero-ribbon svg { color: #ffd980; flex-shrink: 0; }

@media (max-width: 600px) {
  .hero-ribbon {
    font-size: .8rem;
    padding: 7px 13px 7px 11px;
    letter-spacing: .03em;
  }
}

.footer-tagline {
  margin: 6px 0 12px;
  color: #ffd980;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
