@font-face {
  font-family: "Goodies Display";
  src: url("assets/display.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Goodies Body";
  src: url("assets/body.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #17121c;
  --surface: #f4f0f6;
  --surface-2: #eae2ee;
  --purple: #5b2390;
  --purple-deep: #351250;
  --gold: #f0c94b;
  --muted: #625a68;
  --line: rgba(53, 18, 80, 0.2);
  --radius: 18px;
  --shadow: 0 22px 55px rgba(53, 18, 80, 0.16);
  --display: "Goodies Display", "Arial Black", Impact, sans-serif;
  --body: "Goodies Body", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7f2f9;
    --surface: #17121c;
    --surface-2: #24172c;
    --purple: #9a5ed0;
    --purple-deep: #2a103d;
    --gold: #f0c94b;
    --muted: #c1b7c7;
    --line: rgba(240, 201, 75, 0.2);
    --shadow: 0 22px 55px rgba(7, 4, 9, 0.34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 16px;
  color: #17121c;
  background: var(--gold);
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 70px);
  color: #faf6fc;
  background: linear-gradient(to bottom, rgba(17, 7, 24, 0.8), transparent);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #2a103d;
  background: var(--gold);
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-7deg);
  font-size: 0.82rem;
}
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-weight: 700; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--gold); }
.nav-call {
  padding: 10px 18px;
  color: #24102f;
  background: var(--gold);
  border-radius: 999px;
}
nav .nav-call:hover { color: #24102f; transform: translateY(-1px); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100dvh;
  max-height: 900px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #faf6fc;
  background: #1b0c24;
}
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(22, 8, 31, 0.96) 0%, rgba(22, 8, 31, 0.8) 34%, rgba(22, 8, 31, 0.14) 72%),
    linear-gradient(0deg, rgba(22, 8, 31, 0.34), transparent 50%);
}
.hero-copy {
  position: relative;
  width: min(660px, 92vw);
  margin-left: clamp(20px, 8vw, 140px);
  padding-top: 70px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-family: var(--display); line-height: 0.94; letter-spacing: -0.045em; }
