@import url('data:text/css,');

:root {
  --blue: #9eb7d3;
  --blue-deep: #6f8faf;
  --blue-pale: #c6d5e5;
  --pink: #f4cbd1;
  --pink-hot: #ed9fb2;
  --cream: #fff8ed;
  --pearl: #f7ead9;
  --ink: #24344a;
  --gold: #aa8250;
  --mx: 50%;
  --my: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--blue);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--blue);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  cursor: none;
}

body.is-locked { overflow: hidden; }

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

::selection { background: var(--pink-hot); color: var(--ink); }

.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  z-index: 2000;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(36,52,74,.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s, border-color .25s;
}

.cursor span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
}

.cursor.is-big {
  width: 64px;
  height: 64px;
  background: rgba(244,203,209,.28);
  border-color: var(--cream);
  backdrop-filter: blur(3px);
}

.pearls { position: fixed; inset: 0; z-index: 1900; pointer-events: none; }
.trail-pearl {
  position: fixed;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #f8e9df 40%, #ba9d8e 100%);
  box-shadow: 0 2px 4px rgba(36,52,74,.25);
  transform: translate(-50%, -50%);
  animation: pearl-fall .75s ease-out forwards;
}

@keyframes pearl-fall {
  to { opacity: 0; transform: translate(-50%, 26px) scale(.2); }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  background: var(--blue);
  transition: clip-path 1.1s var(--ease), visibility 1.1s;
  clip-path: inset(0 0 0 0);
}

.boot::before,
.boot::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  border: 1px dashed rgba(255,248,237,.7);
  border-radius: 50%;
  animation: spin 25s linear infinite;
}

.boot::before { left: -23vw; top: -20vw; }
.boot::after { right: -23vw; bottom: -23vw; animation-direction: reverse; }

.boot.is-gone { clip-path: inset(0 50% 0 50%); visibility: hidden; }
.boot__grain { position: absolute; inset: 0; background: url("assets/ballet-jean-world.png") center/cover; opacity: .18; }

.boot__logo {
  position: relative;
  margin: .15em 0 .05em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 17vw, 14rem);
  font-weight: 400;
  letter-spacing: -.1em;
  line-height: .58;
  text-transform: uppercase;
}

.boot__logo span { display: block; }
.boot__logo span:last-child {
  margin-left: .52em;
  color: var(--cream);
  font-style: italic;
  text-transform: none;
  transform: rotate(-6deg);
}

.boot__ticket {
  position: absolute;
  right: 5vw;
  top: 8vh;
  padding: 1rem 1.5rem;
  border: 1px dashed var(--ink);
  transform: rotate(8deg);
  letter-spacing: .18em;
  background: var(--pink);
  box-shadow: 8px 8px 0 rgba(36,52,74,.15);
}

.boot__ticket small { font-size: .65rem; }

.enter-button {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.05rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--cream);
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: none;
  transition: transform .2s, box-shadow .2s;
}

.enter-button:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 7px 7px 0 var(--pink-hot); }
.boot__note { margin: .25rem; font-family: Georgia, serif; font-style: italic; }

.eyebrow {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 2vw;
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(158,183,211,.94), rgba(158,183,211,0));
}

.monogram {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
  text-decoration: none;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--pink-hot);
}

.site-header nav { display: flex; gap: 2rem; }
.site-header nav a {
  position: relative;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.3rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: .75rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  color: var(--ink);
  background: var(--cream);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: none;
  transition: transform .25s var(--ease), box-shadow .25s;
}

.pill:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 5px 5px 0 var(--pink-hot); }
.pill--x { width: 45px; padding: 0; background: transparent; }
.pill--buy { background: var(--pink); }
.pill--dark { color: var(--cream); background: var(--ink); }
.pill--light { background: var(--cream); }

.sound-toggle {
  display: flex;
  gap: .55rem;
  align-items: center;
  padding: .55rem .85rem;
  border: 0;
  background: transparent;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: none;
}

