/* Tokens mirror the "Paris" variable collection in the Figma file. */
:root {
  --paper: #F7F0E6;
  --paper-deep: #EFE3D1;
  --card: #FFFDF9;
  --ink: #1C2541;
  --ink-soft: #5B6178;
  --rouge: #C2303A;
  --gold: #C8A15A;
  --blush: #F0C9C2;
  --rouge-wash: rgba(194, 48, 58, 0.07);
  --hairline: rgba(28, 37, 65, 0.08);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --barcode: "Libre Barcode 128", var(--mono);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --screen-fade: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img { display: block; max-width: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overscroll-behavior: none;
  transition: background-color var(--screen-fade) ease;
}
body.is-night { background: var(--ink); }

.desk { display: none; }
h1:focus { outline: none; }

/* ---------- Screens ---------- */

.screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--screen-fade) ease, visibility 0s linear var(--screen-fade);
}
.screen.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--screen-fade) ease, visibility 0s;
}
.screen--envelope, .screen--note, .screen--ticket { background: var(--paper); }
.screen--birthday { background: var(--ink); }

.screen__inner {
  position: relative;
  height: 100%;
  min-height: 100svh;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding:
    calc(env(safe-area-inset-top) + clamp(48px, 11.4vh, 96px)) 32px
    calc(env(safe-area-inset-bottom) + clamp(36px, 8.5vh, 72px));
}
.screen--birthday .screen__inner { padding-top: calc(env(safe-area-inset-top) + clamp(96px, 23.2vh, 196px)); }
.screen--note .screen__inner { padding-top: calc(env(safe-area-inset-top) + clamp(44px, 10.4vh, 88px)); }

.screen__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ---------- Button ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 24px 17px 28px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn img { transition: transform 250ms var(--ease-out); }
.btn:hover img { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--rouge { background: var(--rouge); color: var(--paper); }
.btn--gold:hover { box-shadow: 0 10px 28px -8px rgba(200, 161, 90, 0.55); }
.btn--rouge:hover { box-shadow: 0 10px 28px -8px rgba(194, 48, 58, 0.5); }

/* ---------- 01 · Envelope ---------- */

.envelope-title {
  width: 326px;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.04;
  text-align: center;
  color: var(--ink);
  animation: fade-up 900ms var(--ease-out) 150ms both;
}
.envelope-title span, .envelope-title em { display: block; }
.envelope-title em { color: var(--rouge); }

.envelope {
  position: relative;
  display: block;
  width: 310px;
  height: 220px;
  animation: envelope-in 1100ms var(--ease-out) 400ms both;
}
.envelope:focus-visible { outline: 2px solid var(--rouge); outline-offset: 10px; border-radius: 12px; }
.envelope__float {
  position: absolute;
  inset: 0;
  perspective: 900px;
  animation: bob 4.2s ease-in-out 1.5s infinite;
}
.envelope__body {
  position: absolute;
  inset: 0;
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 40px -10px rgba(28, 36, 64, 0.22);
}
.envelope__edge {
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  pointer-events: none;
  z-index: 4;
}
.envelope__fold { position: absolute; left: -0.32px; top: 121.29px; }
.envelope__name {
  position: absolute;
  left: 0;
  right: 0;
  top: 159px;
  font-family: var(--script);
  font-size: 30px;
  line-height: normal;
  text-align: center;
  color: var(--ink);
}
.envelope__flap {
  position: absolute;
  left: 0;
  top: 0;
  width: 310px;
  height: 112px;
  transform-origin: 50% 0;
  z-index: 3;
  transition: transform 750ms cubic-bezier(0.55, 0, 0.3, 1) 250ms, z-index 0s linear 600ms;
}
.envelope__flap img { position: absolute; left: 0; top: 0; }
.envelope__flap-line { left: -0.35px !important; top: -0.49px !important; }
.envelope__flap-fill { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.envelope__seal {
  position: absolute;
  left: 117px;
  top: 74px;
  width: 76px;
  height: 76px;
  z-index: 5;
  animation: seal-pulse 2.6s ease-in-out 1.6s infinite;
}
.envelope__wax { position: absolute; left: -7.42px; top: -4px; }
.envelope__ring { position: absolute; left: 11px; top: 11px; }
.envelope__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-bottom: 2px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: var(--paper);
}
.envelope__letter {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  height: 180px;
  background: var(--card);
  border-radius: 6px;
  box-shadow: 0 -6px 18px -8px rgba(28, 36, 64, 0.18);
  background-image:
    linear-gradient(var(--paper-deep), var(--paper-deep)),
    linear-gradient(var(--paper-deep), var(--paper-deep)),
    linear-gradient(var(--paper-deep), var(--paper-deep));
  background-size: 60% 2px, 80% 2px, 70% 2px;
  background-position: 22px 30px, 22px 44px, 22px 58px;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform 900ms var(--ease-out) 750ms;
}
.envelope__body { z-index: 2; }

/* Opening sequence: seal cracks, flap folds back, letter rises. */
.envelope.is-open .envelope__float { animation: none; }
.envelope.is-open .envelope__seal { animation: seal-crack 450ms var(--ease-out) forwards; }
.envelope.is-open .envelope__flap { transform: rotateX(180deg); z-index: 0; }
.envelope.is-open .envelope__letter { transform: translateY(-110px); }

.tap-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fade-up 900ms var(--ease-out) 1000ms both;
  transition: opacity 300ms ease;
}
.tap-hint__pulse { position: relative; width: 52px; height: 52px; }
.tap-hint__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--rouge);
  border-radius: 50%;
  animation: ping 2.2s var(--ease-out) 1.6s infinite;
  opacity: 0;
}
.tap-hint__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.is-opening .tap-hint { opacity: 0; }

