/* =================================================================
   HAYLEE SHAY — styles
   The page is one day in the meadow:
   sunrise hero → sunny music → singing garden → about → photos
   → sunset shows → starry night footer.
   ================================================================= */

:root {
  color-scheme: light;

  --ink: #2B1B3D;
  --ink-soft: #5E4B73;
  --cream: #FFF8EA;
  --sun: #FFD23F;
  --sun-deep: #FFB31A;
  --orange: #FF8C42;
  --pink: #FF5D8F;
  --coral: #FF6B6B;
  --green: #3BB273;
  --green-deep: #23874F;
  --lime: #A6E36B;
  --sky: #7FD3FF;
  --blue: #4DB8FF;
  --lilac: #B892FF;
  --night: #1B1340;
  --night-top: #261A5C;
  --shadow-night: #0B0720;

  --font-display: "Shrikhand", "Fredoka", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --pop: 4px 5px 0 var(--ink);
  --pop-lg: 7px 9px 0 var(--ink);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 46'%3E%3Cpath d='M0 23C80 0 160 0 240 23C320 46 400 46 480 23V46H0Z'/%3E%3C/svg%3E");
}

/* ─────────────────────────────  base  ───────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 1em; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px dashed var(--pink); outline-offset: 4px; border-radius: 6px; }

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

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: .7em 1.2em; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--sun); font-weight: 600; text-decoration: none;
  box-shadow: var(--pop); transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(90px, 12vw, 150px);
}

/* the rolling wave that tops each colored section */
.wave {
  position: absolute; left: 0; right: 0; top: 1px; height: 46px;
  transform: translateY(-100%);
  background: var(--wave);
  -webkit-mask: var(--wave-mask) repeat-x 0 100% / 480px 46px;
          mask: var(--wave-mask) repeat-x 0 100% / 480px 46px;
  animation: wave-roll 16s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* ─────────────────────────────  type  ───────────────────────────── */

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); }

.kicker {
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.1;
  color: var(--pink);
  transform: rotate(-3deg);
  margin-bottom: .3em;
}
.kicker-light { color: #fff; text-shadow: 2px 2px 0 rgba(43, 27, 61, .35); }
.kicker-glow { color: #E8FF8A; text-shadow: 0 0 18px rgba(232, 255, 138, .7); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: .01em;
}
.title-light {
  color: var(--cream);
  -webkit-text-stroke: .035em var(--ink);
  paint-order: stroke fill;
  text-shadow: .05em .065em 0 var(--ink);
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); margin-top: .8em; }
.lead-light { color: rgba(255, 248, 234, .85); }

/* ─────────────────────────────  buttons  ───────────────────────────── */

