:root {
  color-scheme: light;
  --ink: #211b18;
  --muted: #7f6a5b;
  --paper: #fff7ec;
  --paper-deep: #ead3b5;
  --gold: #f1b95c;
  --green: #687659;
  --black: #161514;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f5dfc8;
  color: var(--ink);
}

.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 244, 222, 0.84), rgba(255, 236, 211, 0.26) 29%, transparent 43%),
    repeating-linear-gradient(102deg, rgba(95, 68, 44, 0.18) 0 7px, transparent 7px 30px),
    radial-gradient(circle at 74% 24%, rgba(255, 205, 134, 0.56), transparent 30%),
    linear-gradient(135deg, #ffe7d5 0%, #f2cda9 52%, #dac4a4 100%);
}

.stage::before {
  content: "";
  position: absolute;
  inset: auto auto -9rem -4rem;
  width: min(42vw, 28rem);
  aspect-ratio: 1;
  border-radius: 46% 54% 49% 51%;
  background:
    radial-gradient(circle at 58% 35%, rgba(255, 255, 255, 0.42), transparent 0 17%, transparent),
    linear-gradient(145deg, rgba(69, 88, 55, 0.75), rgba(38, 58, 36, 0.28));
  filter: blur(0.5px);
  transform: rotate(-18deg);
}

.stage::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -5rem;
  width: min(48vw, 34rem);
  height: 18rem;
  background: linear-gradient(165deg, rgba(103, 67, 39, 0.42), rgba(55, 34, 25, 0.58));
  border-radius: 52% 0 0 0;
  box-shadow: -2rem -2rem 5rem rgba(82, 54, 38, 0.15);
}

.ambient {
  position: absolute;
  pointer-events: none;
}

.ambient-a {
  left: 9vw;
  top: 13vh;
  width: 12rem;
  height: 15rem;
  border-left: 0.5rem solid rgba(73, 91, 55, 0.55);
  border-radius: 50%;
  transform: rotate(28deg);
}

.ambient-a::before,
.ambient-a::after {
  content: "";
  position: absolute;
  width: 5.5rem;
  height: 2.7rem;
  border-radius: 999px 999px 120px 999px;
  background: rgba(56, 83, 49, 0.62);
  transform-origin: left center;
}

.ambient-a::before {
  left: 0.7rem;
  top: 2rem;
  transform: rotate(-34deg);
}

.ambient-a::after {
  left: 1.1rem;
  top: 6rem;
  transform: rotate(16deg);
}

.ambient-b {
  right: 9vw;
  top: 16vh;
  width: 10rem;
  height: 8rem;
  border: 2px solid rgba(96, 72, 54, 0.24);
  border-radius: 0.8rem;
  transform: rotate(5deg);
  background:
    linear-gradient(#8fb7d0 0 48%, #68834e 48% 66%, #caa467 66%),
    #fff9ef;
  background-clip: content-box;
  padding: 1rem;
  box-shadow: 1.6rem 1.3rem 0 -0.4rem rgba(62, 49, 42, 0.22);
}

.works-wall {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: min(44vh, 23rem);
  padding: 0 0 clamp(0.7rem, 2vw, 1.25rem);
  pointer-events: none;
}

.works-heading {
  position: absolute;
  left: clamp(1rem, 4vw, 4rem);
  top: -2.7rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: rgba(38, 31, 27, 0.78);
  pointer-events: none;
}

.works-heading span {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(111, 88, 72, 0.86);
}

.works-heading strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.works-viewport {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 26, 23, 0.32) transparent;
  mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent 100%);
}

.works-track {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(8.2rem, 1fr));
  grid-auto-columns: minmax(13rem, 17vw);
  gap: 0.95rem;
  width: max-content;
  padding: 0 45vw 0 clamp(1rem, 5vw, 5rem);
  align-items: stretch;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.48rem;
  border: 1px solid rgba(78, 56, 42, 0.11);
  border-radius: 0.85rem;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 0.9rem 1.8rem rgba(75, 50, 34, 0.14);
  backdrop-filter: blur(8px);
  transform: translateY(var(--lift, 0));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.work-card:hover {
  transform: translateY(calc(var(--lift, 0) - 0.35rem));
  box-shadow: 0 1.4rem 2.4rem rgba(75, 50, 34, 0.2);
}