.sparkle { position: absolute; animation: twinkle 3s ease-in-out infinite; }
.sparkle--1 { left: 34px;  top: 35.5%; animation-delay: 0.2s; }
.sparkle--2 { left: 340px; top: 32.7%; animation-delay: 1.1s; }
.sparkle--3 { left: 338px; top: 27.5%; animation-delay: 2.0s; }
.sparkle--4 { left: 30px;  top: 26.8%; animation-delay: 0.7s; }
.sparkle--5 { left: 52px;  top: 75.8%; animation-delay: 1.6s; }
.sparkle--6 { left: 324px; top: 73.2%; animation-delay: 2.4s; }

/* ---------- 02 · Happy Birthday ---------- */

.greeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.greeting__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: min(72px, 18.5vw);
  line-height: 0.88;
  color: var(--paper);
}
.greeting__title .word { display: block; }
.greeting__name {
  width: 326px;
  font-family: var(--script);
  font-size: 80px;
  line-height: 1.2;
  color: var(--gold);
}

.greeting__title .word {
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}
.greeting__title .word:nth-child(1) { transition-delay: 350ms; }
.greeting__title .word:nth-child(2) { transition-delay: 470ms; }
.screen--birthday.is-active .greeting__title .word { opacity: 1; transform: none; filter: none; }

/* "Vanessa" writes in left to right. */
.greeting__name {
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 1500ms cubic-bezier(0.65, 0, 0.35, 1) 950ms;
}
.screen--birthday.is-active .greeting__name { clip-path: inset(-20% -10% -20% 0); }

.screen--birthday .screen__foot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms var(--ease-out) 1900ms, transform 800ms var(--ease-out) 1900ms;
}
.screen--birthday.is-active .screen__foot { opacity: 1; transform: none; }

/* ---------- 03 · A Note ---------- */