.btn {
  --bg: var(--sun);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .85em 1.5em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 600 1.05rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--pop);
  transition: transform .25s var(--bounce), box-shadow .25s var(--bounce);
}
.btn:hover { transform: translate(-2px, -3px) rotate(-1.5deg); box-shadow: 7px 9px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-light { --bg: #fff; }
.btn-pink { --bg: var(--pink); --fg: #fff; }
.btn-green { --bg: var(--green); --fg: #fff; }
.btn-sm { padding: .7em 1.2em; font-size: .98rem; }

.btn-youtube { --bg: var(--coral); --fg: #fff; }
.btn-tiktok { --bg: var(--ink); --fg: #fff; }
.btn-spotify { --bg: var(--green); --fg: #fff; }
.btn-appleMusic { --bg: var(--pink); --fg: #fff; }
.btn-soundcloud { --bg: var(--orange); --fg: #fff; }
.btn-bandcamp { --bg: var(--blue); --fg: #fff; }
.btn-instagram { --bg: var(--lilac); --fg: #fff; }
.btn-facebook { --bg: var(--blue); --fg: #fff; }

/* ─────────────────────────────  nav  ───────────────────────────── */

.progress {
  position: fixed; inset: 0 0 auto; height: 5px; z-index: 60;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--sun), var(--green), var(--blue), var(--lilac));
}

.nav {
  position: fixed;
  z-index: 50;
  top: 14px; left: 14px; right: 14px;
  max-width: 1160px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 248, 234, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
          backdrop-filter: blur(12px) saturate(1.4);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--pop);
  animation: drop-in .9s var(--bounce) .15s both;
}

.nav-brand {
  display: flex; align-items: center; gap: .45em;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
}
.nav-brand svg { width: 32px; height: 32px; animation: spin 16s linear infinite; }
.nav-brand:hover svg { animation-duration: 2s; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-weight: 600;
  text-decoration: none;
  padding: .55em .95em;
  border-radius: 999px;
  transition: background .2s, transform .25s var(--bounce);
}
.nav-links a:hover { background: #fff; transform: translateY(-2px) rotate(-2deg); }
.nav-links a.active { background: var(--sun); }
.nav-links .nav-cta { margin-left: 6px; background: var(--pink); color: #fff; border: 2.5px solid var(--ink); }
.nav-links .nav-cta:hover, .nav-links .nav-cta.active { background: var(--pink); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  cursor: pointer;
  place-content: center;
  gap: 4px;
}
.nav-toggle i { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--bounce), opacity .2s; }
.nav.open .nav-toggle i:nth-of-type(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle i:nth-of-type(2) { opacity: 0; }
.nav.open .nav-toggle i:nth-of-type(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 24px;
    box-shadow: var(--pop);
    transform-origin: top right;
    transform: scale(.6) rotate(-6deg);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--bounce), opacity .2s, visibility .35s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: .7em 1em; font-size: 1.1rem; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ─────────────────────────────  hero  ───────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: max(100svh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #7FD3FF 0%, #A8E1FF 34%, #FFE7B3 72%, #FFCFA8 100%);
}

.layer { position: absolute; inset: 0; pointer-events: none; }

/* sun */
.sun-wrap {
  position: absolute;
  top: clamp(92px, 11vh, 124px);
  right: clamp(16px, 7vw, 130px);
  width: clamp(92px, 13vw, 190px);
  aspect-ratio: 1;
  animation: sun-rise 2.4s cubic-bezier(.2, .8, .2, 1) both;
}
.sunburst {
  position: absolute;
  inset: -170%;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .34) 0deg 7deg, transparent 7deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 62%);
          mask: radial-gradient(circle, #000 12%, transparent 62%);
  animation: spin 110s linear infinite;
}
.sun {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 34% 30%, #FFF6B8 0%, var(--sun) 46%, var(--sun-deep) 100%);
  box-shadow: inset -8px -10px 0 rgba(255, 140, 66, .35);
  pointer-events: auto;
  cursor: pointer;
}
.sun::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 90, .65), rgba(255, 220, 90, 0) 66%);
  animation: glow 4.5s ease-in-out infinite;
}
.sun-face { position: absolute; inset: 0; }
.sun-face .eyes { transform-origin: 50px 45px; animation: blink 5.5s infinite; }
.sun.boing { animation: giggle .9s ease-in-out; }

/* clouds */
.cloud {
  position: absolute;
  left: 0;
  top: var(--top);
  width: var(--w);
  height: calc(var(--w) * .3);
  border-radius: 999px;
  background: #fff;
  opacity: var(--o, .95);
  filter: drop-shadow(0 6px 0 rgba(43, 27, 61, .07));
  animation: drift var(--dur) linear var(--delay) infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.cloud::before { width: 48%; aspect-ratio: 1; left: 16%; bottom: 28%; }
.cloud::after { width: 34%; aspect-ratio: 1; right: 16%; bottom: 22%; }

/* hills */
.hill { position: absolute; bottom: 0; left: -40px; width: calc(100% + 80px); }
.hill-back { height: clamp(190px, 38vh, 380px); fill: #C4EF91; }
.hill-mid { height: clamp(140px, 28vh, 290px); fill: #7DD97F; }

.pollen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* hero copy */
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 140px 20px clamp(190px, 27vh, 290px);
}
.hero-kicker {
  display: inline-block;
  padding: .25em 1em;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 4px 0 var(--ink);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  rotate: -4deg;
  animation: pop-in .8s var(--bounce) .2s both;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.7rem, 13vw, 10rem);
  line-height: .98;
  letter-spacing: .01em;
  margin: .18em 0 .12em;
}
.hero-title .word { display: inline-block; white-space: nowrap; margin-inline: .1em; }
.ltr {
  display: inline-block;
  color: var(--c);
  animation:
    letter-in 1s var(--bounce) calc(.35s + var(--i) * .07s) both,
    letter-float 3.4s ease-in-out calc(1.7s + var(--i) * .14s) infinite;
}
.ltr > span {
  display: inline-block;
  -webkit-text-stroke: .045em var(--ink);
  paint-order: stroke fill;
  text-shadow: .05em .065em 0 var(--ink);
  cursor: default;
}
.ltr > span.boing { animation: rubber .9s both; }

.hero-tagline {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1.1em;
  animation: fade-up .9s ease 1.3s both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  animation: fade-up .9s ease 1.5s both;
}

/* meadow: flowers, ground, grass */
.meadow { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.flowers { position: absolute; inset: 0; }
.flower {
  position: absolute;
  bottom: var(--b);
  width: var(--s);
  margin-left: calc(var(--s) / -2);
  transform-origin: 50% 100%;
  animation: sway var(--sway) ease-in-out var(--delay) infinite alternate;
}
.flower .head {
  position: relative;
  z-index: 1;
  width: var(--s);
  height: var(--s);
  pointer-events: auto;
  cursor: pointer;
  transition: transform .3s var(--bounce);
}
.flower .head:hover { transform: scale(1.15); }
.flower .head svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.flower .head.boing { animation: boing .65s var(--bounce); }
.stem {
  position: relative;
  display: block;
  width: 4px;
  height: var(--h);
  margin: -8px auto 0;
  border-radius: 4px;
  background: linear-gradient(var(--green), var(--green-deep));
}
.stem::before, .stem::after {
  content: "";
  position: absolute;
  width: 18px; height: 9px;
  background: var(--green);
}
.stem::before { top: 42%; left: 3px; border-radius: 0 100% 0 100%; transform: rotate(-24deg); transform-origin: left center; }
.stem::after { top: 64%; right: 3px; border-radius: 100% 0 100% 0; transform: rotate(24deg); transform-origin: right center; }

.ground { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(80px, 12vh, 120px); fill: var(--green); z-index: 2; }
.grass-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.grass { width: 100%; height: 64px; }
.grass path { transform-box: fill-box; transform-origin: 50% 100%; animation: blade 3.2s ease-in-out var(--d) infinite alternate; }

.butterflies { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.butterfly { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; will-change: transform; }
.butterfly svg { width: 100%; height: 100%; }
.butterfly .wings { animation: flap var(--flap, .22s) ease-in-out infinite alternate; }

/* ─────────────────────────────  marquee  ───────────────────────────── */

.marquee-zone { position: relative; z-index: 8; height: 0; overflow-x: clip; }
.band {
  position: absolute;
  left: -5%;
  width: 110%;
  overflow: hidden;
  padding: 12px 0;
  border-block: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  white-space: nowrap;
}
.band-a { top: -46px; background: var(--sun); transform: rotate(-2.2deg); }
.band-b { top: -40px; background: var(--pink); color: #fff; transform: rotate(1.8deg); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.band-b .marquee-track { animation-direction: reverse; animation-duration: 50s; }
.marquee-group { display: flex; align-items: center; }
.marquee-item { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; }
.marquee-item svg { width: 1.1em; height: 1.1em; }

/* ─────────────────────────────  music  ───────────────────────────── */

.music { background: var(--cream); padding-top: clamp(150px, 17vw, 200px); overflow-x: clip; }

.glow {
  position: absolute;
  z-index: 0;
  width: 46vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  animation: glow-drift 22s ease-in-out infinite alternate;
}
.glow-1 { top: 2%; left: -16vmax; background: radial-gradient(circle, rgba(255, 210, 63, .38), transparent 68%); }
.glow-2 { top: 34%; right: -18vmax; background: radial-gradient(circle, rgba(255, 93, 143, .22), transparent 68%); animation-delay: -7s; }
.glow-3 { bottom: -18vmax; left: 22%; background: radial-gradient(circle, rgba(77, 184, 255, .2), transparent 68%); animation-delay: -14s; }

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.record-stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 14 / 10;
  margin-inline: auto;
}
.cover {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  aspect-ratio: 1;
  z-index: 2;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--pop-lg);
  background: var(--sun);
  rotate: -3deg;
  transition: rotate .5s var(--bounce), translate .5s var(--bounce);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.record-stage:hover .cover { rotate: -6deg; translate: -3% 0; }

.vinyl-slot {
  position: absolute;
  top: 4%;
  left: 10%;
  width: 66%;
  aspect-ratio: 1;
  z-index: 1;
  border-radius: 50%;
  transition: transform .8s var(--bounce);
}
.record-stage.is-in .vinyl-slot { transform: translateX(20%) rotate(6deg); transition-delay: .5s; }
.record-stage:hover .vinyl-slot { transform: translateX(37%) rotate(12deg); transition-delay: 0s; }
.vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background:
    radial-gradient(circle, #FFF8EA 0 3%, var(--pink) 3.5% 29%, var(--sun) 29.5% 31%, #1C1430 31.5% 33%, transparent 33.5%),
    repeating-radial-gradient(circle, #2B2042 0 2px, #1C1430 2px 4px);
  animation: spin 5s linear infinite;
}
.vinyl-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 30deg, rgba(255, 255, 255, .2) 45deg, transparent 60deg 200deg, rgba(255, 255, 255, .14) 220deg, transparent 240deg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .35em 1em;
  background: var(--green);
  color: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }

.featured-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1;
  margin: .3em 0 .25em;
}
.featured-blurb { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }
.stream-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

.embeds { display: grid; gap: 24px; max-width: 860px; margin: clamp(48px, 7vw, 80px) auto 0; }
.embeds:empty { display: none; }
.embed {
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--pop-lg);
  background: var(--ink);
}
.embed iframe { display: block; width: 100%; border: 0; }
.embed-video iframe { aspect-ratio: 16 / 9; height: auto; }
.embed-spotify iframe { height: 152px; }

/* song cards (shown once tracks are added in content.js) */
.tracks-head { margin: clamp(70px, 9vw, 110px) 0 26px; }
.tracks-head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.track {
  display: block;
  padding: 12px 12px 16px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--pop);
  text-decoration: none;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .3s var(--bounce), box-shadow .3s;
}
.track:hover { --lift: -6px; box-shadow: 8px 12px 0 var(--ink); }
.track-art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.track-art::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .22) 0 10deg, transparent 10deg 20deg);
  animation: spin 30s linear infinite;
}
.track-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track-art .motif { position: relative; width: 58%; transition: transform .5s var(--bounce); }
.track:hover .motif { transform: scale(1.12) rotate(-10deg); }
.track-play {
  position: absolute;
  right: 10px; bottom: 10px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  transform: scale(0) rotate(-90deg);
  transition: transform .35s var(--bounce);
}
.track-play svg { width: 20px; margin-left: 3px; }
.track:hover .track-play { transform: none; }
@media (hover: none) { .track-play { transform: none; } }
.track-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 6px 0; }
.track-title { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.track-note { font-size: .88rem; color: var(--ink-soft); }
.track .eq { color: var(--pink); opacity: 0; transition: opacity .2s; }
.track:hover .eq { opacity: 1; }

/* ─────────────────────────────  garden  ───────────────────────────── */

.garden {
  --wave: #D4F5C4;
  background: linear-gradient(180deg, #D4F5C4 0%, #B9EDA3 100%);
  padding-bottom: 0;
  overflow-x: clip;
}
.garden .section-head { margin-bottom: 20px; }

.garden-bed {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2px, 1.6vw, 24px);
  width: min(920px, 100% - 16px);
  height: clamp(250px, 32vw, 340px);
  margin: 0 auto -26px;
  touch-action: pan-y;
  -webkit-user-select: none;
          user-select: none;
}
.g-flower {
  position: relative;
  flex: 1 1 0;
  max-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-origin: 50% 100%;
  animation: sway-soft 3.4s ease-in-out var(--delay) infinite alternate;
  -webkit-tap-highlight-color: transparent;
}
.g-flower:focus-visible { outline: none; }
.g-flower:focus-visible .g-head { outline: 3px dashed var(--ink); outline-offset: 2px; border-radius: 50%; }
.g-head { display: block; width: min(100%, 92px); aspect-ratio: 1; transition: transform .25s var(--bounce); }
.g-head svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.g-flower:hover .g-head { transform: scale(1.1) rotate(-8deg); }
.g-flower.boing .g-head { animation: boing .65s var(--bounce); }
.g-flower.boing .g-stem { animation: squash .5s var(--bounce); }
.g-stem {
  position: relative;
  width: 7px;
  height: var(--h);
  margin-top: -10px;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  background: var(--green);
  transform-origin: bottom;
}
.g-stem::before {
  content: "";
  position: absolute;
  top: 36%;
  left: 3px;
  width: 22px; height: 12px;
  border: 2.5px solid var(--ink);
  border-radius: 0 100% 0 100%;
  background: var(--lime);
  transform: rotate(-22deg);
  transform-origin: left center;
}

.garden-ground {
  position: relative;
  z-index: 2;
  height: 130px;
  margin-inline: -40px;
  background: var(--green);
  border-top: 3px solid var(--ink);
  border-radius: 50% 50% 0 0 / 46px 46px 0 0;
}
.garden-keys {
  display: none;
  justify-content: center;
  gap: clamp(2px, 1.6vw, 24px);
  width: min(920px, 100% - 96px);
  margin: 0 auto;
  padding-top: 18px;
}
.garden-keys kbd {
  flex: 1 1 0;
  max-width: 100px;
  text-align: center;
  font: 600 .85rem/1 var(--font-body);
  color: rgba(255, 255, 255, .85);
}
.garden-keys kbd span {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  transition: transform .2s var(--bounce), background .2s;
}
.garden-keys kbd.boing span { transform: scale(1.3); background: rgba(255, 255, 255, .3); }
@media (hover: hover) and (pointer: fine) { .garden-keys { display: flex; } }

/* ─────────────────────────────  about  ───────────────────────────── */

.about { --wave: #FFE3EC; background: #FFE3EC; overflow-x: clip; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.portrait { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.portrait-ring {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  max-width: none;
  overflow: visible;
  font-family: var(--font-display);
  font-size: 19px;
  fill: var(--ink);
  animation: spin 30s linear infinite;
}
.portrait-blob {
  position: absolute;
  inset: 9%;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  box-shadow: var(--pop-lg);
  background: linear-gradient(140deg, var(--sun), var(--orange) 50%, var(--pink));
  animation: morph 12s ease-in-out infinite;
}
.portrait-blob img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 38%; }
.portrait-art { position: absolute; inset: 0; display: grid; place-items: center; }
.portrait-art svg { width: 62%; animation: spin 30s linear infinite; }

.sticker { position: absolute; width: clamp(64px, 9vw, 96px); animation: float 5s ease-in-out infinite; }
.sticker svg { width: 100%; height: auto; filter: drop-shadow(3px 4px 0 rgba(43, 27, 61, .25)); }
.sticker-sun { top: -9%; right: -9%; }
.sticker-note { bottom: -7%; left: -8%; width: clamp(54px, 7vw, 78px); animation-delay: -1.6s; }
.sticker-heart { bottom: -6%; right: -5%; width: clamp(46px, 6vw, 64px); animation-delay: -3.1s; }

.about-body { font-size: 1.15rem; margin-top: 1em; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6em 0 0; padding: 0; list-style: none; }
.tag {
  padding: .35em 1em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--sun);
  font-weight: 600;
  rotate: -2deg;
  transition: transform .25s var(--bounce);
}
.tag:nth-child(4n+2) { background: #BDE6FF; rotate: 2deg; }
.tag:nth-child(4n+3) { background: var(--lime); rotate: -1deg; }
.tag:nth-child(4n+4) { background: #E2D2FF; rotate: 2.5deg; }
.tag:hover { transform: scale(1.1) rotate(-3deg); }

/* ─────────────────────────────  photos · clothesline  ───────────────────────────── */

.photos { --wave: #D6F0FF; background: linear-gradient(180deg, #D6F0FF, #EAF7FF); overflow-x: clip; }
.photos .section-head { margin-bottom: clamp(20px, 3vw, 40px); }

.clothesline { display: grid; gap: clamp(10px, 2vw, 30px); }
.line {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 20px 40px;
}
.line::-webkit-scrollbar { display: none; }
.line-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(26px, 3.5vw, 48px);
  width: max-content;
  margin-inline: auto;
  padding: 26px clamp(10px, 3vw, 40px) 0;
}
.line-track::before {
  content: "";
  position: absolute;
  left: -60px; right: -60px; top: 14px;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #8A5A3B 0 7px, #A87650 7px 12px);
}

.snap {
  position: relative;
  flex: none;
  margin: 0;
  scroll-snap-align: center;
  transform-origin: 50% -12px;
  rotate: var(--r, 0deg);
  animation: hang var(--sway, 4s) ease-in-out var(--delay, 0s) infinite alternate;
}
.snap-pin {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -22px;
  width: 14px; height: 34px;
  margin-left: -7px;
  border: 2.5px solid var(--ink);
  border-radius: 5px;
  background: var(--pin, var(--pink));
}
.snap-pin::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; top: 13px;
  height: 3px;
  border-radius: 2px;
  background: rgba(43, 27, 61, .35);
}
.snap-card {
  display: block;
  width: var(--w, 220px);
  padding: 12px 12px 0;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 5px 7px 0 rgba(43, 27, 61, .9);
  cursor: zoom-in;
  text-align: center;
  transition: transform .35s var(--bounce), box-shadow .35s var(--bounce);
}
.snap-card:hover, .snap-card:focus-visible { transform: scale(1.06) rotate(calc(var(--r, 0deg) * -1)) translateY(8px); box-shadow: 9px 13px 0 rgba(43, 27, 61, .9); }
.snap-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: #EEE;
}
.snap.wide .snap-card { --w: 300px; }
.snap.wide .snap-card img { aspect-ratio: 4 / 3; }
.snap-caption {
  display: block;
  padding: .35em .2em .5em;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.15;
}

@media (max-width: 600px) {
  .snap-card { --w: 190px; }
  .snap.wide .snap-card { --w: 250px; }
}

/* lightbox */
.lightbox {
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(27, 19, 64, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox figure {
  margin: 0;
  padding: 14px 14px 0;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 10px 0 var(--ink);
  max-width: min(92vw, 1000px);
  animation: pop-in .45s var(--bounce);
}
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 74vh; margin-inline: auto; border: 2px solid var(--ink); }
.lightbox figcaption { padding: .4em 0 .55em; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 3px 4px 0 var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--bounce);
}
.lb-btn:hover { transform: scale(1.1) rotate(-6deg); }
.lb-close { top: 20px; right: 20px; background: #fff; font-size: 1.2rem; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ─────────────────────────────  shows · sunset  ───────────────────────────── */

.shows {
  --wave: #FFB067;
  background: linear-gradient(180deg, #FFB067 0%, #FF8A7A 38%, #E95C9C 68%, #8D5BD8 100%);
  padding-bottom: clamp(190px, 22vw, 280px);
  overflow-x: clip;
}
.sunset {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: clamp(30px, 6vw, 90px);
  width: clamp(280px, 44vw, 600px);
  aspect-ratio: 1;
  margin-left: calc(clamp(280px, 44vw, 600px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FFF3B0, #FFCB45 45%, #FF8A3D 100%);
  box-shadow: 0 0 120px 40px rgba(255, 196, 90, .4);
  -webkit-mask: linear-gradient(#000 0 54%, transparent 54% 57%, #000 57% 65%, transparent 65% 69%, #000 69% 76%, transparent 76% 81%, #000 81% 86%, transparent 86% 92%, #000 92%);
          mask: linear-gradient(#000 0 54%, transparent 54% 57%, #000 57% 65%, transparent 65% 69%, #000 69% 76%, transparent 76% 81%, #000 81% 86%, transparent 86% 92%, #000 92%);
  animation: sunset-bob 10s ease-in-out infinite;
}
.shows-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.shows-main { display: grid; gap: 22px; }
.show-list { display: grid; gap: 18px; }

.ticket {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 26px);
  padding: 14px clamp(14px, 3vw, 22px) 14px 0;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 6px 0 var(--ink);
  transition: transform .3s var(--bounce);
}
.ticket:hover { transform: rotate(-1deg) scale(1.02); }
.ticket-date {
  display: grid;
  justify-items: center;
  min-width: 92px;
  padding: 4px clamp(14px, 2.5vw, 22px);
  border-right: 3px dashed var(--ink);
  line-height: 1;
}
.t-month { font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.t-day { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.15; }
.t-dow { font-size: .8rem; color: var(--ink-soft); }
.ticket h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.ticket p { color: var(--ink-soft); }
.t-soon { font-family: var(--font-hand); font-weight: 700; font-size: 1.3rem; color: var(--pink); }

.card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
}
.shows-empty { text-align: center; }
.shows-empty h3, .booking-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.shows-empty p, .booking-card p { color: var(--ink-soft); margin: .6em auto 1.3em; max-width: 42ch; }
.shows-empty .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.sprout { width: 110px; margin: -6px auto 6px; overflow: visible; }
.sprout-stem { stroke-dasharray: 70; stroke-dashoffset: 70; }
.sprout-leaf { transform: scale(0); }
.sprout-leaf.l { transform-origin: 61px 62px; }
.sprout-leaf.r { transform-origin: 62px 52px; }
.is-in .sprout-stem { animation: draw 1s ease .3s forwards; }
.is-in .sprout-leaf.l { animation: leaf-pop .7s var(--bounce) 1.1s forwards, leaf-sway 3s ease-in-out 2s infinite alternate; }
.is-in .sprout-leaf.r { animation: leaf-pop .7s var(--bounce) 1.3s forwards, leaf-sway 3.4s ease-in-out 2.2s infinite alternate-reverse; }

.booking-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px clamp(20px, 3vw, 30px);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
}
.booking-card[hidden] { display: none; }
.booking-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
.booking-card p { margin: .2em 0 0; color: var(--ink); }

.shows-photo { margin: 0; position: relative; justify-self: center; width: min(100%, 340px); rotate: 4deg; }
.shows-photo[hidden] { display: none; }
.shows-photo .snap-card { --w: 100%; cursor: default; }
.shows-photo .snap-card:hover { transform: rotate(-4deg) scale(1.03); }
.shows-photo img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
.tape {
  position: absolute;
  z-index: 2;
  top: -16px;
  left: 50%;
  width: 110px; height: 32px;
  margin-left: -55px;
  background: rgba(255, 210, 63, .78);
  border: 2px solid rgba(43, 27, 61, .3);
  rotate: -5deg;
}

.dusk-hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(130px, 16vw, 230px); z-index: 1; }

/* ─────────────────────────────  night  ───────────────────────────── */

.night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  background: linear-gradient(180deg, var(--night-top) 0%, var(--night) 55%, #120C2E 100%);
}
.night-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.moon {
  position: absolute;
  z-index: 1;
  top: clamp(30px, 6vw, 70px);
  right: clamp(20px, 10vw, 170px);
  width: clamp(76px, 10vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 36% 32%, #FFFDF0, #FFF1B8 58%, #F3D677);
  box-shadow: 0 0 40px 10px rgba(255, 241, 184, .3), 0 0 130px 40px rgba(255, 241, 184, .14);
  animation: float 8s ease-in-out infinite;
}
.moon svg { position: absolute; inset: 0; }
.zzz {
  position: absolute;
  top: 0; right: -6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  opacity: 0;
  animation: zzz 4.5s ease-out infinite;
}
.zzz:nth-of-type(2) { animation-delay: 1.5s; font-size: 1.05rem; }
.zzz:nth-of-type(3) { animation-delay: 3s; font-size: .85rem; }

.connect {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(110px, 13vw, 170px) 20px 70px;
  max-width: 900px;
  margin: 0 auto;
}
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2.2em; }
.social {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .85em 1.4em;
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 5px 0 var(--shadow-night);
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--bounce), box-shadow .25s, background .25s;
}
.social svg { width: 1.35em; height: 1.35em; }
.social:hover {
  transform: translateY(-4px) rotate(-2deg);
  background: #F4FFC4;
  box-shadow: 0 0 34px 6px rgba(232, 255, 138, .45), 6px 8px 0 var(--shadow-night);
}
.social-book { background: var(--sun); }

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
  padding: 30px 0 110px;
  border-top: 2px dashed rgba(255, 248, 234, .25);
  color: rgba(255, 248, 234, .72);
  font-size: .95rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); text-decoration: none; }
.to-top { text-decoration: none; font-weight: 600; color: var(--sun); }
.to-top:hover { text-decoration: underline; text-underline-offset: 4px; }

.night-grass { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.night-grass .grass { height: 80px; }

/* ─────────────────────────────  reveal on scroll  ───────────────────────────── */

html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(36px); }
html.js [data-reveal="pop"]:not(.is-in) { transform: scale(.8) rotate(-6deg); }
[data-reveal] { transition: opacity .8s ease var(--d, 0s), transform .9s var(--bounce) var(--d, 0s); }

/* ─────────────────────────────  click & cursor sparkles  ───────────────────────────── */

.fx-layer { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.fx { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.fx-petal {
  width: 13px; height: 13px;
  margin: -6px 0 0 -6px;
  background: var(--c);
  border: 1.5px solid var(--ink);
  border-radius: 0 70% 0 70%;
  animation: burst .95s cubic-bezier(.2, .7, .3, 1) forwards;
}
.fx-note {
  margin: -12px 0 0 -6px;
  font: 700 22px/1 var(--font-body);
  color: var(--c);
  -webkit-text-stroke: 1.2px var(--ink);
  animation: burst 1.05s cubic-bezier(.2, .7, .3, 1) forwards;
}
.fx-float {
  margin: -16px 0 0 -10px;
  font: 700 30px/1 var(--font-body);
  color: var(--c);
  -webkit-text-stroke: 1.5px var(--ink);
  animation: float-up 1.4s ease-out forwards;
}
.fx-spark {
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  background: var(--c);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: spark .8s ease-out forwards;
}

/* ─────────────────────────────  responsive  ───────────────────────────── */

@media (max-width: 900px) {
  .featured, .about-grid, .shows-grid { grid-template-columns: 1fr; }
  .featured-info { text-align: center; }
  .featured-blurb { margin-inline: auto; }
  .stream-row { justify-content: center; }
  .about-copy { text-align: center; }
  .tags { justify-content: center; }
  .portrait { width: min(84%, 420px); }
  .shows-photo { width: min(88%, 380px); }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero-content { padding: 160px 16px 190px; }
  .btn { padding: .8em 1.25em; }
  .ticket { grid-template-columns: auto minmax(0, 1fr); }
  .ticket > :last-child { grid-column: 1 / -1; justify-self: start; margin-left: 16px; }
  .footer { justify-content: center; text-align: center; }
}

/* ─────────────────────────────  keyframes  ───────────────────────────── */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-140%); } to { opacity: 1; transform: none; } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sun-rise { from { opacity: 0; transform: translateY(70%) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes giggle {
  0%, 100% { transform: rotate(0) scale(1); }
  15% { transform: rotate(-14deg) scale(1.1); }
  30% { transform: rotate(11deg) scale(.95); }
  45% { transform: rotate(-8deg) scale(1.05); }
  60% { transform: rotate(5deg); }
  75% { transform: rotate(-2deg); }
}
@keyframes drift { from { transform: translateX(-110%); } to { transform: translateX(100vw); } }
@keyframes letter-in {
  0% { opacity: 0; transform: translateY(-120%) rotate(-25deg) scale(.4); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes letter-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-.06em) rotate(2deg); } }
@keyframes rubber {
  0% { transform: scale(1); }
  30% { transform: scale(1.25, .75); }
  40% { transform: scale(.75, 1.25); }
  50% { transform: scale(1.15, .85); }
  65% { transform: scale(.95, 1.05); }
  75% { transform: scale(1.05, .95); }
  100% { transform: scale(1); }
}
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes sway-soft { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes blade { from { transform: rotate(-5deg); } to { transform: rotate(6deg); } }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.22); } }
@keyframes boing {
  0% { transform: scale(1); }
  25% { transform: scale(1.38) rotate(-14deg); }
  50% { transform: scale(.88) rotate(8deg); }
  75% { transform: scale(1.1) rotate(-4deg); }
  100% { transform: scale(1); }
}
@keyframes squash { 0%, 100% { transform: scaleY(1); } 35% { transform: scaleY(.86); } 65% { transform: scaleY(1.06); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wave-roll { to { -webkit-mask-position: 480px 100%; mask-position: 480px 100%; } }
@keyframes glow-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vmax, -4vmax) scale(1.15); } }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 63% 37% 44% 56% / 53% 61% 39% 47%; }
  66% { border-radius: 38% 62% 51% 49% / 64% 38% 62% 36%; }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes hang { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes sunset-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(18px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes leaf-pop { to { transform: scale(1); } }
@keyframes leaf-sway { from { transform: scale(1) rotate(-6deg); } to { transform: scale(1) rotate(6deg); } }
@keyframes zzz {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(26px, -54px) scale(1.2) rotate(12deg); }
}
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) scale(.2) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s, 1)) rotate(var(--rot)); }
}
@keyframes float-up {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  15% { opacity: 1; transform: translate(0, -20px) scale(1.15); }
  100% { opacity: 0; transform: translate(var(--dx, 0), -150px) rotate(var(--rot, 0deg)) scale(.9); }
}
@keyframes spark {
  0% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: translateY(26px) scale(.2) rotate(var(--rot, 90deg)); }
}

/* ─────────────────────────────  reduced motion  ───────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}
