@font-face {
  font-family: Archivo;
  src: url("./assets/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root,
body,
button,
input,
select,
textarea,
.navitem {
  font-family: Inter, Arial, sans-serif;
}
h1,
h2,
h3,
h4,
.typebrand,
.session-time,
.wallet-value strong,
.money-amount,
.chart-meta b,
.stat b,
.stage-stamp {
  font-family: Archivo, Inter, sans-serif;
}
body {
  background: #08080a;
}
main {
  padding-top: 18px;
}
.cinema {
  --light: #ff2144;
  --hot: #ff5867;
  --mid: #ab082b;
  --shade: #4d0517;
  --ink: #10080d;
  position: relative;
  isolation: isolate;
  margin-bottom: clamp(20px, 2vw, 32px);
  border: 1px solid color-mix(in srgb, var(--light) 22%, #29232a);
  border-radius: 24px;
  overflow: clip;
  background: #0e0e12;
  view-timeline-name: --cinema;
  view-timeline-axis: block;
}
.set-pakoo {
  --light: #4d86ff;
  --hot: #9bcfff;
  --mid: #134dc3;
  --shade: #0e2760;
  --ink: #070d1a;
}
.set-colora {
  --light: #f6de38;
  --hot: #fff79c;
  --mid: #b69a07;
  --shade: #554906;
  --ink: #111005;
}
.set-house {
  --light: #ff4954;
  --hot: #ff967d;
  --mid: #bb1f2a;
  --shade: #520c1b;
}
.stage-window {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.stage-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: clamp(350px, 30vw, 475px);
  padding: clamp(26px, 2.8vw, 54px);
  gap: 22px;
  pointer-events: none;
}
.stage-content button,
.stage-content select,
.stage-content label {
  pointer-events: auto;
}
.stage-kicker,
.stage-kicker span {
  font:
    600 11px/1.4 Inter,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eee4e9;
}
.stage-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stage-kicker span {
  color: #b1a2ac;
}
.stage-kicker i {
  width: 22px;
  height: 3px;
  background: var(--light);
  transform: skew(-24deg);
}
.cinema h1 {
  color: #fff8f5;
  font-size: clamp(76px, 8.6vw, 148px);
  line-height: 0.79;
  font-weight: 850;
  letter-spacing: -0.078em;
  margin: 0 0 0.16em;
  font-stretch: normal;
}
.title-cut {
  display: block;
  padding: 0.1em 0.12em 0.12em 0.025em;
  margin: -0.1em -0.12em -0.11em -0.025em;
  overflow: clip;
}
.title-cut > span {
  display: block;
}
.title-cut i {
  color: var(--light);
  font-style: normal;
}
.headline-track p {
  margin: 16px 0 0;
  font-size: clamp(14px, 1.12vw, 19px);
  letter-spacing: -0.015em;
  color: #ddd4d9;
}
.headline-track p:first-letter {
  text-transform: uppercase;
}
.stage-tools,
.stage-tools .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.stage-tools .btn,
.stage-tools .period {
  min-height: 43px;
}
.stage-tools .btn.primary {
  background: #fff8f7;
  color: #1a0f12;
  box-shadow: none;
  border: 1px solid white;
}
.stage-tools .period {
  background: #181217;
  color: #fff;
  border-color: #52424c;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ded6da;
  background: none;
  border: 0;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
}
.scroll-cue .icon {
  rotate: 90deg;
  color: var(--hot);
}
.motion-control {
  border: 1px solid #3c343b;
  background: #1c181c;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #e2d7dc;
  flex: none;
}
.motion-control:disabled {
  opacity: 0.68;
}
.stage-decor,
.stage-atmos,
.stage-lines,
.stage-signet,
.trajectory,
.figure-track,
.performer-entry {
  position: absolute;
  pointer-events: none;
}
.stage-decor,
.stage-atmos,
.stage-lines,
.figure-track,
.performer-entry {
  inset: 0;
}
.stage-decor,
.figure-track {
  overflow: hidden;
}
.stage-atmos {
  background:
    radial-gradient(
      ellipse at 85% 48%,
      var(--light) -10%,
      var(--mid) 17%,
      var(--shade) 37%,
      transparent 65%
    ),
    linear-gradient(108deg, #0b090c 12%, var(--ink) 52%, var(--shade));
}
.stage-lines {
  background: repeating-linear-gradient(
    118deg,
    transparent 0 54px,
    #fff1 55px,
    transparent 56px 99px
  );
  mask-image: linear-gradient(90deg, transparent 43%, #000a);
}
.stage-signet {
  top: -22%;
  right: 6%;
  height: 145%;
  width: 44%;
  display: grid;
  place-items: center;
  opacity: 0.26;
}
.stage-signet img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.stage-signet .housemark {
  font: 900 clamp(120px, 20vw, 300px) / 1 Archivo;
  color: white;
}
.trajectory {
  top: 18%;
  right: -13%;
  width: 76%;
  height: 70%;
  border: 1px solid color-mix(in srgb, var(--hot) 65%, transparent);
  border-radius: 50%;
  transform: rotate(-23deg);
  box-shadow:
    inset 0 2px 1px #ffffff25,
    0 -4px 16px color-mix(in srgb, var(--light) 35%, transparent);
}
.trajectory.near {
  top: 25%;
  right: -12%;
  width: 80%;
  height: 67%;
  border-color: #ffffff3b;
  transform: rotate(-27deg);
}
.trajectory i {
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 3px;
  border-radius: 50%;
  background: #fff9ec;
  box-shadow: 0 0 8px var(--hot);
  offset-path: ellipse(50% 50% at 50% 50%);
  offset-distance: 22%;
}
.figure-track {
  z-index: 1;
  inset: 0 0 0 43%;
  transform-origin: 55% 100%;
}
.performer {
  position: absolute;
  height: 93%;
  width: 100%;
  bottom: -2%;
  left: 1%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: center bottom;
}
.set-group .performer {
  max-width: 830px;
  height: 96%;
}
.set-pakoo .performer {
  height: 99%;
  bottom: -6%;
}
.performer.prop {
  inset: 2% 4% 0;
  width: 92%;
  height: 96%;
}
.prop img,
.prop canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #121014;
  border-top: 1px solid #463139;
}
.brand-strip a {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 17px clamp(13px, 2.4vw, 40px);
  color: white;
  overflow: hidden;
}
.brand-strip a + a {
  border-left: 1px solid #342a30;
}
.brand-strip a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--strip-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.brand-strip a:is(:hover, :focus-visible):before {
  transform: scaleX(1);
}
.strip-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--strip-color);
  flex: none;
}
.strip-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.strip-mark .housemark {
  font: bold 26px/0.9 Archivo;
  letter-spacing: -0.12em;
  font-style: italic;
}
.brand-strip b,
.brand-strip small {
  display: block;
}
.brand-strip b {
  font: 700 clamp(16px, 1.28vw, 22px) / 1.08 Archivo;
  letter-spacing: -0.035em;
}
.brand-strip small {
  font-size: 12px;
  color: #c3b9c0;
  margin-top: 5px;
}
.brand-strip a > .icon {
  margin-left: auto;
  color: var(--strip-color);
}
.compact .stage-content {
  min-height: clamp(180px, 16vw, 250px);
  gap: 18px;
}
.compact h1 {
  font-size: clamp(46px, 5.3vw, 96px);
  line-height: 0.95;
}
.compact .stage-signet {
  height: 165%;
  top: -25%;
  right: 0;
}
.compact .figure-track {
  left: 68%;
}
.compact .performer {
  height: 144%;
  bottom: -40%;
}
.compact .performer.prop {
  height: 130%;
  top: -10%;
}
.compact .headline-track p {
  margin-top: 8px;
}
.section-heading h2,
.panel-head h2,
.wallet-head h2,
.month-head h2 {
  font-size: clamp(21px, 1.8vw, 32px);
  letter-spacing: -0.045em;
  font-weight: 720;
}
.stage-copy h2 {
  font-size: clamp(33px, 3.5vw, 63px);
  letter-spacing: -0.058em;
}
.folder .folder-text h3 {
  font-size: clamp(26px, 2.5vw, 44px);
  font-weight: 760;
}
.folder .folder-text p,
.field,
.tabs a,
.btn,
.period select {
  font-size: 14px;
}
.stats .stat b,
.chart-meta b {
  letter-spacing: -0.055em;
  font-weight: 760;
}
.performance-panel {
  scroll-margin-top: 20px;
}
@keyframes word-in {
  from {
    transform: translate3d(0, 108%, 0) rotate(4deg);
  }
  to {
    transform: none;
  }
}
@keyframes art-in {
  from {
    transform: translate3d(12%, 15%, 0) scale(0.84) rotate(4deg);
    opacity: 0.15;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes actor-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.65deg);
  }
  50% {
    transform: translate3d(-0.6%, -2%, 0) rotate(0.5deg);
  }
}
@keyframes loop-shift {
  to {
    offset-distance: 122%;
  }
}
@keyframes cue-drop {
  0%,
  100% {
    translate: 0 -2px;
  }
  55% {
    translate: 0 3px;
  }
}
@keyframes sign-out {
  to {
    transform: translate3d(14%, 9%, 0) rotate(13deg);
  }
}
@keyframes figure-out {
  to {
    transform: translate3d(4%, 24%, 0) scale(1.15);
  }
}
@keyframes head-out {
  to {
    transform: translate3d(0, -50px, 0);
    opacity: 0.38;
  }
}
@keyframes folder-open {
  from {
    rotate: x -9deg;
    translate: 0 17%;
  }
  to {
    rotate: x 0deg;
    translate: 0 0;
  }
}
@keyframes object-rise {
  from {
    translate: 0 15%;
    scale: 0.86;
  }
  to {
    translate: 0 0;
    scale: 1;
  }
}
@keyframes reading {
  from {
    scale: 0 1;
  }
  to {
    scale: 1 1;
  }
}
html[data-motion="full"] .opening .title-cut > span {
  animation: word-in 0.8s cubic-bezier(0.16, 0.82, 0.17, 1)
    calc(var(--order) * 100ms) both;
}
html[data-motion="full"] .opening .performer-entry {
  animation: art-in 1.1s cubic-bezier(0.18, 0.76, 0.14, 1) both;
}
html[data-motion="full"] .performer {
  animation: actor-breathe 5.8s ease-in-out infinite;
}
html[data-motion="full"] .trajectory i {
  animation: loop-shift 11s linear infinite;
}
html[data-motion="full"] .trajectory.near i {
  animation-duration: 16s;
  animation-direction: reverse;
}
html[data-motion="full"] .scroll-cue .icon {
  animation: cue-drop 1.8s ease-in-out infinite;
}
@supports (animation-timeline: view()) {
  html[data-motion="full"] .figure-track,
  html[data-motion="full"] .headline-track,
  html[data-motion="full"] .stage-signet {
    animation: figure-out linear both;
    animation-timeline: --cinema;
    animation-range: exit 0% exit 100%;
  }
  html[data-motion="full"] .headline-track {
    animation-name: head-out;
  }
  html[data-motion="full"] .stage-signet {
    animation-name: sign-out;
  }
  html[data-motion="full"] .folders {
    view-timeline-name: --folders;
  }
  html[data-motion="full"] .folder-face,
  html[data-motion="full"] .folder-model {
    animation: folder-open linear both;
    animation-timeline: --folders;
    animation-range: entry 0% cover 35%;
  }
  html[data-motion="full"] .folder-model {
    animation-name: object-rise;
  }
  html[data-motion="full"] .topbar:after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 2px;
    background: var(--accent);
    transform-origin: left;
    pointer-events: none;
    animation: reading linear both;
    animation-timeline: scroll(root);
  }
}
html[data-motion="quiet"] *,
html[data-motion="quiet"] *::before,
html[data-motion="quiet"] *::after {
  animation: none !important;
  transition-duration: 0s !important;
  scroll-behavior: auto !important;
}
@media (max-width: 820px) {
  .stage-content {
    min-height: 335px;
    padding: 25px;
    gap: 21px;
  }
  .cinema h1 {
    font-size: clamp(67px, 10vw, 88px);
  }
  .compact h1 {
    font-size: clamp(39px, 7vw, 66px);
  }
  .brand-strip a {
    padding: 15px 13px;
    gap: 8px;
  }
  .strip-mark {
    width: 24px;
    height: 24px;
  }
  .brand-strip a > .icon {
    display: none;
  }
  .scroll-cue {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  main {
    padding-top: 12px;
  }
  .cinema {
    border-radius: 18px;
  }
  .stage-content {
    min-height: 380px;
    gap: 14px;
    justify-content: flex-start;
    padding: 22px 17px 16px;
  }
  .stage-kicker,
  .stage-kicker span {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .cover .headline-track {
    margin-top: 10px;
  }
  .cinema h1 {
    font-size: clamp(63px, 15vw, 83px);
  }
  .headline-track p {
    font-size: 13px;
    max-width: 62%;
    line-height: 1.4;
  }
  .cover .figure-track {
    inset: 26% -9% 44px 28%;
  }
  .set-pakoo.cover .figure-track {
    inset: 6% -14% 50px 49%;
  }
  .cover.set-house .figure-track,
  .cover.set-colora .figure-track {
    inset: 26% -12% 35px 39%;
  }
  .stage-signet {
    top: 7%;
    height: 88%;
    width: 74%;
    right: -12%;
  }
  .stage-tools {
    margin-top: auto;
    width: 100%;
    position: relative;
    gap: 4px;
  }
  .stage-tools .btn,
  .stage-tools .period {
    min-height: 39px;
  }
  .stage-tools .period select,
  .stage-tools .btn {
    font-size: 13px;
  }
  .scroll-cue {
    padding: 5px;
    font-size: 0;
    width: 30px;
    height: 35px;
    justify-content: center;
  }
  .stage-tools .actions {
    gap: 5px;
  }
  .set-group.cover .stage-window:after {
    content: "";
    position: absolute;
    inset: 75% 0 0;
    background: linear-gradient(transparent, var(--ink));
    pointer-events: none;
    z-index: 1;
  }
  .brand-strip a {
    align-items: flex-start;
    gap: 6px;
    flex-direction: column;
    padding: 11px 9px 13px;
  }
  .brand-strip .strip-mark {
    height: 19px;
    width: 21px;
  }
  .strip-mark .housemark {
    font-size: 18px;
  }
  .brand-strip b {
    font-size: 16px;
  }
  .brand-strip small {
    font-size: 10px;
    line-height: 1.35;
  }
  .compact .stage-content {
    min-height: 185px;
    gap: 12px;
  }
  .compact .headline-track {
    max-width: 88%;
  }
  .compact h1 {
    font-size: clamp(37px, 9vw, 57px);
    line-height: 0.99;
  }
  .compact .figure-track {
    inset: 10% -12% 0 61%;
    opacity: 0.55;
  }
  .compact .stage-signet {
    right: -13%;
  }
  .compact .headline-track p {
    max-width: 88%;
  }
  .motion-control {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 360px) {
  .stage-tools .btn {
    padding: 6px 10px;
  }
  .brand-strip b {
    font-size: 14px;
  }
}
.topbar {
  position: relative;
}
.win-receipt {
  width: min(485px, calc(100vw - 24px));
  min-height: 160px;
  padding: 23px 120px 23px 22px;
  background:
    radial-gradient(
      ellipse at 90% 45%,
      #345ede 0%,
      #132c6a 36%,
      transparent 70%
    ),
    linear-gradient(117deg, #0e1429, #1f3268);
  border: 1px solid #7399ff;
  isolation: isolate;
}
.win-receipt:after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 0;
  width: 102px;
  height: 94%;
  z-index: -1;
  background: url("./assets/brand/pakoo-point.webp") no-repeat center
    bottom/contain;
  transform-origin: bottom center;
}
.win-receipt .win-seal {
  position: absolute;
  bottom: 13px;
  right: 17px;
  width: 34px;
  height: 34px;
  font-size: 18px;
  border-radius: 50%;
}
.win-copy h2 {
  font: 790 clamp(27px, 2.8vw, 39px) / 0.98 Archivo;
  margin: 6px 0 8px;
  letter-spacing: -0.055em;
}
.win-copy strong {
  color: white;
  font: 690 20px Archivo;
  margin-top: 9px;
}
.win-receipt > button {
  z-index: 1;
}
html[data-motion="full"] .win-receipt:after {
  animation: art-in 0.75s cubic-bezier(0.17, 0.82, 0.18, 1) both;
}
.win-particles {
  left: auto;
  right: 28px;
}
@keyframes wallet-spread {
  from {
    translate: 0 18px;
    rotate: -3deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
@keyframes meeting-flight {
  from {
    translate: 10% 8%;
    scale: 0.86;
  }
  to {
    translate: -3% 0;
    scale: 1.05;
  }
}
@supports (animation-timeline: view()) {
  html[data-motion="full"] .wallet {
    view-timeline-name: --wallet;
  }
  html[data-motion="full"] .wallet .deck {
    animation: wallet-spread linear both;
    animation-timeline: --wallet;
    animation-range: entry 0% cover 38%;
  }
  html[data-motion="full"] .session-stage {
    view-timeline-name: --meeting;
  }
  html[data-motion="full"] .session-stage .live-object {
    animation: meeting-flight linear both;
    animation-timeline: --meeting;
    animation-range: entry 0% exit 40%;
  }
}
@media (max-width: 600px) {
  .stage-tools {
    flex-direction: row;
    align-items: center;
  }
  .stage-tools .actions {
    width: auto;
    flex-direction: row;
    align-items: center;
  }
  .stage-tools .period,
  .stage-tools .btn {
    width: auto;
  }
  .stage-tools .period select {
    max-width: 128px;
  }
  .cover .figure-track {
    bottom: 36px;
  }
  .set-group.cover .stage-window:after {
    inset: 76% 0 0;
  }
}

/* The wallet and folders move as cached surfaces while the dashboard scrolls. */
.folder .folder-face {
  backdrop-filter: none;
}
html[data-motion="full"] .figure-track,
html[data-motion="full"] .stage-signet,
html[data-motion="full"] .wallet .deck,
html[data-motion="full"] .folder-face {
  will-change: transform;
}

.scene-brand,
.travelling-brand {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}
.scene-brand img,
.travelling-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.scene-brand .housemark,
.travelling-brand .housemark {
  font: bold italic 18px/0.9 Archivo;
  color: var(--light, #ff4954);
  letter-spacing: -0.1em;
}
.travelling-brand {
  position: fixed;
  z-index: 25;
  pointer-events: none;
  transform-origin: center;
}
