/* =============================================
   ZAYTONA GRILL — catering.css  v2
   ============================================= */

/* HERO (typographic, no photo) */
.catering-hero {
  position: relative; display: flex; align-items: center;
  min-height: 420px; padding: calc(var(--header-h) + 3.5rem) 0 4rem;
  background: var(--olive-dark); overflow: hidden;
}
/* HERO PHOTOS: three white linen spreads drifting in from the right, faded into the olive panel */
.catering-hero-photos {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 980px);
  display: flex; gap: 1rem; padding: 0 1.25rem; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 22%, #000 48%);
          mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 22%, #000 48%);
}
.catering-hero-photos::after {   /* soft top and bottom fade so cards melt into the panel and the header */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--olive-dark) 0, var(--olive-dark) 11%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 78%, var(--olive-dark) 100%);
}
.catering-hero-photos .hp {
  flex: 1; min-width: 0; height: 120%; margin-top: -10%; border-radius: 16px; overflow: hidden;
  opacity: 0; animation: hp-in 1.1s ease-out forwards, hp-drift 16s ease-in-out infinite alternate;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.catering-hero-photos .hp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catering-hero-photos .hp1 { transform: translateY(-4%); animation-delay: .1s, 0s; }
.catering-hero-photos .hp2 { transform: translateY(6%);  animation-delay: .3s, -5s; }
.catering-hero-photos .hp3 { transform: translateY(-2%); animation-delay: .5s, -10s; }
@keyframes hp-in { to { opacity: 1; } }
@keyframes hp-drift { from { translate: 0 -12px; } to { translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) {
  .catering-hero-photos .hp { animation: hp-in .01s forwards; }
}
@media (max-width: 900px) {
  .catering-hero-photos { width: 100%; opacity: .32; -webkit-mask-image: none; mask-image: none; padding: 0 .75rem; }
}
.catering-hero-content { position: relative; z-index: 2; color: #fff; max-width: 680px; margin: 0 auto 0 max(0px, calc((100% - var(--max-w)) / 2)); }
.catering-hero-content h1 { color: #fff; margin: 0.75rem 0 1.25rem; line-height: 1.08; }
.catering-hero-content p  { color: #f1eee6; font-size: var(--text-md); margin-bottom: 2rem; line-height: 1.7; max-width: 56ch; }
.catering-hero-content .eyebrow.light { color: var(--gold-light); }
.catering-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.catering-hero-content .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.catering-hero-content .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost, .btn-ghost-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.75);
  text-decoration: none;
}
.btn-ghost:hover, .btn-ghost-light:hover,
.btn-ghost:focus-visible, .btn-ghost-light:focus-visible { background: rgba(255,255,255,0.14); border-color: #fff; }

/* WHY */
.catering-why { background: var(--off-white); }
.catering-why-header { text-align: center; max-width: 580px; margin: 0 auto 3rem; }
.catering-why-header h2 { margin-bottom: 1rem; }
.catering-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why-card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg);
  padding: 1.25rem 1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.why-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--off-white); border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.why-card h3 { font-size: var(--text-base); font-weight: 600; color: var(--ink); text-wrap: balance; }
.why-card p  { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; text-wrap: pretty; }

/* EVENTS */
.catering-events { background: var(--white); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.event-card {
  background: var(--off-white); border: 1px solid var(--sand);
  border-radius: var(--r-xl); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.09); }
.event-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.event-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.event-icon {
  width: 40px; height: 40px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center; color: var(--olive);
}
.event-body h3 { font-size: var(--text-xl); color: var(--ink); }
.event-body p  { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.65; }

/* CTA */
.catering-cta-section { background: var(--ink-soft); padding: 5rem 0; }
.catering-cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.catering-cta-inner h2 { color: #fff; margin-bottom: 1rem; }
.catering-cta-inner p  { color: #e9e6dc; font-size: var(--text-md); margin-bottom: 2.5rem; line-height: 1.75; }
.catering-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .catering-why-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .catering-hero { min-height: 0; }
  .catering-hero-actions { flex-direction: column; }
  .catering-hero-actions .btn { justify-content: center; }
  .catering-why-grid { grid-template-columns: 1fr; gap: .625rem; }
  .catering-why-grid .why-card:nth-child(n) { grid-column: auto; }
  .why-card { flex-direction: row; text-align: left; align-items: flex-start; gap: .875rem; padding: .875rem 1rem; }
  .why-card .why-icon { flex: 0 0 40px; width: 40px; height: 40px; }
  .why-card h3 { margin-bottom: .125rem; }
  .why-card p { margin: 0; }
  .catering-cta-actions { flex-direction: column; align-items: stretch; }
  .catering-cta-actions .btn { justify-content: center; }
}

/* ============================
   CATERING PRICING
   ============================ */
.catering-pricing { background: var(--off-white); }

.catering-sizes {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--ink-mid);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.catering-pricing h2 { margin-bottom: 1.25rem; }
.menu-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.25rem;
}
.menu-item {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg);
  padding: 1.375rem 1.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.menu-item h3 { font-size: var(--text-xl); color: var(--ink); line-height: 1.2; margin-bottom: 0.75rem; }
.menu-note { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.5; margin: -0.35rem 0 0.75rem; }
.menu-sizes { list-style: none; display: flex; flex-direction: column; }
.menu-sizes li {
  font-size: var(--text-sm); font-weight: 600; color: var(--olive);
  padding: 0.5rem 0; border-top: 1px solid var(--sand);
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.menu-price { white-space: nowrap; font-variant-numeric: tabular-nums; }

.pricing-subhead {
  max-width: 860px;
  margin: 3rem auto 1.25rem;
  text-align: center;
}
.menu-pieces { max-width: 960px; margin: 0 auto; }
.menu-pieces + .menu-grid { margin-top: 2.5rem; }

/* Space between the occasions heading and the photo cards */
.catering-events .events-heading { margin-bottom: 3rem; }
@media (max-width: 600px) { .catering-events .events-heading { margin-bottom: 2rem; } }

/* SIZE PICTURES inside Good to Know */
.pricing-notes .size-figures {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, rgba(0,0,0,0.08));
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  text-align: center;
}
.size-figures li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.size-figures img { width: 100%; max-width: 200px; height: auto; mix-blend-mode: multiply; }
.size-figures li:first-child img { width: 55%; max-width: 96px; }  /* a 32 oz container is much smaller than a tray */
.size-figures .size-name { font-weight: 600; color: var(--ink); font-size: var(--text-base); line-height: 1.3; }
.size-figures .size-detail { font-size: var(--text-sm, 0.875rem); color: var(--ink-mid); }
@media (max-width: 600px) {
  .pricing-notes .size-figures { gap: 0.5rem; }
  .size-figures .size-name { font-size: 0.8125rem; }
}
.pricing-pieces {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  list-style: none;
}
.pricing-pieces li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--sand);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--olive);
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
}
@media (max-width: 600px) { .pricing-pieces { grid-template-columns: minmax(0, 1fr); }
  .pricing-pieces .menu-price { text-align: right; } }
