/* Zigy & Zapy · zigyzapy.com
   Font: Fredoka (SIL OFL, self-hosted). Icons: Iconly Pro Bulk (assets/icons.svg).
   Patterns: Duolingo ABC hills/waves + peeking footer, Maxima-style sticker sun (Mobbin);
   ribbons, word-by-word lyrics, 3D tilt cards and star bursts adapted from 21st.dev components. */

@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --sky-1: #7fd6f7;
  --sky-2: #c6efff;
  --sky-3: #fff4cf;
  --grass: #3fc58a;
  --grass-2: #8be2b6;
  --teal: #19c3b9;
  --teal-d: #0b8aa6;
  --teal-dd: #08657d;
  --teal-soft: #dcf7f3;
  --orange: #ff8a1e;
  --orange-d: #d9530c;
  --orange-soft: #fff0dd;
  --yellow: #ffd23f;
  --yellow-d: #e2a400;
  --red: #f0261b;
  --red-d: #b3150d;
  --purple: #7b4bd6;
  --purple-soft: #efe7ff;
  --ink: #1f2a56;
  --ink-2: #4a567f;
  --cream: #fffaf0;
  --white: #fff;
  --r: 30px;
  --font: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 500 20px/1.55 var(--font);
  font-synthesis: none; /* only real Fredoka weights, no faked bold/italic */
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
/* no text selection or image dragging anywhere on the site (owner's request) */
html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; } /* no double-tap zoom on phones */
img, svg, video { -webkit-user-drag: none; }
img { height: auto; }
a { color: var(--teal-d); }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.08; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 4px solid var(--purple); outline-offset: 3px; border-radius: 12px; }

/* ---------- buttons (chunky, press-able) ---------- */
.btn {
  --b: var(--ink); --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 600 21px/1 var(--font); text-decoration: none;
  box-shadow: 0 6px 0 var(--b);
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
}
.btn .i { width: 26px; height: 26px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--b); filter: saturate(1.1); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--b); }
.btn:disabled { cursor: default; filter: saturate(.6); transform: translateY(5px); box-shadow: 0 1px 0 var(--b); }
.btn--red { --bg: var(--red); --fg: var(--white); --b: var(--red-d); }
.btn--orange { --bg: var(--orange); --fg: var(--white); --b: var(--orange-d); }
.btn--white { --bg: var(--white); --fg: var(--teal-dd); --b: var(--teal); }
.btn--sm { padding: 11px 18px; font-size: 19px; box-shadow: 0 4px 0 var(--b); }
.btn--sm:hover { box-shadow: 0 6px 0 var(--b); }

.iconbtn {
  display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--white); color: var(--ink); cursor: pointer;
  box-shadow: 0 5px 0 rgba(31, 42, 86, .18);
  transition: transform .12s ease, box-shadow .12s ease;
}
.iconbtn .i { width: 28px; height: 28px; }
.iconbtn:hover { transform: translateY(-2px); }
.iconbtn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(31, 42, 86, .18); }
.iconbtn:disabled { opacity: .45; cursor: default; transform: none; }
.iconbtn--light { color: var(--teal-dd); box-shadow: 0 5px 0 var(--teal-dd); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-soft); color: var(--teal-dd);
  font-size: 19px; line-height: 1; padding: 10px 16px; border-radius: 999px; margin-bottom: 16px;
}
.tag .i { width: 24px; height: 24px; }
.tag--white { background: var(--white); color: var(--orange-d); box-shadow: 0 4px 0 rgba(31, 42, 86, .1); }

