/* SD Chef Catering — site stylesheet
   Palette: charcoal + off-white + warm gold, serif display / geometric sans body */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --ink: #221d18;
  --ink-soft: #5b5348;
  --charcoal: #1a1613;
  --charcoal-2: #241f1a;
  --charcoal-3: #302921;
  --cream: #faf7f1;
  --cream-2: #f1ebe0;
  --gold: #c9a15a;
  --gold-soft: #e6cd98;
  --gold-deep: #93713f;
  --white: #ffffff;
  --line: rgba(34, 29, 24, 0.12);
  --line-on-dark: rgba(230, 205, 152, 0.22);
  --shadow: 0 24px 60px -28px rgba(20, 16, 12, 0.45);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* About/Contact are anchored sections on the homepage (one-page style);
   offset them so the sticky header never covers their top when the menu
   scrolls the page to them. */
#about, #contact { scroll-margin-top: 112px; }
@media (max-width: 860px) { #about, #contact { scroll-margin-top: 76px; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--ink);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 0.9em;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--cream2 { background: var(--cream-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(250,247,241,0.55); }
.btn-outline-light:hover { background: rgba(250,247,241,0.1); border-color: var(--cream); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Fully solid — no transparency, so the hero's gold pattern behind it
     never tints the header. Always the same flat dark color. */
  background: var(--charcoal);
  border-bottom: 1px solid var(--line-on-dark);
}
.site-header .container.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 112px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; justify-self: center; }
.brand img { height: 68px; width: auto; }
.brand-text {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav-left { justify-self: start; }
.main-nav a {
  color: rgba(250,247,241,0.82);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-soft); }
.header-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.header-phone svg { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-dark);
  color: var(--cream);
  padding: 8px 10px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--charcoal-2);
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 24px;
  color: var(--cream);
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-nav .btn { margin: 16px 24px; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .container.header-grid { height: 76px; gap: 10px; }
  .brand img { height: 42px; }
}
@media (min-width: 861px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Sticky call button ---------- */
.sticky-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.sticky-call:hover { background: var(--gold-soft); }
.sticky-call svg { flex-shrink: 0; }
.sticky-call .sticky-call-label { display: none; }
@media (min-width: 640px) { .sticky-call .sticky-call-label { display: inline; } }

/* ---------- Flash ---------- */
.flash {
  padding: 14px 24px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}
.flash-success { background: #e9f3ea; color: #2b5f34; }
.flash-error { background: #f8e9e6; color: #8a2f1f; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal) 60%);
  color: var(--cream);
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.hero-bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,22,19,0.88), rgba(26,22,19,0.55) 55%, rgba(26,22,19,0.85));
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(45deg, rgba(201,161,90,0.06) 0, rgba(201,161,90,0.06) 1px, transparent 1px, transparent 46px);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 130px 0 110px;
  max-width: 720px;
}
.hero-inner .eyebrow { color: var(--gold-soft); }
.hero-inner h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 0.3em;
}
.hero-inner p.lede {
  font-size: 1.1rem;
  color: rgba(250,247,241,0.82);
  max-width: 52ch;
  margin-bottom: 2.2em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-script {
  position: absolute;
  right: 6%;
  bottom: 10%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-soft);
  opacity: 0.85;
  text-align: right;
  max-width: 260px;
  display: none;
}
@media (min-width: 900px) { .hero-script { display: block; } }

/* ---------- Services ---------- */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.services-head .lede { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.link-arrow {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card .photo-frame { aspect-ratio: 4/3; overflow: hidden; }
.service-card .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 22px 24px 26px; }
.service-card-body h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.service-card-body .tagline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 0;
}

/* ---------- Story / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-photo { min-height: 320px; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 60px;
}
@media (max-width: 640px) { .split-content { padding: 48px 24px; } }
.split-content p { color: rgba(250,247,241,0.78); }
.split-content.on-light p { color: var(--ink-soft); }
.feature-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
@media (max-width: 500px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .icon-badge {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
}
.feature-list h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; margin: 0 0 4px; color: var(--cream); }
.feature-list p { font-size: 0.85rem; margin: 0; color: rgba(250,247,241,0.68); }
.feature-list.on-light h4 { color: var(--ink); }
.feature-list.on-light p { color: var(--ink-soft); }
.feature-list.on-light .icon-badge { border-color: var(--line); }

/* ---------- Menu teaser tiles ---------- */
.menu-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .menu-tiles { grid-template-columns: repeat(2, 1fr); } }
.menu-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.menu-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.menu-tile:hover img { transform: scale(1.05); }
.menu-tile span {
  position: absolute; left: 14px; bottom: 14px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.05rem;
}
.menu-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,19,0) 40%, rgba(26,22,19,0.75));
}
.menu-tile span { z-index: 2; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
.gallery-grid figure {
  margin: 0; position: relative; overflow: hidden; background: var(--charcoal);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid figcaption {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  color: var(--cream); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,22,19,0) 55%, rgba(26,22,19,0.7)); opacity: 0; transition: opacity .25s ease; }
