@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-latin-99d6c78e04.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff8f1;
  --cream-deep: #fdeedd;
  --ink: #2b2140;
  --ink-soft: #5d5170;
  --night: #2c1e4a;
  --night-deep: #21163a;
  --lavender: #b89cf0;
  --lavender-soft: #ece4ff;
  --pink: #ff6f9c;
  --pink-soft: #ffe3ec;
  --orange: #ffa62b;
  --orange-soft: #fff0d6;
  --green: #2f9e75;
  --green-soft: #ddf5ea;
  --sky: #47b8e0;
  --pine: #17463a;
  --berry: #e2483d;
  --white: #ffffff;
  --shadow: 0 2px 4px rgba(43, 33, 64, .06), 0 12px 32px rgba(43, 33, 64, .12);
  --radius: 22px;
  --display: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: 1.2rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin: 0 0 10px; }
.eyebrow-light { color: var(--orange); }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 38em; margin: 0 0 32px; }

/* ---- buttons ---- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--white);
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--pink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink); }
.button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .98rem; box-shadow: 0 3px 0 var(--pink); }
.button-quiet { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--lavender); }
.button-quiet:hover { box-shadow: inset 0 0 0 2px var(--ink), 0 6px 0 var(--lavender); }
.button-light { background: var(--white); color: var(--pine); box-shadow: 0 4px 0 var(--berry); }
.button-light:hover { box-shadow: 0 6px 0 var(--berry); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 241, .9); backdrop-filter: blur(10px); border-bottom: 2px solid var(--cream-deep); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; }
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-decoration: none; letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--night) 0%, #7a4fd6 45%, var(--pink) 80%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.top-nav { display: none; gap: 24px; font-family: var(--display); font-weight: 500; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { color: var(--pink); }

/* ---- hero ---- */
.hero {
  position: relative; padding: 36px 0 56px;
  background:
    radial-gradient(circle at 92% 18%, rgba(184, 156, 240, .45) 0, transparent 34%),
    radial-gradient(circle at 70% 88%, rgba(255, 111, 156, .28) 0, transparent 30%),
    radial-gradient(circle at 4% 70%, rgba(255, 166, 43, .22) 0, transparent 28%),
    var(--cream);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.squiggle { position: relative; white-space: nowrap; color: var(--pink); }
.squiggle::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.14em; height: .32em;
  background: url("/squiggle-8f63c4c6e8.svg") center / 100% 100% no-repeat;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 31em; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-points li { font-family: var(--display); font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px var(--lavender-soft); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.hero-points li:nth-child(2)::before { background: var(--orange); }
.hero-points li:nth-child(3)::before { background: var(--green); }

.hero-art { position: relative; aspect-ratio: 1 / 1.08; max-width: 620px; width: 100%; margin: 0 auto; }
.hero-photo { position: absolute; display: block; border-radius: 26px; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); transition: transform .2s ease; }
.hero-photo img { width: 100%; }
.hero-photo-1 { left: 0; top: 6%; width: 50%; transform: rotate(-5deg); z-index: 2; }
.hero-photo-2 { right: 0; top: 0; width: 46%; transform: rotate(4deg); z-index: 1; }
.hero-photo-3 { left: 30%; bottom: 0; width: 44%; transform: rotate(-1deg); z-index: 3; }
.hero-photo:hover { transform: rotate(0deg) scale(1.02); }
.hero-sticker { position: absolute; z-index: 4; filter: drop-shadow(0 6px 10px rgba(43, 33, 64, .28)); pointer-events: none; }
.hero-sticker-1 { width: 25%; left: -3%; bottom: 4%; transform: rotate(-12deg); }
.hero-sticker-2 { width: 22%; right: -2%; bottom: 14%; transform: rotate(10deg); }
.hero-sticker-3 { width: 18%; left: 42%; top: -4%; transform: rotate(6deg); }

/* ---- the art wall ---- */
.art-wall {
  position: relative; padding: 72px 0 80px; color: var(--white);
  background:
    radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(circle at 10% 0%, rgba(255, 111, 156, .35), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(71, 184, 224, .3), transparent 45%),
    var(--night);
}
.art-wall .section-lead { color: #d9cdf2; }
.stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
.sticker a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.sticker img { width: 82%; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); transition: transform .2s ease; }
.sticker:nth-child(4n+1) img { transform: rotate(-6deg); }
.sticker:nth-child(4n+2) img { transform: rotate(4deg); }
.sticker:nth-child(4n+3) img { transform: rotate(-2deg); }
.sticker:nth-child(4n) img { transform: rotate(7deg); }
.sticker a:hover img { transform: rotate(0deg) scale(1.08); }
.sticker span { font-family: var(--display); font-weight: 500; font-size: .95rem; text-align: center; line-height: 1.25; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }

/* ---- the season band ---- */
.season {
  padding: 72px 0; color: var(--white);
  background:
    radial-gradient(rgba(255, 255, 255, .18) 1.6px, transparent 1.8px) 0 0 / 34px 34px,
    radial-gradient(rgba(255, 255, 255, .1) 1.2px, transparent 1.4px) 17px 17px / 34px 34px,
    var(--pine);
}
.season .section-lead { color: #cfe8dd; }
.season-grid { display: grid; gap: 32px; align-items: center; }
.season .card a { background: var(--white); color: var(--ink); }
.season .card-cta { color: var(--berry); }

/* ---- cards ---- */
.block { padding: 72px 0; }
.block-tinted { background: var(--cream-deep); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--white); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card a:hover { transform: translateY(-4px) rotate(-.6deg); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--lavender-soft); }
.card-name { padding: 12px 16px 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.card-cta { padding: 0 16px 16px; color: var(--pink); font-weight: 700; font-size: .95rem; }
.card-cta::after { content: "\00a0\2192"; }
#favorites .card:nth-child(4n+1) a { background: var(--pink-soft); }
#favorites .card:nth-child(4n+2) a { background: var(--lavender-soft); }
#favorites .card:nth-child(4n+3) a { background: var(--orange-soft); }
#favorites .card:nth-child(4n) a { background: var(--green-soft); }
.note { margin: 24px 0 0; color: var(--ink-soft); font-size: .95rem; }

/* ---- theme tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s ease; }
.tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(33, 22, 58, .82) 100%); }
.tile a:hover img { transform: scale(1.06); }
.tile-label { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.tile-label::after { content: "\00a0\2192"; color: var(--orange); }

/* ---- story ---- */
.story { position: relative; background: radial-gradient(circle at 0% 100%, rgba(184, 156, 240, .35), transparent 40%), var(--cream); }
.story-grid { display: grid; gap: 36px; align-items: start; }
.story-text p:not(.eyebrow) { font-size: 1.12rem; color: var(--ink-soft); max-width: 32em; }
.story-text .button { margin-top: 8px; }
.story-logo { width: min(320px, 78%); border-radius: 28px; border: 6px solid var(--white); box-shadow: var(--shadow); transform: rotate(-2deg); margin: 0 0 28px; }
.facts { display: grid; grid-template-columns: 1fr; gap: 14px; }
.fact { background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); border-top: 6px solid var(--pink); }
.fact p { margin: 0; color: var(--ink-soft); }
.fact-2 { border-top-color: var(--orange); }
.fact-3 { border-top-color: var(--green); }
.fact-4 { border-top-color: var(--lavender); }

/* ---- footer ---- */
.bottom { background: var(--night-deep); color: #d9cdf2; padding: 48px 0 40px; }
.bottom-grid { display: grid; gap: 20px; }
.bottom p { margin: 0 0 6px; }
.bottom-brand { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--white); }
.bottom-brand-row { display: flex; align-items: center; gap: 18px; }
.bottom-logo { width: 96px; height: 96px; flex: none; border-radius: 20px; border: 3px solid rgba(255, 255, 255, .85); }
.bottom-links { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--display); }
.bottom-links a { color: var(--white); text-decoration: none; }
.bottom-links a:hover { color: var(--orange); }
.small { font-size: .9rem; }

/* ---- the 404 page ---- */
.lost { padding: 72px 0 96px; text-align: center; }
.lost .actions { justify-content: center; }
.lost .lead { margin-left: auto; margin-right: auto; }

@media (min-width: 640px) {
  .stickers { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
  .sticker span { font-size: 1.05rem; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .bottom-grid { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 900px) {
  .top-nav { display: flex; }
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .stickers { grid-template-columns: repeat(6, 1fr); gap: 36px 20px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .season-grid { grid-template-columns: .8fr 2fr; gap: 48px; }
  .season-cards { grid-template-columns: repeat(4, 1fr); }
  .story-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .card a, .tile img, .sticker img, .hero-photo { transition: none; }
}