.title { font-size: clamp(42px, 6vw, 74px); text-align: center; color: var(--ink); text-shadow: 0 5px 0 rgba(25, 195, 185, .22); }
.title--left { text-align: left; }
.title--light { color: var(--white); text-shadow: 0 5px 0 rgba(8, 101, 125, .45); }
.head { text-align: center; margin-bottom: 44px; }
.sub { color: var(--ink-2); font-size: 22px; margin-top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; transition: background .25s ease, box-shadow .25s ease; }
.top.is-stuck { background: rgba(255, 250, 240, .9); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 6px 20px rgba(31, 42, 86, .08); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.brand img { width: 74px; transition: transform .25s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.pill {
  display: flex; gap: 4px; margin-left: auto; padding: 6px;
  background: var(--white); border-radius: 999px; box-shadow: 0 6px 0 rgba(31, 42, 86, .08);
}
.pill a { color: var(--ink); text-decoration: none; font-size: 20px; padding: 10px 16px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.pill a:hover { background: var(--yellow); }
.pill a.is-here { background: var(--teal); color: var(--white); }
.top__watch { margin-left: 8px; }
.top__menu { display: none; }

/* mobile menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; gap: 24px;
  padding: 18px 22px 32px; overflow-y: auto;
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 60%, var(--sky-3));
  animation: sheetIn .28s cubic-bezier(.2, .9, .3, 1.2);
}
.sheet[hidden] { display: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head img { width: 82px; }
.sheet__nav { display: grid; gap: 12px; }
.sheet__nav a {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px;
  background: var(--white); color: var(--ink); text-decoration: none; font-size: 30px;
  box-shadow: 0 6px 0 rgba(31, 42, 86, .12);
}
.sheet__nav .i { width: 34px; height: 34px; color: var(--teal); }
.sheet__nav a:nth-child(2) .i { color: var(--orange); }
.sheet__nav a:nth-child(3) .i { color: var(--purple); }
.sheet__nav a:nth-child(4) .i { color: var(--red); }
.sheet__cta { align-self: stretch; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; margin-top: -84px; padding: 120px 0 170px;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 36px; }
.hero h1 { font-size: clamp(46px, 5.4vw, 78px); color: var(--ink); text-shadow: 0 6px 0 rgba(255, 255, 255, .7); }
.hero h1 .big {
  display: inline-block; color: var(--orange);
  -webkit-text-stroke: 3px var(--orange-d); paint-order: stroke fill;
  text-shadow: 0 7px 0 var(--orange-d);
  animation: wobble 2.8s ease-in-out infinite; transform-origin: 50% 80%;
}
.lead { font-size: clamp(20px, 2.1vw, 24px); color: var(--ink-2); margin: 22px 0 30px; max-width: 32ch; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__note { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 22px; color: var(--teal-dd); }
.hero__note .i { width: 28px; height: 28px; color: var(--teal); }
.hero__art { position: relative; }
.hero__logo { width: min(580px, 100%); margin-inline: auto; filter: drop-shadow(0 24px 26px rgba(11, 138, 166, .3)); animation: bob 5s ease-in-out infinite; }

.sky > * { position: absolute; }
.sun {
  top: 104px; right: 6%; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6b0, var(--yellow) 55%, #ffbe1a);
  box-shadow: 0 0 0 14px rgba(255, 210, 63, .25), 0 0 60px rgba(255, 196, 0, .6);
  animation: spin 40s linear infinite;
}
.sun::before { /* rays */
  content: ""; position: absolute; inset: -34px; border-radius: 50%; z-index: -1;
  background: repeating-conic-gradient(rgba(255, 210, 63, .9) 0 9deg, transparent 9deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%, #000 70%, transparent 71%);
          mask: radial-gradient(circle, transparent 58%, #000 59%, #000 70%, transparent 71%);
}
.sun__face { position: absolute; inset: 0; animation: spin 40s linear infinite reverse; }
.sun__face::before { /* eyes */
  content: ""; position: absolute; left: 36px; top: 46px; width: 10px; height: 14px; border-radius: 50%;
  background: #7a4b00; box-shadow: 38px 0 0 #7a4b00;
}
.sun__face::after { /* smile */
  content: ""; position: absolute; left: 42px; top: 66px; width: 36px; height: 18px;
  border: 5px solid #7a4b00; border-top: 0; border-radius: 0 0 36px 36px;
}
.cloud { background: var(--white); border-radius: 999px; opacity: .92; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.c1 { width: 190px; height: 52px; top: 150px; left: 3%; animation: drift 24s ease-in-out infinite alternate; }
.c1::before { width: 90px; height: 90px; left: 30px; top: -46px; }
.c1::after { width: 66px; height: 66px; left: 98px; top: -30px; }
.c2 { width: 140px; height: 40px; top: 290px; right: 30%; opacity: .7; animation: drift 30s ease-in-out infinite alternate-reverse; }
.c2::before { width: 66px; height: 66px; left: 22px; top: -34px; }
.c2::after { width: 50px; height: 50px; left: 72px; top: -22px; }
.c3 { width: 120px; height: 34px; top: 120px; left: 42%; opacity: .6; animation: drift 36s ease-in-out infinite alternate; }
.c3::before { width: 56px; height: 56px; left: 18px; top: -28px; }
.c3::after { width: 42px; height: 42px; left: 60px; top: -18px; }
.twinkle { width: 34px; height: 34px; color: var(--yellow); filter: drop-shadow(0 0 8px rgba(255, 210, 63, .9)); animation: twinkle 2.6s ease-in-out infinite; }
.t1 { top: 30%; left: 47%; }
.t2 { top: 62%; left: 6%; width: 26px; height: 26px; animation-delay: .7s; }
.t3 { top: 22%; right: 22%; width: 24px; height: 24px; color: #fff; animation-delay: 1.3s; }
.t4 { top: 70%; right: 4%; animation-delay: 1.9s; }

.hills { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: 1; }
.hill { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.hill--back { fill: var(--grass-2); height: 150px; bottom: 14px; }
.hill--front { fill: var(--grass); }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1.2deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(4deg) scale(1.08); } }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.75) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ribbons ---------- */
.ribbons { position: relative; z-index: 3; height: 190px; margin-top: -96px; overflow: hidden; pointer-events: none; }
.ribbon { position: absolute; left: -6%; width: 112%; padding: 16px 0; overflow: hidden; box-shadow: 0 10px 0 rgba(31, 42, 86, .12); }
.ribbon--teal { top: 32px; background: var(--teal); transform: rotate(-3deg); }
.ribbon--orange { top: 96px; background: var(--orange); transform: rotate(2.4deg); }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.ribbon__track span { color: var(--white); font-size: 38px; line-height: 1; white-space: nowrap; text-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.ribbon__track svg { width: 34px; height: 34px; flex: none; color: var(--yellow); fill: currentColor; }
.ribbon--orange .ribbon__track svg { color: var(--white); }

/* ---------- sections ---------- */
section { scroll-margin-top: 90px; }
.peek, .friends, .sing, .grown, .follow { padding: 70px 0 90px; }

/* ---------- sneak peek TV ---------- */
.tv {
  position: relative; max-width: 960px; margin: 110px auto 0; padding: 22px;
  background: linear-gradient(160deg, #ffa24a, var(--orange)); border-radius: 46px;
  box-shadow: 0 14px 0 var(--orange-d), 0 34px 50px rgba(217, 83, 12, .25);
}
.tv__ant { position: absolute; left: 50%; top: -62px; width: 120px; height: 66px; transform: translateX(-50%); }
.tv__ant::before, .tv__ant::after {
  content: ""; position: absolute; bottom: 0; width: 8px; height: 70px; border-radius: 8px; background: var(--ink); transform-origin: bottom center;
}
.tv__ant::before { left: 50%; transform: rotate(-32deg); }
.tv__ant::after { left: 50%; transform: rotate(32deg); }
.tv::before, .tv::after { /* antenna balls */
  content: ""; position: absolute; top: -74px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); box-shadow: 0 4px 0 var(--yellow-d);
}
.tv::before { left: calc(50% - 50px); }
.tv::after { left: calc(50% + 26px); }
.tv__sticker {
  position: absolute; left: -18px; top: -26px; z-index: 3; padding: 12px 20px; border-radius: 16px;
  background: var(--yellow); color: var(--ink); font-size: 26px; transform: rotate(-8deg);
  box-shadow: 0 6px 0 var(--yellow-d); animation: stickerWiggle 3s ease-in-out infinite;
}
.tv__screen { position: relative; border-radius: 30px; overflow: hidden; background: var(--teal-dd); box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .12); }
.tv__screen video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tv__play {
  position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center;
  width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--orange-d); box-shadow: 0 5px 0 rgba(0, 0, 0, .25);
}
.tv__play .i { width: 30px; height: 30px; }
.tv__play[data-state="playing"] .i--play, .tv__play[data-state="paused"] .i--pause { display: none; }
.tv__feet { position: absolute; left: 14%; right: 14%; bottom: -36px; height: 26px; }
.tv__feet::before, .tv__feet::after { content: ""; position: absolute; top: 0; width: 70px; height: 26px; border-radius: 0 0 18px 18px; background: var(--orange-d); }
.tv__feet::before { left: 0; }
.tv__feet::after { right: 0; }
@keyframes stickerWiggle { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-3deg) scale(1.05); } }

/* ---------- characters (tilt cards) ----------
   The card tilts as one flat picture: no preserve-3d / translateZ, so the character is always drawn
   in front of the card (the old depth "pop" overshot behind the card for a moment when hover ended).
   .tilt is a wrapper that never moves: it takes the mouse and holds the perspective, so the card
   can't slide out from under the pointer at its edges, and the scroll-reveal lives here too. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.tilt { display: flex; perspective: 1400px; }
.card {
  --rx: 0deg; --ry: 0deg;
  flex: 1; position: relative; display: flex; flex-direction: column; border-radius: 38px; padding: 0 30px 34px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.15);
}
.card.is-tilting { transition: transform .15s ease-out; }
.card--zigy { background: radial-gradient(rgba(255, 255, 255, .5) 2px, transparent 2.5px) 0 0 / 22px 22px, linear-gradient(165deg, #e4fbf2, #9de8cb); box-shadow: 0 12px 0 #5cc89f; }
.card--zapy { background: radial-gradient(rgba(255, 255, 255, .55) 2px, transparent 2.5px) 0 0 / 22px 22px, linear-gradient(165deg, #fff3e0, #ffc58c); box-shadow: 0 12px 0 #f19a49; }
.card__stage { position: relative; height: 380px; margin-top: -40px; }
/* the button is only as big as the character, so only the character is tappable */
.card__pop {
  position: absolute; top: 0; left: 0; right: 0; width: fit-content; margin-inline: auto;
  padding: 0; border: 0; border-radius: 40px; background: none; cursor: pointer;
  transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.card.is-tilting .card__pop { transform: translateY(-6px) scale(1.04); } /* small lift while the mouse is on the card */
.card__pop img { position: relative; height: 400px; width: auto; transform-origin: 50% 100%; }
/* soft ground shadow under the feet (squashes while the character hops) */
.card__shadow {
  position: absolute; left: 18%; right: 18%; bottom: -12px; height: 28px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 42, 86, .32), rgba(31, 42, 86, 0));
}
.card h3 { font-size: clamp(56px, 6vw, 76px); margin-top: 6px; }
.card--zigy h3 { color: #12906b; text-shadow: 0 5px 0 rgba(18, 144, 107, .2); }
.card--zapy h3 { color: var(--orange-d); text-shadow: 0 5px 0 rgba(217, 83, 12, .2); }
.card__role { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; margin: 6px 0 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75); }
.card__role .i { width: 26px; height: 26px; }
.card--zigy .card__role .i { color: #12906b; }
.card--zapy .card__role .i { color: var(--orange-d); }
.card__body > p:not(.card__role) { color: var(--ink-2); }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 18px; box-shadow: 0 3px 0 rgba(31, 42, 86, .08); }
.chips .i { width: 22px; height: 22px; }
.card--zigy .chips .i { color: var(--purple); }
.card--zapy .chips .i { color: var(--orange); }
/* speech bubble sits beside the character's head: --bx = gap from the middle, --edge = how far it may reach into the card padding */
.bubble {
  --bx: 46px; --edge: 26px;
  position: absolute; top: 6px; z-index: 2; width: max-content; max-width: min(210px, calc(50% - var(--bx) + var(--edge)));
  padding: 14px 18px; background: var(--white); color: var(--ink); border-radius: 22px; font-size: 21px; line-height: 1.2;
  box-shadow: 0 6px 0 rgba(31, 42, 86, .12); transform: scale(0);
  transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); pointer-events: none;
}
.bubble::after { content: ""; position: absolute; bottom: -14px; border: 10px solid transparent; border-top: 14px solid var(--white); border-bottom: 0; }
.bubble.is-on { transform: scale(1); }
.card--zigy .bubble { right: calc(50% + var(--bx)); transform-origin: 88% 100%; }
.card--zigy .bubble::after { right: 22px; }
.card--zapy .bubble { left: calc(50% + var(--bx)); transform-origin: 12% 100%; }
.card--zapy .bubble::after { left: 22px; }
@keyframes hop { 0% { transform: translateY(0); } 35% { transform: translateY(-46px) rotate(-4deg); } 70% { transform: translateY(0) scale(1.05, .95); } 100% { transform: none; } }

