:root {
  --bg: #11100e;
  --bg-deep: #080807;
  --surface: rgba(238, 226, 207, 0.065);
  --surface-strong: rgba(238, 226, 207, 0.105);
  --ink: #f1e6d4;
  --muted: rgba(241, 230, 212, 0.62);
  --faint: rgba(241, 230, 212, 0.38);
  --line: rgba(241, 230, 212, 0.16);
  --accent: #c8a66a;
  --accent-soft: rgba(200, 166, 106, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius: 6px;
  --rail: 72px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 68% 8%, rgba(200, 166, 106, 0.13), transparent 30rem),
    linear-gradient(180deg, #17130f 0%, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

.about-page {
  background: #000;
}

.projects-page {
  background: #000;
}

.works-page {
  background: #000;
}

.play-page {
  background: #000;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  content: "";
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-right: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.38);
  backdrop-filter: blur(18px);
}

.brand {
  position: absolute;
  top: 28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%) writing-mode(vertical-rl);
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  gap: 0;
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a span {
  color: inherit;
  font-size: 11px;
}

.site-nav a b {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  min-width: max-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px;
  background: rgba(8, 8, 7, 0.82);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.18em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-6px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover b,
.site-nav a:focus-visible b {
  opacity: 1;
  transform: translate(0, -50%);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  transform: translateX(3px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

main,
.site-footer {
  margin-left: var(--rail);
}

.home-page main {
  margin-left: var(--rail);
}

.section-wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.cover-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 72px 32px;
}

.cover-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #080807;
}

.cover-bg::before {
  position: absolute;
  inset: -5%;
  background:
    url("../HOME-BG.jpg"),
    url("../img/home-bg-placeholder.svg");
  background-position: center;
  background-size: cover;
  content: "";
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.04);
  animation: treeDrift 18s ease-in-out infinite alternate;
}

.cover-bg::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(8, 8, 7, 0.16), rgba(8, 8, 7, 0.7) 58%, rgba(8, 8, 7, 0.94) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.62) 0%, rgba(8, 8, 7, 0.32) 44%, rgba(8, 8, 7, 0.92) 100%);
  content: "";
}

@keyframes treeDrift {
  0% {
    transform: scale(1.04) translate3d(-1.5%, -1%, 0);
  }

  50% {
    transform: scale(1.08) translate3d(1%, 0.8%, 0);
  }

  100% {
    transform: scale(1.06) translate3d(-0.4%, 1.4%, 0);
  }
}

.cover-content {
  width: min(1180px, 100%);
  text-align: center;
}

.cover-content h1 {
  max-width: none;
  margin: 46px 0 22px;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(86px, 18vw, 258px);
  line-height: 0.72;
  text-shadow: 0 22px 80px rgba(0, 0, 0, 0.72);
}

.cover-kicker,
.cover-role,
.cover-enter,
.cover-footer,
.cover-manifesto span {
  color: rgba(241, 230, 212, 0.58);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.52em;
  text-transform: uppercase;
}

.cover-kicker {
  margin: 0;
}

.cover-role {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  color: rgba(241, 230, 212, 0.72);
}

.cover-role::before,
.cover-role::after {
  display: block;
  width: 84px;
  height: 1px;
  background: rgba(241, 230, 212, 0.28);
  content: "";
}

.cover-manifesto {
  display: grid;
  gap: 22px;
  margin: 60px auto 0;
  max-width: min(1040px, calc(100vw - var(--rail) - 96px));
}

