/* ==========================================================================
   序章 PROLOGUE — visual skeleton
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #0a0908;
  --bg-2: #0f0e0c;
  --ink: #f2efe7;
  --ink-2: #a29c93;
  --ink-3: #6d6862;
  --line: rgba(242, 239, 231, 0.13);
  --line-soft: rgba(242, 239, 231, 0.07);
  --accent: #ff5b2e;
  --accent-ink: #180a05;
  --pad: clamp(18px, 4.2vw, 76px);
  --maxw: 1560px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --serif: "Source Han Serif SC", "Songti SC", "STSong", "Georgia",
    "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", "Roboto Mono",
    Consolas, monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
img, canvas, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, blockquote { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   overlays
   -------------------------------------------------------------------------- */

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

.grain {
  position: fixed;
  inset: -120px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grainShift 6s steps(6) infinite;
  will-change: transform;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  16% { transform: translate(-8px, 6px); }
  33% { transform: translate(6px, -10px); }
  50% { transform: translate(-4px, -6px); }
  66% { transform: translate(10px, 4px); }
  83% { transform: translate(-6px, 8px); }
  100% { transform: translate(0, 0); }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--pad);
  transition: transform 1s var(--ease), opacity 0.6s ease 0.25s;
}

.loader.is-done {
  transform: translateY(-101%);
  opacity: 0.9;
  pointer-events: none;
}

.loader__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
}

.loader__mark {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

.loader__count {
  font-size: clamp(40px, 9vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.8;
  font-family: var(--serif);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.loader__count i {
  font-style: normal;
  font-size: 0.28em;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-left: 0.4em;
  vertical-align: super;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cursor.is-on { opacity: 1; }

.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.cursor__dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242, 239, 231, 0.4);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    border-color 0.3s ease, background-color 0.3s ease;
}

.cursor.is-hover .cursor__ring {
  width: 68px;
  height: 68px;
  border-color: rgba(255, 91, 46, 0.7);
  background: rgba(255, 91, 46, 0.08);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 80;
  background: transparent;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 91, 46, 0.7);
}

@media (pointer: fine) and (hover: hover) {
  body,
  a,
  button { cursor: none; }
  .cursor { display: block; }
}

@media (pointer: coarse), (hover: none) {
  .cursor { display: none; }
}

/* --------------------------------------------------------------------------
   header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
    border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 13px;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(225deg); }

.brand__zh {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand__en {
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.22em;
  padding-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
}

.nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.header-cta:hover {
  border-color: rgba(255, 91, 46, 0.5);
  color: var(--ink);
  background: rgba(255, 91, 46, 0.06);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ee08a;
  box-shadow: 0 0 0 0 rgba(126, 224, 138, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(126, 224, 138, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(126, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 224, 138, 0); }
}

/* --------------------------------------------------------------------------
   hero
   -------------------------------------------------------------------------- */

main { position: relative; z-index: 2; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(20px, 4vh, 48px);
  padding: clamp(96px, 13vh, 150px) var(--pad) clamp(24px, 4vh, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-3);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-2);
}

.eyebrow .rule {
  display: inline-block;
  width: clamp(24px, 6vw, 64px);
  height: 1px;
  background: var(--accent);
}

.hero__idx { color: var(--ink-3); }

.hero__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 34vh, 380px);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__title {
  font-size: clamp(38px, 8.6vw, 150px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  opacity: 1;
  user-select: none;
  pointer-events: none;
}

.hero__stage.is-live .hero__title { opacity: 0; }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-top: clamp(18px, 3vh, 30px);
  border-top: 1px solid var(--line-soft);
}

.hero__sub {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.35s ease, color 0.3s ease;
  will-change: transform;
}

.btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg { transform: translate(2px, -2px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
}

.btn--primary:hover {
  box-shadow: 0 12px 40px -12px rgba(255, 91, 46, 0.85);
  background: #ff6c43;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(242, 239, 231, 0.35);
  background: rgba(242, 239, 231, 0.04);
}

.btn--lg {
  padding: 17px 30px;
  font-size: 14px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--ink-3);
  max-width: 320px;
}

.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }

.hero__meta li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(14px, 2.2vh, 22px) 0;
  background: rgba(10, 9, 8, 0.55);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__track--reverse { animation-direction: reverse; }

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee__sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 clamp(20px, 3vw, 44px);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.marquee--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.marquee--accent .marquee__item { color: var(--accent-ink); }
.marquee--accent .marquee__sep { background: rgba(24, 10, 5, 0.55); }

