:root {
  --inv-cyan: #3ec7ff;
  --inv-cyan-2: #7ad8ff;
  --inv-navy: #041428;
  --inv-ink: #eef7ff;
  --inv-mute: rgba(210, 230, 255, 0.72);
  --inv-line: rgba(80, 190, 255, 0.55);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #020914;
  color: var(--inv-ink);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
}
.inv-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 18px 12px 28px;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(40, 140, 255, .22), transparent 60%),
    #020914;
}
.inv-stage {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 20, 50, .55), 0 0 0 1px rgba(90, 190, 255, .18);
  isolation: isolate;
}
.inv-art, .inv-veil, .inv-sweep, .inv-stars {
  position: absolute;
  inset: 0;
}
.inv-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: invKen 28s ease-in-out infinite alternate;
}
.inv-veil {
  background:
    linear-gradient(180deg, rgba(4, 14, 36, .42) 0%, rgba(4, 16, 40, .28) 38%, rgba(3, 12, 32, .55) 72%, rgba(2, 8, 22, .82) 100%);
}
.inv-sweep {
  background: linear-gradient(110deg, transparent 35%, rgba(90, 210, 255, .14) 50%, transparent 65%);
  mix-blend-mode: screen;
  animation: invSweep 7s ease-in-out infinite;
}
.inv-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: .15;
  animation: invTwinkle 3.8s ease-in-out infinite;
}
.inv-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(90, 200, 255, .22);
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(40, 150, 255, .08);
}
.inv-frame:before, .inv-frame:after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid var(--inv-cyan);
}
.inv-frame:before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.inv-frame:after { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.inv-corners {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}
.inv-corners i {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid var(--inv-cyan);
}
.inv-corners i:nth-child(1) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.inv-corners i:nth-child(2) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.inv-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 7.2% 8% 6%;
}
.inv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: invIn .8s ease both;
}
.inv-mark {
  width: 42px;
  height: 42px;
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(90, 200, 255, .55));
}
.inv-brand {
  font-family: Rajdhani, Oswald, sans-serif;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: clamp(22px, 5.4vw, 30px);
}
.inv-kicker {
  margin-top: 4.2%;
  font-size: 10px;
  letter-spacing: .38em;
  color: var(--inv-mute);
  animation: invIn .8s .08s ease both;
}
.inv-eyebrow {
  margin-top: 4%;
  font-family: Rajdhani, Oswald, sans-serif;
  font-weight: 500;
  letter-spacing: .42em;
  font-size: clamp(13px, 3.4vw, 17px);
  animation: invIn .8s .16s ease both;
}
.inv-headline {
  margin: 2px 0 0;
  font-family: Rajdhani, Oswald, sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 11vw, 62px);
  line-height: .9;
  letter-spacing: .04em;
  background: linear-gradient(180deg, #ffffff 12%, #9bd8ff 78%, #4eb6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(40, 150, 255, .35));
  animation: invTitle 1.1s .22s ease both;
}
.inv-tail {
  margin-top: 2px;
  font-family: Rajdhani, Oswald, sans-serif;
  letter-spacing: .52em;
  font-size: clamp(14px, 3.6vw, 18px);
  font-weight: 500;
  animation: invIn .8s .3s ease both;
}
.inv-sub {
  margin-top: 3.4%;
  max-width: 88%;
  font-size: 13px;
  font-style: italic;
  color: var(--inv-mute);
  animation: invIn .8s .38s ease both;
}
.inv-rule {
  width: 54px;
  height: 2px;
  margin: 12px 0 0;
  background: linear-gradient(90deg, transparent, var(--inv-cyan), transparent);
  animation: invIn .8s .44s ease both;
}
.inv-body {
  margin-top: 12px;
  max-width: 92%;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(230, 244, 255, .86);
  animation: invIn .8s .5s ease both;
}
.inv-guest {
  width: 100%;
  margin-top: auto;
  padding: 12px 14px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 28, 58, .42), rgba(6, 20, 44, .28));
  box-shadow:
    0 0 0 1px rgba(90, 200, 255, .5),
    0 0 0 6px rgba(8, 24, 48, .35),
    0 0 28px rgba(40, 160, 255, .22);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  animation: invBox 1s .58s ease both;
}
.inv-guest-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--inv-cyan-2);
}
.inv-guest-name {
  margin: 8px 4px 6px;
  min-height: 34px;
  font-family: Rajdhani, Oswald, sans-serif;
  font-size: clamp(18px, 4.6vw, 24px);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(90, 200, 255, .45);
  border-bottom: 1px solid rgba(180, 230, 255, .55);
  padding-bottom: 8px;
}
.inv-qrwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}
.inv-qr {
  width: 86px;
  height: 86px;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--inv-cyan), 0 0 22px rgba(62, 199, 255, .45);
  animation: invPulse 2.8s ease-in-out infinite;
}
.inv-qr canvas, .inv-qr img, .inv-qr table { width: 100% !important; height: 100% !important; display: block; }
.inv-qr-meta { text-align: left; }
.inv-qr-meta small {
  display: block;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--inv-mute);
}
.inv-qr-meta strong {
  display: block;
  margin-top: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}
.inv-meta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  animation: invIn .8s .7s ease both;
}
.inv-meta div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--inv-mute);
}
.inv-meta b {
  color: #fff;
  font-weight: 600;
  font-size: 11px;
}
.inv-meta svg { width: 16px; height: 16px; color: var(--inv-cyan); }
.inv-foot {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--inv-mute);
  animation: invIn .8s .82s ease both;
}
.inv-missing {
  margin-top: auto;
  padding: 16px;
  color: var(--inv-mute);
}
@keyframes invKen {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(0, -1.4%, 0); }
}
@keyframes invSweep {
  0% { transform: translateX(-40%); opacity: .15; }
  50% { opacity: .55; }
  100% { transform: translateX(40%); opacity: .15; }
}
@keyframes invTwinkle {
  0%, 100% { opacity: .12; transform: scale(.7); }
  50% { opacity: .85; transform: scale(1); }
}
@keyframes invIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes invTitle {
  from { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes invBox {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes invPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--inv-cyan), 0 0 16px rgba(62, 199, 255, .28); }
  50% { box-shadow: 0 0 0 1px #fff, 0 0 28px rgba(62, 199, 255, .7); }
}
@media (prefers-reduced-motion: reduce) {
  .inv-art, .inv-sweep, .inv-stars span, .inv-qr, .inv-logo, .inv-kicker, .inv-eyebrow, .inv-headline, .inv-tail, .inv-sub, .inv-rule, .inv-body, .inv-guest, .inv-meta, .inv-foot {
    animation: none !important;
  }
}
.studio-preview .inv-stage { width: min(380px, 100%); }

@media (min-width: 800px) {
  .invite-studio { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); gap: 24px; align-items: start; }
}

