:root {
  color-scheme: dark;
  --bg: #060606;
  --panel: #101010;
  --panel-soft: #141414;
  --text: #f6f2e8;
  --muted: rgba(246, 242, 232, 0.66);
  --quiet: rgba(246, 242, 232, 0.44);
  --line: rgba(246, 242, 232, 0.13);
  --line-strong: rgba(246, 242, 232, 0.24);
  --accent: #d9ff5b;
  --radius: 14px;
  --home-card-radius: 28px;
  --home-card-gap: 24px;
  --header-height: 73px;
  --mx: 50%;
  --my: 22%;
  --px: 0;
  --py: 0;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(217, 255, 91, 0.1) 0, rgba(217, 255, 91, 0.04) 12%, transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.mouse-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(217, 255, 91, 0.1) 0, rgba(217, 255, 91, 0.03) 14%, transparent 36%),
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.035) 0, transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.mouse-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mouse-trail.is-visible {
  opacity: 1;
}

.mouse-trail-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(217, 255, 91, 0.13), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 60%);
  filter: blur(11px);
  transform: translate3d(-999px, -999px, 0) translate(-50%, -50%);
  will-change: transform, opacity;
}

.mouse-trail-dot:nth-child(1) {
  width: 116px;
  height: 116px;
  filter: blur(15px);
}

.mouse-trail-dot:nth-child(2) {
  width: 98px;
  height: 98px;
  filter: blur(13px);
}

.mouse-trail-dot:nth-child(3) {
  width: 82px;
  height: 82px;
  filter: blur(11px);
}

.mouse-trail-dot:nth-child(4) {
  width: 68px;
  height: 68px;
  filter: blur(10px);
}

.mouse-trail-dot:nth-child(5) {
  width: 54px;
  height: 54px;
  filter: blur(8px);
}

.mouse-trail-dot:nth-child(6) {
  width: 42px;
  height: 42px;
  filter: blur(7px);
}

.mouse-trail-dot:nth-child(7) {
  width: 32px;
  height: 32px;
  filter: blur(6px);
}

.header {
  width: min(1240px, calc(100vw - 28px));
  margin-inline: auto;
}

main {
  width: 100%;
  margin-inline: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 12px max(28px, calc((100vw - 1240px) / 2 + 14px));
  background:
    linear-gradient(90deg, rgba(217, 255, 91, 0.06), transparent 22%),
    rgba(6, 6, 6, 0.82);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  backdrop-filter: blur(22px) saturate(1.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  border: 1px solid rgba(246, 242, 232, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 12, 12, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.brand-avatar {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(217, 255, 91, 0.16), transparent 38%),
    radial-gradient(circle at 72% 70%, rgba(135, 240, 245, 0.12), transparent 42%),
    rgba(18, 18, 18, 0.94);
}

.brand-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand span:last-child,
.nav a,
.label,
.overview span,
.now-list span,
.welcome,
.rotating-copy {
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(246, 242, 232, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.header-action:hover {
  transform: translateY(-1px);
}

.header-action-ghost {
  border: 1px solid rgba(246, 242, 232, 0.2);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-action-ghost:hover {
  border-color: rgba(246, 242, 232, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.header-action-primary {
  border: 0;
  background: linear-gradient(90deg, #b8ff6b 0%, #88ffc8 100%);
  color: #07100b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 14px 26px rgba(136, 255, 200, 0.18);
}

.header-action-primary:hover {
  background: linear-gradient(90deg, #c5ff7f 0%, #96ffd1 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 18px 34px rgba(136, 255, 200, 0.22);
}

.nav a,
.contact-links a {
  position: relative;
}

.nav a::after,
.contact-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.22s ease;
}

.nav a:hover::after,
.contact-links a:hover::after {
  width: 100%;
}

.nav a::after {
  display: none;
}

main {
  padding: 0 0 120px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--home-card-gap);
  height: 480px;
  align-items: stretch;
}

.showcase-stage {
  position: relative;
  left: auto;
  width: 100%;
  min-height: calc(100svh - 72px);
  margin: 0;
  margin-left: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 52% 44%, rgba(217, 255, 91, 0.16), transparent 24%),
    radial-gradient(circle at 76% 16%, rgba(210, 24, 32, 0.22), transparent 24%),
    radial-gradient(circle at 22% 28%, rgba(132, 240, 220, 0.1), transparent 28%),
    linear-gradient(135deg, #090909 0%, #12120d 44%, #050505 100%);
  box-shadow: none;
  isolation: isolate;
}

.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 255, 91, 0.1), transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(136, 255, 200, 0.08), transparent 20%),
    radial-gradient(circle at 82% 22%, rgba(135, 240, 245, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.24), rgba(6, 6, 6, 0.46) 58%, rgba(6, 6, 6, 0.98));
  pointer-events: none;
  z-index: 1;
}

.showcase-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.showcase-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.78;
  filter: saturate(1.12) contrast(1.06) brightness(0.82);
}

.showcase-video:not(.is-playing) {
  opacity: 0;
}

.showcase-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0 42%, transparent 78%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.showcase-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(217, 255, 91, 0.12), transparent 18%),
    linear-gradient(180deg, transparent 0 78%, rgba(6, 6, 6, 0.92));
}

.hero {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100vw - 28px));
  margin-inline: auto;
  margin-top: 0;
}

.showcase-hero {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(760px, 82vw);
  transform: translate(-50%, -50%) translate(calc(var(--px) * -8px), calc(var(--py) * -6px));
  text-align: center;
}