.sound-bars { display: flex; align-items: center; gap: 2px; height: 16px; }
.sound-bars i { display: block; width: 2px; height: 5px; background: currentColor; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: bars .55s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.2s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.4s; }
@keyframes bars { to { height: 16px; } }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  overflow: hidden;
  padding: 8rem 5vw 5rem;
  isolation: isolate;
}

.world {
  position: absolute;
  inset: -5%;
  z-index: -3;
  background: url("assets/ballet-jean-world.png") center/cover no-repeat;
  transform: translate(calc((var(--mx) - 50%) * -.05), calc((var(--my) - 50%) * -.05)) scale(1.08);
  transition: transform .2s ease-out;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 42%, rgba(158,183,211,.05) 0 20%, rgba(158,183,211,.45) 50%, rgba(158,183,211,.15) 100%);
}

.hero__copy { position: relative; z-index: 3; align-self: end; padding-bottom: 8vh; }
.hero__copy h1 {
  margin: .12em 0 .2em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 11vw, 11rem);
  font-weight: 400;
  letter-spacing: -.09em;
  line-height: .66;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(255,248,237,.5);
}

.hero__copy h1 span { display: block; }
.hero__copy h1 .script {
  margin-left: .42em;
  color: var(--cream);
  font-size: .92em;
  font-style: italic;
  text-transform: none;
  transform: rotate(-5deg);
}

.hero__declaration {
  margin: 2rem 0;
  max-width: 500px;
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2.3vw, 2.2rem);
  font-style: italic;
  line-height: 1.1;
}