.inv-radar, .inv-foil, .inv-chip, .inv-stamp { display: none; }

.invite-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.invite-themes label {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: var(--raised, #1a1d24);
  box-shadow: 0 0 0 1px var(--border, rgba(255,255,255,.1));
  cursor: pointer;
}
.invite-themes label:has(input:checked) {
  box-shadow: 0 0 0 2px #3ec7ff;
}
.invite-themes input { position: absolute; opacity: 0; pointer-events: none; }
.invite-themes img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
}
.invite-themes strong { font-size: 13px; }
.invite-themes span { font-size: 11px; color: var(--mute, #8b8e97); line-height: 1.3; }

/* SIGNAL — radar lock */
.inv-stage.is-signal .inv-radar {
  display: block;
  position: absolute;
  left: 50%;
  top: 64%;
  width: 88%;
  opacity: .65;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.inv-stage.is-signal .inv-radar i,
.inv-stage.is-signal .inv-radar b {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(62,199,255,.28);
  border-radius: 50%;
}
.inv-stage.is-signal .inv-radar i:nth-child(1) { inset: 0; animation: invRadar 6s linear infinite; }
.inv-stage.is-signal .inv-radar i:nth-child(2) { inset: 14%; animation: invRadar 6s linear infinite reverse; }
.inv-stage.is-signal .inv-radar i:nth-child(3) { inset: 28%; }
.inv-stage.is-signal .inv-radar b {
  inset: 0;
  border: 0;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(62,199,255,.45) 88%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%);
  mask: radial-gradient(circle, transparent 54%, #000 56%);
  animation: invSpin 5.5s linear infinite;
}
.inv-stage.is-signal .inv-copy { padding-top: 8%; }
.inv-stage.is-signal .inv-headline {
  font-size: clamp(28px, 8vw, 42px);
}
.inv-stage.is-signal .inv-guest {
  margin-top: auto;
  background: radial-gradient(circle at 50% 0%, rgba(20,70,120,.45), rgba(6,20,44,.35));
}
.inv-stage.is-signal .inv-guest-name {
  letter-spacing: .18em;
  animation: invLock 1.1s .4s cubic-bezier(.16,1,.3,1) both;
}
.inv-stage.is-signal.is-live .inv-sweep,
.inv-stage.is-signal .inv-sweep {
  background: conic-gradient(from 180deg, transparent, rgba(62,199,255,.12), transparent);
}

/* NIGHTLINE — oversized guest, city trails */
.inv-stage.is-nightline .inv-copy {
  padding: 8% 8% 7%;
  align-items: flex-start;
  text-align: left;
}
.inv-stage.is-nightline .inv-logo { gap: 8px; }
.inv-stage.is-nightline .inv-headline {
  font-size: clamp(34px, 10vw, 54px);
  letter-spacing: .08em;
}
.inv-stage.is-nightline .inv-body { max-width: 92%; }
.inv-stage.is-nightline .inv-guest {
  clip-path: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-top: auto;
  width: 100%;
}
.inv-stage.is-nightline .inv-guest-label {
  color: rgba(210,230,255,.7);
}
.inv-stage.is-nightline .inv-guest-name {
  border: 0;
  padding: 0;
  margin: 6px 0 10px;
  font-size: clamp(26px, 7.4vw, 40px);
  line-height: .95;
  letter-spacing: .04em;
  text-align: left;
  min-height: 0;
  background: linear-gradient(90deg, #fff, #7ad8ff 70%, #3ec7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 18px rgba(40,140,255,.35));
  animation: invTitle 1.1s .2s ease both;
}
.inv-stage.is-nightline .inv-qrwrap { justify-content: flex-start; }
.inv-stage.is-nightline .inv-meta { grid-template-columns: 1fr; gap: 4px; }
.inv-stage.is-nightline .inv-meta div { flex-direction: row; justify-content: flex-start; gap: 8px; text-align: left; }
.inv-stage.is-nightline .inv-veil {
  background: linear-gradient(180deg, rgba(2,10,24,.55) 0%, rgba(2,10,24,.2) 42%, rgba(2,8,18,.72) 100%);
}

/* PASS — holographic credential */
.inv-stage.is-pass {
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,10,30,.6), 0 0 0 1px rgba(160,220,255,.35), inset 0 0 40px rgba(80,180,255,.08);
}
.inv-stage.is-pass .inv-foil {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 18%;
  height: 46px;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 42%, rgba(80,200,255,.35) 50%, transparent 72%);
  mix-blend-mode: screen;
  animation: invFoil 4.8s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
.inv-stage.is-pass .inv-chip {
  display: block;
  position: absolute;
  right: 10%;
  top: 11%;
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #9ad8ff, #3ea4e8 40%, #cfefff 70%, #5aaee0);
  box-shadow: 0 0 16px rgba(80,180,255,.45);
  z-index: 3;
  animation: invIn .8s .2s ease both;
}
.inv-stage.is-pass .inv-stamp {
  display: block;
  position: absolute;
  right: 8%;
  bottom: 18%;
  z-index: 3;
  font-family: Rajdhani, Oswald, sans-serif;
  letter-spacing: .28em;
  font-size: 11px;
  color: rgba(62,199,255,.85);
  border: 1px solid rgba(62,199,255,.55);
  padding: 6px 10px;
  transform: rotate(-12deg);
  animation: invStamp 900ms .7s cubic-bezier(.16,1,.3,1) both;
}
.inv-stage.is-pass .inv-guest {
  clip-path: none;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,30,64,.55), rgba(6,18,40,.32));
  box-shadow: 0 0 0 1px rgba(160,220,255,.4), inset 0 0 24px rgba(80,180,255,.12);
}
.inv-stage.is-pass .inv-guest-name {
  letter-spacing: .16em;
  border-bottom-color: rgba(160,220,255,.35);
}
.inv-stage.is-pass .inv-corners, .inv-stage.is-pass .inv-frame { opacity: .35; }

@keyframes invRadar {
  from { transform: scale(.92); opacity: .35; }
  50% { opacity: .9; }
  to { transform: scale(1.08); opacity: .35; }
}
@keyframes invSpin { to { transform: rotate(360deg); } }
@keyframes invLock {
  from { opacity: 0; letter-spacing: .4em; filter: blur(8px); }
  to { opacity: 1; letter-spacing: .18em; filter: none; }
}
@keyframes invFoil {
  0% { transform: translateX(-40%); opacity: .25; }
  50% { opacity: .85; }
  100% { transform: translateX(40%); opacity: .25; }
}
@keyframes invStamp {
  from { opacity: 0; transform: rotate(-12deg) scale(1.3); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .inv-radar i, .inv-radar b, .inv-foil, .inv-stamp, .inv-chip { animation: none !important; }
}


/* PHONE: keep 2:3 invitation size, fit the screen, no crop */
@media (max-width: 640px) {
  .inv-page {
    padding: 0;
    min-height: 100dvh;
    min-height: 100svh;
    background: #020914;
    place-items: center;
  }
  .inv-page > .inv-stage {
    width: min(100vw, calc(100svh * 9 / 16));
    max-width: 100vw;
    height: auto;
    max-height: 100svh;
    aspect-ratio: 9 / 16;
    border-radius: 0;
    box-shadow: none;
  }
  .inv-page > .inv-stage .inv-art {
    transform: none;
    object-fit: cover;
    object-position: center top;
  }
  .inv-copy {
    padding: calc(14px + env(safe-area-inset-top)) 18px calc(14px + env(safe-area-inset-bottom));
  }
  .inv-kicker { font-size: 9px; letter-spacing: .32em; margin-top: 3.2%; }
  .inv-eyebrow { font-size: 12px; margin-top: 3%; }
  .inv-headline { font-size: clamp(34px, 12vw, 48px); }
  .inv-body { font-size: 12px; margin-top: 8px; }
  .inv-sub { font-size: 12px; }
  .inv-guest { padding: 10px 12px 8px; }
  .inv-guest-name { font-size: clamp(15px, 4.4vw, 20px); min-height: 28px; }
  .inv-qr { width: 62px; height: 62px; padding: 5px; }
  .inv-meta { margin-top: 10px; gap: 6px; }
  .inv-meta b { font-size: 10px; }
  .inv-foot { font-size: 8px; margin-top: 10px; }
  .inv-stage.is-pass .inv-stamp {
    bottom: auto;
    top: 20%;
    right: 7%;
    font-size: 10px;
    padding: 5px 8px;
  }
  .inv-stage.is-pass .inv-chip { top: 9%; right: 8%; width: 36px; height: 26px; }
  .inv-stage.is-nightline .inv-meta {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .inv-stage.is-nightline .inv-meta div {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .inv-stage.is-nightline .inv-guest-name {
    font-size: clamp(22px, 8vw, 34px);
  }
  .inv-stage.is-signal .inv-radar { top: 68%; width: 92%; opacity: .55; }
}
@media (max-width: 640px) and (max-height: 720px) {
  .inv-body { display: none; }
  .inv-rule { display: none; }
  .inv-sub { font-size: 11px; }
  .inv-headline { font-size: clamp(30px, 11vw, 40px); }
}
.studio-preview .inv-stage {
  width: min(360px, 100%);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
}


/* POSTER MATCH — original artwork, name in the box, globe + road motion */
.inv-globe, .inv-road { display: none; }
.inv-stage.is-poster .inv-veil { opacity: 0; }
.inv-stage.is-poster .inv-frame,
.inv-stage.is-poster .inv-corners,
.inv-stage.is-poster .inv-logo,
.inv-stage.is-poster .inv-kicker,
.inv-stage.is-poster .inv-eyebrow,
.inv-stage.is-poster .inv-headline,
.inv-stage.is-poster .inv-tail,
.inv-stage.is-poster .inv-sub,
.inv-stage.is-poster .inv-rule,
.inv-stage.is-poster .inv-body,
.inv-stage.is-poster .inv-meta,
.inv-stage.is-poster .inv-foot { display: none; }
.inv-stage.is-poster .inv-copy {
  padding: 0;
  display: block;
}
.inv-stage.is-poster .inv-guest {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 52.4%;
  height: 7.2%;
  margin: 0;
  padding: 0 6%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  border-radius: 0;
  animation: invBox .9s .35s ease both;
}
.inv-stage.is-poster .inv-guest-label { display: none; }
.inv-stage.is-poster .inv-guest-name {
  flex: 1;
  margin: 0;
  padding: 0 0 2px;
  min-height: 0;
  border: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(13px, 3.3vw, 17px);
  letter-spacing: .14em;
  text-shadow: 0 0 16px rgba(62,199,255,.55);
}
.inv-stage.is-poster .inv-qrwrap { margin: 0; gap: 0; }
.inv-stage.is-poster .inv-qr-meta { display: none; }
.inv-stage.is-poster .inv-qr {
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 7px;
}
.inv-stage.is-poster .inv-art {
  animation: posterKen 22s ease-in-out infinite alternate;
}
.inv-stage.is-poster .inv-globe {
  display: block;
  position: absolute;
  left: -10%;
  bottom: -8%;
  width: 62%;
  aspect-ratio: 1;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.inv-globe i {
  position: absolute;
  inset: 10%;
  border: 1.5px solid rgba(140, 230, 255, .55);
  border-radius: 50%;
}
.inv-globe i:nth-child(1) { animation: globeSpin 24s linear infinite; }
.inv-globe i:nth-child(2) {
  inset: 18%;
  transform: scaleY(.42);
  animation: globeOval 16s linear infinite;
}
.inv-globe i:nth-child(3) {
  inset: 26%;
  transform: scaleY(.42) rotate(90deg);
  animation: globeOval 20s linear infinite reverse;
}
.inv-globe span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  background: #9be2ff;
  box-shadow: 0 0 10px rgba(62,199,255,.9);
  offset-path: ellipse(34% 34% at 50% 50%);
  offset-distance: 0%;
  animation: globeOrbit 10s linear infinite;
}
.inv-globe span:nth-of-type(1) { animation-duration: 10s; }
.inv-globe span:nth-of-type(2) { animation-duration: 14s; animation-direction: reverse; offset-path: ellipse(28% 28% at 50% 50%); }
.inv-globe span:nth-of-type(3) { animation-duration: 18s; offset-path: ellipse(22% 38% at 50% 50%); }
.inv-stage.is-poster .inv-road {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 34%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.inv-road b {
  position: absolute;
  height: 3px;
  width: 46%;
  right: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(122,216,255,.15), #7ad8ff 55%, #fff);
  filter: blur(1.2px);
  mix-blend-mode: screen;
  transform-origin: right center;
  animation: roadDash 2.6s linear infinite;
}
.inv-road b:nth-child(1) { bottom: 30%; width: 42%; animation-duration: 2.3s; }
.inv-road b:nth-child(2) { bottom: 20%; width: 58%; animation-duration: 3.1s; animation-delay: .5s; }
.inv-road b:nth-child(3) { bottom: 11%; width: 50%; animation-duration: 2s; animation-delay: 1.1s; }
@keyframes globeSpin { to { transform: rotate(360deg); } }
@keyframes globeOval {
  from { transform: scaleY(.42) rotate(0deg); }
  to { transform: scaleY(.42) rotate(360deg); }
}
@keyframes globeOrbit { to { offset-distance: 100%; } }
@keyframes roadDash {
  from { transform: rotate(-17deg) translateX(30%); opacity: 0; }
  18% { opacity: 1; }
  70% { opacity: .85; }
  to { transform: rotate(-17deg) translateX(-130%); opacity: 0; }
}
@keyframes posterKen {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(0,-1.1%,0); }
}
@media (prefers-reduced-motion: reduce) {
  .inv-globe i, .inv-globe span, .inv-road b, .inv-stage.is-poster .inv-art { animation: none !important; }
}
@media (max-width: 640px) {
  .inv-stage.is-poster .inv-guest {
    top: 52.6%;
    height: 7%;
    padding: 0 5%;
  }
  .inv-stage.is-poster .inv-guest-name { font-size: clamp(13px, 3.6vw, 17px); }
  .inv-stage.is-poster .inv-qr { width: 40px; height: 40px; }
}


/* JOBNEST FAMILY — same poster, four animation treatments */
.inv-aurora { display: none; }
.inv-stage.is-jobnest .inv-veil { opacity: 0 !important; }
.inv-stage.is-jobnest .inv-frame,
.inv-stage.is-jobnest .inv-corners,
.inv-stage.is-jobnest .inv-logo,
.inv-stage.is-jobnest .inv-kicker,
.inv-stage.is-jobnest .inv-eyebrow,
.inv-stage.is-jobnest .inv-headline,
.inv-stage.is-jobnest .inv-tail,
.inv-stage.is-jobnest .inv-sub,
.inv-stage.is-jobnest .inv-rule,
.inv-stage.is-jobnest .inv-body,
.inv-stage.is-jobnest .inv-meta,
.inv-stage.is-jobnest .inv-foot,
.inv-stage.is-jobnest .inv-chip,
.inv-stage.is-jobnest .inv-stamp,
.inv-stage.is-jobnest .inv-foil { display: none !important; }
.inv-stage.is-jobnest .inv-copy { padding: 0 !important; display: block !important; position: absolute; inset: 0; text-align: center; }
.inv-stage.is-jobnest .inv-guest {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: var(--inv-name-y, 53.2%) !important;
  height: 6.4% !important;
  margin: 0 !important;
  padding: 0 8% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
  animation: nameIn .9s .25s cubic-bezier(.16,1,.3,1) both;
}
.inv-stage.is-jobnest .inv-guest-label { display: none !important; }
.inv-stage.is-jobnest .inv-guest-name {
  flex: 0 0 auto;
  position: absolute;
  left: var(--inv-name-x, 50%);
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 94%;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  text-align: center !important;
  text-transform: uppercase;
  font-size: calc(clamp(12px, 3.1vw, 16px) * var(--inv-name-scale, 1));
  letter-spacing: .16em;
  color: #f4fbff;
  text-shadow: 0 0 18px rgba(62,199,255,.7);
}
.inv-stage.is-jobnest .inv-qrwrap {
  position: absolute !important;
  left: var(--inv-qr-x, 82%) !important;
  top: var(--inv-qr-y, 76%) !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 5;
  transform: translateX(-50%);
}
.inv-stage.is-jobnest .inv-qr-meta {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.inv-stage.is-jobnest .inv-qr-meta small { display: none; }
.inv-stage.is-jobnest .inv-qr-meta strong {
  display: block !important;
  margin: 0;
  font-size: 10px;
  font-weight: 400 !important;
  letter-spacing: .06em;
  color: #f4fbff;
  text-shadow: 0 1px 8px rgba(0,8,20,.9);
}
.inv-stage.is-jobnest .inv-qr {
  width: calc(46px * var(--inv-qr-scale, 1)) !important;
  height: calc(46px * var(--inv-qr-scale, 1)) !important;
  padding: 4px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(62,199,255,.55), 0 0 16px rgba(62,199,255,.4);
}
.inv-stage.is-jobnest .inv-globe { display: block; }
.inv-stage.is-jobnest .inv-road { display: block; }
.inv-stage.is-jobnest .inv-art { animation: posterKen 20s ease-in-out infinite alternate; }
.inv-stage.is-jobnest .inv-missing {
  position: absolute;
  left: 16%; right: 16%;
  top: 54%;
  margin: 0;
  color: #fff;
}

/* Poster — balanced globe + road */
.inv-stage.is-poster .inv-globe i:nth-child(4) { inset: 32%; border-style: dashed; animation: globeSpin 30s linear infinite reverse; }
.inv-stage.is-poster .inv-guest-name { animation: nameShimmer 3.8s ease-in-out infinite; }

/* Orbit — globe is the hero */
.inv-stage.is-signal .inv-globe {
  left: -14%;
  bottom: -10%;
  width: 72%;
  filter: drop-shadow(0 0 18px rgba(62,199,255,.45));
}
.inv-stage.is-signal .inv-globe i:nth-child(1) { animation-duration: 12s; border-width: 2px; }
.inv-stage.is-signal .inv-globe span { width: 8px; height: 8px; }
.inv-stage.is-signal .inv-radar {
  display: block !important;
  top: 78%;
  left: 22%;
  width: 56%;
  opacity: .55;
  transform: translate(-50%, -50%);
}
.inv-stage.is-signal .inv-road b { opacity: .45; }

/* Trails — highway is the hero */
.inv-stage.is-nightline .inv-aurora {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(80,200,255,.16) 48%, transparent 64%);
  mix-blend-mode: screen;
  animation: invFoil 3.4s ease-in-out infinite;
}
.inv-stage.is-nightline .inv-road {
  width: 92%;
  height: 40%;
}
.inv-stage.is-nightline .inv-road b {
  height: 4px;
  filter: blur(.6px);
  animation-duration: 1.7s;
}
.inv-stage.is-nightline .inv-guest-name {
  animation: trailName 2.4s ease-in-out infinite;
}
.inv-stage.is-nightline .inv-globe { opacity: .55; }

/* Pulse — guest box energy */
.inv-stage.is-pass .inv-guest {
  box-shadow: 0 0 0 1px rgba(62,199,255,.0) !important;
  animation: boxPulse 2.4s ease-in-out infinite !important;
}
.inv-stage.is-pass .inv-guest-name {
  animation: nameIn .8s .2s both, nameShimmer 2.8s 1s ease-in-out infinite;
}
.inv-stage.is-pass .inv-aurora {
  display: block;
  position: absolute;
  left: 11%;
  right: 11%;
  top: 50.4%;
  height: 12.6%;
  border-radius: 18px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 28px rgba(62,199,255,.28), inset 0 0 24px rgba(62,199,255,.12);
  animation: boxPulse 2.4s ease-in-out infinite;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}
.inv-stage.is-pass .inv-road b:nth-child(1) { animation-duration: 2s; }
.inv-stage.is-pass .inv-globe span { animation-duration: 7s; }

@keyframes nameIn {
  from { opacity: 0; transform: translateY(8px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes nameShimmer {
  0%, 100% { text-shadow: 0 0 12px rgba(62,199,255,.35); }
  50% { text-shadow: 0 0 22px rgba(160,230,255,.95), 0 0 36px rgba(62,199,255,.6); }
}
@keyframes trailName {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(62,199,255,.4)); }
  50% { filter: drop-shadow(0 0 18px rgba(180,240,255,1)); }
}
@keyframes boxPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(62,199,255,.15), 0 0 12px rgba(62,199,255,.12); }
  50% { box-shadow: 0 0 0 1px rgba(180,240,255,.7), 0 0 28px rgba(62,199,255,.45); }
}
@media (max-width: 640px) {
  .inv-stage.is-jobnest .inv-guest { top: var(--inv-name-y, 53.2%) !important; height: 6.2% !important; }
  .inv-stage.is-jobnest .inv-qrwrap { left: var(--inv-qr-x, 82%) !important; top: var(--inv-qr-y, 76%) !important; right: auto !important; bottom: auto !important; }
  .inv-stage.is-jobnest .inv-qr { width: calc(46px * var(--inv-qr-scale, 1)) !important; height: calc(46px * var(--inv-qr-scale, 1)) !important; }
}

.inv-stage.is-jobnest.is-nightline .inv-guest,
.inv-stage.is-jobnest.is-signal .inv-guest,
.inv-stage.is-jobnest.is-pass .inv-guest,
.inv-stage.is-jobnest.is-poster .inv-guest {
  top: var(--inv-name-y, 53.2%) !important;
  height: 6.4% !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  margin: 0 !important;
  position: absolute !important;
}
.inv-stage.is-jobnest .inv-guest-name {
  font-size: calc(clamp(12px, 3.1vw, 16px) * var(--inv-name-scale, 1)) !important;
  text-align: center !important;
  background: none !important;
  color: #f4fbff !important;
  -webkit-text-fill-color: #f4fbff;
}
.inv-stage.is-jobnest .inv-qrwrap {
  position: absolute !important;
  left: var(--inv-qr-x, 82%) !important;
  top: var(--inv-qr-y, 76%) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 5;
}



/* Orbit Still — Orbit layout, no globe or highway motion */
.inv-stage.is-still .inv-globe,
.inv-stage.is-still .inv-road,
.inv-stage.is-still .inv-radar,
.inv-stage.is-still .inv-aurora,
.inv-stage.is-still .inv-sweep { display: none !important; }


.inv-glows { display: none; }
.inv-stage.is-still .inv-glows { display: block; pointer-events: none; }
.inv-glows i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,235,255,.55) 0%, rgba(62,199,255,.18) 42%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(2px);
  animation: glowPulse 3.4s ease-in-out infinite;
}
.inv-glows i:nth-child(1) { width: 210px; height: 210px; right: -4%; bottom: 2%; animation-duration: 3.6s; }
.inv-glows i:nth-child(2) { width: 160px; height: 160px; left: -6%; bottom: 4%; animation-duration: 4.4s; animation-delay: .5s; }
.inv-glows i:nth-child(3) { width: 120px; height: 120px; left: 38%; top: 46%; animation-duration: 2.8s; animation-delay: .2s; }
.inv-glows i:nth-child(4) { width: 90px; height: 90px; right: 16%; top: 10%; animation-duration: 3.9s; animation-delay: 1.1s; }
.inv-glows i:nth-child(5) { width: 70px; height: 70px; left: 22%; top: 18%; animation-duration: 3.1s; animation-delay: .8s; }
.inv-stage.is-still .inv-guest {
  top: calc(var(--inv-name-y, 53.2%) + 1.8%) !important;
  height: 5.4% !important;
  align-items: flex-end !important;
  padding-bottom: 0.2% !important;
}
.inv-stage.is-still .inv-guest-name {
  top: auto;
  bottom: 0;
  transform: translate(-50%, 0);
  animation: nameShimmer 3.4s ease-in-out infinite;
}

/* Invi 04 — attached artwork, original 1023×1536, Orbit Still glow */
.inv-stage.is-invi04 {
  aspect-ratio: 1023 / 1536;
  width: min(420px, 100%);
}
.studio-preview .inv-stage.is-invi04 {
  width: min(360px, 100%);
  aspect-ratio: 1023 / 1536;
}
.inv-stage.is-invi04 .inv-art {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
}
.inv-stage.is-invi04 .inv-globe,
.inv-stage.is-invi04 .inv-road,
.inv-stage.is-invi04 .inv-radar,
.inv-stage.is-invi04 .inv-aurora,
.inv-stage.is-invi04 .inv-sweep,
.inv-stage.is-invi04 .inv-stars { display: none !important; }
.inv-stage.is-invi04 .inv-glows { display: block; pointer-events: none; z-index: 2; }
.inv-stage.is-invi04 .inv-guest {
  top: calc(var(--inv-name-y, 53.2%) + 1.8%) !important;
  height: 5.4% !important;
  align-items: flex-end !important;
  padding-bottom: 0.2% !important;
}
.inv-stage.is-invi04 .inv-guest-name {
  top: auto;
  bottom: 0;
  transform: translate(-50%, 0);
  animation: nameShimmer 3.4s ease-in-out infinite;
}
@media (max-width: 640px) {
  .inv-page > .inv-stage.is-invi04 {
    width: min(100vw, calc(100svh * 1023 / 1536));
    max-width: 100vw;
    height: auto;
    max-height: 100svh;
    aspect-ratio: 1023 / 1536;
  }
}
html.is-phone .inv-page > .inv-stage.is-invi04 {
  width: min(100vw, calc(100svh * 1023 / 1536)) !important;
  height: min(100svh, calc(100vw * 1536 / 1023)) !important;
  max-width: 100vw !important;
  max-height: 100svh !important;
  aspect-ratio: 1023 / 1536;
}

/* Beyond 2036 — attached artwork, original 1127×1600 */
.inv-stage.is-beyond {
  aspect-ratio: 1127 / 1600;
  width: min(420px, 100%);
}
.studio-preview .inv-stage.is-beyond {
  width: min(360px, 100%);
  aspect-ratio: 1127 / 1600;
}
.inv-stage.is-beyond .inv-art {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
}
.inv-stage.is-beyond .inv-globe,
.inv-stage.is-beyond .inv-road,
.inv-stage.is-beyond .inv-radar,
.inv-stage.is-beyond .inv-aurora,
.inv-stage.is-beyond .inv-sweep,
.inv-stage.is-beyond .inv-stars,
.inv-stage.is-beyond .inv-glows { display: none !important; }
.inv-stage.is-beyond .inv-guest {
  top: 86.4% !important;
  left: 14% !important;
  right: 28% !important;
  height: 4.4% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 2% !important;
  background: #070b1a !important;
}
.inv-stage.is-beyond .inv-guest-name {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 100%;
  color: #f7ecd0 !important;
  -webkit-text-fill-color: #f7ecd0;
  letter-spacing: .14em;
  font-size: calc(clamp(11px, 2.5vw, 15px) * var(--inv-name-scale, 1)) !important;
  text-shadow: 0 0 14px rgba(212,175,55,.4);
}
.inv-stage.is-beyond .inv-qrwrap {
  left: 84.4% !important;
  top: 92.3% !important;
  transform: translate(-50%, -50%);
  right: auto !important;
  bottom: auto !important;
}
.inv-stage.is-beyond .inv-qr {
  width: calc(118px * var(--inv-qr-scale, 1)) !important;
  height: calc(118px * var(--inv-qr-scale, 1)) !important;
  padding: 8px !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 0 0 6px #fff, 0 8px 18px rgba(0,0,0,.35);
}
.inv-stage.is-beyond .inv-qr-meta { display: none !important; }
@media (max-width: 640px) {
  .inv-page > .inv-stage.is-beyond {
    width: min(100vw, calc(100svh * 1127 / 1600));
    max-width: 100vw;
    height: auto;
    max-height: 100svh;
    aspect-ratio: 1127 / 1600;
  }
  .inv-stage.is-beyond .inv-qr {
    width: calc(92px * var(--inv-qr-scale, 1)) !important;
    height: calc(92px * var(--inv-qr-scale, 1)) !important;
  }
}
html.is-phone .inv-page > .inv-stage.is-beyond {
  width: min(100vw, calc(100svh * 1127 / 1600)) !important;
  height: min(100svh, calc(100vw * 1600 / 1127)) !important;
  max-width: 100vw !important;
  max-height: 100svh !important;
  aspect-ratio: 1127 / 1600;
}
@keyframes glowPulse {
  0%, 100% { opacity: .35; transform: scale(.92); }
  50% { opacity: .95; transform: scale(1.1); }
}

@media (max-width: 640px) {
  .inv-stage.is-jobnest .inv-art {
    transform: none !important;
    animation: none !important;
  }
}

html.is-phone, html.is-phone body {
  height: 100%;
  overflow: hidden;
  background: #041428;
}
html.is-phone .inv-page {
  position: fixed;
  inset: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #041428;
}
html.is-phone .inv-page > .inv-stage {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  box-shadow: none;
}
html.is-phone .inv-page > .inv-stage {
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 9 / 16;
  border-radius: 0 !important;
}
html.is-phone .inv-page > .inv-stage .inv-art {
  transform: none !important;
  animation: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
}

.inv-qrmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(2, 9, 20, .86);
  backdrop-filter: blur(10px);
}
.inv-qrmodal.is-open { display: grid; }
.inv-qrmodal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #eef7ff;
  font: inherit;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.inv-qrmodal-card {
  width: min(86vw, 360px);
  background: #fff;
  color: #041428;
  border-radius: 22px;
  padding: 22px 20px 18px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.inv-qrmodal-qr {
  width: min(72vw, 280px);
  height: min(72vw, 280px);
  margin: 0 auto;
  background: #fff;
}
.inv-qrmodal-qr canvas,
.inv-qrmodal-qr img,
.inv-qrmodal-qr table {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.inv-qrmodal-code {
  margin: 14px 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  letter-spacing: .08em;
}
.inv-qrmodal-hint {
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a6b7a;
}
.inv-stage.is-jobnest .inv-qrwrap {
  min-width: 44px;
  min-height: 44px;
}

/* Stars of Excellence — attached artwork, 1066×1600 */
.inv-stage.is-stars {
  aspect-ratio: 1066 / 1600;
  width: min(420px, 100%);
  background: #061433;
}
.studio-preview .inv-stage.is-stars {
  width: min(360px, 100%);
  aspect-ratio: 1066 / 1600;
}
.inv-stage.is-stars .inv-art {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
}
.inv-stage.is-stars .inv-globe,
.inv-stage.is-stars .inv-road,
.inv-stage.is-stars .inv-radar,
.inv-stage.is-stars .inv-aurora,
.inv-stage.is-stars .inv-stars,
.inv-stage.is-stars .inv-glows,
.inv-stage.is-stars .inv-veil { display: none !important; }
.inv-stage.is-stars .inv-sweep {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 214, 120, .22) 50%, transparent 58%);
  mix-blend-mode: screen;
  animation: starsSheen 8s ease-in-out infinite;
}
.inv-stage.is-stars .inv-guest {
  top: 76% !important;
  left: 18% !important;
  right: 18% !important;
  height: 2.6% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: transparent !important;
}
.inv-stage.is-stars .inv-guest-label { display: none !important; }
.inv-stage.is-stars .inv-guest-name {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100%;
  color: #f6e7b2 !important;
  -webkit-text-fill-color: #f6e7b2;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: calc(clamp(11px, 2.4vw, 15px) * var(--inv-name-scale, 1)) !important;
  text-shadow: 0 0 12px rgba(212, 175, 55, .55);
  animation: starsName 3.6s ease-in-out infinite;
}
.inv-stage.is-stars .inv-qrwrap {
  left: 50% !important;
  top: 82.8% !important;
  transform: translate(-50%, -50%);
  right: auto !important;
  bottom: auto !important;
  z-index: 4;
}
.inv-stage.is-stars .inv-qr {
  width: calc(92px * var(--inv-qr-scale, 1)) !important;
  height: calc(92px * var(--inv-qr-scale, 1)) !important;
  padding: 6px !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 0 0 5px #fff, 0 0 18px rgba(255, 196, 80, .45);
}
.inv-stage.is-stars .inv-qr-meta { display: none !important; }
@keyframes starsSheen {
  0%, 100% { transform: translateX(-18%); opacity: .25; }
  50% { transform: translateX(18%); opacity: .7; }
}
@keyframes starsName {
  0%, 100% { text-shadow: 0 0 8px rgba(212, 175, 55, .35); }
  50% { text-shadow: 0 0 16px rgba(255, 220, 140, .85); }
}
@media (max-width: 640px) {
  .inv-page > .inv-stage.is-stars {
    width: min(100vw, calc(100svh * 1066 / 1600));
    max-width: 100vw;
    height: auto;
    max-height: 100svh;
    aspect-ratio: 1066 / 1600;
  }
  .inv-stage.is-stars .inv-qr {
    width: calc(78px * var(--inv-qr-scale, 1)) !important;
    height: calc(78px * var(--inv-qr-scale, 1)) !important;
  }
}
html.is-phone .inv-page > .inv-stage.is-stars {
  width: min(100vw, calc(100svh * 1066 / 1600)) !important;
  height: min(100svh, calc(100vw * 1600 / 1066)) !important;
  max-width: 100vw !important;
  max-height: 100svh !important;
  aspect-ratio: 1066 / 1600 !important;
}
html.is-phone .inv-page > .inv-stage.is-stars .inv-art {
  object-fit: contain !important;
  object-position: center center !important;
}

