* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #f9edd6;
  background: url("images/indexbg.png") no-repeat center center fixed;
  background-size: cover;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

body.opening-scroll-locked {
  position: fixed;
  inset: 0;
  overflow: hidden;
  width: 100%;
  touch-action: none;
}

img {
  max-width: 100%;
}

.landing-page {
  width: 100%;
  overflow: hidden;
}

.opening-mobile {
  position: relative;
  min-height: 100svh;
  margin-bottom: clamp(4rem, 12svh, 9rem);
  overflow: hidden;
  isolation: isolate;
}

.curtain-stage {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
}

.curtain-piece {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.34));
  will-change: transform, opacity;
}

.curtain-slide {
  z-index: 4;
  top: 0;
  width: 82%;
  height: 100%;
  object-fit: cover;
}

.curtain-slide-left {
  left: -18%;
  object-position: left center;
}

.curtain-slide-right {
  right: -18%;
  object-position: right center;
  transform: scaleX(-1);
}

.curtain-up {
  top: 0;
  left: 0;
  z-index: 7;
  width: 100%;
  height: clamp(170px, 31vw, 380px);
  object-fit: fill;
  object-position: top center;
}

.curtain-left,
.curtain-right {
  top: -12%;
  z-index: 6;
  width: min(54vw, 640px);
  height: 126%;
  object-fit: fill;
  filter:
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.42)) saturate(1.08) contrast(1.03);
}

.curtain-left {
  left: clamp(-220px, -14vw, -110px);
}

.curtain-right {
  right: clamp(-220px, -14vw, -110px);
}

.curtain-open-button {
  position: absolute;
  left: 50%;
  top: clamp(130px, 24svh, 230px);
  z-index: 8;
  --button-string-overlap: clamp(18px, 3vw, 34px);
  width: clamp(150px, 22vw, 260px);
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.34));
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(-50%);
  transform-origin: 50% -120px;
  animation: curtainButtonDrop 900ms cubic-bezier(.18, .89, .32, 1.18) 180ms both;
  transition: filter 180ms ease;
}

.curtain-open-button img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.curtain-button-string {
  position: absolute;
  left: 50%;
  bottom: calc(100% - var(--button-string-overlap));
  z-index: 0;
  width: 18px;
  height: calc(clamp(125px, 24svh, 230px) + var(--button-string-overlap));
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      rgba(250, 230, 184, 0.9),
      rgba(175, 134, 70, 0.82));
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.2),
    -1px 0 0 rgba(0, 0, 0, 0.16),
    3px 4px 0 rgba(24, 18, 15, 0.42);
  clip-path: polygon(44% 0, 56% 0, 56% 100%, 44% 100%);
  transform: translateX(-50%);
  transform-origin: top center;
}

.curtain-open-button.string-wiggle .curtain-button-string {
  animation: stringWiggleCurve 620ms cubic-bezier(.2, 1.45, .35, 1);
}

.curtain-open-button:hover,
.curtain-open-button:focus-visible {
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.42));
  transform: translateX(-50%) translateY(-2px);
}

.curtain-stage.is-open .curtain-open-button {
  pointer-events: none;
  animation: curtainButtonFall 700ms cubic-bezier(.45, 0, .88, .3) forwards;
}

.curtain-stage.is-open .curtain-button-string {
  animation: curtainButtonStringBreak 360ms ease-in forwards;
}

.curtain-stage.is-open .curtain-slide-left {
  animation: curtainSlideLeftOpen 1100ms cubic-bezier(.7, 0, .32, 1) 600ms forwards;
}

.curtain-stage.is-open .curtain-slide-right {
  animation: curtainSlideRightOpen 1100ms cubic-bezier(.7, 0, .32, 1) 600ms forwards;
}

.curtain-stage.is-open .curtain-up {
  animation: curtainLift 1200ms cubic-bezier(.34, 1, .28, 1) 1600ms forwards;
}

.mobile-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.dont-touch-callout {
  position: fixed;
  left: 0;
  bottom: clamp(18px, 4svh, 44px);
  z-index: 18;
  width: clamp(150px, 24vw, 280px);
  max-width: 48vw;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-115%) rotate(-4deg);
  filter: drop-shadow(0 12px 15px rgba(0, 0, 0, 0.32));
  will-change: transform, opacity;
}

.dont-touch-callout.is-showing {
  animation: dontTouchSlide 1800ms cubic-bezier(.18, .89, .32, 1.05) both;
}