.hero__buttons { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.text-link { font-family: Georgia, serif; font-style: italic; text-underline-offset: .3em; }

.portrait-stage {
  position: relative;
  z-index: 1;
  width: min(48vw, 650px);
  justify-self: center;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.portrait-stage__halo {
  position: absolute;
  inset: 8% -10%;
  border: 1px dashed rgba(255,248,237,.8);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.portrait-stage__halo::after {
  content: "03:17  •  HOLD  •  03:17  •  HOLD  •";
  position: absolute;
  top: 4%;
  left: 46%;
  padding: .45rem .7rem;
  border: 1px solid var(--ink);
  background: var(--cream);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  white-space: nowrap;
  transform: rotate(9deg);
}

@keyframes spin { to { transform: rotate(360deg); } }

.portrait-card {
  position: relative;
  margin: 0;
  padding: 1rem 1rem 2.3rem;
  background: var(--cream);
  box-shadow: 0 34px 60px rgba(36,52,74,.26), 18px 18px 0 rgba(244,203,209,.64);
  transform: rotate(-2deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform .4s var(--ease), filter .4s;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 1rem 1rem 2.3rem;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.32) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s;
}
.portrait-card:hover::after { transform: translateX(120%); }
.portrait-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.9) contrast(1.03); }
.portrait-card figcaption { position: absolute; bottom: .65rem; left: 1rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

.pose-caption {
  position: absolute;
  right: -4%;
  bottom: 7%;
  max-width: 220px;
  padding: .8rem 1rem;
  border: 1px solid var(--ink);
  background: var(--pink);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transform: rotate(5deg);
  box-shadow: 7px 7px 0 rgba(36,52,74,.18);
}

.portrait-stage.pose-pop .portrait-card { animation: pose-pop .7s var(--ease); }
@keyframes pose-pop {
  0% { transform: rotate(-2deg) scale(1); }
  45% { transform: rotate(4deg) scale(1.06); filter: saturate(1.25); }
  100% { transform: rotate(-2deg) scale(1); }
}

.hero__side-note {
  position: absolute;
  right: 1.4rem;
  top: 48%;
  z-index: 4;
  display: flex;
  gap: .8rem;
  align-items: center;
  writing-mode: vertical-rl;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero__side-note i { width: 1px; height: 70px; background: var(--ink); }

.secret-counter {
  position: absolute;
  right: 2rem;
  bottom: 3.3rem;
  z-index: 5;
  padding: .65rem .9rem;
  border: 1px dashed var(--cream);
  color: var(--cream);
  background: rgba(36,52,74,.65);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hidden-object {
  position: absolute;
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: rgba(36,52,74,.36);
  background: rgba(255,248,237,.12);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  cursor: none;
  transition: .3s;
}
.hidden-object:hover { color: var(--cream); border-color: var(--cream); transform: scale(1.35) rotate(12deg); }
.hidden-object.is-found { color: var(--pink-hot); background: var(--cream); transform: scale(0); pointer-events: none; }
.hidden-object--phone { left: 9%; top: 26%; transform: rotate(-7deg); }
.hidden-object--cross { right: 13%; top: 18%; }
.hidden-object--pearl { left: 45%; bottom: 10%; font-size: .7rem; }

.marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  padding: .65rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--pink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  white-space: nowrap;
  transform: rotate(-1deg) scale(1.02);
}
.marquee div { width: max-content; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-number {
  position: relative;
  z-index: 2;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.origin {
  position: relative;
  padding: 9rem 5vw 8rem;
  background: var(--cream);
  overflow: hidden;
}

.origin::before {
  content: "";
  position: absolute;
  top: 6rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(36,52,74,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(244,203,209,.15), 0 0 0 80px rgba(158,183,211,.09);
}

.origin__heading {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin: 4rem 0 5rem;
}

.origin__heading h2,
.artifacts__intro h2,
.choreography h2,
.finale h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .88;
}

h2 em { color: var(--pink-hot); font-weight: 400; }

.story-reel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 520px;
  border: 1px solid var(--ink);
}

.story-card {
  position: relative;
  min-width: 0;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--ink);
  overflow: hidden;
  cursor: none;
  transition: flex .6s var(--ease), grid-column .6s, transform .3s;
}
.story-card:last-child { border-right: 0; }
.story-card--blue { background: var(--blue-pale); }
.story-card--pink { background: var(--pink); }
.story-card--cream { background: var(--pearl); }
.story-card--ink { color: var(--cream); background: var(--ink); }
.story-card:hover { transform: translateY(-8px); }

.story-card__index { display: block; font-family: Georgia, serif; font-size: 4rem; font-style: italic; opacity: .35; }
.story-card__date { min-height: 2rem; margin: 4rem 0 1rem; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.story-card h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 2.5vw, 3rem); font-weight: 400; line-height: .98; }
.story-card__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), margin .5s; }
.story-card__body p { min-height: 0; margin: 0; overflow: hidden; font-size: 1rem; line-height: 1.6; }
.story-card.is-open .story-card__body { grid-template-rows: 1fr; margin-top: 2rem; }
.story-card__hint { position: absolute; bottom: 1.5rem; left: 1.5rem; font-size: .64rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; opacity: .55; }

.artifacts {
  position: relative;
  min-height: 100vh;
  padding: 8rem 5vw 9rem;
  overflow: hidden;
  background: var(--blue);
  isolation: isolate;
}

.artifacts__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .26;
  background: url("assets/ballet-jean-world.png") center/cover;
  filter: saturate(.75);
}
.artifacts::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(158,183,211,.68); backdrop-filter: blur(8px); }

.artifacts__intro { display: grid; grid-template-columns: .45fr .85fr .7fr; gap: 3rem; align-items: end; margin: 4rem 0; }
.artifacts__intro h2 { grid-column: 2; }
.artifacts__intro > p:last-child { grid-column: 3; max-width: 400px; margin: 0; font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; line-height: 1.5; }

.artifact-console { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 570px; border: 1px solid var(--ink); box-shadow: 16px 16px 0 rgba(255,248,237,.28); }
.artifact-list { display: flex; flex-direction: column; border-right: 1px solid var(--ink); background: rgba(255,248,237,.72); }
.artifact-tab {
  flex: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  gap: .25rem .8rem;
  padding: 1.2rem 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  background: transparent;
  cursor: none;
  transition: padding .3s, background .3s;
}
.artifact-tab:last-child { border-bottom: 0; }
.artifact-tab span { grid-row: 1 / 3; align-self: center; font-family: Georgia, serif; font-style: italic; }
.artifact-tab strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.artifact-tab small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.artifact-tab:hover, .artifact-tab.is-active { padding-left: 2.2rem; background: var(--pink); }
.artifact-tab.is-active strong::after { content: " ↗"; }