@media (max-width: 480px) { .pricing-pieces { gap: 0 1rem; } .pricing-pieces li { font-size: var(--fs-small); } }

.pricing-notes {
  max-width: 860px;
  margin: 3rem auto 0;
  padding: 1.75rem 1.875rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
}
.pricing-notes h3 { margin-bottom: 0.875rem; font-size: var(--text-xl); }
.pricing-notes ul { list-style: none; display: grid; gap: 0.7rem; }
.pricing-notes li { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; }
.pricing-notes strong { color: var(--ink); }
.pricing-notes a { color: var(--olive-dark); font-weight: 600; text-decoration: underline; }

@media (max-width: 600px) {
  .pricing-notes { padding: 1.375rem 1.25rem; }
}

/* ANCHORS AND TOP DISPLAY */
html { scroll-padding-top: calc(var(--header-h, 72px) + 1rem); }
.catering-pricing, .catering-why, .catering-events, .catering-cta-section { scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }
.catering-pricing .eyebrow, .catering-events .eyebrow { margin-bottom: 0.5rem; }
.catering-sizes { font-size: var(--text-base); }
.catering-hero-content h1 { font-size: var(--fs-h1); overflow-wrap: break-word; }
.container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* EVENT INQUIRY */
.event-inquiry { background: var(--olive-dark); }
.event-inquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.event-inquiry-copy h2 { color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; text-wrap: balance; }
.event-inquiry-copy .eyebrow { color: var(--gold-light); }
.event-inquiry-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; color: #e9e6dc; }
.event-inquiry-list li { padding-left: 1.25rem; position: relative; line-height: 1.6; }
.event-inquiry-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.event-form { background: var(--white); border-radius: var(--r-lg); padding: 1.75rem; display: grid; gap: 1rem; }
.event-form label { display: grid; gap: .375rem; font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.event-form input, .event-form select, .event-form textarea { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid var(--sand); border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; width: 100%; }
.event-form input:focus-visible, .event-form select:focus-visible, .event-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ef-hp { position: absolute; left: -9999px; }
.event-form .btn { justify-self: start; }
.ef-status { margin: 0; font-size: var(--text-sm); color: var(--ink); }
.ef-status:empty { margin: 0; padding: 0; min-height: 0; }
.event-inquiry { scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }
@media (max-width: 900px) { .event-inquiry-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
/* Turnstile iframe is a fixed 300px: let it clip inside the card instead of widening the grid */
.event-form [id*="ts"], .ef-ts { max-width: 100%; overflow: hidden; }
/* Phone numbers never break across lines */
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 600px) { .ef-row { grid-template-columns: 1fr; } .event-form { padding: 1.25rem; } }

/* ============================
   MOBILE TIDY (Andy 2026-11-10: catering was hard to read, messy, too big)
   One calm scale: section h2 1.625rem, sub-heads and item names 1.125rem,
   rows and notes 0.9375rem, descriptions 0.875rem. Item cards become one
   continuous list with hairline dividers; prices share one right-hand column.
   ============================ */
@media (max-width: 600px) {
  .catering-why-header { margin-bottom: 1.75rem; }
  .catering-why-header h2, .catering-events .events-heading, .catering-pricing h2,
  .catering-cta-inner h2, .event-inquiry-copy h2 { font-size: 1.625rem; line-height: 1.15; }
  .catering-why-header h2 { margin-bottom: 0.625rem; }
  .catering-sizes, .catering-why-header p { font-size: 0.9375rem; line-height: 1.55; }
  .catering-pricing .eyebrow, .catering-events .eyebrow { margin-bottom: 0.375rem; }
  .why-card h3 { font-size: 1rem; }
  .why-card p { font-size: 0.8125rem; line-height: 1.5; }

  .catering-events .events-heading { margin-bottom: 1.5rem; }
  .events-grid { gap: 1rem; }
  .event-body { padding: 1rem 1.125rem 1.125rem; gap: 0.375rem; }
  .event-body h3 { font-size: 1.125rem; }
  .event-body p { font-size: 0.8125rem; line-height: 1.55; }
  .event-icon { width: 34px; height: 34px; }

  .catering-pricing h2 { margin-bottom: 1rem; }
  .pricing-notes { margin-top: 1.5rem; padding: 1.125rem 1rem; }
  .pricing-notes h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }
  .pricing-notes ul { gap: 0.625rem; }
  .pricing-notes li { font-size: 0.8125rem; line-height: 1.55; }
  .pricing-notes .size-figures { margin-top: 1rem; padding-top: 1rem; }
  .size-figures .size-detail { font-size: 0.8125rem; }

  .pricing-subhead { margin: 2rem auto 0.75rem; font-size: 1.25rem; }
  .menu-pieces + .menu-grid { margin-top: 2rem; }

  /* items: one continuous card, hairline between rows, no per-item shadow */
  .menu-grid {
    gap: 0; background: var(--white); border: 1px solid var(--sand);
    border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  }
  .menu-grid .menu-item {
    border: 0; border-radius: 0; box-shadow: none; background: transparent;
    padding: 0.875rem 1rem 0.5rem;
  }
  .menu-grid .menu-item + .menu-item { border-top: 1px solid var(--sand); }
  .menu-item h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
  .menu-note { font-size: 0.8125rem; margin: 0 0 0.375rem; }
  .menu-sizes li {
    font-size: 0.9375rem; font-weight: 500; color: var(--ink-mid);
    padding: 0.375rem 0; border-top: 1px dotted var(--sand);
  }
  .menu-sizes li:first-child { border-top: 0; }
  .menu-sizes .menu-price { color: var(--olive); font-weight: 700; text-align: right; }
  .menu-sizes .menu-price a { color: var(--olive); }

  /* by the piece and proteins: same row style, one tight card each */
  .menu-pieces { padding: 0.25rem 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
  .pricing-pieces li { font-size: 0.9375rem; font-weight: 500; color: var(--ink); padding: 0.5rem 0; }
  .pricing-pieces li:first-child { border-top: 0; }
  .pricing-pieces .menu-price { font-weight: 700; color: var(--olive); }

  .catering-cta-section { padding: 3rem 0; }
  .catering-cta-inner p { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .event-form { gap: 0.75rem; }
}
@media (max-width: 480px) { .pricing-pieces li { font-size: 0.9375rem; } }