/* Dealer and Office cards — artwork 1067×1600, name under 2026 */
.inv-guest-role { display: none; }
.inv-stage.is-dealer,
.inv-stage.is-office {
  aspect-ratio: 1067 / 1600;
  width: min(420px, 100%);
  background: #061433;
  container-type: inline-size;
}
.studio-preview .inv-stage.is-dealer,
.studio-preview .inv-stage.is-office {
  width: min(360px, 100%);
  aspect-ratio: 1067 / 1600;
}
.inv-stage.is-dealer .inv-art,
.inv-stage.is-office .inv-art {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
}
.inv-stage.is-dealer .inv-globe,
.inv-stage.is-dealer .inv-road,
.inv-stage.is-dealer .inv-radar,
.inv-stage.is-dealer .inv-aurora,
.inv-stage.is-dealer .inv-veil,
.inv-stage.is-office .inv-globe,
.inv-stage.is-office .inv-road,
.inv-stage.is-office .inv-radar,
.inv-stage.is-office .inv-aurora,
.inv-stage.is-office .inv-veil { display: none !important; }
.inv-stage.is-dealer .inv-sweep,
.inv-stage.is-office .inv-sweep {
  display: block !important;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 220, 140, .28) 50%, transparent 62%);
  mix-blend-mode: screen;
  animation: starsSheen 7.5s ease-in-out infinite;
}
.inv-stage.is-dealer .inv-stars,
.inv-stage.is-office .inv-stars {
  display: block !important;
  z-index: 3;
  pointer-events: none;
}
.inv-stage.is-dealer .inv-stars::before,
.inv-stage.is-dealer .inv-stars::after,
.inv-stage.is-office .inv-stars::before,
.inv-stage.is-office .inv-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
  animation: hayTwinkle 3.2s ease-in-out infinite;
}
.inv-stage.is-dealer .inv-stars::before,
.inv-stage.is-office .inv-stars::before {
  background-image:
    radial-gradient(circle, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle, #ffe7a8 0 1.4px, transparent 2.4px),
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #9fd0ff 0 1.3px, transparent 2.2px),
    radial-gradient(circle, #fff 0 1px, transparent 1.8px);
  background-position: 18% 12%, 78% 16%, 30% 28%, 84% 34%, 12% 62%;
  background-size: 8px 8px, 10px 10px, 7px 7px, 9px 9px, 7px 7px;
}
.inv-stage.is-dealer .inv-stars::after,
.inv-stage.is-office .inv-stars::after {
  background-image:
    radial-gradient(circle, #ffe7a8 0 1.5px, transparent 2.4px),
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle, #9fd0ff 0 1px, transparent 1.8px);
  background-position: 62% 22%, 22% 48%, 88% 58%, 40% 72%;
  background-size: 10px 10px, 7px 7px, 8px 8px, 7px 7px;
  animation-delay: 1.2s;
}
.inv-stage.is-dealer .inv-glows,
.inv-stage.is-office .inv-glows { display: none !important; }
.inv-stage.is-dealer .inv-guest,
.inv-stage.is-office .inv-guest {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  top: 41.6% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8% !important;
  background: transparent !important;
  overflow: visible !important;
  gap: 0.22em;
  text-align: center !important;
  transform: none !important;
  z-index: 6;
}
.inv-stage.is-dealer .inv-guest-label,
.inv-stage.is-office .inv-guest-label { display: none !important; }
.inv-stage.is-dealer .inv-guest-name,
.inv-stage.is-office .inv-guest-name,
.inv-stage.is-dealer .inv-guest-role,
.inv-stage.is-office .inv-guest-role {
  display: block !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  transform: none !important;
  text-align: center !important;
  flex: 0 0 auto !important;
}
.inv-stage.is-dealer .inv-guest-name,
.inv-stage.is-office .inv-guest-name {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-family: Montserrat, Figtree, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.05;
  text-shadow: none;
  animation: none !important;
  font-size: calc(clamp(13px, 4.2cqi, 26px) * var(--inv-name-scale, 1)) !important;
}
.inv-stage.is-dealer .inv-guest-role,
.inv-stage.is-office .inv-guest-role {
  color: #f7f1df !important;
  -webkit-text-fill-color: #f7f1df;
  font-family: Montserrat, Figtree, sans-serif;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: calc(clamp(9px, 2.35cqi, 15px) * var(--inv-name-scale, 1)) !important;
}
.inv-stage.is-office .inv-guest-role { text-transform: none; letter-spacing: .02em; }
.inv-stage.is-dealer .inv-qrwrap,
.inv-stage.is-office .inv-qrwrap {
  left: 50% !important;
  top: 83% !important;
  transform: translate(-50%, -50%);
  right: auto !important;
  bottom: auto !important;
  z-index: 4;
}
.inv-stage.is-dealer .inv-qr,
.inv-stage.is-office .inv-qr {
  box-sizing: border-box;
  width: 13.2cqi !important;
  height: 13.2cqi !important;
  padding: 0.7cqi !important;
  border-radius: 1cqi !important;
  background: #fff !important;
  box-shadow: none !important;
  animation: none !important;
}
@keyframes hayTwinkle {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}
@keyframes hayName {
  0%, 100% { text-shadow: 0 0 8px rgba(255, 220, 150, .28); }
  50% { text-shadow: 0 0 18px rgba(255, 232, 170, .95); }
}
@keyframes hayQr {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 210, 120, .2); }
  50% { box-shadow: 0 0 22px rgba(255, 220, 140, .75); }
}
@media (prefers-reduced-motion: reduce) {
  .inv-stage.is-dealer .inv-sweep,
  .inv-stage.is-dealer .inv-stars::before,
  .inv-stage.is-dealer .inv-stars::after,
  .inv-stage.is-dealer .inv-glows i,
  .inv-stage.is-dealer .inv-guest-name,
  .inv-stage.is-dealer::after,
  .inv-stage.is-office .inv-sweep,
  .inv-stage.is-office .inv-stars::before,
  .inv-stage.is-office .inv-stars::after,
  .inv-stage.is-office .inv-glows i,
  .inv-stage.is-office .inv-guest-name,
  .inv-stage.is-office::after,
  .inv-stage.is-dealer .inv-qr,
  .inv-stage.is-office .inv-qr { animation: none !important; }
}
.inv-stage.is-dealer .inv-qr-meta,
.inv-stage.is-office .inv-qr-meta { display: none !important; }
@media (max-width: 640px) {
  .inv-page > .inv-stage.is-dealer,
  .inv-page > .inv-stage.is-office {
    width: min(100vw, calc(100svh * 1067 / 1600));
    max-width: 100vw;
    height: auto;
    max-height: 100svh;
    aspect-ratio: 1067 / 1600;
  }
}
html.is-phone .inv-page > .inv-stage.is-dealer,
html.is-phone .inv-page > .inv-stage.is-office {
  width: min(100vw, calc(100svh * 1067 / 1600)) !important;
  height: min(100svh, calc(100vw * 1600 / 1067)) !important;
  max-width: 100vw !important;
  max-height: 100svh !important;
  aspect-ratio: 1067 / 1600 !important;
}
html.is-phone .inv-page > .inv-stage.is-dealer .inv-art,
html.is-phone .inv-page > .inv-stage.is-office .inv-art {
  object-fit: contain !important;
  object-position: center center !important;
}
@media (prefers-reduced-motion: reduce) {
  .inv-stage.is-stars .inv-sweep,
  .inv-stage.is-stars .inv-guest-name { animation: none !important; }
}