.artifact-view {
  position: relative;
  display: grid;
  align-content: end;
  padding: 3rem;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}

.artifact-view::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px dashed rgba(255,248,237,.35);
  border-radius: 50%;
  animation: spin 38s linear infinite;
}

.artifact-view__object {
  position: absolute;
  top: 10%;
  left: 50%;
  font-family: Georgia, serif;
  font-size: clamp(7rem, 15vw, 13rem);
  line-height: 1;
  transform: translateX(-50%) rotate(-7deg);
  text-shadow: 7px 7px 0 var(--pink-hot);
  transition: transform .5s var(--ease), opacity .3s;
}
.artifact-view.is-scanning .artifact-view__object { animation: object-scan .8s steps(2) infinite; }
@keyframes object-scan { 50% { transform: translateX(-48%) rotate(7deg) scale(1.08); filter: blur(1px); } }

.artifact-view__signal { position: absolute; top: 3rem; right: 3rem; display: flex; gap: .3rem; align-items: end; height: 42px; }
.artifact-view__signal i { width: 5px; height: 12px; background: var(--pink); }
.artifact-view.is-scanning .artifact-view__signal i { animation: signal .45s infinite alternate; }
.artifact-view.is-scanning .artifact-view__signal i:nth-child(2) { animation-delay: -.1s; }
.artifact-view.is-scanning .artifact-view__signal i:nth-child(3) { animation-delay: -.2s; }
.artifact-view.is-scanning .artifact-view__signal i:nth-child(4) { animation-delay: -.3s; }
.artifact-view.is-scanning .artifact-view__signal i:nth-child(5) { animation-delay: -.4s; }
@keyframes signal { to { height: 42px; background: var(--blue); } }

.artifact-view__copy { position: relative; z-index: 2; max-width: 560px; }
.artifact-view__copy > p:first-child { margin: 0 0 .6rem; font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--pink); }
.artifact-view__copy h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.05em; }
.artifact-view__copy > p:last-child { max-width: 470px; margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.6; }
.artifact-view__action { position: absolute; z-index: 3; right: 2rem; bottom: 2rem; padding: .75rem 1rem; border: 1px solid var(--pink); color: var(--pink); background: transparent; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; cursor: none; }

.choreography {
  position: relative;
  min-height: 110vh;
  padding: 9rem 5vw 8rem;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}

.choreography::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(circle at 1px 1px, var(--cream) 1px, transparent 1px);
  background-size: 28px 28px;
}

.choreography__heading { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; margin: 4rem 0 1rem; }
.choreography__heading > p { max-width: 500px; margin: 0 0 .7rem; color: var(--blue-pale); font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; line-height: 1.5; }

.orbit-map {
  position: relative;
  width: min(86vw, 920px);
  aspect-ratio: 1.55;
  margin: 1rem auto 0;
}

.orbit-map__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-map__rings i { position: absolute; border: 1px solid rgba(255,248,237,.4); border-radius: 50%; transform: rotate(-8deg); }
.orbit-map__rings i:nth-child(1) { width: 90%; height: 70%; animation: orbit-wobble 12s ease-in-out infinite alternate; }
.orbit-map__rings i:nth-child(2) { width: 70%; height: 93%; transform: rotate(32deg); animation: orbit-wobble 16s ease-in-out infinite alternate-reverse; }
.orbit-map__rings i:nth-child(3) { width: 48%; height: 65%; border-style: dashed; transform: rotate(74deg); }
@keyframes orbit-wobble { to { transform: rotate(10deg) scale(1.04,.98); } }