.scroll-banner-divider {
  position: sticky;
  top: 0;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(72px, 10svh, 104px);
  margin-top: 0;
  pointer-events: none;
  --unroll-progress: 0;
  --banner-width: 18%;
  --banner-left: calc(50% - min(50vw, 490px));
  --banner-right: calc(var(--banner-left) + var(--banner-render-width));
  --banner-render-width: 18vw;
  --banner-link-opacity: 0;
  --banner-link-lift: 12px;
  --roller-opacity: 0;
  --roller-rotation: 0deg;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.3));
}

.banner-scroll {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  width: min(var(--banner-width), 980px);
  height: clamp(42px, 6svh, 64px);
  margin-left: var(--banner-left);
  margin-right: auto;
  overflow: hidden;
  border: 2px solid rgba(102, 53, 28, 0.65);
  border-inline-width: 0;
  color: #4b2417;
  background:
    linear-gradient(90deg, rgba(116, 56, 31, 0.2), transparent 9% 91%, rgba(116, 56, 31, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 7px, rgba(0, 0, 0, 0.04) 7px 14px),
    #f3d18b;
  box-shadow:
    0 2px 0 rgba(255, 248, 215, 0.5) inset,
    0 -3px 0 rgba(129, 67, 34, 0.3) inset;
  opacity: clamp(0, var(--unroll-progress), 1);
  transform-origin: left center;
}

.banner-scroll a {
  flex: 0 0 auto;
  color: inherit;
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  opacity: var(--banner-link-opacity);
  transform: translateY(var(--banner-link-lift));
}

.banner-scroll a:hover,
.banner-scroll a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.banner-roller {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: clamp(18px, 3vw, 30px);
  height: clamp(58px, 8svh, 84px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, #ffefb6, #c37b37 46%, #5c2a17 100%);
  box-shadow:
    0 0 0 3px rgba(73, 34, 18, 0.28),
    0 8px 12px rgba(0, 0, 0, 0.24);
  opacity: var(--roller-opacity);
  transform: translateY(-50%) rotate(var(--roller-rotation));
}

.banner-roller-left {
  left: calc(var(--banner-left) - clamp(8px, 1.5vw, 14px));
}

.banner-roller-right {
  left: calc(var(--banner-right) - clamp(10px, 1.6vw, 16px));
}

.scroll-banner-divider.is-ready {
  pointer-events: auto;
}

.landing-links {
  position: relative;
  z-index: 1;
  min-height: 220svh;
  padding: clamp(8rem, 18svh, 14rem) clamp(1rem, 5vw, 5rem) clamp(9rem, 16svh, 13rem);
}

.paint-scroll-section {
  overflow: hidden;
}

.paint-splotch {
  position: absolute;
  left: var(--splotch-x);
  top: var(--splotch-y);
  z-index: 0;
  width: var(--splotch-size);
  aspect-ratio: 1;
  opacity: 0;
  transform:
    translate(
      calc(-50% + var(--splotch-offset-x, 0px)),
      calc(-50% + var(--splotch-offset-y, 0px))
    )
    rotate(var(--splotch-rotate, 0deg))
    scale(var(--splotch-scale, 0.2));
  transform-origin: center;
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.24))
    saturate(1.08);
  pointer-events: none;
  will-change: opacity, transform;
}

.paint-splotch::before,
.paint-splotch::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.paint-splotch::before {
  inset: 18% 16% 17% 18%;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.2) 0 5%, transparent 6%),
    radial-gradient(circle at 63% 34%, rgba(255, 255, 255, 0.14) 0 7%, transparent 8%),
    radial-gradient(circle at 38% 67%, rgba(0, 0, 0, 0.12) 0 10%, transparent 11%),
    var(--splotch-color);
  border-radius: 54% 46% 59% 41% / 45% 62% 38% 55%;
  box-shadow:
    -18px 14px 0 -5px var(--splotch-color),
    20px -12px 0 -7px var(--splotch-color),
    26px 23px 0 -12px var(--splotch-color),
    -25px -20px 0 -13px var(--splotch-color),
    0 0 0 1px rgba(0, 0, 0, 0.04) inset;
  opacity: 0.94;
  transform:
    rotate(var(--splotch-inner-rotate, 8deg))
    scaleX(1.1)
    scaleY(0.92);
}