/* ---------- episodes ---------- */
.episodes { position: relative; padding: 0; margin: 20px 0; }
.wave { display: block; width: 100%; height: 70px; fill: var(--teal); }
.wave--top { margin-bottom: -1px; }
.wave--bottom { margin-top: -1px; }
.episodes__bg { background: linear-gradient(180deg, var(--teal), #13add0); padding: 40px 0 60px; }
.episodes__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.arrows { display: flex; gap: 12px; }
/* edge to edge: the rail spans the whole screen width, but cards start (and snap) in line with the page content */
.rail {
  --gutter: max(16px, (100% - 1180px) / 2);
  display: flex; gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 6px 0 22px var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
/* end spacer, so the last card can rest at the same gutter (end padding isn't scrollable in every browser);
   here 100% is the rail's content width, i.e. screen width minus the left gutter */
.rail::after { content: ""; flex: 0 0 max(16px, 100% - 1180px); margin-left: -26px; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-color: var(--yellow); outline-offset: -6px; }
.ep {
  flex: 0 0 min(520px, 80vw);
  scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 30px; box-shadow: 0 10px 0 rgba(8, 101, 125, .35);
}
.ep__img { position: relative; overflow: hidden; }
.ep__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.ep:hover .ep__img img { transform: scale(1.04); }
.ep__num { position: absolute; left: 16px; top: 16px; padding: 9px 14px; border-radius: 14px; background: var(--orange); color: var(--white); font-size: 20px; box-shadow: 0 4px 0 var(--orange-d); }
.ep__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 26px 28px; }
.ep__body h3 { font-size: 32px; }
.ep__body > p:not(.soon) { color: var(--ink-2); }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 14px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); font-size: 19px; }
.soon .i { width: 22px; height: 22px; }
.soon--locked { background: #eef1f8; color: var(--ink-2); }
.ep--locked .ep__img img { filter: blur(10px) saturate(1.3); transform: scale(1.12); }
.ep__lock { position: absolute; inset: 0; display: grid; place-items: center; }
.ep__lock .i { width: 76px; height: 76px; padding: 16px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 6px 0 rgba(31, 42, 86, .2); }
.ep--sub {
  justify-content: center; align-items: center; gap: 10px; padding: 30px; text-align: center; text-decoration: none;
  background: var(--red); color: var(--white); box-shadow: 0 10px 0 var(--red-d);
}
.ep--sub .i { width: 90px; height: 90px; }
.ep--sub strong { font-weight: 700; font-size: 34px; line-height: 1.1; }
.ep--sub span { opacity: .9; }
.ep--sub:hover { filter: brightness(1.05); }

/* ---------- sing along ---------- */
.sing__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 50px; align-items: center; }
.lyrics { margin: 12px 0 30px; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.2; }
.lyrics p + p { margin-top: 8px; }
.js .lyrics .w { opacity: var(--o, .18); transition: opacity .2s linear, color .2s ease; }
.hot { display: inline-block; padding: 0 12px; border-radius: 16px; transition: transform .25s cubic-bezier(.2, 1.6, .4, 1), background .2s ease; }
.hot.w { opacity: var(--o, .18); }
.lyrics .hot.lit { background: var(--yellow); }
.hot--zap.lit, .hot--six.lit { background: var(--orange) !important; color: var(--white); }
.hot.pop { transform: scale(1.18) rotate(-4deg); }
.lyrics.karaoke .w { opacity: .18; }
.lyrics.karaoke .w.lit { opacity: 1; }
.moves { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.move {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 26px; background: var(--white); font-size: 34px;
  box-shadow: 0 8px 0 rgba(31, 42, 86, .1);
}
.move:nth-child(1) { transform: rotate(-2deg); }
.move:nth-child(2) { transform: rotate(1.5deg); }
.move:nth-child(3) { transform: rotate(-1deg); }
.move__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 28px; }
.move .i { width: 40px; height: 40px; color: var(--purple); }
.move--jump { background: var(--yellow); }
.move--jump .move__n { background: var(--orange); }
.move--jump .i { color: var(--orange-d); }
.move.is-now { animation: hop .6s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------- grown-ups ---------- */
.grown { background: var(--white); border-radius: 60px 60px 0 0; }
.grown__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.feats li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
/* two-tone (bulk) icons read best in color on a soft tint, not white on a strong color */
.feat__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; }
.feat__ic .i { width: 36px; height: 36px; }
.feat__ic--teal { background: var(--teal-soft); color: var(--teal-d); box-shadow: 0 5px 0 rgba(11, 138, 166, .22); }
.feat__ic--orange { background: var(--orange-soft); color: var(--orange-d); box-shadow: 0 5px 0 rgba(217, 83, 12, .2); }
.feat__ic--purple { background: var(--purple-soft); color: var(--purple); box-shadow: 0 5px 0 rgba(90, 51, 168, .2); }
.feats h3 { font-size: 28px; margin-bottom: 4px; }
.feats p { color: var(--ink-2); }
.grown__art { position: relative; margin: 0; }
.grown__art img { border-radius: 44px; border: 10px solid var(--white); box-shadow: 0 12px 0 rgba(31, 42, 86, .1), 0 30px 50px rgba(31, 42, 86, .15); transform: rotate(2deg); }
.grown__badge {
  position: absolute; left: -10px; bottom: -22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 18px; background: var(--yellow); font-size: 22px; transform: rotate(-5deg); box-shadow: 0 6px 0 var(--yellow-d);
}
.grown__badge .i { width: 26px; height: 26px; color: var(--orange-d); }