.orbit-map__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56vw, 470px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  border: 1px solid var(--cream);
  border-radius: 50%;
  text-align: center;
  background: rgba(36,52,74,.88);
  box-shadow: 0 0 0 12px rgba(244,203,209,.08), 0 0 70px rgba(244,203,209,.12);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}
.orbit-map__center > span { font-size: .62rem; font-weight: 800; letter-spacing: .2em; color: var(--pink); }
.orbit-map__center > strong { margin-top: .8rem; font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; font-weight: 400; }
.orbit-map__center h3 { margin: .3rem 0 .7rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; line-height: .95; }
.orbit-map__center p { max-width: 360px; margin: 0 auto; color: var(--blue-pale); line-height: 1.5; }
.act-progress { width: 70%; height: 3px; margin: 1.6rem auto 0; overflow: hidden; background: rgba(255,248,237,.2); }
.act-progress i { display: block; width: 25%; height: 100%; background: var(--pink-hot); transition: width .5s var(--ease); }

.act-node {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  color: var(--cream);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  cursor: none;
  transition: .35s var(--ease);
}
.act-node::after { content: ""; position: absolute; inset: -8px; border: 1px dashed var(--pink); border-radius: 50%; opacity: 0; transition: .3s; }
.act-node:hover, .act-node.is-active { color: var(--ink); background: var(--pink); transform: scale(1.15) rotate(8deg); }
.act-node.is-active::after { opacity: 1; animation: spin 8s linear infinite; }
.act-node--1 { top: 15%; left: 6%; }
.act-node--2 { top: 4%; right: 17%; }
.act-node--3 { right: 3%; bottom: 10%; }
.act-node--4 { left: 15%; bottom: 0; }

.orbit-map__scribble { position: absolute; color: var(--pink); font-family: Georgia, serif; font-size: 1.1rem; font-style: italic; }
.orbit-map__scribble--one { top: 6%; left: 27%; transform: rotate(-8deg); }
.orbit-map__scribble--two { right: 20%; bottom: 5%; transform: rotate(7deg); }

.burst {
  position: fixed;
  z-index: 1800;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--pink);
  animation: burst .7s ease-out forwards;
}
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

.finale {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 8rem 6vw;
  overflow: hidden;
  background: var(--pink);
  isolation: isolate;
}

.finale__world { position: absolute; inset: 0; z-index: -2; opacity: .2; background: url("assets/ballet-jean-world.png") center/cover; filter: saturate(.6); }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(244,203,209,.15), var(--pink) 58%); }

.finale__portrait { width: min(46vw, 620px); padding: 1rem; background: var(--cream); transform: rotate(4deg); box-shadow: 20px 20px 0 var(--blue-deep); }
.finale__portrait img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(4% 0, 100% 3%, 97% 100%, 0 96%); }
.finale__copy { position: relative; z-index: 2; }
.finale__copy h2 { margin: .3em 0; }
.finale__copy h2 em { color: var(--cream); }
.finale__copy > p:not(.eyebrow) { max-width: 570px; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.6; }
.finale__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.rewind {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  gap: .6rem;
  align-items: center;
  border: 0;
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: none;
}
.rewind span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.2rem; transition: transform .4s; }
.rewind:hover span { transform: rotate(-180deg); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 2vw;
  color: var(--cream);
  background: var(--ink);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 3000;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: min(360px, calc(100vw - 3rem));
  padding: 1rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--pink-hot);
  font-family: Georgia, serif;
  font-style: italic;
  opacity: 0;
  transform: translateY(30px) rotate(2deg);
  transition: .35s var(--ease);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translateY(0) rotate(-1deg); }

