:root {
  --cream: #EEDFBF;
  --gold: #D4A03E;
  --mustard: #C98A21;
  --burnt-orange: #BF5C20;
  --rust: #96401C;
  --chocolate: #4B2C1C;
  --dark-chocolate: #2E1B14;

  --font-display: 'Bungee', cursive;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark-chocolate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-narrow {
  max-width: 640px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { line-height: 1.5; }

em { font-style: normal; color: var(--rust); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark-chocolate);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
}
.brand span { color: var(--cream); }

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--burnt-orange);
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.pill:hover { background: var(--mustard); }

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-decoration: none;
  border: 3px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--burnt-orange);
  color: var(--cream);
}
.btn-primary:hover { background: var(--rust); }

.btn-ghost {
  background: transparent;
  border-color: var(--dark-chocolate);
  color: var(--dark-chocolate);
}
.btn-ghost:hover { background: var(--dark-chocolate); color: var(--cream); }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  padding: 48px 0 56px;
  text-align: center;
}

.sunburst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1400px;
  height: 1400px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    var(--mustard) 0deg 10deg,
    var(--gold) 10deg 20deg
  );
  opacity: 0.6;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-display);
  color: var(--dark-chocolate);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hero-title {
  font-size: 1.9rem;
  color: var(--dark-chocolate);
  text-shadow: 2px 2px 0 var(--cream);
}

.hero-sub {
  font-weight: 800;
  color: var(--chocolate);
  margin-bottom: 24px;
}

.polaroid {
  display: inline-block;
  background: var(--cream);
  padding: 12px 12px 36px;
  box-shadow: 0 10px 24px rgba(46, 27, 20, 0.35);
  transform: rotate(-3deg);
  margin: 0 auto 28px;
  max-width: 280px;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(0.25) saturate(1.1);
}

.polaroid--placeholder img { display: none; }
.polaroid--placeholder {
  position: relative;
}
.polaroid--placeholder::before {
  content: "🎞️ Photo coming soon";
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--mustard);
  color: var(--dark-chocolate);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
}

.polaroid-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--chocolate);
}

.hero-facts {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.fact {
  background: var(--cream);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 0 var(--rust);
}

.fact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--rust);
  margin-bottom: 4px;
}

.fact-value {
  display: block;
  font-weight: 800;
  color: var(--dark-chocolate);
}

.countdown {
  font-family: var(--font-display);
  color: var(--dark-chocolate);
  background: var(--cream);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.deadline-banner {
  font-weight: 800;
  background: var(--dark-chocolate);
  color: var(--cream);
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

.section {
  padding: 56px 0;
}

.section-cream { background: var(--cream); color: var(--dark-chocolate); }
.section-gold { background: var(--mustard); color: var(--dark-chocolate); }
.section-rust { background: var(--rust); color: var(--cream); }
.section-chocolate { background: var(--chocolate); color: var(--cream); }

.section-rust em, .section-chocolate em { color: var(--gold); }

.kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  opacity: 0.85;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.section-sub {
  margin-bottom: 28px;
  max-width: 60ch;
}

/* ---------- Details grid ---------- */

.details-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.detail-card {
  background: var(--gold);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 0 var(--burnt-orange);
}
.detail-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ---------- Forms ---------- */

.notice-card {
  background: var(--dark-chocolate);
  color: var(--cream);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
  font-weight: 700;
}

.card-form {
  background: var(--cream);
  color: var(--dark-chocolate);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 6px 0 var(--dark-chocolate);
}

.form-heading {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.field {
  display: block;
  margin-bottom: 18px;
  border: none;
  padding: 0;
}

.field[hidden] {
  display: none;
}

.field > span, .field legend {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0;
}

.field input[type="text"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--mustard);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-chocolate);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--burnt-orange);
  outline-offset: 1px;
}

.radio-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.4em;
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 0;
}
.form-status.success { color: #2e6b1f; }
.form-status.error { color: var(--rust); }

/* ---------- Menu list ---------- */

.menu-list {
  margin-bottom: 32px;
}

.menu-category {
  margin-bottom: 20px;
}

.menu-category h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--rust);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 8px;
  box-shadow: 0 3px 0 var(--mustard);
}

.menu-item-name { font-weight: 800; }

.menu-item-status {
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}
.menu-item-status.covered { color: #2e6b1f; }
.menu-item-status.needed { color: var(--rust); }

.menu-loading, .menu-error {
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark-chocolate);
  color: var(--cream);
  padding: 40px 0;
  text-align: center;
}

.footer-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-deadline {
  font-weight: 800;
  color: var(--gold);
}

.footer-nav {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--cream);
  text-decoration: underline;
  font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .hero-title { font-size: 2.6rem; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .hero-title { font-size: 3.2rem; }
  .section-title { font-size: 2rem; }
  .details-grid { grid-template-columns: repeat(3, 1fr); }
}