.paint-splotch::after {
  inset: 0;
  opacity: var(--droplet-opacity, 0);
  background:
    radial-gradient(circle at 9% 42%, var(--splotch-color) 0 2.4%, transparent 2.7%),
    radial-gradient(circle at 18% 25%, var(--splotch-color) 0 1.5%, transparent 1.8%),
    radial-gradient(circle at 25% 73%, var(--splotch-color) 0 3.4%, transparent 3.7%),
    radial-gradient(circle at 34% 12%, var(--splotch-color) 0 1.9%, transparent 2.2%),
    radial-gradient(circle at 48% 84%, var(--splotch-color) 0 2.7%, transparent 3%),
    radial-gradient(circle at 58% 18%, var(--splotch-color) 0 2.2%, transparent 2.5%),
    radial-gradient(circle at 71% 77%, var(--splotch-color) 0 1.6%, transparent 1.9%),
    radial-gradient(circle at 78% 31%, var(--splotch-color) 0 3.2%, transparent 3.5%),
    radial-gradient(circle at 90% 55%, var(--splotch-color) 0 2.6%, transparent 2.9%),
    radial-gradient(ellipse at 68% 48%, var(--splotch-color) 0 5%, transparent 5.4%),
    radial-gradient(ellipse at 38% 44%, var(--splotch-color) 0 4.4%, transparent 4.8%);
  transform:
    rotate(var(--droplet-rotate, -12deg))
    scale(var(--droplet-scale, 0.25));
  transform-origin: center;
}

.paint-splotch-red {
  --splotch-x: 18%;
  --splotch-y: 14%;
  --splotch-size: clamp(260px, 42vw, 560px);
  --splotch-color: #d33138;
  --splotch-rotate: -22deg;
  --splotch-inner-rotate: 8deg;
  --droplet-rotate: 14deg;
  --throw-x: -360;
  --throw-y: -80;
}

.paint-splotch-blue {
  --splotch-x: 82%;
  --splotch-y: 30%;
  --splotch-size: clamp(260px, 38vw, 520px);
  --splotch-color: #2473c5;
  --splotch-rotate: 18deg;
  --splotch-inner-rotate: -6deg;
  --droplet-rotate: -18deg;
  --throw-x: 380;
  --throw-y: -120;
}

.paint-splotch-yellow {
  --splotch-x: 22%;
  --splotch-y: 48%;
  --splotch-size: clamp(250px, 40vw, 540px);
  --splotch-color: #e5b82d;
  --splotch-rotate: 155deg;
  --splotch-inner-rotate: 11deg;
  --droplet-rotate: -24deg;
  --throw-x: -320;
  --throw-y: 110;
}

.paint-splotch-pink {
  --splotch-x: 78%;
  --splotch-y: 66%;
  --splotch-size: clamp(270px, 42vw, 580px);
  --splotch-color: #d95a9a;
  --splotch-rotate: -10deg;
  --splotch-inner-rotate: -9deg;
  --droplet-rotate: 20deg;
  --throw-x: 340;
  --throw-y: 90;
}

.paint-splotch-black {
  --splotch-x: 30%;
  --splotch-y: 84%;
  --splotch-size: clamp(250px, 36vw, 500px);
  --splotch-color: #222020;
  --splotch-rotate: 28deg;
  --splotch-inner-rotate: 6deg;
  --droplet-rotate: -15deg;
  --throw-x: -280;
  --throw-y: 150;
}

.landing-link-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6rem, 16svh, 13rem) clamp(1.4rem, 4vw, 4rem);
  width: min(1080px, 100%);
  margin: 0 auto;
}

.landing-link {
  position: relative;
  display: block;
  --link-image: linear-gradient(135deg, rgba(255, 239, 204, 0.18), rgba(66, 42, 32, 0.1));
  min-height: clamp(210px, 28vw, 340px);
  color: #fff5dc;
  text-decoration: none;
  opacity: 0;
  transform: translateY(48px) rotate(var(--link-tilt, 0deg)) scale(0.94);
  transition:
    opacity 620ms ease,
    transform 720ms cubic-bezier(.18, .89, .32, 1.12),
    filter 180ms ease;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.26));
}

.landing-link.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--link-tilt, 0deg)) scale(1);
}

.landing-link:hover,
.landing-link:focus-visible {
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.34));
  transform: translateY(-8px) rotate(var(--link-tilt, 0deg)) scale(1.03);
}

.landing-link.is-placeholder {
  cursor: default;
}

.landing-link.is-placeholder:hover,
.landing-link.is-placeholder:focus-visible {
  transform: translateY(0) rotate(var(--link-tilt, 0deg)) scale(1);
}