.work-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  background: #111;
  isolation: isolate;
}

.work-thumb::before,
.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
}

.work-thumb::after {
  opacity: 0.75;
  animation: thumbnailDrift 7s ease-in-out infinite alternate;
}

.work-tag {
  position: absolute;
  left: 0.55rem;
  top: 0.52rem;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-height: 1.28rem;
  padding: 0 0.48rem;
  border-radius: 999px;
  background: #ff2a4f;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
}

.play-dot {
  position: absolute;
  right: 0.5rem;
  top: 0.48rem;
  z-index: 2;
  width: 1.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(22, 20, 18, 0.52);
}

.play-dot::after {
  content: "";
  position: absolute;
  left: 0.49rem;
  top: 0.38rem;
  border-left: 0.38rem solid #fff;
  border-top: 0.25rem solid transparent;
  border-bottom: 0.25rem solid transparent;
}

.work-title {
  margin: 0;
  overflow: hidden;
  color: rgba(31, 27, 25, 0.9);
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: rgba(92, 83, 78, 0.72);
  font-size: 0.72rem;
}

.work-author {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-like {
  flex: 0 0 auto;
}

.theme-flower::before {
  background:
    radial-gradient(circle at 14% 20%, #f8d7d8 0 0.9rem, transparent 0.94rem),
    radial-gradient(circle at 82% 22%, #fff4f6 0 1rem, transparent 1.04rem),
    radial-gradient(circle at 25% 82%, #f3c7cf 0 1.35rem, transparent 1.4rem),
    #0c0d0b;
}

.theme-flower::after {
  background: radial-gradient(circle at 73% 70%, rgba(99, 121, 66, 0.75), transparent 28%);
}

.theme-wing::before {
  background:
    radial-gradient(circle at 50% 56%, rgba(184, 226, 255, 0.7), transparent 20%),
    linear-gradient(140deg, transparent 0 38%, rgba(213, 244, 255, 0.8) 39% 42%, transparent 43%),
    linear-gradient(220deg, transparent 0 38%, rgba(213, 244, 255, 0.8) 39% 42%, transparent 43%),
    #09131f;
}

.theme-wing::after {
  background:
    repeating-radial-gradient(ellipse at 37% 52%, transparent 0 0.45rem, rgba(214, 245, 255, 0.65) 0.48rem 0.56rem),
    repeating-radial-gradient(ellipse at 63% 52%, transparent 0 0.45rem, rgba(214, 245, 255, 0.65) 0.48rem 0.56rem);
}

.theme-frame::before {
  background:
    linear-gradient(#fff, #fff) center / 58% 48% no-repeat,
    repeating-linear-gradient(135deg, #24211f 0 0.18rem, #fff 0.18rem 0.35rem);
}

.theme-frame::after {
  inset: 0.9rem;
  border: 0.3rem double #222;
  border-radius: 999px;
}

.theme-lantern::before {
  background: #080908;
}

.theme-lantern::after {
  background:
    radial-gradient(circle at 13% 10%, #ffbd54 0 0.24rem, transparent 0.27rem),
    radial-gradient(circle at 28% 22%, #ff703c 0 0.34rem, transparent 0.38rem),
    radial-gradient(circle at 64% 18%, #ff9f43 0 0.32rem, transparent 0.36rem),
    radial-gradient(circle at 78% 48%, #ff6834 0 0.42rem, transparent 0.46rem),
    radial-gradient(circle at 46% 72%, #ffc45b 0 0.28rem, transparent 0.32rem);
}

.theme-camera::before {
  background:
    conic-gradient(from 0.2turn at 86% 24%, #e6a12d, #e6a12d 13%, transparent 14%),
    linear-gradient(153deg, transparent 0 45%, rgba(70, 255, 93, 0.58) 46% 78%, transparent 79%),
    #f5f1ef;
}

.theme-petal::before {
  background: #160910;
}

.theme-petal::after {
  background:
    radial-gradient(ellipse at 14% 18%, #ff4379 0 0.3rem, transparent 0.34rem),
    radial-gradient(ellipse at 70% 34%, #df194f 0 0.48rem, transparent 0.52rem),
    radial-gradient(ellipse at 45% 70%, #ff678f 0 0.38rem, transparent 0.42rem),
    radial-gradient(ellipse at 82% 76%, #bd143f 0 0.44rem, transparent 0.48rem);
}

.theme-lotus::before {
  background:
    radial-gradient(ellipse at 72% 34%, #fbdee0 0 1.5rem, transparent 1.55rem),
    radial-gradient(ellipse at 76% 42%, #f7bdcb 0 0.8rem, transparent 0.86rem),
    linear-gradient(165deg, #c3b98e, #f5eed3 42%, #a5aa78);
}

.theme-neon::before {
  background:
    linear-gradient(92deg, #00ff28 0 48%, transparent 49%),
    linear-gradient(110deg, transparent 50%, #1e1e1e 51% 62%, transparent 63%),
    radial-gradient(circle at 80% 20%, #45caff, transparent 24%),
    #111;
}

.theme-galaxy::before {
  background:
    radial-gradient(circle at 46% 48%, transparent 0 0.45rem, rgba(255, 255, 255, 0.85) 0.48rem 0.62rem, transparent 0.65rem),
    conic-gradient(from 0.13turn, #090908, #f2e9c9, #1e1a19, #cfae63, #090908);
}

.theme-star::before {
  background: #090a0c;
}

.theme-star::after {
  background:
    radial-gradient(circle at 22% 28%, #ffe04a 0 0.2rem, transparent 0.23rem),
    radial-gradient(circle at 58% 48%, #ffe04a 0 0.28rem, transparent 0.31rem),
    radial-gradient(circle at 75% 20%, #fff59e 0 0.18rem, transparent 0.21rem),
    radial-gradient(circle at 38% 75%, #f6c927 0 0.24rem, transparent 0.27rem);
}

.theme-city::before {
  background:
    linear-gradient(90deg, #111 0 12%, transparent 12% 18%, #222 18% 35%, transparent 35% 42%, #111 42% 55%, transparent 55% 62%, #2b2b2b 62% 82%, transparent 82%),
    linear-gradient(#fff, #d8d8d8);
}

.theme-variety::before {
  background:
    linear-gradient(#777 0 48%, #070707 49%),
    linear-gradient(90deg, #f3316b, #18c5ff);
}

.theme-variety::after {
  content: "综艺感";
  display: grid;
  place-items: center;
  color: #ff2f65;
  font-size: 1.5rem;
  font-weight: 1000;
  text-shadow: 0.12rem 0.12rem 0 #10c7ff;
}

.falling-panel {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: clamp(1rem, 5vh, 3.2rem);
  z-index: 6;
  width: min(25rem, calc(100vw - 2rem));
  min-height: 10.8rem;
  overflow: hidden;
  padding: 1rem 1rem 3rem;
  border: 1px solid rgba(95, 72, 54, 0.13);
  border-radius: 1.35rem;
  background: rgba(255, 249, 239, 0.68);
  box-shadow: 0 1.4rem 3rem rgba(83, 55, 38, 0.13);
  backdrop-filter: blur(10px);
}

.falling-text {
  position: relative;
  z-index: 2;
  min-height: 6.8rem;
  margin: 0;
  color: #2b2521;
  font-family:
    "Arial Rounded MT Bold", "Microsoft YaHei UI", "PingFang SC", system-ui,
    sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

.fall-word {
  display: inline-block;
  margin: 0 0.14em 0.18em 0;
  padding: 0.02em 0.04em;
  border-radius: 0.35em;
  transform-origin: center;
  user-select: none;
  will-change: transform, left, top;
}

.fall-word.hot {
  color: #607342;
  background: linear-gradient(180deg, transparent 52%, rgba(239, 203, 105, 0.42) 53%);
  text-shadow: 0.05em 0.05em 0 rgba(255, 255, 255, 0.5);
}

.falling-trigger {
  position: absolute;
  left: 1rem;
  bottom: 0.82rem;
  z-index: 3;
  min-height: 2rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #1e1a17;
  color: #fff7ec;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0.45rem 0.9rem rgba(38, 27, 22, 0.18);
}

@keyframes thumbnailDrift {
  from {
    transform: translate3d(-0.2rem, -0.18rem, 0) scale(1);
  }
  to {
    transform: translate3d(0.24rem, 0.22rem, 0) scale(1.08);
  }
}

.intro {
  position: absolute;
  left: clamp(1.25rem, 5vw, 5rem);
  bottom: clamp(1.25rem, 6vh, 4rem);
  z-index: 2;
  width: min(24rem, calc(100vw - 2.5rem));
  pointer-events: none;
}

.kicker,
.caption,
.role,
.meta {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  margin: 0.05rem 0 0.2rem;
  font-size: clamp(3.5rem, 12vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
  color: rgba(24, 20, 18, 0.92);
  text-shadow: 0 0.08em 0 rgba(255, 255, 255, 0.28);
}

.caption {
  max-width: 15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  text-transform: none;
}

.lanyard-scene {
  position: relative;
  z-index: 3;
  width: min(100vw, 72rem);
  height: min(100vh, 54rem);
  min-height: 42rem;
  perspective: 1100px;
  touch-action: none;
  pointer-events: none;
}

.cords {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 1.2rem 0.9rem rgba(56, 36, 24, 0.18));
}

.cord {
  fill: none;
  stroke-linecap: round;
}

.cord-main {
  stroke: url("#cordGradient");
  stroke-width: 22;
}

.cord-accent {
  stroke: url("#edgeGradient");
  stroke-width: 3.8;
  stroke-dasharray: 16 18;
  opacity: 0.9;
}

.anchor {
  position: absolute;
  left: calc(50% - 1rem);
  top: 5.6rem;
  z-index: 4;
  width: 2rem;
  height: 2rem;
  border: 0.24rem solid #2b211b;
  border-radius: 50%;
  background: linear-gradient(145deg, #e2a24e, #906234);
  box-shadow:
    inset 0.16rem 0.12rem 0 rgba(255, 236, 180, 0.66),
    0 1rem 1.5rem rgba(65, 42, 28, 0.28);
  pointer-events: auto;
}

.badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: clamp(15rem, 28vw, 22rem);
  aspect-ratio: 0.68;
  border: 0;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  background: transparent;
  outline: 0;
  will-change: transform;
  pointer-events: auto;
}

.badge-core {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.badge.is-flipped .badge-core {
  transform: rotateY(180deg);
}

.badge-face {
  position: absolute;
  inset: 0;
  overflow: visible;
  padding: 0.76rem;
  border-radius: 1.45rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 231, 208, 0.52)),
    var(--paper);
  box-shadow:
    0 2.6rem 5rem rgba(52, 34, 24, 0.3),
    0 0.4rem 0.8rem rgba(255, 255, 255, 0.5) inset,
    0 0 0 1px rgba(80, 54, 36, 0.12);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.badge:active {
  cursor: grabbing;
}

.badge:focus-visible {
  outline: 0.25rem solid rgba(38, 78, 88, 0.45);
  outline-offset: 0.3rem;
}

.badge-back {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: visible;
  background: #fffdfa;
  transform: rotateY(180deg);
}

.clip {
  position: absolute;
  left: 50%;
  top: -1.15rem;
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 2.45rem;
  border-radius: 1.8rem 1.8rem 0.8rem 0.8rem;
  background: linear-gradient(150deg, #1b1918, #4b3d34);
  transform: translateX(-50%) translateZ(22px);
  box-shadow:
    inset 0 0.2rem 0 rgba(255, 255, 255, 0.16),
    0 0.55rem 1rem rgba(42, 28, 19, 0.25);
}

.clip-back {
  z-index: 7;
}

.clip span {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #f3dcc0;
  box-shadow: inset 0 0 0 0.28rem #211a16;
}

.badge-shine {
  position: absolute;
  inset: 0.76rem;
  z-index: 4;
  pointer-events: none;
  border-radius: 1rem;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.45), transparent 38%);
  mix-blend-mode: screen;
}

.portrait-wrap {
  position: relative;
  height: 68%;
  overflow: hidden;
  border-radius: 1rem 1rem 0.42rem 0.42rem;
  background: #271e1a;
  box-shadow: inset 0 0 0 1px rgba(43, 29, 21, 0.14);
  transform: translateZ(16px);
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 220, 143, 0.34), transparent 23%),
    linear-gradient(180deg, transparent 55%, rgba(20, 16, 14, 0.34));
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% 48%;
  transform: scale(1.07);
}

.identity {
  position: relative;
  min-height: 32%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding: 1rem 1.05rem 0.82rem;
  transform: translateZ(18px);
}

.role {
  font-size: clamp(0.62rem, 1.1vw, 0.76rem);
  font-weight: 900;
}

.identity strong {
  display: block;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--black);
}

.meta {
  font-size: clamp(0.66rem, 1.2vw, 0.82rem);
  font-weight: 700;
  text-transform: none;
}

.back-hero {
  position: relative;
  height: 31%;
  flex: 0 0 31%;
  overflow: hidden;
  border-radius: 1.45rem 1.45rem 0 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(248, 244, 234, 0.66)),
    #f7f3ea;
}

.back-hero::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 9% 28%, transparent 0 0.48rem, #ef8d83 0.5rem 0.62rem, transparent 0.64rem),
    radial-gradient(circle at 91% 66%, transparent 0 0.42rem, #f1c465 0.44rem 0.64rem, transparent 0.66rem),
    linear-gradient(8deg, transparent 48%, rgba(203, 214, 150, 0.48) 49% 59%, transparent 60%),
    #fbf8f1;
  box-shadow: 0 0 0 1px rgba(76, 62, 45, 0.05) inset;
}

.back-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 21%;
  width: 1rem;
  height: 1rem;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%);
  filter: drop-shadow(0 0 0.18rem rgba(221, 151, 72, 0.45));
}

.back-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 40%;
  opacity: 0.14;
  filter: saturate(0.75) blur(1px);
  transform: scale(1.08);
}

.hero-copy {
  position: absolute;
  left: 12%;
  top: 18%;
  display: grid;
  gap: 0.2rem;
  transform: rotate(-2deg);
}

.hero-copy span,
.hero-copy strong {
  font-family:
    "Comic Sans MS", "华文行楷", "STXingkai", "Kaiti SC", cursive;
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  line-height: 0.96;
  color: #3f4c2e;
  letter-spacing: 0;
}

.hero-copy strong {
  color: #66784a;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.25rem;
  margin-top: -2.05rem;
  z-index: 2;
}

.profile-avatar {
  flex: 0 0 auto;
  width: clamp(4.5rem, 8vw, 5.5rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 0.18rem solid #fff;
  border-radius: 50%;
  background: #f8eee2;
  box-shadow: 0 0.6rem 1.2rem rgba(50, 34, 25, 0.14);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 45%;
}

.profile-row strong {
  display: block;
  color: #2b2928;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1;
  letter-spacing: 0;
}

.profile-row span {
  display: block;
  margin-top: 0.45rem;
  color: #99908a;
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  letter-spacing: 0;
}

.bio {
  margin: 1.45rem 1.35rem 0;
  min-height: 4.8rem;
  color: #565352;
  font-size: clamp(1rem, 2.15vw, 1.32rem);
  line-height: 1.62;
  letter-spacing: 0;
}

.back-footer {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: auto 1.35rem 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(43, 37, 31, 0.08);
}

.red-note {
  display: inline-grid;
  place-items: center;
  min-width: 5.8rem;
  min-height: 2.15rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #ff294d;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0.5rem 1rem rgba(255, 41, 77, 0.17);
}

.back-footer p {
  margin: 0.8rem 0 0;
  color: #918a86;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.qr {
  position: relative;
  flex: 0 0 auto;
  width: clamp(5.1rem, 9vw, 6.2rem);
  aspect-ratio: 1;
  border-radius: 0.55rem;
  background:
    linear-gradient(90deg, #fff 0 12%, transparent 12% 88%, #fff 88%),
    linear-gradient(#fff 0 12%, transparent 12% 88%, #fff 88%),
    repeating-linear-gradient(90deg, #3a3836 0 0.14rem, transparent 0.14rem 0.42rem),
    repeating-linear-gradient(0deg, #3a3836 0 0.14rem, transparent 0.14rem 0.42rem),
    #fff;
  box-shadow: 0 0 0 0.3rem #fff, 0 0 0 1px rgba(49, 45, 42, 0.09);
}

.qr::before,
.qr::after,
.qr i:nth-child(1) {
  content: "";
  position: absolute;
  width: 1.25rem;
  aspect-ratio: 1;
  border: 0.28rem solid #4a4847;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 0.23rem #4a4847;
}

.qr::before {
  left: 0.28rem;
  top: 0.28rem;
}

.qr::after {
  right: 0.28rem;
  top: 0.28rem;
}

.qr i:nth-child(1) {
  left: 0.28rem;
  bottom: 0.28rem;
}

.qr i:nth-child(n + 2) {
  position: absolute;
  width: 0.22rem;
  height: 0.22rem;
  background: #4b4948;
  border-radius: 50%;
}

.qr i:nth-child(2) {
  left: 47%;
  top: 30%;
  box-shadow: 0.6rem 0 #4b4948, 1rem 0.42rem #4b4948, -0.36rem 0.78rem #4b4948;
}

.qr i:nth-child(3) {
  right: 23%;
  top: 52%;
  box-shadow: -0.5rem 0.32rem #4b4948, 0.34rem 0.66rem #4b4948, -1.1rem 1rem #4b4948;
}

.qr i:nth-child(4) {
  left: 48%;
  bottom: 19%;
  box-shadow: 0.48rem -0.45rem #4b4948, 1.02rem -0.04rem #4b4948;
}

@media (max-width: 720px) {
  .stage {
    align-items: start;
  }

  .intro {
    top: 1.2rem;
    bottom: auto;
  }

  .caption {
    display: none;
  }

  .lanyard-scene {
    width: 100vw;
    min-height: 100vh;
  }

  .anchor {
    top: 5rem;
  }

  .badge {
    width: min(72vw, 18rem);
  }

  .ambient-b {
    right: -1.8rem;
    top: 10.5rem;
    opacity: 0.5;
    transform: rotate(8deg) scale(0.78);
  }

  .works-wall {
    height: 32vh;
  }

  .works-heading {
    display: none;
  }

  .works-track {
    grid-template-rows: 1fr;
    grid-auto-columns: minmax(11rem, 58vw);
    padding: 0 42vw 0 1rem;
  }

  .falling-panel {
    top: auto;
    right: 0.8rem;
    bottom: 34vh;
    width: min(21rem, calc(100vw - 1.6rem));
    min-height: 8rem;
    padding: 0.78rem 0.78rem 2.75rem;
  }

  .falling-text {
    min-height: 4.8rem;
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Centered InfiniteMenu-inspired work stage */
.intro {
  display: none;
}

.works-wall {
  inset: 0;
  z-index: 2;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
  pointer-events: none;
}

.works-heading {
  left: clamp(1.1rem, 3vw, 3rem);
  top: clamp(1.2rem, 4vh, 3rem);
  z-index: 12;
  color: rgba(36, 29, 24, 0.82);
}

.works-viewport {
  position: relative;
  width: min(76vw, 78rem);
  height: min(68vh, 42rem);
  overflow: visible;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  perspective: 1000px;
  mask-image: none;
}

.works-viewport:active {
  cursor: grabbing;
}

.works-track {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  transform-style: preserve-3d;
}

.work-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(10.5rem, 17vw, 17rem);
  height: clamp(8.2rem, 13vw, 13rem);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem;
  border-radius: 0.85rem;
  opacity: var(--card-alpha, 0.5);
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 1.4rem 2.5rem rgba(59, 38, 25, calc(var(--card-depth, 0.35) * 0.28));
  transform:
    translate(-50%, -50%)
    translate3d(var(--tx, 0), var(--ty, 0), 0)
    scale(var(--card-scale, 0.82))
    rotate(var(--rz, 0deg));
  transition:
    box-shadow 220ms ease,
    opacity 220ms ease,
    filter 220ms ease;
  pointer-events: auto;
  filter: saturate(calc(0.75 + var(--card-depth, 0.5) * 0.45)) blur(var(--card-blur, 0px));
  will-change: transform, opacity, filter;
}

.work-card.is-active {
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 2rem 3.8rem rgba(52, 33, 22, 0.28);
}

.work-card:hover {
  transform:
    translate(-50%, -50%)
    translate3d(var(--tx, 0), var(--ty, 0), 0)
    scale(calc(var(--card-scale, 0.82) + 0.035))
    rotate(var(--rz, 0deg));
}

.work-thumb {
  min-height: 0;
  border-radius: 0.62rem;
  background: #111;
}

.work-thumb video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-thumb.has-video::before,
.work-thumb.has-video::after {
  opacity: 0;
}

.work-title {
  font-size: clamp(0.72rem, 1vw, 0.9rem);
}

.work-meta {
  font-size: clamp(0.62rem, 0.85vw, 0.74rem);
}

.face-title {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  top: 50%;
  z-index: 11;
  width: min(24rem, 28vw);
  margin: 0;
  color: rgba(28, 24, 22, 0.95);
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: 0;
  transform: translateY(-50%);
  pointer-events: none;
  text-wrap: balance;
}

.face-description {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  top: 50%;
  z-index: 11;
  width: min(16rem, 22vw);
  margin: 0;
  color: rgba(62, 52, 45, 0.78);
  font-size: clamp(0.92rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.action-button {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 6vh, 4rem);
  z-index: 12;
  width: 3.8rem;
  height: 3.8rem;
  display: grid;
  place-items: center;
  border: 0.32rem solid rgba(255, 240, 219, 0.78);
  border-radius: 50%;
  background: #1d1815;
  color: #fff8ed;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow: 0 1rem 1.8rem rgba(48, 31, 22, 0.28);
  pointer-events: auto;
}

.action-button span {
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-0.05rem);
}

.badge-intro {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3.15rem);
  z-index: 8;
  width: max-content;
  max-width: 18rem;
  display: grid;
  gap: 0.05rem;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0.7rem 0.7rem rgba(52, 34, 23, 0.16));
}

.badge-intro span,
.badge-intro em {
  color: rgba(91, 76, 65, 0.78);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.badge-intro strong {
  color: rgba(28, 24, 22, 0.96);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 1000;
  line-height: 0.82;
  letter-spacing: 0;
}

.falling-panel {
  z-index: 9;
}

.falling-panel.is-falling .falling-trigger {
  background: #607342;
}

@media (max-width: 900px) {
  .works-viewport {
    width: 100vw;
    height: 56vh;
  }

  .face-title,
  .face-description {
    display: none;
  }

  .badge-intro {
    bottom: calc(100% + 2.4rem);
  }

  .badge-intro strong {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
}