.gallery-grid figure:hover::after, .gallery-grid figure:hover figcaption { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 28px;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); font-size: 1rem; }
.testimonial-card .who { font-weight: 600; font-size: 0.9rem; }
.testimonial-card .event { color: var(--ink-soft); font-size: 0.8rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.final-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.4; }
.final-cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,12,0.72); }
.final-cta-inner { position: relative; z-index: 2; padding: 96px 24px; max-width: 640px; margin: 0 auto; }
.final-cta h2 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.7rem); }
.final-cta p { color: rgba(250,247,241,0.82); margin-bottom: 2em; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item .icon-badge {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-item h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 0.3em; }
.why-item p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(250,247,241,0.72); }
.footer-top {
  padding: 56px 0 36px;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: rgba(250,247,241,0.6); }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 14px; font-weight: 600;
}
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; margin-bottom: 10px; color: rgba(250,247,241,0.72); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(250,247,241,0.5);
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px; border: 1px solid var(--line-on-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Menu page ---------- */
.menu-page-hero {
  background: var(--charcoal); color: var(--cream); text-align: center; padding: 90px 24px 70px;
}
.menu-page-hero h1 { color: var(--cream); }
.menu-page-hero p { max-width: 60ch; margin: 0 auto; color: rgba(250,247,241,0.8); }
.menu-jump {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px;
}
.menu-jump a {
  border: 1px solid var(--line-on-dark); padding: 8px 16px; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft);
}
.menu-jump a:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.menu-category { padding: 60px 0; border-bottom: 1px solid var(--line); }
.menu-category:last-child { border-bottom: none; }
.menu-category-head { margin-bottom: 8px; }
.menu-category-desc { color: var(--ink-soft); margin-bottom: 30px; max-width: 60ch; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
@media (max-width: 760px) { .menu-items { grid-template-columns: 1fr; } }
.menu-item { display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px dotted var(--line); padding-bottom: 14px; }
.menu-item-media { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--cream-2); }
.menu-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item-body { flex: 1 1 auto; min-width: 0; }
.menu-item-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.menu-item-row h4 { font-family: var(--serif); font-size: 1.08rem; margin: 0; }
.menu-item-price { font-family: var(--sans); font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.menu-item-desc { font-size: 0.88rem; color: var(--ink-soft); margin: 6px 0 0; }
.menu-item-guests { font-size: 0.76rem; color: var(--ink-soft); opacity: 0.85; margin: 6px 0 0; letter-spacing: 0.02em; }
.tag-row { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.tag-pill {
  font-size: 0.65rem; letter-spacing: 0.04em; font-weight: 600;
  border: 1px solid var(--gold-deep); color: var(--gold-deep); padding: 2px 7px; border-radius: 999px;
}
.menu-footnotes { text-align: center; color: var(--ink-soft); font-size: 0.85rem; padding-top: 20px; }
.menu-footnotes p { margin: 0 0 6px; }

/* ---------- About page ---------- */
.about-hero { padding: 90px 0 20px; text-align: center; }
.about-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.about-hero p { max-width: 60ch; margin: 0 auto; color: var(--ink-soft); font-size: 1.05rem; }
.about-body p { color: var(--ink-soft); white-space: pre-line; }

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--charcoal); color: var(--cream); padding: 40px 34px;
}
.contact-info-card h3 { color: var(--cream); }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-row svg { flex-shrink: 0; margin-top: 3px; }
.contact-info-row a, .contact-info-row span { color: rgba(250,247,241,0.85); font-size: 0.92rem; }
.contact-info-row a:hover { color: var(--gold-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.on-dark .field label { color: rgba(250,247,241,0.7); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  background: rgba(250,247,241,0.06); border-color: var(--line-on-dark); color: var(--cream);
}

/* ---------- Quote modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,16,12,0.68);
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 16px; z-index: 100; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--cream); max-width: 640px; width: 100%; padding: 40px 34px;
  position: relative; box-shadow: var(--shadow);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer;
  color: var(--ink-soft); padding: 6px;
}
.modal-box h3 { margin-bottom: 0.2em; }
.modal-box .modal-sub { color: var(--ink-soft); margin-bottom: 1.6em; font-size: 0.92rem; }

/* ---------- 404 / generic ---------- */
.simple-page { padding: 140px 24px; text-align: center; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.lede { color: var(--ink-soft); font-size: 1.05rem; }