.showcase-kicker {
  padding: 9px 14px;
  border: 1px solid rgba(217, 255, 91, 0.3);
  background: rgba(217, 255, 91, 0.055);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.showcase-name {
  margin-top: 0;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffaf0 0%, #737373 92%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
}

.showcase-sub {
  margin-top: 18px;
  color: rgba(246, 242, 232, 0.72);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.showcase-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-badge,
.showcase-card {
  position: absolute;
  z-index: 3;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.showcase-cue {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 250px;
  padding: 0 24px;
  color: rgba(246, 242, 232, 0.58);
  transform: translateX(-50%);
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.showcase-cue::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  width: min(100%, 280px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 242, 232, 0.24), transparent);
  transform: translateX(-50%);
}

.showcase-cue span:first-child {
  color: rgba(246, 242, 232, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.showcase-cue-arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: rgba(246, 242, 232, 0.66);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.showcase-cue-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid currentColor;
  transform: translateY(1px);
}

.showcase-cue:hover {
  color: var(--accent);
  transform: translateX(-50%) translateY(3px);
}

.showcase-cue:hover span:first-child,
.showcase-cue:hover .showcase-cue-arrow {
  color: var(--accent);
}

.showcase-badge {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 242, 232, 0.13);
  background: rgba(6, 6, 6, 0.48);
  color: var(--quiet);
  backdrop-filter: blur(14px);
}

.showcase-badge span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.showcase-badge small {
  line-height: 1.5;
}

.showcase-badge-left {
  left: 6%;
  top: 22%;
  width: 180px;
  transform: rotate(-2deg) translate(calc(var(--px) * 10px), calc(var(--py) * 8px));
}

.showcase-badge-top {
  left: 50%;
  top: 9%;
  width: 200px;
  transform: translateX(-50%) translate(calc(var(--px) * -8px), calc(var(--py) * 6px));
  text-align: center;
}

.showcase-badge-right {
  right: 7%;
  top: 24%;
  width: 180px;
  transform: rotate(2deg) translate(calc(var(--px) * -10px), calc(var(--py) * 8px));
}

.showcase-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  width: 186px;
  height: 122px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
  color: #0d0d0d;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.showcase-card::before,
.showcase-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.showcase-card::before {
  left: 14px;
  right: 14px;
  top: 14px;
  height: 18px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
}

.showcase-card::after {
  inset: 44px 12px 12px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 8px, transparent 8px 16px),
    rgba(255, 255, 255, 0.44);
}

.showcase-card span,
.showcase-card small {
  position: relative;
  z-index: 1;
}

.showcase-card span {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 800;
  transform: rotate(-4deg);
}

.showcase-card small {
  color: rgba(13, 13, 13, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

.showcase-card-visual {
  left: 5%;
  top: 5%;
  transform: rotate(-6deg) translate(calc(var(--px) * 14px), calc(var(--py) * 10px));
}

.showcase-card-motion {
  right: 6%;
  top: 8%;
  transform: rotate(7deg) translate(calc(var(--px) * -14px), calc(var(--py) * 12px));
}

.showcase-card-ai {
  left: 9%;
  bottom: 12%;
  transform: rotate(5deg) translate(calc(var(--px) * 12px), calc(var(--py) * -12px));
}

.showcase-card-ops {
  right: 6%;
  bottom: 10%;
  transform: rotate(-5deg) translate(calc(var(--px) * -12px), calc(var(--py) * -12px));
}

.showcase-card:hover,
.showcase-badge:hover {
  transform: translateY(-8px);
}

.showcase-card-visual:hover {
  transform: rotate(-2deg) translate(calc(var(--px) * 14px), calc(var(--py) * 10px)) translateY(-8px);
}

.showcase-card-motion:hover {
  transform: rotate(2deg) translate(calc(var(--px) * -14px), calc(var(--py) * 12px)) translateY(-8px);
}

.showcase-card-ai:hover {
  transform: rotate(2deg) translate(calc(var(--px) * 12px), calc(var(--py) * -12px)) translateY(-8px);
}

.showcase-card-ops:hover {
  transform: rotate(-2deg) translate(calc(var(--px) * -12px), calc(var(--py) * -12px)) translateY(-8px);
}

.intro,
.experience-board,
.overview article,
.works-grid .work-card {
  border: 1px solid var(--line);
  border-radius: var(--home-card-radius);
  background: var(--panel);
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 40px 38px 42px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 36%, rgba(217, 255, 91, 0.055)),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    radial-gradient(circle at 18% 86%, rgba(217, 255, 91, 0.11), transparent 38%),
    rgba(16, 16, 16, 0.58);
  border-color: rgba(246, 242, 232, 0.22);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(1.18);
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.intro::before {
  inset: 1px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 72%, rgba(217, 255, 91, 0.08)),
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.1), transparent 34%);
  opacity: 0.72;
  mix-blend-mode: screen;
  z-index: 0;
}

.intro::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.055) 38%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 24%);
  mask-image: linear-gradient(135deg, #000 0 34%, transparent 54%);
  opacity: 0.52;
  z-index: 0;
}

.intro > * {
  position: relative;
  z-index: 1;
}

.intro-animated {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.intro-animated:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 255, 91, 0.34);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(217, 255, 91, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}

.welcome {
  margin: 0 0 16px;
  color: var(--accent);
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: 74px;
  line-height: 0.98;
}

.rotating-copy {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.rotating-label {
  color: var(--quiet);
}

#rotatingText {
  position: relative;
  display: inline-block;
  min-width: 12ch;
  color: var(--accent);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lead {
  max-width: 980px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.7;
}

.typed-lead {
  display: block;
  width: 100%;
  min-height: 3.4em;
  text-align: left;
  white-space: pre-line;
  line-height: 1.7;
}

.typed-lead #introText {
  display: inline;
}

.quick-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.quick-links a,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(246, 242, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  line-height: 1;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.quick-links a:hover,
.pill-button:hover {
  border-color: var(--accent);
  background: rgba(217, 255, 91, 0.08);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(217, 255, 91, 0.06);
}

.quick-links a.resume-button,
.pill-button.resume-button {
  border: 0;
  background: linear-gradient(90deg, #b8ff6b 0%, #88ffc8 100%);
  color: #07100b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 16px 30px rgba(136, 255, 200, 0.14);
}

.quick-links a.resume-button:hover,
.pill-button.resume-button:hover {
  background: linear-gradient(90deg, #c5ff7f 0%, #96ffd1 100%);
  color: #07100b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 20px 36px rgba(136, 255, 200, 0.18);
}

.software-sandbox {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.software-sandbox-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  touch-action: none;
  pointer-events: none;
  cursor: default;
}

.software-sandbox-stage::after {
  content: "";
  position: absolute;
  right: 52px;
  bottom: 28px;
  width: 300px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.14) 46%, transparent 72%);
  filter: blur(8px);
  opacity: 0.72;
  pointer-events: none;
}

.software-token {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--token-size);
  height: var(--token-size);
  border-radius: 20%;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.32));
  user-select: none;
  cursor: grab;
  will-change: transform;
  pointer-events: auto;
}

.software-token.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.software-token img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.caret {
  display: inline;
  margin-left: 3px;
  color: var(--accent);
  font-size: 1em;
  line-height: 1;
  vertical-align: baseline;
  animation: caret-blink 1s steps(1) infinite;
}

.experience-board {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(217, 255, 91, 0.04), transparent 30%),
    var(--panel);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.experience-board::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 104px;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0), rgba(16, 16, 16, 0.72) 48%, rgba(16, 16, 16, 1));
}

.experience-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.experience-head h3 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.1;
}

.experience-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.experience-scroll {
  display: grid;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 74px;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 255, 91, 0.52) transparent;
}

.experience-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 35% 30%, rgba(217, 255, 91, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
}

.experience-logo.has-image {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: #ffffff;
  background-size: 78%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.experience-company,
.experience-role {
  border-top: 1px solid var(--line);
}

.experience-company {
  display: grid;
  gap: 14px;
  padding-top: 14px;
}

.experience-company-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: start;
}

.experience-company-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.experience-company-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.experience-company-title strong {
  font-size: 1rem;
  line-height: 1.25;
}

.experience-company-title span,
.experience-company-count,
.experience-role-period {
  color: var(--quiet);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.experience-company-copy p {
  color: var(--muted);
  line-height: 1.68;
  max-width: 46ch;
  overflow-wrap: anywhere;
}

.experience-company-count {
  justify-self: end;
  align-self: start;
  padding-top: 5px;
  white-space: nowrap;
}

.experience-role-list {
  display: grid;
  gap: 10px;
  padding-left: 58px;
}

.experience-role {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px 14px;
  padding-top: 12px;
}

.experience-role:first-child {
  border-top: 0;
  padding-top: 0;
}

.experience-role-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.experience-role-copy strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.experience-role-copy p {
  color: var(--muted);
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.experience-scroll::-webkit-scrollbar {
  width: 8px;
}

.experience-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.experience-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(217, 255, 91, 0.46);
}

.experience-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(217, 255, 91, 0.7);
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-card-gap);
  width: min(1240px, calc(100vw - 28px));
  margin-inline: auto;
  margin-top: 40px;
}

.overview-card {
  position: relative;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: var(--home-card-radius);
  text-align: center;
  perspective: 1000px;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.overview-card::before,
.overview-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.overview-card::before {
  display: none;
}

.overview-card::after {
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 76% 72%, rgba(255, 255, 255, 0.08), transparent 26%);
  opacity: 0.56;
}

.overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  filter: saturate(1.02);
}

.overview-card:hover .overview-card-inner,
.overview-card:focus .overview-card-inner,
.overview-card:focus-within .overview-card-inner {
  transform: rotateY(180deg);
}

.overview-card:focus {
  outline: 2px solid rgba(217, 255, 91, 0.48);
  outline-offset: 4px;
}

.overview-card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.58s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.overview-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.overview-card-front {
  align-content: center;
  gap: 4px;
  justify-items: center;
}

.overview-card-back {
  align-content: center;
  justify-items: center;
  text-align: center;
  transform: rotateY(180deg);
}