.landing-link-image {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(255, 238, 196, 0.58);
  border-radius: 6px;
  background:
    var(--link-image) center / cover no-repeat,
    rgba(13, 19, 18, 0.2);
  backdrop-filter: blur(1px);
}

.landing-link-image::before {
  content: attr(data-label);
  font-size: clamp(1.2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}

.landing-link-text {
  position: absolute;
  left: 50%;
  bottom: clamp(-2.2rem, -3vw, -1.4rem);
  transform: translateX(-50%);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.45rem);
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.42);
}

.hanger {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: var(--w);
  margin: 0;
  opacity: 0;
  transform: translateY(-90px) scale(0.96);
}

.opening-mobile.mobile-ready .hanger {
  animation: dropIn 900ms cubic-bezier(.18, .89, .32, 1.18) forwards;
  animation-delay: var(--intro-delay, 0ms);
}

.hanger:nth-child(1) {
  --intro-delay: 80ms;
}

.hanger:nth-child(2) {
  --intro-delay: 180ms;
}

.hanger:nth-child(3) {
  --intro-delay: 280ms;
}

.hanger:nth-child(4) {
  --intro-delay: 380ms;
}

.hanger:nth-child(5) {
  --intro-delay: 520ms;
}

.hanger:nth-child(6) {
  --intro-delay: 620ms;
}

.hanger:nth-child(7) {
  --intro-delay: 720ms;
}

.hanger:nth-child(8) {
  --intro-delay: 820ms;
}

.hanger:nth-child(9) {
  --intro-delay: 940ms;
}

.pin {
  position: absolute;
  top: 0;
  left: calc(50% + var(--attach, 0px));
  z-index: 5;
  width: clamp(6px, 1.2vw, 10px);
  height: clamp(6px, 1.2vw, 10px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, #fff3bd, #d7a13c 45%, #5d3911 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 5px 12px rgba(0, 0, 0, 0.32);
}

.double-hung .pin-left {
  left: var(--left-string);
}

.double-hung .pin-right {
  left: var(--right-string);
}

.swing-arm {
  position: relative;
  width: 100%;
  transform-origin: 50% 0;
  will-change: transform;
}

.single-string {
  position: relative;
  display: block;
  width: 18px;
  height: calc(var(--string) + var(--string-overlap, 16px));
  margin-inline: auto;
  transform: translateX(var(--attach, 0px));
  transform-origin: top center;
  background: transparent;
}

.single-string::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      var(--string-color-top, rgba(250, 230, 184, 0.9)),
      var(--string-color-bottom, rgba(175, 134, 70, 0.82)));
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.2),
    -1px 0 0 rgba(0, 0, 0, 0.16),
    3px 4px 0 rgba(24, 18, 15, 0.42);
  clip-path: polygon(44% 0, 56% 0, 56% 100%, 44% 100%);
}

.double-string {
  position: relative;
  height: calc(var(--string) + var(--string-overlap, 16px));
  width: 100%;
}

.double-string span {
  position: absolute;
  top: 0;
  width: 18px;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: top center;
  background: transparent;
}

.double-string span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      var(--string-color-top, rgba(250, 230, 184, 0.9)),
      var(--string-color-bottom, rgba(175, 134, 70, 0.82)));
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.2),
    -1px 0 0 rgba(0, 0, 0, 0.16),
    3px 4px 0 rgba(24, 18, 15, 0.42);
  clip-path: polygon(44% 0, 56% 0, 56% 100%, 44% 100%);
}

.double-string span:first-child {
  left: var(--left-string);
}

.double-string span:last-child {
  left: var(--right-string);
}

.hanger.string-wiggle .single-string::before,
.hanger.string-wiggle .double-string span::before {
  animation: stringWiggleCurve 620ms cubic-bezier(.2, 1.45, .35, 1);
}

.swing-arm img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: calc(0px - var(--string-overlap, 16px));
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 8%;
  user-select: none;
  -webkit-user-drag: none;
  filter:
    drop-shadow(0 10px 11px rgba(0, 0, 0, 0.27)) drop-shadow(0 2px 1px rgba(255, 255, 255, 0.08));
}

.cloud {
  z-index: 7;
  --string-overlap: clamp(14px, 2vw, 24px);
}

.cloud .single-string::before,
.cloud .double-string span::before {
  opacity: 0.42;
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.14),
    -1px 0 0 rgba(0, 0, 0, 0.08),
    2px 3px 0 rgba(24, 18, 15, 0.18);
}

.cloud .swing-arm img {
  filter:
    drop-shadow(0 16px 18px rgba(0, 0, 0, 0.3)) drop-shadow(0 3px 0 rgba(255, 255, 255, 0.16));
}