/* --------------------------------------------------------------------------
   shared section bits
   -------------------------------------------------------------------------- */

section { position: relative; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 6vh, 72px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.section-label span:first-child { color: var(--accent); }

.section-note { color: var(--ink-3); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   manifesto
   -------------------------------------------------------------------------- */

.manifesto {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(88px, 15vh, 190px) var(--pad) clamp(56px, 9vh, 110px);
}

.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(30px, 4.7vw, 74px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  max-width: 17ch;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.manifesto__quote em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.manifesto__body {
  max-width: 58ch;
  margin-left: auto;
  color: var(--ink-2);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.95;
}

.manifesto__body .char {
  opacity: 0.14;
  transition: opacity 0.55s ease, color 0.55s ease;
}

.manifesto__body .char.is-lit {
  opacity: 1;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   stats
   -------------------------------------------------------------------------- */

.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__item {
  padding: clamp(26px, 4vw, 46px) clamp(14px, 2.2vw, 34px);
  border-right: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.stats__item:last-child { border-right: 0; }

.stats__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.stats__item:hover::after { transform: scaleX(1); }

.stats__value {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stats__suffix {
  font-size: 0.42em;
  color: var(--accent);
  margin-left: 0.12em;
  letter-spacing: 0.02em;
}

.stats__label {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   works
   -------------------------------------------------------------------------- */

.works {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 13vh, 170px) var(--pad) clamp(30px, 6vh, 70px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 4vh, 40px);
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.03em;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.filter:hover { color: var(--ink); border-color: rgba(242, 239, 231, 0.32); }

.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.filter i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.55;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 52px) clamp(14px, 2.2vw, 30px);
  align-items: start;
}

.work {
  grid-column: span var(--span, 4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.work.is-in { opacity: 1; transform: translateY(0); }
.work.is-hidden { display: none; }

.work__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.work__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar, 4 / 5);
  background: #0c0b0a;
  border: 1px solid var(--line-soft);
  isolation: isolate;
}

.work__img,
.work__hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work__img {
  transform: scale(1.01);
  transition: transform 1.2s var(--ease), opacity 0.45s ease;
}

.work__hover { opacity: 0; transition: opacity 0.45s ease; }

.work:hover .work__img { transform: scale(1.055); }
.work.is-playing .work__img { opacity: 0; }
.work.is-playing .work__hover { opacity: 1; }

.work__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  background:
    linear-gradient(to right, transparent calc(50% - 0.5px), rgba(242, 239, 231, 0.08) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(242, 239, 231, 0.08) 50%, transparent calc(50% + 0.5px));
}

.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(6, 5, 5, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 5, 5, 0.22), transparent 28%, rgba(6, 5, 5, 0.5));
}

.work__tag,
.work__time,
.work__index,
.work__play { z-index: 3; }

.work__index {
  position: absolute;
  right: 3%;
  bottom: -5%;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.8;
  color: rgba(242, 239, 231, 0.1);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  transition: color 0.6s ease, transform 0.9s var(--ease);
}

.work:hover .work__index {
  color: rgba(255, 91, 46, 0.24);
  transform: translateY(-6px);
}

.work__tag,
.work__time {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  padding: 5px 10px;
  border: 1px solid rgba(242, 239, 231, 0.18);
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.42);
  backdrop-filter: blur(6px);
}

.work__tag { top: 14px; left: 14px; }
.work__time { bottom: 14px; left: 14px; color: var(--ink); }

.work__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 231, 0.35);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.6s var(--ease),
    background-color 0.45s ease, border-color 0.45s ease;
}

.work__play svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: stroke 0.4s ease;
}

.work:hover .work__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: var(--accent);
  border-color: var(--accent);
}

.work:hover .work__play svg { stroke: var(--accent-ink); }

.work__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 12px;
}

.work__title {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.35s ease;
}

.work:hover .work__title { color: var(--accent); }

.work__client {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: right;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   graphic
   -------------------------------------------------------------------------- */

.graphic {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 11vh, 140px) var(--pad) clamp(20px, 4vh, 50px);
}

.graphic__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.22;
  max-width: 18em;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.graphic__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 52px) clamp(14px, 2.2vw, 30px);
  align-items: start;
}

.gcard {
  grid-column: span var(--span, 4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.gcard.is-in { opacity: 1; transform: translateY(0); }

.gcard__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.gcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar, 4 / 3);
  border: 1px solid var(--line-soft);
  background: #0d0c0b;
}

.gcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gcard:hover .gcard__media img { transform: scale(1.045); }

.gcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(242, 239, 231, 0.04);
}

.gcard__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.gcard__title {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.gcard:hover .gcard__title { color: var(--accent); }

.gcard__sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-align: right;
}

/* --------------------------------------------------------------------------
   lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 52px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, 0.93);
  backdrop-filter: blur(16px) saturate(120%);
}

.lightbox__inner {
  position: relative;
  width: min(1180px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

#lb-video {
  max-height: min(72vh, 880px);
  max-width: 100%;
  width: auto;
  background: #000;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

#lb-image {
  max-height: min(74vh, 880px);
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.lightbox__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 239, 231, 0.14);
}

.lightbox__sub {
  color: var(--ink-3);
  margin-bottom: 6px;
}

.lightbox__title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
}

.lightbox__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lightbox__count { color: var(--ink-3); margin-right: 6px; }

.lightbox__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 231, 0.2);
  background: none;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.lightbox__arrow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.lightbox__close {
  position: absolute;
  right: 0;
  top: -38px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--ink-2);
  font-size: 10px;
  letter-spacing: 0.18em;
  transition: color 0.3s ease;
}

.lightbox__close:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   method
   -------------------------------------------------------------------------- */

.method {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) var(--pad) clamp(80px, 13vh, 160px);
}

.method__title {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 70px);
  line-height: 1.15;
  max-width: 14ch;
}

.method__list { border-top: 1px solid var(--line); }

.method__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 56px);
  align-items: start;
  padding: clamp(26px, 4vh, 46px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.5s ease;
}

.method__item::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  background: linear-gradient(90deg, rgba(255, 91, 46, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.method__item:hover::before { opacity: 1; }

.method__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 0.6em;
}

.method__name {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.15;
  transition: transform 0.6s var(--ease);
}

.method__item:hover .method__name { transform: translateX(8px); }

.method__body {
  color: var(--ink-2);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.95;
  max-width: 48ch;
}

/* --------------------------------------------------------------------------
   cta
   -------------------------------------------------------------------------- */

.cta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(100px, 17vh, 210px) var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta .section-label { margin-bottom: clamp(24px, 4vh, 40px); }

.cta__title {
  font-family: var(--serif);
  font-size: clamp(34px, 6.6vw, 104px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 16ch;
}

.cta__body {
  margin-top: clamp(20px, 3vh, 32px);
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.85;
}

.cta__actions {
  margin-top: clamp(32px, 5vh, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.cta__mail {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  text-transform: none;
  letter-spacing: 0.06em;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cta__mail:hover { color: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 7vh, 72px) var(--pad) 26px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__zh {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0.06em;
}

.footer__en {
  color: var(--ink-3);
  margin-top: 12px;
  font-size: 9px;
  letter-spacing: 0.24em;
}

.footer__cols {
  display: flex;
  gap: clamp(40px, 6vw, 110px);
}

.footer__col h3 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 18px;
}

.footer__col li + li { margin-top: 10px; }

.footer__col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.3s ease;
}

.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-3);
  font-size: 9px;
}

.footer__clock { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__meta { justify-content: flex-start; max-width: none; }

  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line-soft); }

  .work,
  .gcard { grid-column: span 6; }

  .method__item {
    grid-template-columns: 54px 1fr;
    grid-template-areas: "no name" ". body";
  }
  .method__no { grid-area: no; }
  .method__name { grid-area: name; }
  .method__body { grid-area: body; margin-top: 14px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  #hero-canvas { display: none; }
  .hero__title,
  .hero__stage.is-live .hero__title { opacity: 1; }

  .grain { opacity: 0.045; }

  .manifesto__body { margin-left: 0; }
  .manifesto__body .char { opacity: 1; color: var(--ink-2); }

  .footer__top { flex-direction: column; gap: 36px; }

  .work,
  .gcard { grid-column: span 12; }

  .lightbox { padding: 12px; }
  #lb-video { max-height: 68vh; }
  #lb-image { max-height: 64vh; }
  .lightbox__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lightbox__nav { align-self: flex-end; }
  .lightbox__close { top: -34px; }
}

@media (max-width: 420px) {
  .site-header { gap: 10px; }
  .brand__en { display: none; }
}

/* --------------------------------------------------------------------------
   reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .loader { display: none; }
  .reveal,
  .work,
  .gcard { opacity: 1; transform: none; }
  .hero__title,
  .hero__stage.is-live .hero__title { opacity: 1; }
  #hero-canvas { display: none; }
  .manifesto__body .char { opacity: 1; color: var(--ink-2); }
  .grain { display: none; }
}