.overview-card-game {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 36%),
    radial-gradient(circle at 78% 28%, rgba(135, 240, 245, 0.2), transparent 24%),
    linear-gradient(145deg, #425cf5 0%, #2035d2 100%);
}

.overview-card-brand {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 38%),
    radial-gradient(circle at 22% 18%, rgba(255, 242, 204, 0.24), transparent 24%),
    linear-gradient(145deg, #ff7048 0%, #ff9c18 100%);
}

.overview-card-ops {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    radial-gradient(circle at 75% 18%, rgba(245, 255, 235, 0.18), transparent 24%),
    linear-gradient(145deg, #aeb8ad 0%, #858f86 100%);
}

.overview-index {
  position: absolute;
  left: 20px;
  top: 18px;
  color: rgba(246, 242, 232, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
}

.overview strong {
  color: #fffaf0;
  font-size: clamp(1.9rem, 2.8vw, 3.4rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
}

.overview-card p {
  margin-top: 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.15;
}

.overview-card-back p {
  display: -webkit-box;
  max-width: 34ch;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 250, 240, 0.88);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.overview p,
.section-head p,
.now-list p {
  color: var(--muted);
  line-height: 1.8;
}

.overview-card p {
  color: rgba(255, 250, 240, 0.76);
  line-height: 1.15;
}

.overview-card-back p {
  color: rgba(255, 250, 240, 0.88);
  line-height: 1.72;
}

.overview-card-back {
  padding-left: 26px;
  padding-right: 26px;
}

.section {
  width: min(1240px, calc(100vw - 28px));
  margin-inline: auto;
  padding-top: 96px;
}

#works {
  padding-top: 120px;
}

#works .section-head {
  margin-bottom: 36px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
}

.section-head p {
  max-width: 460px;
}

.section-head.compact {
  display: block;
}

#works .section-head,
#aiLab .section-head,
#now .section-head,
.contact .section-head {
  display: grid;
  gap: 22px;
  align-items: start;
  margin-bottom: 36px;
  padding-bottom: 0;
  border-bottom: 0;
}

#works .section-head h2,
#aiLab .section-head h2,
#now .section-head h2,
.contact .section-head h2 {
  margin: 0;
  font-size: clamp(54px, 6.2vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

#works .section-head .label,
#aiLab .section-head .label,
#now .section-head .label,
.contact .section-head .label {
  margin: 0;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

#works .section-head p,
#aiLab .section-head p,
#now .section-head p,
.contact .section-head p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  font-weight: 650;
  line-height: 1.68;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-card-gap);
}

.works-grid.has-active-card .work-card {
  opacity: 0.58;
  transform: translateY(2px) scale(0.992);
  filter: saturate(0.82);
}

.works-grid.has-active-card .work-card.is-focused {
  opacity: 1;
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(132, 240, 220, 0.44);
  background:
    radial-gradient(circle at 50% 0%, rgba(132, 240, 220, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(217, 255, 91, 0.06), transparent 24%),
    rgba(18, 18, 18, 0.98);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(132, 240, 220, 0.1) inset,
    0 0 34px rgba(132, 240, 220, 0.1);
  filter: saturate(1);
}

.works-grid.has-active-card .work-card.is-focused .work-cover {
  transform: scale(1.018);
}

.works-grid.has-active-card .work-card.is-focused .work-body h3 {
  color: var(--text);
}

.works-footer {
  display: flex;
  justify-content: center;
  margin-top: 52px;
  margin-bottom: 28px;
}

.load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(90deg, #b8ff6b 0%, #88ffc8 100%);
  color: #07100b;
  border-radius: 999px;
  min-height: 64px;
  min-width: 320px;
  padding: 0 36px;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 16px 30px rgba(136, 255, 200, 0.14);
  transition:
    color 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.load-more:hover {
  background: linear-gradient(90deg, #c5ff7f 0%, #96ffd1 100%);
  color: #07100b;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 20px 36px rgba(136, 255, 200, 0.18);
}

.load-more[hidden] {
  display: none;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 548px;
  padding: 24px;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(16, 16, 16, 0.9);
  border-color: rgba(246, 242, 232, 0.15);
  border-radius: var(--home-card-radius);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    filter 0.22s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(132, 240, 220, 0.34);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3);
}

.work-card:focus-visible {
  outline: 2px solid rgba(217, 255, 91, 0.65);
  outline-offset: 4px;
}

.work-visual {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(246, 242, 232, 0.18);
  border-radius: calc(var(--home-card-radius) - 8px);
  background:
    radial-gradient(circle at 30% 20%, rgba(217, 255, 91, 0.12), transparent 30%),
    #101010;
  overflow: hidden;
}

.work-visual::before {
  content: attr(data-label);
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(108, 82, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 235, 0.76);
  color: rgba(74, 63, 40, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}

.work-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  background:
    repeating-linear-gradient(0deg, rgba(181, 143, 78, 0.08) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 86% 18%, rgba(217, 179, 105, 0.22), transparent 11%),
    linear-gradient(180deg, #fff9eb 0%, #fffdf5 100%);
  transform-origin: center;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.work-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform-origin: center;
  transition: transform 0.22s ease;
}

.preview-title,
.preview-line,
.preview-panel,
.preview-dot {
  position: absolute;
  display: block;
}

.preview-title {
  left: 18px;
  top: 20px;
  max-width: calc(100% - 74px);
  color: #5e4a22;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.preview-line {
  left: 18px;
  top: 54px;
  width: 32%;
  height: 6px;
  border-radius: 999px;
  background: rgba(94, 74, 34, 0.16);
}

.preview-line-wide {
  top: 42px;
  width: 44%;
}

.preview-panel {
  bottom: 18px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(217, 179, 105, 0.24), transparent 48%),
    rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(129, 100, 48, 0.12);
  box-shadow: 0 10px 24px rgba(77, 56, 23, 0.08);
}

.preview-panel-main {
  left: 18px;
  width: 43%;
  height: 42%;
}

.preview-panel-side {
  right: 18px;
  width: 34%;
  height: 58%;
}

.preview-dot {
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff7d8, transparent 42%),
    #e2b76d;
  box-shadow: 0 12px 26px rgba(115, 82, 26, 0.16);
}

.work-body {
  display: grid;
  flex: 1 1 auto;
  gap: 18px;
  align-content: start;
  padding: 26px 10px 4px;
}

.work-kicker {
  justify-self: start;
  padding: 7px 14px;
  border: 1px solid rgba(132, 240, 220, 0.26);
  border-radius: 999px;
  background: rgba(132, 240, 220, 0.08);
  color: #8af0e2;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.work-body h3 {
  font-size: 26px;
  line-height: 1.15;
}

.work-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.work-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(246, 242, 232, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--quiet);
  font-size: 0.8rem;
}

.work-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 6px;
  color: #8af0e2;
  font-size: 0.92rem;
  font-weight: 700;
}

.work-cta-triangle {
  display: inline-grid;
  place-items: center;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
}

.work-cta-triangle::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.work-card,
.work-card * {
  letter-spacing: 0;
}

.empty-state {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--home-card-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(16, 16, 16, 0.88);
  color: var(--muted);
}

.empty-state strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.empty-state p {
  margin: 0;
  line-height: 1.8;
}

.empty-state-panel {
  min-height: 140px;
}

#aiLab {
  padding-top: 116px;
}

.ai-lab-stage {
  position: relative;
  display: grid;
  gap: var(--home-card-gap);
  overflow: hidden;
  padding: 4px 0 8px;
}

.ai-lab-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.ai-lab-track {
  display: flex;
  width: max-content;
  animation: ai-lab-flow 48s linear infinite;
  will-change: transform;
}

.ai-lab-marquee-reverse .ai-lab-track {
  animation-duration: 58s;
  animation-direction: reverse;
}