.letter {
  z-index: 5;
  --string-overlap: clamp(18px, 2.8vw, 32px);
}

.letter .swing-arm img {
  filter:
    drop-shadow(0 9px 8px rgba(0, 0, 0, 0.32)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.16));
}

.sun {
  z-index: 16;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  --string-overlap: clamp(72px, 9vw, 130px);
}

.sun:focus-visible {
  outline: 2px solid rgba(255, 239, 202, 0.85);
  outline-offset: 8px;
}

.sun .swing-arm {
  display: block;
}

.sun .swing-arm img {
  filter:
    drop-shadow(0 11px 10px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(255, 214, 80, 0.3));
  transition: transform 180ms ease, filter 180ms ease;
}

.sun.is-angry .swing-arm img {
  transform: rotate(var(--tilt, 0deg)) scale(1.05);
  filter:
    drop-shadow(0 13px 11px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 15px rgba(255, 97, 52, 0.34));
}

.charm {
  z-index: 4;
}

.star .swing-arm img {
  filter:
    drop-shadow(0 11px 10px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 9px rgba(255, 212, 89, 0.28));
}

@keyframes dropIn {
  0% {
    opacity: 0;
    transform: translateY(-100px) scale(0.94);
  }

  62% {
    opacity: 1;
    transform: translateY(10px) scale(1.02);
  }

  82% {
    transform: translateY(-4px) scale(0.99);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes stringWiggleCurve {

  0%,
  100% {
    clip-path: polygon(44% 0, 56% 0, 56% 100%, 44% 100%);
  }

  18% {
    clip-path: polygon(44% 0, 56% 0, 68% 24%, 48% 50%, 64% 76%, 56% 100%, 44% 100%, 52% 76%, 32% 50%, 52% 24%);
  }

  38% {
    clip-path: polygon(44% 0, 56% 0, 46% 24%, 66% 50%, 44% 76%, 56% 100%, 44% 100%, 32% 76%, 54% 50%, 34% 24%);
  }

  58% {
    clip-path: polygon(44% 0, 56% 0, 62% 28%, 48% 50%, 60% 74%, 56% 100%, 44% 100%, 40% 74%, 52% 50%, 38% 28%);
  }

  78% {
    clip-path: polygon(44% 0, 56% 0, 52% 30%, 58% 50%, 52% 72%, 56% 100%, 44% 100%, 48% 72%, 42% 50%, 48% 30%);
  }
}

@keyframes curtainButtonDrop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-140px) rotate(-3deg);
  }

  68% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px) rotate(2deg);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }
}

@keyframes curtainButtonFall {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }

  28% {
    transform: translateX(-48%) translateY(18px) rotate(8deg);
  }

  100% {
    transform: translateX(-35%) translateY(115svh) rotate(34deg);
    opacity: 0;
  }
}

@keyframes curtainButtonStringBreak {
  0% {
    opacity: 1;
    transform: translateX(-50%) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(38px) rotate(24deg);
  }
}

@keyframes dontTouchSlide {
  0% {
    opacity: 0;
    transform: translateX(-115%) rotate(-4deg);
  }

  18%,
  68% {
    opacity: 1;
    transform: translateX(clamp(10px, 3vw, 34px)) rotate(1deg);
  }

  100% {
    opacity: 0;
    transform: translateX(-115%) rotate(-7deg);
  }
}

@keyframes curtainSlideLeftOpen {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    transform: translateX(-135%);
    opacity: 0;
  }
}

@keyframes curtainSlideRightOpen {
  0% {
    transform: translateX(0) scaleX(-1);
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    transform: translateX(135%) scaleX(-1);
    opacity: 0;
  }
}