h1 { margin-bottom: 22px; font-size: clamp(4rem, 7.8vw, 8rem); }
.hero-copy > p:not(.eyebrow) { max-width: 42ch; margin: 0 0 30px; color: #e5dce9; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { color: #21102c; background: var(--gold); }
.button-ghost { color: #faf6fc; border-color: rgba(255,255,255,0.68); background: rgba(20,7,28,0.34); }

.marquee { overflow: hidden; color: #24102f; background: var(--gold); border-block: 2px solid #24102f; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { padding: 13px 28px; font-family: var(--display); font-size: 0.9rem; }
.marquee span::after { content: "/"; margin-left: 56px; color: var(--purple); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 680px; margin-bottom: 62px; }
.section-heading h2, .truck-copy h2, .catering-copy h2, .booking-intro h2, .gallery-statement h2 { margin-bottom: 22px; font-size: clamp(3rem, 6vw, 6.6rem); }
.section-heading p, .truck-copy p, .catering-copy > p:not(.eyebrow), .booking-intro p { color: var(--muted); font-size: 1.05rem; }

.menu-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 30px; align-items: stretch; }
.menu-feature { position: relative; min-height: 690px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-feature img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; inset: auto 0 0; padding: 86px 34px 30px; color: #fbf7fc; background: linear-gradient(transparent, rgba(24,8,34,0.95)); }
.photo-caption h3 { margin-bottom: 8px; font-size: 2.15rem; }
.photo-caption p { margin: 0; max-width: 38ch; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; align-content: start; }
.menu-list article { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.menu-list article:nth-child(-n+2) { border-top: 1px solid var(--line); }
.menu-list h3 { margin-bottom: 10px; color: var(--purple); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1; }
.menu-list p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.menu-note { margin: 30px 0 0; padding-left: 18px; color: var(--muted); border-left: 4px solid var(--gold); }

.food-gallery { display: grid; grid-template-columns: 0.9fr 1.2fr 0.9fr; gap: 22px; align-items: stretch; padding-top: 20px; }
.gallery-tile { position: relative; min-height: 520px; margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile figcaption { position: absolute; inset: auto 14px 14px; padding: 9px 14px; color: #24102f; background: var(--gold); border-radius: 999px; font-weight: 800; font-size: 0.82rem; }
.gallery-statement { display: flex; min-height: 520px; flex-direction: column; justify-content: flex-end; padding: 38px; color: #fbf7fc; background: var(--purple-deep); border-radius: var(--radius); }
.gallery-statement p { margin: 0 0 auto; color: var(--gold); font-weight: 800; }
.gallery-statement h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.4rem); }

.truck-section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 70px; align-items: center; }
.truck-copy { max-width: 480px; }
.truck-photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.4deg); }
.truck-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.social-links { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.social-links a { color: var(--purple); font-weight: 850; text-underline-offset: 4px; }

.catering-section {
  width: min(1360px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  padding: 90px clamp(28px, 6vw, 88px);
  color: #fbf7fc;
  background: var(--purple-deep);
  border-radius: var(--radius);
}
.catering-copy { max-width: 620px; }
.catering-copy > p:not(.eyebrow) { color: #d7c9df; }
.catering-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.catering-facts p { margin: 0; padding: 18px; color: #24102f; background: var(--gold); border-radius: var(--radius); font-family: var(--display); font-size: 1.15rem; line-height: 1.05; }

.booking-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 100px; }
.phone-display { display: inline-block; margin-top: 22px; color: var(--purple); font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); text-underline-offset: 7px; }
.booking-form { padding: clamp(24px, 4vw, 42px); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 850; }
input, textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(91,35,144,0.44);
  border-radius: 10px;
  outline: 0;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91,35,144,0.2); }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field-error { min-height: 1em; color: #b42318; font-size: 0.8rem; }
@media (prefers-color-scheme: dark) { .field-error { color: #ff9d92; } }
.form-submit { border: 0; cursor: pointer; }
.form-status { margin: 14px 0 0; min-height: 1.4em; color: var(--muted); }

footer { padding: 56px clamp(20px, 5vw, 80px); color: #e8dfea; background: #201029; }
.footer-brand { color: #fbf7fc; }
footer > p { margin: 22px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--gold); font-weight: 800; }
.fine-print { color: #b9aabd; font-size: 0.82rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms cubic-bezier(.16,1,.3,1), transform 650ms cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .menu-toggle { display: inline-flex; padding: 9px 14px; color: #fbf7fc; background: rgba(20,7,28,0.5); border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-weight: 800; }
  nav { position: absolute; top: 64px; right: 16px; display: none; min-width: 210px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; color: #fbf7fc; background: #25102f; border-radius: var(--radius); box-shadow: var(--shadow); }
  nav.is-open { display: flex; }
  nav a { padding: 12px 14px; }
  .nav-call { margin-top: 5px; text-align: center; }
  .hero { min-height: 820px; align-items: end; }
  .hero-image { object-position: 62% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(22,8,31,.98) 0%, rgba(22,8,31,.75) 55%, rgba(22,8,31,.12) 100%); }
  .hero-copy { width: auto; margin: 0; padding: 0 20px 64px; }
  h1 { font-size: clamp(3.5rem, 16vw, 5.8rem); }
  .section { width: min(100% - 32px, 680px); padding: 82px 0; }
  .menu-grid, .truck-section, .booking-section, .catering-section { grid-template-columns: 1fr; }
  .menu-feature { min-height: 590px; }
  .food-gallery { width: min(100% - 32px, 680px); grid-template-columns: 1fr; }
  .gallery-tile, .gallery-statement { min-height: 440px; }
  .truck-section, .booking-section { gap: 44px; }
  .truck-photo { transform: none; }
  .catering-section { width: min(100% - 32px, 680px); gap: 35px; padding: 64px 24px; }
}

@media (max-width: 560px) {
  .brand > span:last-child { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .menu-list, .catering-facts, .field-row { grid-template-columns: 1fr; }
  .menu-list article:nth-child(2) { border-top: 0; }
  .menu-feature { min-height: 500px; }
  .photo-caption { padding-inline: 22px; }
  .gallery-tile, .gallery-statement { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}