.ai-lab-group {
  display: flex;
  gap: var(--home-card-gap);
  padding-right: var(--home-card-gap);
}

.ai-lab-card {
  position: relative;
  flex: 0 0 clamp(150px, 15vw, 212px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(246, 242, 232, 0.14);
  border-radius: var(--home-card-radius);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #1a1a1a 0%, #080808 72%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}

.ai-lab-card-media,
.ai-lab-card-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-lab-card-media {
  display: block;
  object-fit: cover;
  object-position: center;
}

.ai-lab-card-fallback {
  display: block;
  background:
    radial-gradient(circle at 20% 18%, hsl(var(--ai-hue) 92% 64% / 0.72), transparent 28%),
    radial-gradient(circle at 82% 22%, hsl(var(--ai-hue-2) 84% 60% / 0.6), transparent 30%),
    radial-gradient(circle at 46% 72%, hsl(var(--ai-hue-3) 86% 54% / 0.46), transparent 34%),
    linear-gradient(135deg, #1a1a1a 0%, #080808 72%);
}

.ai-lab-card:hover {
  border-color: rgba(217, 255, 91, 0.36);
  filter: saturate(1.12);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(217, 255, 91, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-card-gap);
}

.now-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--home-card-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(16, 16, 16, 0.92);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.now-card-link {
  color: inherit;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.now-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(132, 240, 220, 0.34);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.now-card span {
  color: #8af0e2;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.now-card h3 {
  max-width: 12ch;
  font-size: 2rem;
  line-height: 1.08;
}

.now-card p {
  max-width: 38ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.now-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.now-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(246, 242, 232, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: 18px 0 0;
  margin-top: 0;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 22px 42px;
}

.contact-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
}

.contact-item span {
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-item strong {
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.wechat-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0;
  padding: 0;
}

.wechat-card img {
  display: block;
  width: 164px;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.wechat-card figcaption {
  color: var(--quiet);
  font-size: 0.78rem;
}

.detail-navwrap {
  width: min(1120px, calc(100vw - 28px));
  margin: 12px auto 0;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(246, 242, 232, 0.12);
}

.detail-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.detail-nav a {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.detail-nav a:hover {
  color: var(--text);
}

.detail-main {
  padding: 30px 0 88px;
}

.detail-wrap {
  width: min(920px, calc(100vw - 28px));
  margin: 0 auto;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-breadcrumb a {
  color: var(--quiet);
}

.detail-breadcrumb a:last-child {
  color: var(--text);
}

.detail-article-head {
  margin-bottom: 20px;
}

.detail-heading {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.detail-heading h1 {
  font-size: 42px;
  line-height: 1.08;
}

.detail-heading h2 {
  margin-top: 6px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.detail-article-head p {
  max-width: 42ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-page .detail-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.detail-hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 22% 18%, rgba(217, 255, 91, 0.16), transparent 28%),
    radial-gradient(circle at 78% 76%, rgba(135, 240, 245, 0.14), transparent 34%),
    #151515;
}

.detail-hero-visual::before {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--quiet);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.detail-hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
}

.detail-hero-copy span,
.detail-kicker {
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-hero-copy strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.detail-hero-copy p {
  max-width: 28ch;
  color: var(--muted);
  line-height: 1.7;
}

.detail-content {
  display: grid;
  gap: 16px;
}

.detail-copy-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.detail-steps {
  display: grid;
  gap: 12px;
}

.detail-steps div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-steps span {
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-steps p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-page .detail-tags {
  margin-top: 0;
}

.detail-footer {
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-prevnext {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-prevnext li {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.detail-prevnext a {
  color: var(--text);
  text-transform: none;
  font-size: 0.95rem;
}

body.work-reader-page {
  --radius: var(--home-card-radius);
  color-scheme: dark;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(217, 255, 91, 0.1) 0, rgba(217, 255, 91, 0.04) 12%, transparent 28%),
    #060606;
  color: var(--text);
}

body.work-reader-page .mouse-glow {
  display: none;
}

body.work-reader-page .header,
body.work-reader-page main,
body.work-reader-page .detail-navwrap,
body.work-reader-page .detail-wrap {
  width: auto;
  margin: 0;
}

.work-reader-page {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  min-height: 100vh;
}

.reader-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 18px;
  padding: 18px 14px 20px;
  background: rgba(16, 16, 16, 0.9);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.reader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0 18px;
  border-radius: 22px;
  background: #fff;
  color: #161616;
  font-size: 1.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.05);
}

.reader-category {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 18px 16px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, #63ddc5 0%, #4cd0b7 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(76, 208, 183, 0.24);
}

.reader-category span {
  font-size: 1.02rem;
  font-weight: 700;
}

.reader-category small,
.reader-category-list small {
  font-size: 0.74rem;
  opacity: 0.88;
}

.reader-work-list {
  display: grid;
  gap: 10px;
  padding: 8px 0;
  overflow: auto;
}

.reader-work-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 10px 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: #6e6e6e;
}

.reader-work-item.is-active {
  background: #fff;
  color: #222;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.06);
}

.reader-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(180deg, #e8f8f4, #d6f5ef);
  color: #43bba2;
  font-size: 0.76rem;
  font-weight: 700;
}

.reader-work-item strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
}

.reader-work-item small {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: inherit;
  opacity: 0.88;
}

.reader-category-list {
  display: grid;
  gap: 12px;
}

.reader-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  color: #909090;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.04);
}

.reader-category-list span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.reader-count {
  text-align: center;
  color: #9a9a9a;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.reader-main {
  padding: 16px 18px 18px;
}

.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 0 0 6px;
}

.reader-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reader-tabs a {
  display: grid;
  place-items: center;
  min-width: 132px;
  padding: 14px 18px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #4c4c4c;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.reader-tabs a.is-active {
  color: #36c4aa;
}

.reader-tabs span {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
}

.reader-tabs small {
  margin-top: 4px;
  font-size: 0.7rem;
  line-height: 1;
}

.reader-project-pill {
  display: grid;
  gap: 2px;
  justify-items: end;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #4c4c4c;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.reader-project-pill span {
  color: #3cc5ae;
  font-size: 0.74rem;
  font-weight: 700;
}

.reader-project-pill strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.reader-stage {
  display: grid;
}

.reader-long-image {
  display: grid;
  gap: 18px;
}

.reader-cover,
.reader-image-section,
.reader-image-grid div {
  border-radius: 28px;
}

.reader-cover {
  min-height: 360px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 35%, transparent),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.26), transparent 26%),
    linear-gradient(90deg, #5a00f3 0%, #8f00d6 25%, #2b3de1 65%, #1b2ea0 100%);
  color: #fff;
}

.reader-cover > div {
  display: grid;
  align-content: end;
  min-height: 100%;
}

.reader-cover p,
.reader-cover span,
.reader-image-section span {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.9;
}

.reader-cover h1 {
  max-width: 520px;
  margin-top: 10px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.95;
}

.reader-cover span {
  margin-top: 8px;
  letter-spacing: 0.06em;
}

.reader-image-section {
  min-height: 260px;
  padding: 24px;
  background: #050505;
  color: #fff;
}

.reader-image-section-dark {
  display: grid;
  align-items: end;
}

.reader-image-section-dark strong,
.reader-image-section strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 2rem;
  line-height: 1.05;
}

.reader-image-section p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.reader-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reader-image-grid div {
  min-height: 140px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #272727, #111);
  color: #fff;
}

.reader-image-grid span {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.reader-image-strip {
  min-height: 340px;
  border-radius: 28px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #ededed, #d8d8d8);
}

.reader-image-strip.is-second {
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

body.work-reader-page {
  color-scheme: dark;
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(217, 255, 91, 0.1) 0, rgba(217, 255, 91, 0.04) 12%, transparent 28%),
    #060606;
  color: var(--text);
}

body.work-reader-page .mouse-glow {
  display: block;
}

body.work-reader-page .header {
  width: 100%;
  margin: 0;
}

body.work-reader-page .reader-layout {
  width: min(1240px, calc(100vw - 28px));
  margin: 18px auto 0;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  transition: grid-template-columns 0.28s ease;
}

body.work-reader-page .reader-layout.is-collapsed {
  grid-template-columns: 72px minmax(0, 1fr);
}

.work-reader-page .reader-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  height: calc(100vh - var(--header-height) - 34px);
  display: grid;
  gap: 12px;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%),
    rgba(16, 16, 16, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--home-card-radius);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 255, 91, 0.34) transparent;
  color: var(--text);
  transition:
    padding 0.28s ease,
    border-radius 0.28s ease,
    background 0.28s ease;
}

@media (min-width: 1181px) {
  .work-reader-page .reader-sidebar {
    position: fixed;
    top: calc(var(--header-height) + 18px);
    left: max(14px, calc((100vw - 1240px) / 2));
    z-index: 9;
    width: 274px;
  }

  body.work-reader-page .reader-layout.is-collapsed .reader-sidebar {
    width: 72px;
  }

  .work-reader-page .reader-stage {
    grid-column: 2;
  }
}

.work-reader-page .reader-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.work-reader-page .reader-sidebar-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(246, 242, 232, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.work-reader-page .reader-sidebar-toggle:hover {
  border-color: rgba(217, 255, 91, 0.3);
  background: rgba(217, 255, 91, 0.08);
  color: var(--accent);
}

.work-reader-page .reader-sidebar-toggle span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid currentColor;
  transition: transform 0.22s ease;
}

body.work-reader-page .reader-layout:not(.is-collapsed) .reader-sidebar-toggle span {
  transform: rotate(180deg);
}

body.work-reader-page .reader-layout.is-collapsed .reader-sidebar {
  gap: 14px;
  grid-template-rows: auto 1fr auto;
  padding: 12px 10px;
  overflow: hidden;
}

body.work-reader-page .reader-layout.is-collapsed .reader-sidebar-toggle {
  justify-self: center;
}

body.work-reader-page .reader-layout:not(.is-collapsed) .reader-collapse-progress {
  display: none;
}

body.work-reader-page .reader-layout.is-collapsed .reader-collapse-progress {
  position: relative;
  display: block;
  align-self: stretch;
  justify-self: center;
  width: 2px;
  min-height: 180px;
  margin: 18px 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(246, 242, 232, 0.16) 12%,
    rgba(246, 242, 232, 0.16) 88%,
    transparent
  );
}