@keyframes curtainLift {
  0% {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-110%) scaleY(0.92);
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .opening-mobile {
    min-height: 100svh;
    margin-bottom: clamp(3rem, 9svh, 5rem);
  }

  .curtain-up {
    height: clamp(130px, 40vw, 260px);
  }

  .curtain-left,
  .curtain-right {
    top: -10%;
    width: 96vw;
    height: 122%;
  }

  .curtain-left {
    left: -34vw;
  }

  .curtain-right {
    right: -34vw;
  }

  .curtain-open-button {
    top: clamp(120px, 22svh, 190px);
    width: clamp(138px, 44vw, 210px);
  }

  .cloud-1 {
    --x: 3% !important;
    --y: -4% !important;
    --w: clamp(105px, 33vw, 155px) !important;
    --string: clamp(175px, 28svh, 255px) !important;
  }

  .cloud-2 {
    --x: 31% !important;
    --y: -6% !important;
    --w: clamp(145px, 47vw, 220px) !important;
    --string: clamp(142px, 23svh, 220px) !important;
  }

  .cloud-3 {
    --x: 64% !important;
    --y: -5% !important;
    --w: clamp(98px, 31vw, 145px) !important;
    --string: clamp(185px, 30svh, 285px) !important;
  }

  .cloud-4 {
    --x: 70% !important;
    --y: -3% !important;
    --w: clamp(122px, 39vw, 180px) !important;
    --string: clamp(290px, 46svh, 430px) !important;
  }

  .letter-m {
    --x: 2% !important;
    --y: -4% !important;
    --w: clamp(74px, 24vw, 120px) !important;
    --string: clamp(320px, 48svh, 435px) !important;
  }

  .letter-d {
    --x: 24% !important;
    --y: -5% !important;
    --w: clamp(72px, 22vw, 116px) !important;
    --string: clamp(305px, 46svh, 415px) !important;
  }

  .letter-s {
    --x: 42% !important;
    --y: -3% !important;
    --w: clamp(74px, 23vw, 120px) !important;
    --string: clamp(360px, 53svh, 490px) !important;
  }

  .letter-n {
    --x: 63% !important;
    --y: -4% !important;
    --w: clamp(73px, 22vw, 118px) !important;
    --string: clamp(335px, 50svh, 455px) !important;
  }

  .sun {
    --x: 52% !important;
    --y: -5% !important;
    --w: clamp(210px, 64vw, 320px) !important;
    --string: clamp(145px, 24svh, 240px) !important;
  }

  .star {
    --x: 38% !important;
    --y: 57% !important;
    --w: clamp(70px, 20vw, 110px) !important;
  }

  .scroll-banner-divider {
    height: 76px;
    margin-top: 0;
  }

  .banner-scroll {
    gap: clamp(0.75rem, 5vw, 1.5rem);
    height: 46px;
  }

  .banner-scroll a {
    font-size: 0.78rem;
  }

  .landing-links {
    min-height: 260svh;
    padding: clamp(5rem, 12svh, 8rem) clamp(1.25rem, 6vw, 2rem) clamp(7rem, 14svh, 10rem);
  }

  .paint-splotch-red {
    --splotch-x: 18%;
    --splotch-y: 12%;
    --splotch-size: clamp(230px, 74vw, 330px);
    --throw-x: -170;
    --throw-y: -70;
  }

  .paint-splotch-blue {
    --splotch-x: 84%;
    --splotch-y: 29%;
    --splotch-size: clamp(220px, 70vw, 320px);
    --throw-x: 170;
    --throw-y: -80;
  }

  .paint-splotch-yellow {
    --splotch-x: 16%;
    --splotch-y: 48%;
    --splotch-size: clamp(230px, 72vw, 330px);
    --throw-x: -160;
    --throw-y: 80;
  }

  .paint-splotch-pink {
    --splotch-x: 82%;
    --splotch-y: 67%;
    --splotch-size: clamp(230px, 76vw, 340px);
    --throw-x: 170;
    --throw-y: 70;
  }

  .paint-splotch-black {
    --splotch-x: 28%;
    --splotch-y: 84%;
    --splotch-size: clamp(210px, 66vw, 300px);
    --throw-x: -150;
    --throw-y: 90;
  }

  .landing-link-grid {
    grid-template-columns: 1fr;
    gap: clamp(5rem, 12svh, 7rem);
    width: min(360px, 100%);
  }

  .landing-link {
    min-height: clamp(190px, 58vw, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hanger {
    opacity: 1;
    transform: none;
  }

  .opening-mobile:not(.mobile-ready) .hanger {
    opacity: 1;
    transform: none;
  }

  .swing-arm {
    transform: rotate(0deg) !important;
  }

  .curtain-stage {
    display: none;
  }

  .landing-link {
    opacity: 1;
    transform: rotate(var(--link-tilt, 0deg));
  }

  .paint-splotch {
    opacity: 0.56;
    --droplet-opacity: 0.72;
    --droplet-scale: 1;
    --splotch-scale: 1;
    transform:
      translate(
        calc(-50% + var(--splotch-offset-x, 0px)),
        calc(-50% + var(--splotch-offset-y, 0px))
      )
      rotate(var(--splotch-rotate, 0deg))
      scale(var(--splotch-scale, 1));
  }
}