.note-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: normal;
  color: var(--ink);
}
.letter {
  position: relative;
  width: 100%;
  max-width: 326px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 18px 36px -8px rgba(28, 36, 64, 0.14);
}
.letter__hello {
  padding-right: 64px;
  font-family: var(--script);
  font-size: 34px;
  line-height: normal;
  color: var(--ink);
}
.letter__body {
  width: 100%;
  max-width: 270px;

  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.38;
  color: var(--ink);
}
.letter__body p + p { margin-top: 1.38em; }
.letter__sign { display: flex; flex-direction: column; line-height: normal; }
.letter__sign span:first-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}
.letter__signature {
  font-family: var(--script);
  font-size: 38px;
  color: var(--rouge);
}
.stamp {
  position: absolute;
  right: 28px;
  top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 8px 6px;
  background: var(--rouge);
  border: 2px dashed var(--card);
  border-radius: 2px;
  transform: rotate(-6deg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  line-height: normal;
  color: var(--paper);
}

/* Letter slides up, paragraphs fade in, stamp drops in last. */
.letter {
  opacity: 0;
  transform: translateY(80px) rotate(4deg);
  transition: opacity 700ms var(--ease-out) 150ms, transform 1100ms var(--ease-out) 150ms;
}
.screen--note.is-active .letter { opacity: 1; transform: rotate(1.2deg); }
.letter__hello, .letter__body p, .letter__sign {
  opacity: 0;
  transition: opacity 900ms ease;
}
.screen--note.is-active .letter__hello { opacity: 1; transition-delay: 700ms; }
.screen--note.is-active .letter__body p:nth-child(1) { opacity: 1; transition-delay: 1000ms; }
.screen--note.is-active .letter__body p:nth-child(2) { opacity: 1; transition-delay: 1450ms; }
.screen--note.is-active .letter__body p:nth-child(3) { opacity: 1; transition-delay: 1900ms; }
.screen--note.is-active .letter__sign { opacity: 1; transition-delay: 2350ms; }
.stamp { opacity: 0; transform: rotate(-6deg) translateY(-30px) scale(1.4); }
.screen--note.is-active .stamp { animation: stamp-drop 600ms var(--ease-spring) 2650ms forwards; }
.screen--note .note-title { opacity: 0; transition: opacity 800ms ease 100ms; }
.screen--note.is-active .note-title { opacity: 1; }
.screen--note .screen__foot { opacity: 0; transform: translateY(12px); transition: opacity 700ms var(--ease-out) 2950ms, transform 700ms var(--ease-out) 2950ms; }
.screen--note.is-active .screen__foot { opacity: 1; transform: none; }

/* ---------- 04 · The Ticket ---------- */

.screen--ticket .screen__inner {
  justify-content: center;
  gap: 36px;
  padding-top: calc(env(safe-area-inset-top) + 40px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 40px);
}
.ticket-copy { position: relative; z-index: 2; text-align: center; }
.ticket-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.ticket-title em { font-style: italic; color: var(--rouge); }
.ticket-title .ticket-title__comma { color: var(--ink); }

.ticket-stage {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  flex: 0 1 auto;
  min-height: 0;
}
.ticket-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1600ms ease 700ms;
}
.ticket-glow.mob { top: calc(50% - 100px); }
.screen--ticket.is-active .ticket-glow { opacity: 1; }

/* The pass is drawn at its design size (326px wide) and scaled down
   with --ticket-scale on short phones so the whole thing stays visible. */
.ticket-fit { position: relative; z-index: 1; flex-shrink: 0; width: calc(326px * var(--ticket-scale, 1)); height: calc(var(--pass-h, 538px) * var(--ticket-scale, 1)); }
.ticket-scale { width: 326px; transform: scale(var(--ticket-scale, 1)); transform-origin: 0 0; }
.ticket-tilt { perspective: 1400px; }
.ticket-flip {
  position: relative;
  transform-style: preserve-3d;
  transform: translateY(70vh) rotateY(180deg);
}
.screen--ticket.is-active .ticket-flip { animation: pass-in 1500ms var(--ease-out) 250ms both; }
/* Once it has landed, drop the 3D transform so the text renders crisp. */
.screen--ticket.is-active .ticket-flip.is-landed { animation: none; transform: none; }
.ticket-flip.is-landed .pass-back { display: none; }

.pass {
  position: relative;
  width: 326px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 44px -6px rgba(15, 20, 41, 0.3);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.pass-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(200, 161, 90, 0.18), transparent 60%),
    var(--ink);
  box-shadow: 0 20px 44px -6px rgba(15, 20, 41, 0.3);
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.pass-back img { width: 36px; height: 60px; }
.pass-back__title { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--paper); }
.pass-back__route { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; color: var(--gold); }

.pass p { line-height: normal; white-space: nowrap; }
.pass__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--ink);
}
.pass__head > div { display: flex; flex-direction: column; gap: 2px; }
.pass__kicker { font-family: var(--sans); font-weight: 700; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.pass__subtitle { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--paper); }
.pass__admit { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

.pass__route { display: flex; align-items: center; gap: 12px; padding: 22px 20px 14px; }
.pass__city { display: flex; flex-direction: column; align-items: flex-start; }
.pass__city--to { align-items: flex-end; text-align: right; }
.pass .pass__code { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--ink); }
.pass__place { font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--ink-soft); }
.pass__path { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pass__line { display: flex; align-items: center; gap: 6px; width: 100%; }
.pass__dash { flex: 1 0 0; min-width: 1px; height: 1.2px; overflow: hidden; }
.pass__duration { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); }

.pass__details { display: flex; flex-direction: column; gap: 16px; padding: 6px 20px 22px; }
.pass__row { display: flex; gap: 12px; }
.pass__row .field { flex: 1 0 0; min-width: 1px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field__label { font-family: var(--sans); font-weight: 600; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field__value { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink); }

.open-date {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--rouge-wash);
  border: 1.2px dashed var(--rouge);
  border-radius: 10px;
  color: var(--rouge);
}
.open-date .field__label { color: inherit; opacity: 0.8; }
.open-date .field__value { color: inherit; font-size: 18px; }
.pass .open-date__note { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.05; text-align: right; }
.open-date::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  box-shadow: 0 0 0 0 rgba(194, 48, 58, 0.35);
  animation: open-glow 2.8s ease-in-out 2.2s infinite;
  pointer-events: none;
}