body.work-reader-page .reader-layout.is-collapsed .reader-collapse-progress span {
  position: absolute;
  left: 50%;
  top: calc(var(--reader-progress, 0) * (100% - 14px));
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    0 0 0 5px rgba(217, 255, 91, 0.08),
    0 0 18px rgba(217, 255, 91, 0.38);
  transform: translateX(-50%);
  transition: top 0.28s ease;
}

body.work-reader-page .reader-layout.is-collapsed .reader-logo,
body.work-reader-page .reader-layout.is-collapsed .reader-accordion,
body.work-reader-page .reader-layout.is-collapsed .insight-menu {
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
}

body.work-reader-page .reader-layout.is-collapsed .reader-logo,
body.work-reader-page .reader-layout.is-collapsed .reader-accordion,
body.work-reader-page .reader-layout.is-collapsed .insight-menu {
  display: none;
}

body.work-reader-page .reader-layout.is-collapsed .reader-count {
  align-self: end;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
  margin-bottom: 4px;
}

.work-reader-page .reader-logo {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 74px;
  padding: 0 18px;
  border-radius: calc(var(--home-card-radius) - 8px);
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 18, 0.92);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  gap: 2px;
}

.work-reader-page .reader-logo span:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.work-reader-page .reader-logo small {
  color: var(--quiet);
  font-size: 0.72rem;
  text-transform: none;
}

.work-reader-page .reader-category {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--home-card-radius) - 6px);
  background: linear-gradient(180deg, #47d3b8 0%, #3dc9ad 100%);
  color: #fff;
  box-shadow:
    0 16px 30px rgba(61, 201, 173, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.work-reader-page .reader-category span {
  font-size: 1rem;
  font-weight: 700;
}

.work-reader-page .reader-category small {
  font-size: 0.72rem;
  opacity: 0.88;
}

.work-reader-page .reader-work-list {
  display: grid;
  gap: 10px;
  padding-right: 2px;
  min-height: 0;
  overflow: auto;
}

.work-reader-page .reader-work-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: calc(var(--home-card-radius) - 10px);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
  color: var(--quiet);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.work-reader-page .reader-work-item:hover {
  border-color: rgba(217, 255, 91, 0.18);
  background: rgba(217, 255, 91, 0.04);
  color: var(--text);
}

.work-reader-page .reader-work-item.is-active {
  background:
    linear-gradient(180deg, rgba(217, 255, 91, 0.1), transparent 22%),
    rgba(20, 20, 20, 0.98);
  color: var(--text);
  border-color: rgba(217, 255, 91, 0.26);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(217, 255, 91, 0.08) inset;
}

.work-reader-page .reader-thumb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 30%, rgba(217, 255, 91, 0.2), transparent 48%),
    rgba(255, 255, 255, 0.04);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
}

.work-reader-page .reader-work-item strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
}

.work-reader-page .reader-work-item small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  color: inherit;
  opacity: 0.88;
}

.work-reader-page .reader-category-list {
  display: grid;
  gap: 10px;
}

.work-reader-page .reader-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: calc(var(--home-card-radius) - 10px);
  border: 1px solid rgba(246, 242, 232, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: var(--quiet);
}

.work-reader-page .reader-category-list a:hover {
  border-color: rgba(217, 255, 91, 0.2);
  color: var(--text);
}

