/* ================= Rooted Northwest Events =================
   Retro cornhole palette · "Golden Mustard" — gold background,
   espresso type, teal buttons, vermillion pops
=============================================================== */
:root {
  --cream: #f2e8d0;
  --sand: #e9dcbd;
  --ochre: #c18f2f;
  --gold: #e0a129;
  --orange: #ef7d3b;
  --verm: #dd4c2b;
  --verm-deep: #c33d1f;
  --teal: #158584;
  --teal-deep: #0d6b69;
  --espresso: #3e2d1d;
  --ink: #3e2d1d;
  --gold-soft: #f5dfa8;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(62, 45, 29, 0.16);
  --stripes: linear-gradient(90deg,
    var(--ochre) 0 16.66%,
    var(--gold) 16.66% 33.33%,
    var(--orange) 33.33% 50%,
    var(--verm) 50% 66.66%,
    var(--teal) 66.66% 83.33%,
    var(--teal-deep) 83.33% 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--espresso);
  background: var(--gold);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; line-height: 1.05; }

a { color: var(--verm-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 10px 24px rgba(62,45,29,0.25); }
.btn-orange { background: var(--teal-deep); color: var(--white); }
.btn-orange:hover { background: var(--teal); }
.btn-teal { background: var(--teal-deep); color: var(--white); }
.btn-teal:hover { background: var(--teal); }
.btn-ghost { background: transparent; color: var(--espresso); border: 2px solid var(--espresso); }
.btn-ghost:hover { background: rgba(62,45,29,0.08); }
.btn-ghost-dark { background: transparent; color: var(--gold); border: 2px solid var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 2rem;
  background: rgba(242, 232, 208, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid;
  border-image: var(--stripes) 1;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.logo-text { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo-nw { color: var(--teal-deep); }
.logo-text em { font-style: normal; color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta {
  background: var(--teal-deep); color: var(--white) !important;
  padding: 0.45rem 1rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--teal); color: var(--white) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--gold);
  color: var(--espresso);
  padding: 5.5rem 2rem 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 820px; margin: 0 auto; text-align: center;
  position: relative; z-index: 2; padding-bottom: 5rem;
}
.hero-flag {
  width: 130px; height: 12px;
  background: linear-gradient(90deg,
    var(--verm) 0 25%,
    var(--orange) 25% 50%,
    var(--teal) 50% 75%,
    var(--teal-deep) 75% 100%);
  border-radius: 999px;
  margin: 0 auto 1.5rem;
}
.hero-kicker {
  display: inline-block;
  background: var(--teal-deep);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: var(--espresso);
}
.hero .pop { color: var(--verm); text-shadow: 4px 4px 0 var(--cream); }
.squiggle { position: relative; display: inline-block; }
.squiggle::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q 12 0 25 6 T 50 6 T 75 6 T 100 6' fill='none' stroke='%230d6b69' stroke-width='4'/%3E%3C/svg%3E") repeat-x;
  background-size: 100px 100%;
}
.hero-sub { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2.2rem; opacity: 0.9; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* confetti — palette colors on cream */
.confetti { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.confetti .c { position: absolute; display: block; border-radius: 3px; opacity: 0.85; animation: floaty 6s ease-in-out infinite; }
.c1 { width: 14px; height: 14px; background: var(--verm); top: 18%; left: 6%; transform: rotate(20deg); }
.c2 { width: 10px; height: 10px; background: var(--teal); top: 30%; right: 10%; animation-delay: 1s; }
.c3 { width: 16px; height: 16px; background: var(--teal); top: 60%; left: 10%; border-radius: 50%; animation-delay: 2s; }
.c4 { width: 12px; height: 12px; background: var(--cream); top: 22%; left: 24%; border-radius: 50%; animation-delay: 0.5s; }
.c5 { width: 18px; height: 8px; background: var(--teal-deep); top: 48%; right: 5%; transform: rotate(-15deg); animation-delay: 1.5s; }
.c6 { width: 10px; height: 10px; background: var(--verm); bottom: 22%; right: 24%; animation-delay: 2.5s; }
.c7 { width: 14px; height: 14px; background: var(--teal-deep); bottom: 30%; left: 22%; transform: rotate(45deg); animation-delay: 3s; }
.c8 { width: 8px; height: 8px; background: var(--espresso); top: 14%; right: 32%; border-radius: 50%; animation-delay: 0.8s; }
.c9 { width: 12px; height: 12px; background: var(--cream); bottom: 14%; left: 42%; border-radius: 50%; animation-delay: 1.8s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(25deg); }
}

/* marquee */
.marquee {
  position: relative; z-index: 2;
  background: var(--espresso);
  padding: 0.7rem 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin-top: -0.5rem;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: scroll 24s linear infinite;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; letter-spacing: 0.12em; font-size: 0.95rem;
  color: var(--gold-soft);
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Events ---------- */
.events { max-width: 1180px; margin: 0 auto; padding: 5.5rem 2rem 4rem; }
.section-head { text-align: center; margin-bottom: 3.2rem; }
.section-head h2, .about h2, .newsletter h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em;
}
.section-head h2 { color: var(--espresso); }
.section-head p { font-size: 1.15rem; color: var(--teal-deep); font-weight: 700; margin-top: 0.4rem; }

.underline-orange, .underline-teal { position: relative; display: inline-block; z-index: 1; }
.underline-orange::after, .underline-teal::after {
  content: ""; position: absolute; z-index: -1;
  left: -4px; right: -4px; bottom: 0.08em; height: 0.38em;
  border-radius: 4px; transform: rotate(-1deg);
}
.underline-orange::after { background: var(--cream); box-shadow: 0 0 0 2px var(--cream); }
.underline-teal::after { background: var(--cream); box-shadow: 0 0 0 2px var(--cream); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  align-items: stretch;
}

.event-card {
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 3px solid transparent;
}
.tilt-left { transform: rotate(-1deg); }
.tilt-right { transform: rotate(1deg); }
.event-card:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 22px 50px rgba(62,45,29,0.22); border-color: var(--teal-deep); }

.event-banner {
  position: relative;
  min-height: 150px;
  padding: 1.4rem;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.banner-orange { background: linear-gradient(120deg, var(--verm), var(--orange) 65%, #f79a5e); }
.banner-teal { background: linear-gradient(120deg, var(--teal-deep), var(--teal) 55%, #3fa9a0); }
.banner-gold { background: linear-gradient(120deg, #c18f2f, var(--gold) 60%, #f0bd5c); }
.banner-vermillion { background: linear-gradient(120deg, #b83a1d, var(--verm) 60%, #ef7a5c); }
/* Uploaded hero image fills the banner; the date chip and tag stay on top. */
.banner-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.event-banner > .event-date,
.event-banner > .event-tag { position: relative; z-index: 1; }
.event-banner:has(.banner-photo)::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(62,45,29,0.42), rgba(62,45,29,0.12) 55%, rgba(62,45,29,0.35));
  z-index: 0;
}
.banner-art {
  position: absolute; right: 1rem; bottom: 0.4rem;
  font-size: 4.2rem; opacity: 0.9;
  transform: rotate(8deg);
  text-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.event-date {
  background: var(--white);
  border-radius: 16px;
  text-align: center;
  padding: 0.5rem 0.9rem;
  line-height: 1.1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transform: rotate(-3deg);
}
.date-month { display: block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--teal-deep); }
.date-day { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 2rem; color: var(--ink); }
.date-year { display: block; font-size: 0.75rem; font-weight: 700; color: var(--teal-deep); }
.event-tag {
  position: absolute; left: 1.4rem; bottom: 1rem;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 999px;
}

.event-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.event-body h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.3rem; }
.event-venue { font-weight: 800; color: var(--teal-deep); margin-bottom: 0.8rem; }
.event-desc { margin-bottom: 1rem; }
.event-perks { list-style: none; margin-bottom: 1.4rem; }
.event-perks li { padding: 0.28rem 0; font-weight: 600; font-size: 0.95rem; }
.event-actions { margin-top: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.event-host { font-size: 0.8rem; font-weight: 700; color: var(--teal-deep); }

/* coming soon card */
.event-soon {
  color: var(--ink);
  background: repeating-linear-gradient(-45deg, var(--cream), var(--cream) 18px, #faf3df 18px, #faf3df 36px);
  border: 3px dashed var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.event-soon:hover { border-color: var(--teal-deep); }
.soon-inner { padding: 2.5rem 2rem; }
.soon-spark { font-size: 2.4rem; display: block; margin-bottom: 0.6rem; animation: floaty 4s ease-in-out infinite; }
.soon-inner h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 0.7rem; color: var(--teal-deep); }
.soon-inner p { margin-bottom: 1.4rem; font-weight: 600; }

/* ---------- About ---------- */
.about { background: var(--espresso); color: var(--cream); padding: 5rem 2rem; }
.about-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center;
}
.about h2 { color: var(--white); margin-bottom: 1.2rem; }
.about-copy p { margin-bottom: 1.1rem; font-size: 1.08rem; }
.about-copy strong { color: var(--gold); }
.about .btn-ghost-dark { margin-top: 0.6rem; }
.about .btn-ghost-dark:hover { background: rgba(224,161,41,0.14); }
.about-stats { display: flex; flex-direction: column; gap: 1.2rem; }
.stat {
  border-radius: 18px; padding: 1.2rem 1.5rem;
  display: flex; align-items: baseline; gap: 1rem;
}
.stat-a { background: var(--teal); transform: rotate(-1.5deg); }
.stat-b { background: var(--gold); transform: rotate(1deg); }
.stat-c { background: var(--teal-deep); transform: rotate(-0.6deg); }
.stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--white); }
.stat-label { font-weight: 700; color: rgba(255,255,255,0.95); }

/* ---------- Newsletter ---------- */
.newsletter { padding: 5rem 2rem; background: var(--gold); }
.newsletter-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  border: 3px solid var(--teal-deep);
  box-shadow: 10px 10px 0 var(--verm);
  padding: 3rem 2.5rem;
}
.newsletter-card h2 { margin-bottom: 0.6rem; }
.newsletter-card > p { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.6rem; }
.newsletter-form { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px;
  font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 600;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--ochre); border-radius: 999px;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--teal-deep); }
.newsletter-form input[name="first_name"] { flex: 0 1 180px; min-width: 150px; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; padding: 0; border: 0; min-width: 0 !important; }
.newsletter-msg { margin-top: 1rem; font-size: 1.05rem; font-weight: 700; color: var(--teal-deep); }
.newsletter-msg:empty { display: none; }
.newsletter-msg.is-error { color: var(--verm-deep); }
.newsletter-note { margin-top: 1.2rem; font-size: 0.9rem; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--cream); padding: 3rem 2rem 1.5rem; border-top: 6px solid; border-image: var(--stripes) 1; }
.footer-inner {
  max-width: 1080px; margin: 0 auto 1.6rem;
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.footer .logo-text { color: var(--white); font-size: 1.2rem; }
.footer .logo-nw { color: var(--gold); }
.footer-brand p { font-weight: 700; color: var(--gold-soft); margin-top: 0.3rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: var(--cream); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-fine { text-align: center; font-size: 0.8rem; opacity: 0.75; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav { padding: 0.8rem 1.1rem; }
  .nav-links { gap: 0.9rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 3.5rem; }
}

/* ============ PAST EVENTS ============
   Recent gatherings shown as social proof when the upcoming calendar is thin,
   plus the "look what you missed" row. Deliberately quieter than live events:
   no ticket button, softened banner, muted card. */
.recent-events { margin-top: 4.5rem; }
.event-card.event-past { opacity: 0.94; }
.event-card.event-past .event-banner { filter: saturate(0.72); }
.event-card.event-past .event-banner::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(62, 45, 29, 0.18);
  z-index: 0;
}
.event-tag.tag-past {
  background: rgba(62, 45, 29, 0.72);
  color: var(--cream);
}
.event-card.event-past:hover { transform: rotate(0deg) translateY(-4px); }