/* ---------- buy us a cake (for grown-ups) ---------- */
.cake { background: var(--white); padding: 10px 0 60px; }
.cake__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px;
  padding: 40px 48px; border-radius: 44px;
  background: radial-gradient(rgba(255, 255, 255, .6) 2px, transparent 2.5px) 0 0 / 22px 22px, linear-gradient(160deg, #fff1f7, #ffcfe3);
  box-shadow: 0 12px 0 #f5a3c6;
}
.cake__art { position: relative; height: 340px; cursor: pointer; }
.cake__svg { position: absolute; left: 50%; bottom: 0; width: min(300px, 70%); height: auto; transform: translateX(-50%); }
.cake__art img { position: absolute; bottom: 0; z-index: 1; height: 62%; width: auto; filter: drop-shadow(0 10px 10px rgba(31, 42, 86, .18)); }
.cake__zigy { left: 0; }
.cake__zapy { right: 0; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .9s ease-in-out infinite alternate; }
.flame.f2 { animation-delay: -.35s; }
.flame.f3 { animation-delay: -.7s; }
@keyframes flicker { from { transform: scale(1, 1) rotate(-4deg); } to { transform: scale(.86, 1.12) rotate(4deg); } }
.tag--pink { background: var(--white); color: #c2185b; box-shadow: 0 4px 0 rgba(194, 24, 91, .12); }
.cake__copy .title { margin: 12px 0 10px; }
.cake__copy > p:not(.tag):not(.cake__note) { color: var(--ink-2); font-size: 21px; }
.btn--pink { --bg: #ff4f93; --fg: var(--white); --b: #c2185b; margin-top: 24px; }
.cake__note { margin-top: 14px; font-size: 16px; color: var(--ink-2); }

/* ---------- follow ---------- */
.follow { background: var(--white); padding-bottom: 300px; }
.socials { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1000px; }
.soc {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 10px;
  border-radius: 26px; color: var(--white); text-decoration: none; font-size: 21px;
  box-shadow: 0 7px 0 rgba(0, 0, 0, .22); transition: transform .15s ease, box-shadow .15s ease;
}
.soc .i { width: 46px; height: 46px; }
.soc:hover { transform: translateY(-5px) rotate(-2deg); box-shadow: 0 12px 0 rgba(0, 0, 0, .22); }
.soc:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
.soc--yt { background: var(--red); }
.soc--tt { background: #121212; }
.soc--ig { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.soc--fb { background: #1877f2; }
.soc--sc { background: #fffc00; color: #121212; }
/* Snapchat's ghost is white with a dark outline, like the real logo */
.soc--sc .i, .fs--sc .i { color: var(--white); stroke: #121212; stroke-width: 1.5px; stroke-linejoin: round; paint-order: stroke; }
.soc--x { background: #121212; }

/* ---------- footer: characters peeking over a wave, then logo + link columns + socials ---------- */
.foot { position: relative; margin-top: -120px; color: #dfe5ff; }
.foot__peek { position: absolute; left: 50%; top: -156px; z-index: 0; display: flex; gap: 4px; transform: translateX(-50%); }
.foot__peek img { width: 165px; transition: transform .35s cubic-bezier(.2, 1.5, .4, 1); }
.foot__peek .peek-zigy { transform: rotate(-6deg) translateY(10px); }
.foot__peek .peek-zapy { transform: rotate(6deg) translateY(16px); }
.foot:hover .foot__peek .peek-zigy { transform: rotate(-3deg) translateY(-12px); }
.foot:hover .foot__peek .peek-zapy { transform: rotate(3deg) translateY(-8px); }
.foot__wave { position: relative; z-index: 1; display: block; width: 100%; height: 90px; margin-bottom: -1px; fill: var(--ink); }
.foot__body { position: relative; z-index: 1; background: var(--ink); padding: 18px 0 0; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; padding-bottom: 44px; }
.foot__logo { display: inline-block; }
.foot__logo img { width: 150px; transition: transform .25s cubic-bezier(.2, 1.5, .4, 1); }
.foot__logo:hover img { transform: rotate(-4deg) scale(1.05); }
.foot__brand p { margin-top: 12px; max-width: 300px; color: #c3cbef; font-size: 18px; }
.foot__h { margin-bottom: 12px; color: var(--white); font-size: 21px; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.foot__col a { color: #dfe5ff; text-decoration: none; font-size: 19px; }
.foot__col a:hover { color: var(--yellow); }
.foot__soc { list-style: none; display: grid; grid-template-columns: repeat(3, 52px); gap: 12px; padding: 0; margin: 2px 0 0; }
.foot__soc a {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--white);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.foot__soc a:hover { transform: translateY(-3px); box-shadow: 0 7px 0 rgba(0, 0, 0, .3); }
.foot__soc a:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.foot__soc .i { width: 28px; height: 28px; }
.fs--yt { background: var(--red); }
.fs--ig { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.fs--fb { background: #1877f2; }
.fs--sc { background: #fffc00; }
.fs--tt, .fs--x { background: #000; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22), 0 4px 0 rgba(0, 0, 0, .3); }
.foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 2px solid rgba(255, 255, 255, .1); }
.foot__bottom p { color: #9aa6d6; font-size: 17px; }
.foot__top { display: inline-flex; align-items: center; gap: 8px; color: #dfe5ff; text-decoration: none; font-size: 18px; }
.foot__top .i { width: 22px; height: 22px; transform: rotate(180deg); }
.foot__top:hover { color: var(--yellow); }

/* ---------- privacy page ---------- */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin: 30px 0 18px; }
.page h2 { font-size: 26px; margin: 30px 0 8px; }
.page p, .page li { color: var(--ink-2); }

/* ---------- 404 page ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; background: linear-gradient(180deg, #bdeeff, var(--sky-3)); padding: 40px 16px; }
.lost img { height: min(320px, 40vh); width: auto; margin: 0 auto 18px; }
.lost h1 { font-size: clamp(40px, 7vw, 64px); }
.lost p { margin: 12px 0 24px; color: var(--ink-2); font-size: 20px; }

/* simple footer for the privacy page */
.mini-foot { background: var(--ink); color: #dfe5ff; padding: 30px 0; }
.mini-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mini-foot a { color: var(--yellow); }

/* ---------- star bursts ---------- */
.burst-layer { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.burst-layer svg { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; fill: currentColor; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .9, .3, 1.2); }
.js .reveal.in { opacity: 1; transform: none; }
.js .move.reveal.in:nth-child(1) { transform: rotate(-2deg); }
.js .move.reveal.in:nth-child(2) { transform: rotate(1.5deg); transition-delay: .1s; }
.js .move.reveal.in:nth-child(3) { transform: rotate(-1deg); transition-delay: .2s; }

/* ---------- type weights (Fredoka 500 / 600 / 700) ---------- */
.pill a, .tag, .card__role, .chips li, .soon, .ep__num, .sheet__nav a, .grown__badge, .tv__sticker,
.ribbon__track span, .foot__col a, .foot__top, .hero__note, .bubble, .move__t, .soc, .sub, .cake__note { font-weight: 600; }
.lyrics, .foot__h, .move__n, .hero h1 .big { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .pill { display: none; }
  .top__watch { margin-left: auto; }
  .top__menu { display: grid; }
  .socials { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 100px 0 150px; text-align: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 6px; }
  .hero__art { order: -1; }
  .hero__logo { width: min(440px, 84vw); }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .sun { width: 84px; height: 84px; top: 96px; right: 4%; }
  .sun__face { transform: scale(.7); transform-origin: 0 0; }
  .t2 { top: 8%; left: 5%; }   /* keep the sparkles in the sky, off the text */
  .t4 { top: 34%; right: 5%; }
  .cards, .sing__grid, .grown__grid { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 70px; }
  .sing__copy { text-align: center; }
  .sing__copy .title--left { text-align: center; }
  .grown__art { max-width: 560px; margin-inline: auto; }
  .ribbon__track span { font-size: 30px; }
  .cake__card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 30px 24px 36px; text-align: center; }
  .cake__copy .title--left { text-align: center; }
  .cake__art { width: min(100%, 480px); height: 280px; margin-inline: auto; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 19px; }
  .top__in { min-height: 72px; }
  .brand img { width: 60px; }
  .top__watch span { display: none; }
  .top__watch { padding: 11px 14px; }
  .hero { margin-top: -72px; padding-top: 86px; }
  .btn { padding: 15px 20px; font-size: 20px; }
  .cta .btn { width: 100%; }
  .ribbons { height: 150px; margin-top: -80px; }
  .ribbon { padding: 12px 0; }
  .ribbon--orange { top: 80px; }
  .ribbon__track span { font-size: 24px; }
  .ribbon__track svg { width: 24px; height: 24px; }
  .tv { padding: 12px; border-radius: 30px; }
  .tv__screen { border-radius: 20px; }
  .tv__sticker { font-size: 20px; left: -6px; top: -22px; }
  .tv__play { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .card { padding: 0 20px 28px; }
  .card__stage { height: 300px; }
  .card__pop img { height: 320px; }
  .bubble { --bx: 0px; --edge: 14px; top: -22px; padding: 12px 16px; font-size: 18px; }
  .episodes__head { flex-direction: column; align-items: flex-start; }
  .ep__body h3 { font-size: 28px; }
  .move { font-size: 28px; padding: 14px 18px; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .foot__peek img { width: 120px; }
  .foot__peek { top: -100px; }
  .foot__grid { gap: 30px 16px; }
  .foot__col:last-child { grid-column: 1 / -1; }
  .foot__logo img { width: 120px; }
  .cake__art { height: 220px; }
  .cake__copy > p:not(.tag):not(.cake__note) { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* sections focused by the in-page links: no outline box around the whole section */
[tabindex="-1"]:focus { outline: none; }
