:root {
  --cream: #f6ecd9;
  --cream-2: #efe1c4;
  --paper: #fbf4e4;
  --ink: #2b2320;
  --ink-soft: #5b4f47;
  --red: #c1272d;
  --red-dark: #8f1a1f;
  --yellow: #f2b632;
  --navy: #1c3b52;
  --green: #4a7856;
  --line: rgba(43, 35, 32, 0.15);
  --radius: 10px;
  --shadow: 0 6px 0 rgba(43, 35, 32, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.4), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(0,0,0,0.03), transparent 40%);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: 'Bungee', 'Inter', sans-serif;
  line-height: 1.1;
  color: var(--red-dark);
  margin: 0 0 .4em;
  letter-spacing: .5px;
}

h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--navy); }
h3 { font-size: 1.1rem; color: var(--navy); }

p { line-height: 1.6; color: var(--ink-soft); }

a { color: inherit; }

/* Bunting */
.bunting {
  height: 22px;
  background:
    linear-gradient(135deg, var(--red) 25%, transparent 25%) 0 0/24px 24px,
    linear-gradient(225deg, var(--yellow) 25%, transparent 25%) 0 0/24px 24px,
    linear-gradient(45deg, var(--navy) 25%, transparent 25%) 0 0/24px 24px;
  background-repeat: repeat-x;
  opacity: .9;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 236, 217, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Bungee', sans-serif;
  font-size: 1.15rem;
  color: var(--red-dark);
}

.logo-mark { font-size: 1.6rem; transform: rotate(-8deg); display: inline-block; }
.logo-text em { font-style: normal; color: var(--navy); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--red); }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #fdf7e8 0%, var(--cream) 100%);
}

.hero-sun {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,182,50,0.55) 0%, rgba(242,182,50,0) 70%);
}

.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}

.stamp {
  position: absolute;
  top: -10px;
  right: 10px;
  width: 108px;
  height: 108px;
  border: 3px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  color: var(--red);
  font-family: 'Permanent Marker', cursive;
  font-size: .9rem;
  text-align: center;
  line-height: 1.2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--navy);
  font-size: .85rem;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  color: var(--red);
  text-shadow: 3px 3px 0 var(--navy);
}

.hero-sub {
  max-width: 560px;
  margin: 18px auto 6px;
  font-size: 1.05rem;
}

.hero-date {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  margin: 10px 0 0;
}

.countdown-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: .78rem;
  color: var(--red);
  margin: 22px 0 8px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 0 30px;
}

.countdown-unit {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 14px;
  min-width: 66px;
  box-shadow: var(--shadow);
}

.countdown-unit span {
  display: block;
  font-family: 'Bungee', sans-serif;
  font-size: 1.5rem;
  color: var(--red-dark);
}
.countdown-unit small {
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

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

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn-primary { background: var(--red); color: #fff; border-color: var(--red-dark); box-shadow: 3px 3px 0 var(--red-dark); }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); }

.skyline {
  height: 60px;
  margin-top: 30px;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 40% / 6% 60% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 8% 20% / 5% 80% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 16% 50% / 7% 50% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 26% 0% / 5% 100% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 34% 35% / 8% 65% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 45% 15% / 5% 85% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 53% 45% / 6% 55% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 62% 5% / 5% 95% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 71% 30% / 7% 70% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 81% 10% / 5% 90% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 90% 40% / 6% 60% no-repeat;
  opacity: .85;
}

/* Awning strip divider */
.awning-strip {
  height: 26px;
  background: repeating-linear-gradient(
    45deg,
    var(--red), var(--red) 22px,
    var(--paper) 22px, var(--paper) 44px
  );
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.awning-strip.alt {
  background: repeating-linear-gradient(
    45deg,
    var(--navy), var(--navy) 22px,
    var(--paper) 22px, var(--paper) 44px
  );
}

/* Sections */
.section { padding: 64px 0; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: .8rem;
  color: var(--red);
  margin: 0 0 6px;
}

/* About */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  align-items: start;
}

.pull-quote {
  margin: 24px 0 0;
  padding: 18px 20px;
  background: var(--cream-2);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.05rem;
  color: var(--navy);
}
.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.stats-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Bungee', sans-serif;
  font-size: 1.7rem;
  color: var(--red-dark);
}
.stat-label {
  font-size: .75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Lineup */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.lineup-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.lineup-card.featured {
  border-color: var(--red);
  box-shadow: 3px 3px 0 var(--red);
}
.lineup-time {
  display: inline-block;
  font-weight: 800;
  color: var(--navy);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .8rem;
  margin-bottom: 10px;
}
.lineup-card .tag {
  color: var(--red);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.lineup-card p:last-child { margin-bottom: 0; }

/* Vendors */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.vendor-item {
  background: var(--paper);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-weight: 600;
}

/* Schedule */
.timeline {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-left: 3px solid var(--red);
}
.timeline li {
  position: relative;
  padding: 4px 0 22px 26px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.timeline .time {
  display: block;
  font-weight: 800;
  color: var(--red-dark);
  font-size: .85rem;
  margin-bottom: 2px;
}
.timeline .event { color: var(--ink-soft); }

/* Shelter / dogs */
.shelter { background: var(--cream-2); }
.shelter-intro { max-width: 640px; margin-top: 8px; }
.dog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.dog-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.dog-photo {
  font-size: 3rem;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.dog-meta {
  font-size: .8rem;
  color: var(--green);
  font-weight: 700;
  margin: 2px 0 10px;
}

/* Sponsors */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.sponsor-name {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-family: 'Permanent Marker', cursive;
  color: var(--navy);
  font-size: 1.05rem;
}

/* FAQ */
.faq-list { margin-top: 24px; display: grid; gap: 12px; }
details {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 16px 20px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: '+ ';
  color: var(--red);
  font-weight: 800;
}
details[open] summary::before { content: '– '; }
details p { margin: 12px 0 2px; }

/* Involved */
.involved {
  background: var(--navy);
  text-align: center;
}
.involved h2 { color: #fff; }
.involved p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto; }
.involved-inner .hero-actions { margin-top: 26px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .logo-mark { transform: rotate(-8deg); display: inline-block; }
.site-footer .logo-text {
  font-family: 'Bungee', sans-serif;
  color: #fff;
  margin-left: 8px;
}
.site-footer .logo-text em { font-style: normal; color: var(--yellow); }
.site-footer p { color: rgba(255,255,255,.6); font-size: .85rem; }
.fine-print { max-width: 360px; }

/* Responsive */
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 3px solid var(--ink);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .nav-cta { display: inline-block; margin-top: 6px; }
  .stamp { position: static; margin: 0 auto 18px; }
  .footer-inner { flex-direction: column; }
}
