:root {
  --yellow: #f6d34f;
  --yellow-deep: #f0c22e;
  --red: #d93630;
  --red-logo: #e21f27;
  --pink: #e8336f;
  --ink: #111;
  --paper: #fffdf5;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 22px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Urbanist", "Century Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  color: var(--ink);
  background: var(--yellow);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85em 1.4em;
  background: var(--ink);
  color: #fff;
  border: var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-sm { font-size: 0.8rem; padding: 0.6em 1.1em; box-shadow: 3px 3px 0 var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: var(--yellow);
  border-bottom: var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
}
.nav-brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- shared ---------- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
}
.title { margin: 0 0 1.5rem; text-align: center; }
.chip, .tab {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  background: var(--ink); color: #fff;
  padding: 0.25em 0.7em;
  line-height: 1.2;
}
.chip { font-size: clamp(1.6rem, 5vw, 2.6rem); transform: rotate(-2deg); }
.lede {
  max-width: 44ch;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}
.lede em { font-style: normal; background: var(--paper); padding: 0 .3em; border: 2px solid var(--ink); border-radius: 6px; }

/* the arch: flat-topped card with rounded "palace" shoulders, like the poster */
.arch, .agenda {
  position: relative;
  background: var(--red);
  color: #fff;
  border: 4px solid var(--ink);
  border-radius: 140px 140px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.arch > .tab, .agenda > .tab {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1rem, 3vw, 1.6rem);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
/* pink scalloped corners echoing the poster frame */
.hero::before, .hero::after {
  content: ""; position: absolute; top: -40px;
  width: 180px; height: 180px;
  background: var(--pink);
  border: 4px solid var(--ink);
  border-radius: 50%;
  z-index: -1;
}
.hero { isolation: isolate; overflow: hidden; }
.hero::before { left: -90px; }
.hero::after { right: -90px; }

.arch {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.hero-logo { width: min(620px, 100%); margin: 0 auto; }
.hero-tag {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 2.2rem);
  line-height: 1.25;
  margin: 1.6rem 0 2rem;
}
.br-sm { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: var(--yellow);
  border-block: var(--line);
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin-inline: -2vw;
}
.marquee-track { display: flex; width: max-content; animation: slide 22s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  padding: 0.7rem 0; padding-right: 2rem;
  white-space: nowrap;
  word-spacing: 0.4em;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  transition: transform .15s ease;
}
.card:nth-child(1) { transform: rotate(-1.2deg); }
.card:nth-child(3) { transform: rotate(1.2deg); }
.card:hover { transform: rotate(0) translateY(-4px); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin: 0.8rem 0 0.3rem; }
.card p { margin: 0; font-size: 1.05rem; }
.shape { width: 54px; height: 54px; fill: var(--red-logo); stroke: var(--ink); stroke-width: 3; }
.card:nth-child(2) .shape { fill: #fff; }
.card:nth-child(3) .shape { fill: var(--yellow); stroke-linejoin: round; }

/* ---------- event blocks ---------- */
.event-block { margin-bottom: clamp(3rem, 7vw, 5rem); }
.event-bar {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  background: var(--ink); color: #fff;
  border: var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 0.6rem 1.4rem;
  margin-bottom: 1.5rem;
}
.event-bar h3 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 3.4vw, 2rem);
  margin: 0; flex: 1 1 auto; line-height: 1.15;
}
.event-bar .x { color: var(--yellow); }
.event-bar .num {
  font-family: var(--display); font-weight: 800;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50%;
  width: 2.2em; height: 2.2em;
  display: grid; place-items: center;
  font-size: 0.85rem; flex: none;
}
.event-bar .place {
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.75rem; color: var(--yellow);
}
.event-copy { max-width: 60ch; margin: 0 0 1.6rem; font-size: 1.1rem; }

/* photo gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot {
  margin: 0;
  border: var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--ink);
  transition: transform .15s ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.shot.wide { grid-column: 1 / -1; }
.shot.wide img { aspect-ratio: 16 / 7; }
.shot:hover { transform: translateY(-4px) rotate(-.6deg); }

/* ---------- the edit ---------- */
.event {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.event-head { text-align: center; }
.kicker { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 0.4rem; }
.edit-badge {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #0d1030; color: #fff;
  padding: 1rem 1.6rem 0.8rem;
  border: var(--line);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.edit-badge strong { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; letter-spacing: 0.02em; }
.edit-badge small { color: var(--pink); font-weight: 700; letter-spacing: 0.2em; margin-top: 0.4rem; }

.agenda { padding: 3.5rem clamp(1.4rem, 4vw, 2.8rem) 2.2rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.8rem 2rem;
  border-left: 2px solid rgba(255,255,255,.75);
  margin-left: 6px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 0.45em;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink);
}
.timeline h4 { margin: 0; font-family: var(--body); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.2; }
.timeline p { margin: 0.15rem 0 0; font-size: 1.1rem; }
.timeline .by { color: var(--yellow); font-weight: 700; }

.note { text-align: center; margin: 2.5rem 0 0; font-size: 1.1rem; }
.note a { font-weight: 700; text-decoration-thickness: 2px; }

/* ---------- join ---------- */
.join { text-align: center; }
.join-mark { width: 130px; margin: 0 auto 0.5rem; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(6deg); } }
.join-title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.1; margin: 0 0 0.6rem; }
.join .lede { margin-bottom: 2rem; }
.socials { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.social {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display); font-weight: 600;
  background: var(--paper);
  border: var(--line); border-radius: 999px;
  padding: 0.75rem 1.3rem 0.75rem 0.8rem;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.social svg { width: 34px; height: 34px; padding: 6px; fill: #fff; background: var(--red); border-radius: 50%; border: 2px solid var(--ink); }
.social:hover { background: var(--red); color: #fff; transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.social:hover svg { background: var(--ink); }

/* ---------- footer ---------- */
.footer { border-top: var(--line); background: var(--red); color: #fff; text-align: center; padding: 1.2rem 1rem; font-weight: 600; }
.footer p { margin: 0; }

:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 780px) {
  .event { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot.wide img { aspect-ratio: 16 / 9; }
  .arch { border-radius: 90px 90px var(--radius) var(--radius); }
  .agenda { border-radius: 70px 70px var(--radius) var(--radius); }
}
@media (max-width: 520px) {
  .nav-links a:not(.btn) { display: none; }
  .br-sm { display: inline; }
  .hero::before, .hero::after { width: 110px; height: 110px; top: -30px; }
  .hero::before { left: -60px; }
  .hero::after { right: -60px; }
  .card:nth-child(n) { transform: none; }
  .gallery { grid-template-columns: 1fr; }
  .event-bar { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .join-mark { animation: none; }
  html { scroll-behavior: auto; }
}
