:root {
  --ink: #27343a;
  --navy: #315264;
  --navy-deep: #203d4c;
  --cream: #fff6e8;
  --paper: #fffaf2;
  --peach: #f0a07f;
  --pink: #e7799c;
  --yellow: #f3d26c;
  --green: #71874e;
  --green-dark: #53683a;
  --aqua: #8bc9c8;
  --line: rgba(39, 52, 58, 0.18);
  --shadow: 0 18px 48px rgba(32, 61, 76, 0.18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: white;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: .9rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(255, 250, 242, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.04em;
  font-size: 1.25rem;
}
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; }
nav a { text-decoration: none; font-size: .94rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.nav-merch {
  background: var(--pink);
  color: white;
  padding: .5rem .8rem;
  border-radius: 999px;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(243, 210, 108, .65), transparent 23rem),
    linear-gradient(135deg, #f8b38f 0%, #ef8fa6 36%, #91c7c6 100%);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 900;
}
h1, h2, h3 { line-height: 1.02; margin-top: 0; }
h1 {
  margin-bottom: 1rem;
  font-size: clamp(4.7rem, 11vw, 9.5rem);
  letter-spacing: -.075em;
  color: var(--navy-deep);
  text-shadow: 4px 4px 0 rgba(255,255,255,.34);
}
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -.055em; }
h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.hero-subhead { max-width: 38rem; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
.event-meta { font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.7rem 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.1rem;
  border: 2px solid var(--navy-deep);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(32,61,76,.18); }
.button-primary { background: var(--navy-deep); color: white; }
.button-secondary { background: rgba(255,255,255,.5); }
.button-dark { background: var(--ink); color: white; border-color: var(--ink); }
.manifesto { max-width: 32rem; margin-top: 2rem; padding-left: 1rem; border-left: 5px solid var(--green-dark); font-size: 1.2rem; font-weight: 900; }

.hero-art { position: relative; min-height: 590px; display: grid; place-items: center; }
.poster { width: min(100%, 560px); border-radius: 28px; box-shadow: var(--shadow); transform: rotate(2deg); }

/* Remove the floating frog from the opening section completely. */
.hero-art .frog-float,
.frog-float {
  display: none !important;
}

.section { padding: clamp(4.5rem, 8vw, 8rem) max(1rem, calc((100vw - var(--max)) / 2)); }
.section-light { background: var(--cream); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading > p:last-child { font-size: 1.1rem; }

.event-grid, .business-grid, .reminder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.event-card, .business-card, .reminder-grid article {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(32,61,76,.07);
}
.event-card:nth-child(1) { border-top: 8px solid var(--aqua); }
.event-card:nth-child(2) { border-top: 8px solid var(--pink); }
.event-card:nth-child(3) { border-top: 8px solid var(--yellow); }
.event-time { font-weight: 900; color: var(--navy); }
.event-time small { font-weight: 600; }
.location { margin-bottom: 0; font-weight: 900; }
.event-card-placeholder { background: linear-gradient(135deg, white, #fff4c8); }

.local-heart {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  background: var(--navy-deep);
  color: white;
}
.quote-panel {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--yellow);
  color: var(--navy-deep);
  border-radius: 45% 55% 52% 48% / 45% 42% 58% 55%;
  transform: rotate(-2deg);
}
.quote { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 900; line-height: 1.08; letter-spacing: -.04em; }
.attribution { margin-bottom: 0; font-weight: 800; }
.local-copy p { font-size: 1.12rem; }

.section-map { background: var(--aqua); }
.route { margin-top: 3rem; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: .8rem; }
.route span { padding: .65rem .85rem; background: white; border: 2px solid var(--ink); border-radius: 999px; font-weight: 900; text-align: center; }
.route i { height: 5px; background: var(--ink); border-radius: 999px; }

.split-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.text-link { font-weight: 900; text-underline-offset: .25em; }
.mini-poster { display: grid; place-items: center; min-height: 360px; border-radius: var(--radius); background: linear-gradient(135deg, var(--peach), var(--pink), var(--aqua)); overflow: hidden; }

/* Rotate the remaining sticker frog 45 degrees clockwise. */
.mini-poster img {
  width: min(85%, 390px);
  transform: rotate(-90deg) !important;
  filter: drop-shadow(0 15px 15px rgba(32,61,76,.23));
}

.join-section { background: #f2c6d5; }
.business-card { display: flex; flex-direction: column; min-height: 130px; }
.business-card span { margin-top: .4rem; }
.business-card.muted { border-style: dashed; opacity: .72; }
.join-callout { margin-top: 2rem; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: rgba(255,255,255,.55); border-radius: var(--radius); }
.join-callout h3 { margin-bottom: .4rem; }
.join-callout p { margin: 0; }

.merch-section { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); background: var(--green); color: white; }

/* Rotate the remaining sticker frog 45 degrees clockwise. */
.merch-section img {
  max-height: 420px;
  margin-inline: auto;
  filter: drop-shadow(0 18px 15px rgba(0,0,0,.2));
  transform: rotate(-90deg) !important;
}

.contest-section { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; }
.contest-placeholder { aspect-ratio: 3 / 4; display: grid; place-content: center; text-align: center; padding: 2rem; border: 5px dashed var(--navy); border-radius: var(--radius); background: linear-gradient(145deg, #f7d47b, #ef9cbd, #8bc9c8); transform: rotate(2deg); }
.contest-placeholder span { font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; line-height: 1; }
.contest-placeholder strong { font-size: 1.5rem; }

.reminders-section { background: var(--yellow); }
.reminder-grid { grid-template-columns: repeat(4, 1fr); }
.reminder-grid article { min-height: 165px; }

footer { padding: 2.5rem max(1rem, calc((100vw - var(--max)) / 2)); background: var(--ink); color: white; }
footer p { margin: .35rem 0; }
.fine-print { opacity: .65; font-size: .86rem; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  nav { justify-content: flex-end; }
  .hero, .local-heart, .split-section, .contest-section { grid-template-columns: 1fr; }
  .hero-art { min-height: auto; }
  .poster { width: min(88vw, 520px); }
  .event-grid, .business-grid { grid-template-columns: 1fr; }
  .reminder-grid { grid-template-columns: repeat(2, 1fr); }
  .route { grid-template-columns: 1fr; }
  .route i { width: 5px; height: 28px; justify-self: center; }
}

@media (max-width: 650px) {
  .site-header { position: static; display: block; }
  nav { margin-top: .7rem; justify-content: flex-start; gap: .55rem .8rem; }
  nav a { font-size: .84rem; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(4.5rem, 26vw, 7rem); }
  .hero-art { margin-top: 1rem; }
  .reminder-grid { grid-template-columns: 1fr; }
  .join-callout { align-items: flex-start; flex-direction: column; }
  .merch-section { grid-template-columns: 1fr; text-align: center; }
  .merch-section img { max-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
