:root {
  --purple-deep: #1a0f2e;
  --purple-mid: #2d1b4e;
  --pink-hot: #ff2d7a;
  --pink-soft: #ff6eb4;
  --yellow-bright: #ffe566;
  --yellow-warm: #ffd23f;
  --white: #fffaf0;
  --ink: #12081f;
  --shadow: rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 45, 122, 0.18), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(255, 229, 102, 0.12), transparent 30%),
    linear-gradient(160deg, var(--purple-deep) 0%, var(--purple-mid) 45%, #12081f 100%);
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Floating doodles */
.doodles {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.doodle {
  position: absolute;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  opacity: 0.14;
  color: var(--yellow-bright);
  animation: float 8s ease-in-out infinite;
}

.doodle--1 { top: 12%; left: 4%; animation-delay: 0s; }
.doodle--2 { top: 28%; right: 6%; animation-delay: -2s; color: var(--pink-soft); }
.doodle--3 { bottom: 35%; left: 8%; animation-delay: -4s; }
.doodle--4 { bottom: 12%; right: 10%; animation-delay: -1s; color: var(--pink-soft); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__title {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  text-shadow:
    4px 4px 0 var(--pink-hot),
    -2px -2px 0 rgba(255, 229, 102, 0.4);
  animation: title-wiggle 4s ease-in-out infinite;
}

@keyframes title-wiggle {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}

.hero__tagline {
  display: inline-block;
  margin: 1rem 0 0.5rem;
  padding: 0.35rem 1.25rem;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--white);
  background: var(--pink-hot);
  transform: rotate(-1.5deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero__subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  opacity: 0.9;
}

main {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.section-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin: 0 0 1.75rem;
  color: var(--yellow-bright);
}

/* Poster */
.poster-section {
  margin-bottom: 3rem;
}

.poster {
  margin: 0;
  padding: 0.75rem;
  background: var(--yellow-bright);
  transform: rotate(0.5deg);
  box-shadow:
    0 20px 50px var(--shadow),
    8px 8px 0 var(--pink-hot);
  transition: transform 0.3s ease;
}

.poster:hover {
  transform: rotate(-0.5deg) scale(1.01);
}

.poster__frame {
  position: relative;
  container-type: inline-size;
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
}

.poster__note {
  position: absolute;
  margin: 0;
  color: #1a1030;
  font-family: "Permanent Marker", cursive;
  font-size: 1.55cqi;
  line-height: 1.15;
  text-align: center;
  pointer-events: none;
}

.poster__note span {
  display: block;
}

.poster__note--when {
  left: 8.2%;
  top: 92%;
  width: 13.2%;
  transform: rotate(-8deg);
}

.poster__note--where {
  left: 32%;
  top: 90.8%;
  width: 13.5%;
  transform: rotate(7deg);
}

/* Sticky notes */
.sticky-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sticky-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sticky--wide {
    grid-column: 1 / -1;
  }
}

.sticky {
  position: relative;
  padding: 1.25rem 1.5rem 1.5rem;
  color: var(--ink);
  box-shadow:
    3px 3px 8px var(--shadow),
    inset 0 -24px 32px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sticky:hover {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: 6px 6px 16px var(--shadow);
  z-index: 2;
}

.sticky--yellow {
  background: linear-gradient(145deg, #fff6a8, var(--yellow-warm));
}

.sticky--pink {
  background: linear-gradient(145deg, #ffb8d9, var(--pink-soft));
}

.sticky--tilt-left { transform: rotate(-2.5deg); }
.sticky--tilt-right { transform: rotate(2deg); }

.sticky__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.25rem;
}

.sticky h3 {
  margin: 0 0 0.5rem;
  font-family: "Permanent Marker", cursive;
  font-size: 1.35rem;
}

.sticky p {
  margin: 0;
}

.sticky__link {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s ease;
}

.sticky__link:hover {
  transform: translateY(-2px);
}

.sticky__link:focus-visible {
  outline: 3px solid var(--pink-hot);
  outline-offset: 3px;
}

.sticky__note {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-style: italic;
}

/* Past editions */
.history-section {
  margin-top: 2.5rem;
}

.history {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 229, 102, 0.2);
  border-radius: 12px;
  padding: 0.35rem 1.25rem 0.35rem;
}

.history[open] {
  padding-bottom: 1.25rem;
}

.history__summary {
  cursor: pointer;
  font-family: "Permanent Marker", cursive;
  font-size: 1.35rem;
  color: var(--yellow-bright);
  padding: 0.85rem 0;
}

.history__summary:focus-visible {
  outline: 3px solid var(--pink-hot);
  outline-offset: 3px;
}

.history__item + .history__item {
  margin-top: 1.5rem;
}

.history__facts {
  margin: 0 0 1rem;
}

.history__poster {
  margin: 0;
}

.history__poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* About */
.about {
  margin-top: 4rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }

  .sticky--quote {
    grid-row: span 2;
  }

  .philosophy {
    grid-column: 1 / -1;
  }
}

.sticky--quote {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-size: 1.4rem;
  line-height: 1.4;
  transform: rotate(-3deg);
}

.about-text p {
  margin: 0 0 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

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

@media (min-width: 640px) {
  .philosophy {
    grid-template-columns: 1fr 1fr;
  }
}

.philosophy__item {
  padding: 0.85rem 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--pink-hot);
  border-radius: 0 8px 8px 0;
}

.philosophy__item:nth-child(even) {
  border-left-color: var(--yellow-bright);
}

/* FAQ */
.faq {
  margin-top: 4rem;
}

.faq-list {
  margin: 0;
}

.faq-item {
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 229, 102, 0.15);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 45, 122, 0.35);
}

.faq-item dt {
  font-family: "Permanent Marker", cursive;
  font-size: 1.1rem;
  color: var(--yellow-bright);
  margin-bottom: 0.35rem;
}

.faq-item dd {
  margin: 0;
  opacity: 0.92;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__tagline {
  margin: 0 0 0.5rem;
  font-family: "Permanent Marker", cursive;
  font-size: 1rem;
  color: var(--yellow-bright);
  opacity: 0.9;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