@media (max-width: 980px) {
  body { cursor: auto; }
  .cursor, .pearls { display: none; }
  .site-header nav { display: none; }
  .sound-label { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 8rem; text-align: center; }
  .hero__copy { align-self: auto; padding-bottom: 1rem; }
  .hero__copy h1 { font-size: clamp(5rem, 20vw, 9rem); }
  .hero__declaration { margin-inline: auto; }
  .hero__buttons { justify-content: center; }
  .portrait-stage { width: min(75vw, 600px); }
  .hero__side-note { display: none; }
  .story-reel { grid-template-columns: 1fr 1fr; }
  .story-card { min-height: 430px; border-bottom: 1px solid var(--ink); }
  .story-card:nth-child(2) { border-right: 0; }
  .story-card__body { grid-template-rows: 1fr; margin-top: 1.2rem; }
  .artifacts__intro { grid-template-columns: 1fr; }
  .artifacts__intro h2, .artifacts__intro > p:last-child { grid-column: auto; }
  .artifact-console { grid-template-columns: 1fr; }
  .artifact-list { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--ink); }
  .artifact-tab:nth-child(odd) { border-right: 1px solid var(--ink); }
  .artifact-tab:nth-child(3) { border-bottom: 0; }
  .artifact-view { min-height: 560px; }
  .choreography__heading { grid-template-columns: 1fr; }
  .orbit-map { width: 96vw; margin-left: -3vw; }
  .finale { grid-template-columns: 1fr; text-align: center; }
  .finale__portrait { width: min(72vw, 570px); margin: 0 auto; }
  .finale__copy > p:not(.eyebrow) { margin-inline: auto; }
  .finale__actions { justify-content: center; }
}

@media (max-width: 640px) {
  .site-header { padding: .8rem; }
  .pill--x { display: none; }
  .sound-toggle { padding-inline: .3rem; }
  .hero { min-height: auto; padding: 7rem 1rem 6rem; }
  .hero__copy h1 { font-size: clamp(4.4rem, 24vw, 7rem); }
  .hero__declaration { font-size: 1.25rem; }
  .portrait-stage { width: 87vw; margin-top: 2rem; }
  .portrait-card { padding: .7rem .7rem 2rem; }
  .pose-caption { right: 0; }
  .hidden-object--phone { left: 3%; top: 22%; }
  .hidden-object--cross { right: 4%; top: 55%; }
  .hidden-object--pearl { left: 10%; bottom: 8%; }
  .secret-counter { right: 1rem; bottom: 3rem; }
  .origin, .artifacts, .choreography { padding: 6rem 1rem; }
  .origin__heading { margin: 2.5rem 0 3rem; }
  .origin__heading h2, .artifacts__intro h2, .choreography h2, .finale h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .story-reel { grid-template-columns: 1fr; }
  .story-card { min-height: 390px; border-right: 0; }
  .artifact-list { grid-template-columns: 1fr; }
  .artifact-tab { border-right: 0 !important; border-bottom: 1px solid var(--ink) !important; }
  .artifact-tab:last-child { border-bottom: 0 !important; }
  .artifact-view { min-height: 520px; padding: 1.5rem; }
  .artifact-view__action { right: 1rem; bottom: 1rem; }
  .artifact-view__copy { padding-bottom: 3.2rem; }
  .orbit-map { width: 100%; aspect-ratio: .78; margin: 2rem 0; }
  .orbit-map__rings i:nth-child(1) { width: 100%; height: 75%; }
  .orbit-map__rings i:nth-child(2) { width: 78%; height: 100%; }
  .orbit-map__center { width: 74vw; min-height: 300px; padding: 2rem 1.3rem; }
  .act-node { width: 61px; height: 61px; }
  .act-node--1 { top: 10%; left: 0; }
  .act-node--2 { top: 2%; right: 4%; }
  .act-node--3 { right: 0; bottom: 10%; }
  .act-node--4 { left: 4%; bottom: 2%; }
  .orbit-map__scribble { display: none; }
  .finale { padding: 7rem 1rem; }
  .finale__portrait { width: 88vw; }
  .finale__actions { flex-direction: column; align-items: stretch; }
  .rewind { right: 50%; bottom: 1.2rem; transform: translateX(50%); }
  footer { flex-direction: column; align-items: center; text-align: center; }
  .boot__ticket { display: none; }
  .boot__logo { font-size: clamp(4rem, 24vw, 7rem); }
}

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