.work-reader-page .reader-category-list span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.work-reader-page .reader-count {
  text-align: center;
  color: var(--quiet);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.work-reader-page .reader-stage {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.work-reader-page .reader-visual {
  scroll-margin-top: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-reader-page .reader-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  min-height: 0;
}

.work-reader-page .reader-accordion-item {
  display: grid;
  gap: 6px;
}

.work-reader-page .reader-accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  height: 58px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: calc(var(--home-card-radius) - 10px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 18, 0.94);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.work-reader-page .reader-accordion-button strong,
.work-reader-page .reader-work-item strong,
.work-reader-page .reader-work-item small {
  letter-spacing: 0;
}

.work-reader-page .reader-accordion-button:hover {
  border-color: rgba(217, 255, 91, 0.2);
  background:
    linear-gradient(180deg, rgba(217, 255, 91, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 18, 0.96);
  transform: translateY(-1px);
}

.work-reader-page .reader-accordion-item.is-open .reader-accordion-button {
  border-color: rgba(217, 255, 91, 0.32);
  background:
    linear-gradient(180deg, rgba(217, 255, 91, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(20, 20, 20, 0.98);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.work-reader-page .reader-accordion-title {
  display: grid;
  gap: 0;
  min-width: 0;
  text-align: left;
}

.work-reader-page .reader-accordion-title strong {
  font-size: 0.96rem;
  line-height: 1.08;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-reader-page .reader-accordion-title small {
  display: none;
  color: var(--quiet);
  font-size: 0.72rem;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-reader-page .reader-accordion-chevron {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--quiet);
  line-height: 1;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, color 0.22s ease;
}

.work-reader-page .reader-accordion-chevron::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid currentColor;
  transform: translateY(0);
}

.work-reader-page .reader-accordion-item.is-open .reader-accordion-chevron {
  color: var(--accent);
  transform: rotate(180deg);
}

.work-reader-page .reader-accordion-panel {
  display: none;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.28s ease,
    padding 0.28s ease,
    opacity 0.2s ease;
}

.work-reader-page .reader-accordion-item.is-open .reader-accordion-panel {
  display: flex;
  max-height: 520px;
  padding: 6px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.work-reader-page .reader-work-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border-radius: calc(var(--home-card-radius) - 10px);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--quiet);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.work-reader-page .reader-work-item:hover {
  border-color: rgba(217, 255, 91, 0.2);
  background: rgba(217, 255, 91, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.work-reader-page .reader-work-item.is-active {
  background:
    linear-gradient(180deg, rgba(217, 255, 91, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(20, 20, 20, 0.98);
  color: var(--text);
  border-color: rgba(217, 255, 91, 0.26);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(217, 255, 91, 0.08) inset;
}

.work-reader-page .reader-thumb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: calc(var(--home-card-radius) - 14px);
  background:
    radial-gradient(circle at 35% 30%, rgba(217, 255, 91, 0.18), transparent 48%),
    rgba(255, 255, 255, 0.04);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: none;
}

.work-reader-page .reader-work-item strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
  color: inherit;
}

.work-reader-page .reader-work-item small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  color: inherit;
  opacity: 0.84;
}

.work-reader-page .reader-work-item.is-active .reader-thumb {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.2), transparent 48%),
    rgba(217, 255, 91, 0.12);
  border-color: rgba(217, 255, 91, 0.28);
}

.work-reader-page .reader-work-item {
  box-sizing: border-box;
  flex: 0 0 auto;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  height: 58px;
  padding: 7px 12px;
  border-radius: 999px;
  overflow: hidden;
}

.work-reader-page .reader-work-item .reader-thumb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.work-reader-page .reader-work-item > span:not(.reader-thumb) {
  min-width: 0;
}

.work-reader-page .reader-work-item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
  line-height: 1.06;
}

.work-reader-page .reader-work-item small {
  display: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.reader-next-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 0 0;
}

.reader-next-button {
  min-width: 240px;
  height: 58px;
  border: 1px solid rgba(217, 255, 91, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(217, 255, 91, 0.22), rgba(217, 255, 91, 0.08)),
    rgba(16, 18, 14, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 42px rgba(0, 0, 0, 0.28);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.reader-next-button:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 255, 91, 0.82);
  background: linear-gradient(135deg, #e7ff74, #bdf73d);
  color: #11140e;
}

.reader-prev-button {
  min-width: 150px;
  border-color: rgba(246, 242, 232, 0.18);
  background: rgba(16, 18, 14, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: rgba(246, 242, 232, 0.72);
}

.reader-prev-button:hover {
  border-color: rgba(246, 242, 232, 0.38);
  background: rgba(246, 242, 232, 0.1);
  color: var(--text);
}

.work-reader-page .reader-visual {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.work-reader-page .reader-visual-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 10px 10px 24px;
  border-bottom: 1px solid rgba(246, 242, 232, 0.1);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.work-reader-page .reader-visual-canvas {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 0;
  padding: 24px 10px 8px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.work-reader-page .reader-content-stream {
  display: grid;
  gap: 18px;
}

.reader-block,
.insight-block {
  display: grid;
  gap: 12px;
}

.reader-block-copy,
.insight-paragraph {
  color: var(--muted);
  line-height: 1.88;
}

.reader-block-heading,
.insight-heading {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.18;
}

.reader-block-quote,
.insight-quote {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-left: 2px solid rgba(217, 255, 91, 0.6);
  background: rgba(217, 255, 91, 0.03);
}

.reader-block-quote span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reader-block-quote p {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.88;
}

.reader-block-head,
.insight-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--quiet);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reader-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.work-reader-page .reader-gallery-stitch {
  gap: 12px;
}

.work-reader-page .reader-gallery-stitch .reader-gallery-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.work-reader-page .reader-gallery-stitch .reader-gallery-strip-media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.work-reader-page .reader-gallery-stitch .reader-gallery-strip-media + .reader-gallery-strip-media {
  margin-top: 0;
}

.reader-gallery-stack .reader-gallery-grid,
.insight-gallery-stack .reader-gallery-grid {
  grid-template-columns: 1fr;
}

.reader-gallery-masonry .reader-gallery-grid,
.insight-gallery-masonry .reader-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.reader-media {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: calc(var(--home-card-radius) - 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(12, 12, 12, 0.82);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.insight-reader-page .reader-media-image {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.insight-reader-page .reader-media-image .reader-media-element {
  min-height: 0;
  border-radius: 0;
}

.insight-reader-page .reader-block > .reader-media-image {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.insight-reader-page .reader-block > .reader-media-image .reader-media-element {
  width: 100%;
  min-height: 0;
  border-radius: 0;
}

.work-reader-page .reader-block > .reader-media-image {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.work-reader-page .reader-block > .reader-media-image .reader-media-element {
  width: 100%;
  min-height: 0;
  border-radius: 0;
}

.reader-media-element,
.reader-media-placeholder-art {
  width: 100%;
  min-height: 230px;
  border-radius: calc(var(--home-card-radius) - 10px);
  background: #111;
}

.reader-media-element {
  display: block;
  object-fit: cover;
}

.reader-media-video .reader-media-element {
  background: #0d0d0d;
}

.reader-media-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.68);
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.reader-media figcaption {
  display: grid;
  gap: 4px;
  color: var(--quiet);
  font-size: 0.76rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.reader-media figcaption strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.reader-media figcaption span {
  color: var(--quiet);
  font-size: 0.76rem;
  text-transform: none;
}

.reader-media-placeholder-art {
  display: grid;
  align-content: end;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 255, 91, 0.18), transparent 22%),
    radial-gradient(circle at 82% 24%, rgba(135, 240, 245, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.34), rgba(20, 20, 20, 0.96));
}

.reader-media-placeholder-art span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.reader-media-placeholder-art small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.work-reader-page .reader-visual[data-type="brand"] .reader-visual-canvas {
  background: transparent;
}

.work-reader-page .reader-visual[data-type="packaging"] .reader-visual-canvas {
  background: transparent;
}

.work-reader-page .reader-visual[data-type="ui"] .reader-visual-canvas {
  background: transparent;
}

.work-reader-page .reader-visual-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.work-reader-page .reader-visual-copy p,
.work-reader-page .reader-visual-copy span {
  margin: 0;
  color: var(--quiet);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.work-reader-page .reader-visual-copy h1 {
  max-width: 780px;
  font-size: clamp(1.75rem, 2.25vw, 2.8rem);
  line-height: 1.2;
}

.work-reader-page .reader-visual-copy span:last-child {
  margin-top: 8px;
  letter-spacing: 0.06em;
}

.work-reader-page .reader-visual-copy p:last-child {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  text-transform: none;
}

.work-reader-page .reader-visual + .reader-visual {
  margin-top: 0;
}

.insight-reader-page .insight-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-self: start;
}

.insight-reader-page .insight-menu-item {
  height: 58px;
  padding: 7px 12px;
  border-radius: 999px;
  overflow: hidden;
}

.insight-reader-page .insight-menu-item .reader-thumb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.insight-reader-page .insight-menu-item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
  line-height: 1.06;
}

.insight-reader-page .insight-menu-item small {
  display: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.insight-reader-page .insight-stage {
  gap: 0;
}

.insight-reader-page .insight-article {
  display: grid;
  gap: 26px;
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.insight-reader-page .insight-header {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(246, 242, 232, 0.08);
}

.insight-reader-page .insight-header h1 {
  max-width: 100%;
  font-size: clamp(1.7rem, 1.85vw, 2.1rem);
  line-height: 1.04;
}

.insight-reader-page .insight-summary {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.85;
}

.insight-reader-page .insight-inline-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--quiet);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-reader-page .insight-inline-meta span {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.insight-reader-page .insight-inline-meta span:last-child {
  border-right: 0;
  padding-right: 0;
}

.insight-reader-page .insight-content {
  display: grid;
  gap: 24px;
  max-width: 940px;
}

.insight-reader-page .insight-paragraph,
.insight-reader-page .insight-heading {
  max-width: 74ch;
}

.insight-reader-page .insight-paragraph {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

.insight-reader-page .insight-heading {
  padding-top: 8px;
  font-size: 1.4rem;
  line-height: 1.18;
}

.insight-reader-page .insight-figure {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.insight-reader-page .insight-figure-art {
  display: grid;
  align-content: end;
  min-height: 320px;
  padding: 26px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: var(--home-card-radius);
  background:
    repeating-linear-gradient(0deg, rgba(181, 143, 78, 0.06) 0 1px, transparent 1px 10px),
    radial-gradient(circle at 18% 18%, rgba(217, 255, 91, 0.12), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(135, 240, 245, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.96)),
    #0f0f0f;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.insight-reader-page .insight-figure-art span {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-reader-page .insight-figure-art small {
  max-width: 36ch;
  margin-top: 10px;
  color: rgba(246, 242, 232, 0.66);
  line-height: 1.65;
}

.insight-reader-page .insight-figure figcaption {
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.6;
}

.insight-reader-page .insight-quote {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-left: 2px solid rgba(217, 255, 91, 0.6);
  background: rgba(217, 255, 91, 0.03);
}

.insight-reader-page .insight-quote span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-reader-page .insight-quote p {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.88;
}

body.ai-gallery-page {
  --radius: var(--home-card-radius);
  color-scheme: dark;
  min-height: 100vh;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(217, 255, 91, 0.1) 0, rgba(217, 255, 91, 0.04) 12%, transparent 28%),
    #060606;
  color: var(--text);
}

body.ai-gallery-page .mouse-glow {
  display: block;
}

body.ai-gallery-page .header,
body.ai-gallery-page main {
  width: 100%;
  margin: 0;
}

body.ai-gallery-page main {
  padding: 18px 0 80px;
}

.ai-gallery-main {
  min-height: calc(100vh - 80px);
}

.ai-gallery-shell {
  width: min(1240px, calc(100vw - 28px));
  margin: 0 auto;
}

.ai-gallery-grid {
  column-width: 260px;
  column-gap: 18px;
  column-fill: balance;
}

.ai-gallery-grid .empty-state {
  width: 100%;
  margin-bottom: 18px;
  column-span: all;
  break-inside: avoid;
}

.ai-gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0 0 18px;
  overflow: hidden;
  border: 0;
  border-radius: var(--home-card-radius);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  page-break-inside: avoid;
  transform: translateZ(0);
}

.ai-gallery-format {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(246, 242, 232, 0.16);
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.46);
  color: rgba(246, 242, 232, 0.92);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.ai-gallery-item img,
.ai-gallery-item video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.03);
}

.ai-gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(6, 6, 6, 0.34);
  border: 1px solid rgba(246, 242, 232, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ai-gallery-play::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid rgba(246, 242, 232, 0.9);
}

.ai-gallery-item:hover {
  transform: translateY(-3px) scale(1.012);
  filter: saturate(1.06) contrast(1.03);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.ai-gallery-item.is-active {
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 0 2px rgba(217, 255, 91, 0.46);
}

.ai-gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.ai-gallery-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ai-gallery-view {
  position: relative;
  width: min(94vw, 1200px);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 28px;
  background: #050505;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  padding: 60px 18px 18px;
}

.ai-gallery-view img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  display: block;
  object-fit: contain;
}

.ai-gallery-view video {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  display: block;
  object-fit: contain;
}

.ai-gallery-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.ai-gallery-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(246, 242, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.ai-gallery-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-locked {
  overflow: hidden;
}

@media (max-width: 1180px) {
  body.work-reader-page .reader-layout,
  body.work-reader-page .reader-layout.is-collapsed {
    grid-template-columns: 1fr;
  }

  .work-reader-page .reader-sidebar {
    position: relative;
    top: auto;
    height: auto;
  }

  body.work-reader-page .reader-layout.is-collapsed .reader-sidebar {
    height: 64px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    align-items: center;
  }

  body.work-reader-page .reader-layout.is-collapsed .reader-count {
    writing-mode: initial;
    transform: none;
    align-self: center;
    margin-bottom: 0;
  }

  .insight-reader-page .insight-article {
    padding: 22px;
  }

  .ai-gallery-shell {
    width: min(100vw - 28px, 1440px);
  }

  .ai-gallery-grid {
    column-width: 230px;
  }
}

@media (max-width: 860px) {
  .work-reader-page .reader-visual,
  .work-reader-page .reader-hero-art,
  .work-reader-page .reader-long-block,
  .work-reader-page .reader-long-strip {
    border-radius: var(--home-card-radius);
  }

  .work-reader-page .reader-visual {
    min-height: 0;
  }

  .work-reader-page .reader-visual-lead {
    gap: 16px;
    padding: 20px;
  }

  .work-reader-page .reader-visual-canvas {
    min-height: 0;
  }

  .work-reader-page .reader-hero-art {
    min-height: 360px;
    padding: 22px;
  }

  .insight-reader-page .insight-content {
    max-width: 100%;
  }

  .ai-gallery-grid {
    column-width: 200px;
  }

  .ai-gallery-view {
    border-radius: var(--home-card-radius);
  }

  .ai-gallery-view img {
    max-height: calc(100vh - 110px);
  }

  .ai-gallery-view video {
    max-height: calc(100vh - 110px);
  }
}

@media (max-width: 720px) {
  body.work-reader-page .header {
    width: 100%;
  }

  .reader-layout {
    width: min(100vw - 16px, 1240px);
    gap: 12px;
    margin-top: 12px;
  }

  .work-reader-page .reader-sidebar {
    padding: 12px;
  }

  .work-reader-page .reader-work-list {
    max-height: 260px;
  }

  .work-reader-page .reader-logo {
    min-height: 62px;
  }

  .work-reader-page .reader-visual {
    min-height: 0;
    padding: 12px;
  }

  .work-reader-page .reader-visual-lead {
    gap: 14px;
    padding: 18px;
    border-radius: var(--home-card-radius);
  }

  .work-reader-page .reader-visual-canvas {
    min-height: 0;
    padding: 18px;
  }

  .work-reader-page .reader-visual-copy h1 {
    font-size: 1.9rem;
  }

  .work-reader-page .reader-hero-art {
    min-height: 280px;
  }

  .insight-reader-page .insight-article {
    padding: 16px;
    border-radius: var(--home-card-radius);
  }

  .insight-reader-page .insight-header h1 {
    font-size: 2rem;
  }

  .insight-reader-page .insight-figure-art {
    min-height: 240px;
    padding: 18px;
    border-radius: var(--home-card-radius);
  }

  body.ai-gallery-page main {
    padding: 14px 14px 72px;
  }

  .ai-gallery-grid {
    column-width: 156px;
    column-gap: 14px;
  }

  .ai-gallery-view {
    width: 94vw;
    border-radius: var(--home-card-radius);
    padding: 52px 12px 12px;
  }

  .ai-gallery-view img {
    max-height: calc(100vh - 100px);
  }

  .ai-gallery-view video {
    max-height: calc(100vh - 100px);
  }

  .ai-gallery-controls {
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .ai-gallery-icon {
    width: 38px;
    height: 38px;
  }
}

.detail-page main {
  padding-top: 32px;
}

.detail-header {
  justify-content: space-between;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-back {
  min-width: 126px;
}

.detail-page .section-head {
  margin-bottom: 18px;
}

.detail-shell {
  display: grid;
  gap: 18px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}

.detail-panel,
.detail-visual,
.detail-overview,
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.detail-panel {
  padding: 22px;
}

.detail-lead {
  display: grid;
  gap: 14px;
  padding: 28px;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 38%, rgba(217, 255, 91, 0.05)),
    rgba(16, 16, 16, 0.68);
  border-color: rgba(246, 242, 232, 0.2);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.12);
}

.detail-label-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-lead h1 {
  max-width: 760px;
  font-size: 54px;
  line-height: 1.02;
}

.detail-lead p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.detail-overview {
  padding: 22px;
  display: grid;
  gap: 16px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(217, 255, 91, 0.04), transparent 32%),
    var(--panel);
}

.detail-overview dl {
  display: grid;
  gap: 6px;
}

.detail-overview dt {
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-overview dd {
  font-size: 1.02rem;
  line-height: 1.45;
}

.detail-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.detail-visual {
  min-height: 620px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 255, 91, 0.16), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(135, 240, 245, 0.14), transparent 32%),
    rgba(16, 16, 16, 0.92);
}

.detail-visual-inner {
  height: 100%;
  min-height: 584px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(246, 242, 232, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%, rgba(255, 255, 255, 0.03) 70%, transparent),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 12px,
      transparent 12px,
      transparent 24px
    ),
    #141414;
  position: relative;
  overflow: hidden;
}

.detail-visual-inner::before {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(246, 242, 232, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-visual-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.detail-visual-copy span {
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-visual-copy strong {
  font-size: 1.7rem;
  line-height: 1.08;
}

.detail-visual-copy p {
  max-width: 28ch;
  color: var(--muted);
  line-height: 1.7;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.detail-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-list div {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-list span {
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.detail-list p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-gallery .detail-card {
  min-height: 180px;
}

@keyframes caret-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }

  50% {
    opacity: 0.9;
    transform: translateY(8px);
  }
}

@keyframes ai-lab-flow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-lab-track {
    animation: none;
  }

  .ai-lab-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .ai-lab-marquee::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .overview,
  .works-grid,
  .detail-hero,
  .detail-body,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  main {
    padding: 0 0 96px;
  }

  .hero {
    height: auto;
    margin-top: 0;
  }

  .showcase-stage {
    min-height: calc(100svh - 72px);
    margin-bottom: 0;
  }

  .showcase-name {
    font-size: clamp(68px, 15vw, 148px);
  }

  .section-head {
    display: grid;
    align-items: start;
    margin-bottom: 26px;
    padding-bottom: 18px;
  }

  .section {
    padding-top: 80px;
  }

  #works {
    padding-top: 96px;
  }

  #works .section-head,
  #now .section-head,
  #aiLab .section-head,
  .contact .section-head {
    margin-bottom: 32px;
  }

  .works-footer {
    justify-content: flex-start;
  }

  .load-more {
    min-width: min(100%, 300px);
  }

  .works-grid {
    gap: 18px;
  }

  .overview {
    gap: 18px;
    margin-top: 32px;
  }

  .overview-card {
    min-height: 170px;
  }

  .now-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ai-lab-stage {
    gap: 18px;
  }

  .ai-lab-group {
    gap: 18px;
    padding-right: 18px;
  }

  .ai-lab-card {
    flex-basis: clamp(132px, 28vw, 176px);
    border-radius: 22px;
  }

  .work-card {
    min-height: 500px;
  }

  .detail-visual {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 77px;
  }

  .header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
  }

  main {
    width: 100%;
    padding: 0 0 80px;
  }

  .hero,
  .overview,
  .section {
    width: min(100vw - 16px, 1240px);
  }

  .brand {
    justify-self: start;
    width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    justify-self: end;
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .header-action {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    height: auto;
    margin-top: 0;
  }

  .showcase-stage {
    min-height: calc(100svh - 72px);
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
  }

  .showcase-grid {
    opacity: 0.16;
  }

  .showcase-hero,
  .showcase-cue,
  .showcase-badge {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .showcase-hero {
    top: 50%;
    width: min(86vw, 620px);
    padding: 20px 0 8px;
    transform: translate(-50%, -50%);
  }

  .showcase-cue {
    bottom: 32px;
    width: auto;
    margin: 0;
    min-width: 0;
    padding: 0;
    transform: translateX(-50%);
  }

  .showcase-cue::before {
    top: -10px;
  }

  .showcase-cue:hover {
    transform: translateX(-50%) translateY(2px);
  }

  .showcase-name {
    font-size: clamp(58px, 18vw, 94px);
  }

  .showcase-sub {
    font-size: 0.96rem;
  }

  .showcase-stage .quick-links {
    margin-top: 18px;
  }

  .showcase-badge {
    display: none;
  }

  .section-head h2 {
    font-size: 30px;
  }

  #works .section-head h2,
  #aiLab .section-head h2,
  #now .section-head h2,
  .contact .section-head h2 {
    font-size: clamp(36px, 13vw, 54px);
    line-height: 1.02;
  }

  #works .section-head .label,
  #aiLab .section-head .label,
  #now .section-head .label,
  .contact .section-head .label {
    font-size: 0.9rem;
  }

  #works .section-head p,
  #aiLab .section-head p,
  #now .section-head p,
  .contact .section-head p {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  #works {
    padding-top: 72px;
  }

  .section {
    padding-top: 64px;
  }

  .section-head {
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  #works .section-head,
  #now .section-head,
  #aiLab .section-head,
  .contact .section-head {
    gap: 18px;
    margin-bottom: 26px;
  }

  .intro,
  .experience-board {
    padding: 22px;
  }

  .experience-board {
    min-height: 300px;
  }

  .experience-scroll {
    max-height: 260px;
  }

  .experience-company-head {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .experience-company-count {
    grid-column: 2;
    justify-self: start;
    padding-top: 0;
  }

  .experience-role-list {
    padding-left: 0;
  }

  .experience-role {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .work-visual {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .work-body {
    padding: 20px 2px 2px;
    gap: 14px;
  }

  .work-body h3 {
    font-size: 22px;
  }

  .work-body p {
    font-size: 0.96rem;
  }

  .overview-card {
    min-height: 160px;
    padding: 18px;
    border-radius: 20px;
  }

  .overview-index {
    left: 16px;
    top: 14px;
    font-size: 0.78rem;
  }

  .overview strong {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .overview-card p {
    font-size: 0.78rem;
  }

  .overview-card-back p {
    max-width: 26ch;
    font-size: 0.88rem;
    -webkit-line-clamp: 4;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

  .contact-links {
    display: grid;
    gap: 12px;
  }

  .wechat-card {
    justify-self: start;
  }

  .wechat-card img {
    width: 132px;
  }

  .now-card {
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
  }

  #aiLab {
    padding-top: 72px;
  }

  .ai-lab-stage {
    gap: 14px;
  }

  .ai-lab-card {
    flex-basis: 136px;
    border-radius: 18px;
  }

  .now-card h3 {
    max-width: none;
    font-size: 1.45rem;
  }

  .experience-logo {
    grid-row: 1 / span 2;
  }

  .experience-logo {
    width: 38px;
    height: 38px;
  }

  .experience-company-title {
    gap: 6px 10px;
  }

  .experience-company-copy p,
  .experience-role-copy p {
    line-height: 1.6;
  }

  .lead {
    font-size: 18px;
  }

  .typed-lead {
    min-height: 3.4em;
  }

  .detail-page main {
    padding-top: 24px;
  }

  .detail-lead {
    padding: 22px;
  }

  .detail-lead h1 {
    font-size: 38px;
  }

  .detail-panel,
  .detail-visual,
  .detail-overview,
  .detail-card {
    border-radius: 12px;
  }

  .detail-visual {
    min-height: 420px;
    padding: 12px;
  }

  .detail-visual-inner {
    min-height: 396px;
  }
}
