:root {
  --ink: #170914;
  --paper: #fff0f7;
  --blush: #ffd1e8;
  --pink: #ff4fab;
  --hot: #f4148e;
  --violet: #6d2ec8;
  --plum: #2d123d;
  --sun: #ffe14f;
  --leaf: #8adf4b;
  --moss: #123f2b;
  --line: rgba(23, 9, 20, 0.18);
  --shadow: 0 24px 80px rgba(45, 18, 61, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 225, 79, 0.84), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(244, 20, 142, 0.36), transparent 22rem),
    linear-gradient(135deg, #fff0f7 0%, #ffd1e8 38%, #8adf4b 130%);
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem clamp(0.9rem, 4vw, 2rem);
  color: var(--paper);
  background: rgba(45, 18, 61, 0.78);
  border-bottom: 1px solid rgba(255, 209, 232, 0.28);
  backdrop-filter: blur(18px);
}

.brand-mark {
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.quick-nav {
  display: flex;
  gap: 0.25rem;
  font-size: 0.84rem;
}

.quick-nav a,
.button,
.filter,
.social-links a,
.now-strip a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
}

.quick-nav a {
  padding: 0.5rem 0.62rem;
  color: rgba(255, 240, 247, 0.94);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 5.4rem clamp(1rem, 5vw, 4rem) 2.1rem;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(45, 18, 61, 0.2), rgba(23, 9, 20, 0.88)),
    linear-gradient(135deg, var(--pink), var(--violet) 54%, var(--moss));
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 240, 247, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(255, 240, 247, 0.11) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(244, 20, 142, 0.32), rgba(45, 18, 61, 0.48)),
    url("assets/pink-sky.jpg") center / cover no-repeat;
  filter: saturate(1.18) contrast(1.02);
  transform: scale(1.04);
}

.sparkline {
  position: absolute;
  inset: auto -12vw 0;
  height: 32svh;
  z-index: -1;
  background:
    linear-gradient(135deg, transparent 0 12%, rgba(138, 223, 75, 0.62) 12% 16%, transparent 16% 28%, rgba(255, 225, 79, 0.72) 28% 34%, transparent 34%),
    repeating-linear-gradient(100deg, rgba(255, 240, 247, 0.22) 0 4px, transparent 4px 42px);
  transform: rotate(-4deg);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 58rem;
  padding-bottom: 18svh;
}

.kicker,
.section-label {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.1rem, 17vw, 8.8rem);
  line-height: 0.82;
  text-wrap: balance;
}

.subtitle {
  width: fit-content;
  margin: 1rem 0 0;
  padding: 0.42rem 0.75rem;
  color: var(--ink);
  background: var(--sun);
  font-size: clamp(1.15rem, 5vw, 2.2rem);
  font-weight: 800;
  transform: rotate(-2deg);
}

.intro {
  max-width: 29rem;
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.button {
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 6px 6px 0 var(--ink);
}

.button.ghost {
  color: var(--paper);
  border-color: rgba(255, 240, 247, 0.48);
  background: rgba(244, 20, 142, 0.28);
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  right: -22vw;
  bottom: -1rem;
  width: min(92vw, 38rem);
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.hero-portrait img {
  max-height: 74svh;
  object-fit: contain;
  object-position: bottom right;
}

.now-strip {
  position: sticky;
  z-index: 15;
  top: 3.7rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.78rem clamp(1rem, 5vw, 4rem);
  color: var(--paper);
  background: linear-gradient(90deg, var(--plum), var(--hot));
  border-top: 1px solid rgba(255, 240, 247, 0.2);
  border-bottom: 1px solid rgba(255, 240, 247, 0.2);
}

.now-strip span {
  display: block;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.now-strip strong {
  font-size: 0.96rem;
}

.now-strip a {
  width: fit-content;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: var(--leaf);
  font-weight: 800;
}

.vibe,
.photo-river,
.route-band,
.schedule,
.poster-download,
.gallery,
.social {
  padding: clamp(3.2rem, 10vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.vibe {
  background:
    linear-gradient(180deg, rgba(255, 240, 247, 0.96), rgba(255, 209, 232, 0.94)),
    repeating-linear-gradient(135deg, rgba(109, 46, 200, 0.1) 0 2px, transparent 2px 20px);
}

.vibe-text,
.section-head,
.route-copy,
.gallery-copy,
.social > div:first-child {
  max-width: 52rem;
}

h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.15rem, 9vw, 5rem);
  line-height: 0.95;
  text-wrap: balance;
}

.poem {
  max-width: 45rem;
  margin: 1.2rem 0 0;
  font-size: clamp(1.04rem, 3.8vw, 1.45rem);
  line-height: 1.45;
}

.vibe-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.vibe-grid article {
  padding: 1rem;
  color: var(--paper);
  background: var(--plum);
  border: 1px solid rgba(255, 240, 247, 0.18);
}

.vibe-grid article:nth-child(2) {
  color: var(--ink);
  background: var(--sun);
}

.vibe-grid article:nth-child(3) {
  color: var(--paper);
  background: var(--moss);
}

.vibe-grid span {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 800;
}

.vibe-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.vibe-grid p,
.route-copy p,
.day-note,
.gallery figcaption,
.social h2 + p {
  line-height: 1.45;
}

.photo-river {
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(160deg, var(--hot), var(--violet) 56%, var(--moss));
}

.river-card {
  position: relative;
  height: 18rem;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--sun);
  background: var(--plum);
}

.river-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.river-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(23, 9, 20, 0.72));
}