.pass__perf { position: relative; height: 22px; }
.pass__tear { position: absolute; left: 20px; top: 10.4px; }
.pass__notch { position: absolute; top: 0; }
.pass__notch--left { left: -11px; }
.pass__notch--right { right: -11px; }

.pass__stub { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 20px 22px; }
.pass .pass__barcode { font-family: var(--barcode); font-size: 60px; line-height: 1; color: var(--ink); }
.pass__ref { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--ink-soft); }

.screen--ticket .ticket-copy { opacity: 0; transform: translateY(-14px); transition: opacity 900ms var(--ease-out) 1300ms, transform 900ms var(--ease-out) 1300ms; }
.screen--ticket.is-active .ticket-copy { opacity: 1; transform: none; }

.ticket-flip { cursor: pointer; }
.ticket-flip:active .pass { filter: brightness(0.99); }

/* ---------- Confetti canvas ---------- */

/* Ambient stars on the ticket screen fall behind the pass. */
.confetti-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.screen--ticket .screen__inner { z-index: 1; }

.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

/* ---------- Keyframes ---------- */

@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes envelope-in {
  from { opacity: 0; transform: translateY(40px) rotate(-4deg) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-0.6deg); }
}
@keyframes seal-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes seal-crack {
  0% { transform: scale(1) rotate(0); opacity: 1; }
  35% { transform: scale(1.12) rotate(-8deg); opacity: 1; }
  100% { transform: scale(0.4) rotate(25deg) translateY(30px); opacity: 0; }
}
@keyframes ping {
  0% { transform: scale(0.65); opacity: 0.55; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.25; transform: scale(0.6) rotate(45deg); }
}
@keyframes stamp-drop {
  0% { opacity: 0; transform: rotate(-6deg) translateY(-30px) scale(1.4); }
  60% { opacity: 1; transform: rotate(-6deg) translateY(2px) scale(0.96); }
  100% { opacity: 1; transform: rotate(-6deg); }
}
@keyframes pass-in {
  0% { transform: translateY(70vh) rotateY(180deg) rotateZ(-6deg); }
  45% { transform: translateY(-8px) rotateY(180deg) rotateZ(-2deg); }
  100% { transform: translateY(0) rotateY(0deg) rotateZ(0deg); }
}
@keyframes open-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194, 48, 58, 0); }
  50% { box-shadow: 0 0 0 5px rgba(194, 48, 58, 0.12); }
}

/* ---------- Small phones ---------- */

@media (max-height: 700px) {
  .greeting__title { font-size: min(64px, 17vw); }
  .greeting__name { font-size: 68px; }
  .letter { padding: 24px 24px; gap: 12px; }
  .letter__body { font-size: 17px; max-width: 250px; }
  .stamp { right: 22px; top: 18px; }
}
@media (max-width: 360px) {
  .screen__inner { padding-left: 20px; padding-right: 20px; }
  .envelope-title { font-size: 38px; }
  .envelope { scale: 0.9; }
  .sparkle--2, .sparkle--3, .sparkle--6 { left: auto; right: 18px; }
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
  .screen__inner { max-width: 520px; }

  .screen--ticket .screen__inner {
    max-width: 1440px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 80px clamp(48px, 11vw, 160px) 80px clamp(48px, 9.7vw, 140px);
  }
  .desk { display: block; }
  br.desk { display: inline; }
  em.desk { display: inline; }
  .mob { display: none; }

  .ticket-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
    transform: translateX(-24px);
  }
  .screen--ticket.is-active .ticket-copy { transform: none; }
  .ticket-title { font-size: clamp(72px, 7.8vw, 112px); line-height: 0.92; white-space: normal; }
  .ticket-name {
    font-family: var(--script);
    font-size: clamp(64px, 6.7vw, 96px);
    line-height: 1.1;
    color: var(--gold);
  }
  .ticket-lede {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
  }
  .ticket-stage { width: auto; flex: 0 0 auto; }
  .ticket-tilt { transform: rotate(4deg); }
  .pass, .pass-back { box-shadow: 0 30px 60px -6px rgba(15, 20, 41, 0.32); }
}

/* ---------- Reduced motion ---------- */

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