.cover-manifesto strong {
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(22px, 2.2vw, 34px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.cover-enter {
  position: absolute;
  left: 50%;
  bottom: 86px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  transform: translateX(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.cover-enter:hover {
  color: var(--accent);
  transform: translateX(-50%) translateY(-2px);
}

.cover-enter strong {
  font: inherit;
}

.cover-footer {
  position: absolute;
  right: 40px;
  bottom: 34px;
  left: calc(var(--rail) + 40px);
  display: flex;
  justify-content: center;
  gap: 56px;
  color: rgba(241, 230, 212, 0.46);
}

.cover-footer a {
  color: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
  min-height: 100vh;
  padding: 76px 0;
}

.page-hero {
  padding: 132px 0 86px;
}

.capability-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 72px 0 92px var(--rail);
}

.capability-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 166, 106, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(8, 8, 7, 0.2), rgba(8, 8, 7, 0.86));
  content: "";
}

.capability-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(200, 166, 106, 0.16) 34.2%, transparent 34.6% 100%),
    linear-gradient(78deg, transparent 0 62%, rgba(200, 166, 106, 0.12) 62.2%, transparent 62.7% 100%);
  content: "";
}

.capability-heading {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.capability-heading h1 {
  margin: 0;
  color: #fff;
  font-family: Inter, "Noto Sans SC", Arial, sans-serif;
  font-size: clamp(72px, 13vw, 184px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.capability-heading p:last-child {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(241, 230, 212, 0.66);
  font-size: 18px;
}

.capability-stage {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  height: 520px;
  margin: 72px auto 0;
  perspective: 1400px;
}

.capability-deck {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
}

.capability-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(520px, 68vw);
  height: 420px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(241, 230, 212, 0.16);
  border-radius: 28px;
  padding: 42px;
  background:
    radial-gradient(circle at 62% 38%, rgba(200, 166, 106, 0.18), transparent 18rem),
    rgba(241, 230, 212, 0.055);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, -50%) translateX(0) translateZ(-360px) rotateY(0) scale(0.72);
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 520ms ease, filter 520ms ease;
}

.capability-card span {
  color: rgba(241, 230, 212, 0.48);
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.capability-card h2 {
  margin: 0;
  color: #fff;
  font-family: Inter, "Noto Sans SC", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.capability-card p {
  max-width: 420px;
  color: rgba(241, 230, 212, 0.68);
  font-size: 18px;
}

.capability-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.capability-card b {
  border: 1px solid rgba(241, 230, 212, 0.14);
  border-radius: 999px;
  padding: 8px 16px;
  color: rgba(241, 230, 212, 0.66);
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.capability-card.is-active {
  z-index: 5;
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) translateX(0) translateZ(80px) rotateY(0deg) scale(1);
}

.capability-card.is-prev {
  z-index: 3;
  opacity: 0.44;
  filter: blur(1px);
  transform: translate(-50%, -50%) translateX(-420px) translateZ(-180px) rotateY(42deg) scale(0.78);
}

.capability-card.is-next {
  z-index: 3;
  opacity: 0.44;
  filter: blur(1px);
  transform: translate(-50%, -50%) translateX(420px) translateZ(-180px) rotateY(-42deg) scale(0.78);
}

.capability-card.is-far-prev {
  z-index: 1;
  opacity: 0.16;
  filter: blur(2px);
  transform: translate(-50%, -50%) translateX(-650px) translateZ(-360px) rotateY(54deg) scale(0.62);
}

.capability-card.is-far-next {
  z-index: 1;
  opacity: 0.16;
  filter: blur(2px);
  transform: translate(-50%, -50%) translateX(650px) translateZ(-360px) rotateY(-54deg) scale(0.62);
}

.capability-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(241, 230, 212, 0.18);
  border-radius: 50%;
  background: rgba(241, 230, 212, 0.06);
  color: var(--accent);
  cursor: pointer;
  font-size: 44px;
  line-height: 1;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.capability-arrow:hover {
  border-color: var(--accent);
  background: rgba(200, 166, 106, 0.1);
  transform: translateY(-50%) scale(1.04);
}

.capability-arrow.prev {
  left: 0;
}

.capability-arrow.next {
  right: 0;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 72px;
  align-items: center;
  min-height: 100vh;
  padding: 76px 0 60px;
}

.profile-copy {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.profile-index {
  margin-bottom: 44px;
  color: rgba(241, 230, 212, 0.48);
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.profile-copy h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.78;
}

.profile-name-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 14px;
}

.profile-name-line strong {
  color: #fff;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
}

.profile-name-line span {
  color: rgba(241, 230, 212, 0.56);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.profile-quote {
  margin: 42px 0 28px;
  border-left: 3px solid var(--ink);
  padding-left: 28px;
  color: #fff;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(20px, 1.8vw, 28px);
  font-style: italic;
  line-height: 1.25;
  white-space: nowrap;
}

.profile-intro {
  max-width: 740px;
  margin-bottom: 30px;
  font-size: 15px;
}

.about-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid rgba(241, 230, 212, 0.08);
}

.about-matrix div {
  min-width: 0;
  border-right: 1px solid rgba(241, 230, 212, 0.08);
  border-bottom: 1px solid rgba(241, 230, 212, 0.08);
  padding: 18px 20px;
}

.about-matrix dt {
  margin-bottom: 10px;
  color: rgba(241, 230, 212, 0.38);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.about-matrix dd {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
}

.profile-links a,
.location-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  color: rgba(241, 230, 212, 0.62);
  transition: color 180ms ease, transform 180ms ease;
}

.profile-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.profile-links svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-links a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.labeled-icon span {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: max-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.labeled-icon:hover span,
.labeled-icon:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.location-chip {
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.location-chip svg {
  width: 22px;
  height: 22px;
}

.profile-photo {
  position: relative;
  margin: 0;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  border: 1px solid rgba(241, 230, 212, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.profile-photo figcaption {
  position: absolute;
  inset: auto 18px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.about-tag-marquee {
  width: 100%;
  margin: -28px 0 54px var(--rail);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.about-tag-track {
  display: flex;
  width: max-content;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  animation: tagsMarquee 28s linear infinite;
}

.about-tag-track span {
  color: rgba(241, 230, 212, 0.42);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.about-tag-track b {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  color: rgba(241, 230, 212, 0.68);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

@keyframes tagsMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.about-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(200, 166, 106, 0.38);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-weight: 900;
}

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.bilingual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
}

.bilingual > div {
  min-width: 0;
}

.hero-title {
  gap: 42px;
}

.hero-title p,
.page-hero p {
  font-size: 18px;
}

.compact {
  gap: 22px;
}

.compact p {
  font-size: 15px;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0 18px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #11100e;
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

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

.profile-panel {
  display: grid;
  gap: 22px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(200, 166, 106, 0.45);
  object-fit: cover;
  background: #2b231b;
  filter: sepia(0.18) contrast(0.95);
}

.avatar.large {
  width: 180px;
  height: 180px;
}

.profile-panel h2 {
  margin-bottom: 2px;
  font-size: 30px;
}

.profile-panel p {
  margin-bottom: 0;
}

.profile-facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-facts.wide {
  gap: 0;
}

.profile-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-facts.wide div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
}

.profile-facts dt {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
  text-align: center;
}

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

.signal-card,
.project-case,
.skill-grid article,
.timeline-content,
.signal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-card {
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.signal-card:hover,
.project-case:hover,
.skill-grid article:hover {
  border-color: rgba(200, 166, 106, 0.46);
  background: var(--surface-strong);
}

.card-index {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.split-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.signal-panel {
  padding: 28px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.info-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-list,
.project-stack {
  display: grid;
  gap: 20px;
}

.works-hero {
  min-height: 100vh;
  padding: 112px 0 86px;
}

.works-heading {
  display: grid;
  max-width: 760px;
  gap: 16px;
  margin-bottom: 56px;
}

.works-heading h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.works-heading p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

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

.built-card {
  position: relative;
  display: grid;
  min-height: 560px;
  align-content: space-between;
  gap: 34px;
  overflow: hidden;
  border: 1px solid rgba(241, 230, 212, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.built-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0.64;
  background:
    radial-gradient(circle at 24% 16%, rgba(200, 166, 106, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(200, 166, 106, 0.18), transparent 44%);
  content: "";
}

.built-card:hover {
  border-color: rgba(200, 166, 106, 0.58);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
}

.built-index,
.built-label,
.built-card dt,
.built-link {
  font-family: "Courier New", monospace;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.built-index {
  color: var(--accent);
  font-size: 13px;
}

.built-label {
  margin: 0 0 18px;
  color: var(--faint);
  font-size: 10px;
}

.built-card h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(25px, 1.85vw, 32px);
  line-height: 1.18;
  white-space: nowrap;
}

.built-card p {
  margin: 0;
  color: var(--muted);
}

.built-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.built-card dl div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(241, 230, 212, 0.14);
  padding: 14px 0;
}

.built-card dt {
  color: var(--accent);
  font-size: 10px;
}

.built-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.built-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 6px;
  color: var(--accent);
  font-size: 11px;
}

.signal-preview {
  padding: 0 0 96px;
}

.signal-prototype {
  min-height: 100vh;
  padding: 110px 0 86px;
}

.signal-document {
  display: grid;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.signal-document header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.signal-document h1 {
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
}

.signal-document header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.exit-link {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 35;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--accent);
  backdrop-filter: blur(16px);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.exit-link:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.signal-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-section h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 28px;
}

.signal-section ol,
.signal-section ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}

.signal-section li::marker {
  color: var(--accent);
}

.signal-section strong {
  color: var(--ink);
}

.signal-section span,
.signal-section p {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.play-hero {
  min-height: 100vh;
  padding: 112px 0 86px;
}

.play-heading {
  display: grid;
  max-width: 760px;
  gap: 16px;
  margin-bottom: 50px;
}

.play-heading h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(64px, 9vw, 126px);
  line-height: 0.9;
}

.play-heading p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.play-card {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(241, 230, 212, 0.18);
  border-radius: var(--radius);
  padding: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 166, 106, 0.14), transparent 24rem),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  transition: border-color 180ms ease, transform 180ms ease;
}

.play-card:hover {
  border-color: rgba(200, 166, 106, 0.58);
  transform: translateY(-6px);
}

.play-copy span {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.play-copy h2 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.16;
}

.play-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.play-media {
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(241, 230, 212, 0.14);
  border-radius: var(--radius);
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
}

.play-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.work-list {
  display: grid;
  gap: 22px;
  padding-bottom: 96px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, background 180ms ease;
}

.work-card:hover {
  border-color: rgba(200, 166, 106, 0.46);
  background: var(--surface-strong);
}

.work-body {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 36px;
  align-items: start;
}

.work-body h2 {
  margin-bottom: 14px;
}

.mini-spec {
  display: grid;
  gap: 0;
  margin: 0;
}

.mini-spec div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.mini-spec dt {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mini-spec dd {
  margin: 0;
  color: var(--muted);
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.feature-row {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-row:hover {
  border-color: var(--accent);
  transform: translateX(6px);
}

.feature-row span {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.feature-row strong {
  color: var(--ink);
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  line-height: 1.18;
}

div.feature-row {
  color: inherit;
}

.timeline {
  position: relative;
  display: grid;
  gap: 32px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 156px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 48px;
}

.timeline-date {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.timeline-content {
  padding: 28px;
}

.impact-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.project-stack {
  padding-bottom: 96px;
}

.project-case {
  scroll-margin-top: 96px;
  padding: 32px;
  transition: border-color 180ms ease, background 180ms ease;
}

.digest-preview {
  max-width: 880px;
}

.digest-preview ol {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding-left: 22px;
}

.digest-preview li::marker {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.digest-preview li {
  color: var(--muted);
}

.digest-preview li strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.25;
}

.digest-preview li span {
  display: block;
  margin-top: 4px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.case-grid,
.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.skill-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.case-grid section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.case-grid h3 {
  font-size: 14px;
}

.case-grid p,
.skill-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.skill-grid article {
  padding: 22px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 64px));
  padding: 34px 0;
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--accent);
}

.work-media {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.work-media img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 980px) {
  .hero,
  .profile-hero,
  .about-hero,
  .split-section,
  .contact-band,
  .profile-layout,
  .project-overview,
  .work-body {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    max-width: 520px;
  }

  .signal-grid,
  .case-grid,
  .skill-grid,
  .works-grid,
  .play-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .capability-stage {
    height: auto;
    perspective: none;
  }

  .capability-deck {
    display: grid;
    grid-auto-columns: minmax(280px, 78vw);
    grid-auto-flow: column;
    gap: 16px;
    height: auto;
    overflow-x: auto;
    padding: 8px 6px 20px;
    scroll-snap-type: x mandatory;
  }

  .capability-card,
  .capability-card.is-active,
  .capability-card.is-prev,
  .capability-card.is-next,
  .capability-card.is-far-prev,
  .capability-card.is-far-next {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 360px;
    opacity: 1;
    filter: none;
    scroll-snap-align: center;
    transform: none;
  }

  .capability-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 0 0 auto;
    width: auto;
    min-height: 64px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(8, 8, 7, 0.92);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: space-between;
    width: auto;
    height: auto;
    padding: 10px 8px;
  }

  .site-nav a b {
    position: static;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  main,
  .home-page main,
  .site-footer {
    margin-left: 0;
  }

  .capability-hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .capability-heading h1 {
    font-size: 66px;
  }

  .capability-heading p:last-child {
    font-size: 15px;
  }

  .cover-hero {
    min-height: 100vh;
    align-items: end;
    padding: 112px 20px 72px;
  }

  .profile-hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .profile-copy {
    padding-top: 32px;
  }

  .profile-index {
    margin-bottom: 34px;
    font-size: 12px;
  }

  .profile-copy h1 {
    font-size: 72px;
  }

  .profile-name-line span {
    font-size: 11px;
  }

  .profile-quote {
    margin-top: 38px;
    padding-left: 18px;
    white-space: normal;
  }

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

  .about-tag-marquee {
    margin-left: 0;
  }

  .cover-content h1 {
    margin-top: 30px;
    font-size: 76px;
  }

  .cover-role {
    gap: 12px;
  }

  .cover-role::before,
  .cover-role::after {
    width: 32px;
  }

  .cover-kicker,
  .cover-role,
  .cover-enter,
  .cover-footer,
  .cover-manifesto span {
    font-size: 10px;
    letter-spacing: 0.3em;
  }

  .cover-manifesto {
    margin-top: 46px;
    max-width: calc(100vw - 40px);
  }

  .cover-manifesto strong {
    font-size: 20px;
    white-space: normal;
  }

  .cover-enter {
    bottom: 88px;
  }

  .cover-footer {
    left: 20px;
    right: 20px;
    bottom: 24px;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .section-wrap,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .page-hero {
    padding: 112px 0 50px;
  }

  .section {
    padding: 62px 0;
  }

  .bilingual,
  .signal-grid,
  .case-grid,
  .skill-grid,
  .works-grid,
  .play-grid {
    grid-template-columns: 1fr;
  }

  .works-hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .play-hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .works-heading {
    margin-bottom: 34px;
  }

  .play-heading {
    margin-bottom: 34px;
  }

  .works-heading h1 {
    font-size: 58px;
  }

  .play-heading h1 {
    font-size: 58px;
  }

  .built-card {
    min-height: auto;
    padding: 24px;
  }

  .play-media {
    min-height: 300px;
  }

  .built-card h2 {
    white-space: normal;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .project-case,
  .timeline-content {
    padding: 22px;
  }

  .profile-facts.wide div,
  .skill-grid.two,
  .mini-spec div {
    grid-template-columns: 1fr;
  }

  .project-meta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

}