.river-card figcaption {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  color: var(--paper);
  font-size: 1.1rem;
  font-weight: 800;
}

.route-band {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(45, 18, 61, 0.88), rgba(18, 63, 43, 0.52)),
    url("assets/running-dog.jpg") center / cover no-repeat,
    linear-gradient(120deg, var(--plum), var(--moss));
}

.route-copy p {
  max-width: 38rem;
  font-size: 1.05rem;
}

.route-ribbon {
  display: flex;
  gap: 0.55rem;
  margin: 2rem -1rem 0;
  padding: 0 1rem 0.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.route-ribbon li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.82rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--hot);
}

.schedule {
  background:
    linear-gradient(180deg, rgba(255, 240, 247, 0.95), rgba(255, 209, 232, 0.88)),
    repeating-linear-gradient(45deg, rgba(109, 46, 200, 0.14) 0 2px, transparent 2px 18px);
}

.poster-download {
  display: grid;
  gap: 1.2rem;
  align-items: end;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(45, 18, 61, 0.94), rgba(244, 20, 142, 0.82)),
    url("assets/pink-sky.jpg") center / cover no-repeat;
}

.poster-download h2 {
  max-width: 10ch;
}

.poster-button {
  min-height: 4rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  color: var(--ink);
  background: var(--sun);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

.filters {
  display: flex;
  gap: 0.45rem;
  margin: 1.4rem -1rem 0;
  padding: 0 1rem 0.4rem;
  overflow-x: auto;
}

.filter {
  flex: 0 0 auto;
  padding: 0.7rem 0.95rem;
  color: var(--ink);
  background: rgba(255, 240, 247, 0.72);
  border-color: var(--line);
  font: inherit;
  font-weight: 800;
}

.filter.is-active {
  color: var(--paper);
  background: var(--violet);
  border-color: var(--violet);
}

.schedule-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.day-card {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  background: rgba(255, 240, 247, 0.9);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(244, 20, 142, 0.24);
}

.day-card::before {
  content: attr(data-count);
  position: absolute;
  right: 0.75rem;
  top: 0.7rem;
  color: rgba(109, 46, 200, 0.22);
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
}

.day-meta {
  position: relative;
}

.day-date {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: var(--sun);
  font-weight: 800;
}

.day-title {
  margin: 0.65rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 0.95;
}

.stop-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stop {
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.stop:first-child {
  border-top: 0;
}

.time {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.place strong {
  display: block;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.venue {
  display: block;
  margin-top: 0.16rem;
  color: rgba(23, 9, 20, 0.7);
}

.special {
  color: var(--hot);
}

.gallery {
  display: grid;
  gap: 1.2rem;
  align-items: end;
  color: var(--paper);
  background:
    linear-gradient(160deg, rgba(45, 18, 61, 0.97), rgba(18, 63, 43, 0.94)),
    linear-gradient(90deg, var(--plum), var(--moss));
}

.gallery figure {
  margin: 0;
}

.gallery-stack {
  display: grid;
  gap: 0.9rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  border: 2px solid rgba(255, 240, 247, 0.78);
  object-fit: cover;
  filter: drop-shadow(14px 16px 0 rgba(255, 225, 79, 0.34));
}

.gallery figcaption {
  margin-top: 0.85rem;
  color: rgba(255, 240, 247, 0.82);
}

.social {
  display: grid;
  gap: 1.5rem;
  color: var(--ink);
  background: linear-gradient(135deg, var(--sun), var(--pink) 48%, var(--violet));
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.social-links a {
  aspect-ratio: 1;
  padding: 0.95rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--moss);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--moss);
}

.social-links svg {
  width: min(3.4rem, 52%);
  height: min(3.4rem, 52%);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social-links .youtube svg,
.social-links .facebook svg {
  fill: currentColor;
  stroke: none;
}

.social-links .instagram {
  color: #e4408f;
}

.social-links .tiktok {
  color: #111111;
  background: linear-gradient(135deg, #fff0f7 0 55%, #69f5ff 55% 72%, #ff3b8f 72%);
}

.social-links .youtube {
  color: #ff0033;
}

.social-links .facebook {
  color: #1877f2;
}

footer {
  display: grid;
  gap: 0.3rem;
  padding: 1.5rem clamp(1rem, 5vw, 4rem) 5rem;
  color: var(--paper);
  background: var(--plum);
}

footer p {
  margin: 0;
}

@media (min-width: 720px) {
  .now-strip {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: 88svh;
    align-items: center;
  }

  .hero-photo {
    background-position: center 42%;
  }

  .hero-copy {
    padding-bottom: 3rem;
  }

  h1 {
    max-width: 10.6ch;
    font-size: clamp(4.4rem, 9vw, 7.4rem);
  }

  .hero-portrait {
    right: 1vw;
    width: min(42vw, 38rem);
  }

  .vibe-grid,
  .social {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-river {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: stretch;
  }

  .river-card.tall {
    grid-row: span 2;
    height: calc(36rem + 0.85rem);
  }

  .river-card.wide {
    height: 18rem;
  }

  .gallery {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .gallery-copy,
  .social > div:first-child {
    grid-column: span 2;
  }

  .schedule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-card.wide {
    grid-column: span 2;
    grid-template-columns: minmax(13rem, 0.55fr) 1fr;
  }

  .gallery-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .schedule-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .day-card.wide {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-portrait {
    animation: floatIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-copy > * {
    animation: rise 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 150ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 220ms;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 290ms;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translate(2rem, 2rem) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
