@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #080b0d;
  --panel: #0f151b;
  --panel-strong: #141b22;
  --text: #f1f4f2;
  --muted: #9ba6a6;
  --line: rgba(241, 244, 242, 0.12);
  --accent: #d7ff5f;
  --accent-dark: #92b82e;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --max: 1920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background: #080b0d;
  font-family:
    "Alibaba PuHuiTi",
    "HarmonyOS Sans SC",
    "Microsoft YaHei",
    "PingFang SC",
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(241, 244, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 244, 242, 0.045) 1px, transparent 1px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(215, 255, 95, 0.018) 10px 11px);
  background-size: 92px 92px, 92px 92px, 13px 13px;
  opacity: 0.72;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(115deg, transparent 0 180px, rgba(215, 255, 95, 0.04) 180px 181px, transparent 181px 360px);
  mix-blend-mode: screen;
  animation: texture-drift 18s ease-in-out infinite alternate;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  color: #080b0d;
  background: var(--accent);
}

body.site-loading {
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 64px);
  color: var(--text);
  background: #080b0d;
  visibility: visible;
  transition: visibility 680ms ease, transform 680ms cubic-bezier(0.76, 0, 0.24, 1);
}

.site-intro::before {
  content: "PORTFOLIO";
  position: absolute;
  left: -0.025em;
  bottom: 5vh;
  color: rgba(241, 244, 242, 0.035);
  font-family: "Geist", "Arial", sans-serif;
  font-size: clamp(104px, 19vw, 360px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}

.site-intro.is-complete {
  visibility: hidden;
  transform: translateY(-100%);
}

.site-intro-header,
.site-intro-footer,
.site-intro-identity {
  position: relative;
  z-index: 1;
}

.site-intro-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
}

.site-intro-header span:last-child {
  color: var(--accent);
}

.site-intro-identity {
  display: flex;
  align-self: end;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(26px, 4vw, 72px);
  padding-bottom: clamp(52px, 10vh, 120px);
}

.site-intro-mark {
  display: block;
  color: rgba(215, 255, 95, 0.22);
  font-family: "Geist", "Arial", sans-serif;
  font-size: clamp(120px, 16vw, 300px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: 0;
  animation: site-intro-mark-in 720ms 100ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-intro-identity > div {
  display: grid;
  gap: 10px;
  padding-bottom: 2px;
  animation: site-intro-copy-in 720ms 220ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-intro-identity strong {
  font-size: clamp(54px, 7vw, 128px);
  line-height: 0.92;
  letter-spacing: 0;
}

.site-intro-identity div span {
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: clamp(11px, 1vw, 14px);
}

.site-intro-identity .site-intro-eyebrow {
  color: var(--accent);
}

.site-intro-footer {
  padding: 0;
}

.site-intro-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(241, 244, 242, 0.12);
}

.site-intro-line {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 0;
  height: 4px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(215, 255, 95, 0.45);
  transform: translateY(-50%);
}

.site-intro-line::before,
.site-intro-line::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 13px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform-origin: right center;
}

.site-intro-line::before {
  top: -6px;
  animation: site-intro-spark-up 320ms linear infinite;
}

.site-intro-line::after {
  top: 9px;
  animation: site-intro-spark-down 320ms linear infinite;
}

.site-intro-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
}

.site-intro-meta b {
  min-width: 4ch;
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

@keyframes site-intro-spark-up {
  0% { opacity: 1; transform: rotate(45deg) translateX(0); }
  100% { opacity: 0; transform: rotate(45deg) translateX(-38px); }
}

@keyframes site-intro-spark-down {
  0% { opacity: 0.8; transform: rotate(-45deg) translateX(0); }
  100% { opacity: 0; transform: rotate(-45deg) translateX(-38px); }
}

@keyframes site-intro-mark-in {
  from { opacity: 0; transform: translateX(-42px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes site-intro-copy-in {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - clamp(28px, 3.2vw, 64px), var(--max));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 2px;
  pointer-events: none;
  background: rgba(241, 244, 242, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: scroll-progress linear;
  animation-timeline: scroll(root);
}

.portfolio-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(8, 11, 13, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.portfolio-loader.is-open {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-loader-content {
  display: grid;
  width: min(100% - 48px, 360px);
  gap: 14px;
}

.portfolio-loader-content p,
.portfolio-loader-content span {
  margin: 0;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.portfolio-loader-content p {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.portfolio-loader-content b {
  color: var(--accent);
  font-weight: 400;
}

.loader {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(241, 244, 242, 0.16);
}

.loader .light {
  position: absolute;
  top: 0;
  left: -30%;
  z-index: 1;
  width: 76px;
  height: 100%;
  background: var(--accent);
  animation: portfolio-loader-light 1.5s infinite ease-in-out;
}

.loader .black_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--bg), transparent 30%, transparent 70%, var(--bg));
}

@keyframes portfolio-loader-light {
  from { left: -30%; }
  to { left: 100%; }
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 7px clamp(18px, 3.2vw, 64px);
  border: 0;
  border-radius: 0;
  pointer-events: none;
}

.site-header-inner {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 5px 8px 5px 6px;
  border: 1px solid rgba(241, 244, 242, 0.16);
  border-radius: 999px;
  background: rgba(8, 11, 13, 0.84);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

main {
  padding-top: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #080b0d;
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  font-size: 15px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-left: 1px solid rgba(241, 244, 242, 0.12);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a::before {
  color: rgba(155, 166, 166, 0.55);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: 0.03em;
}

.site-nav a:nth-child(1)::before { content: "01"; }
.site-nav a:nth-child(2)::before { content: "02"; }
.site-nav a:nth-child(3)::before { content: "03"; }
.site-nav a:nth-child(4)::before { content: "04"; }
.site-nav a:nth-child(5)::before { content: "05"; }

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 3px;
  left: 11px;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 500px);
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}

.hero {
  min-height: calc(100dvh - 76px);
  padding: clamp(54px, 5.5vw, 92px) 0 clamp(44px, 5vw, 82px);
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
  font-weight: 760;
}

.hero h1 {
  max-width: 1060px;
  font-size: clamp(52px, 6.8vw, 136px);
}

.hero-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.9;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.copy-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:active,
.copy-button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  color: #080b0d;
  background: var(--accent);
}

.button-primary:hover {
  background: #ecff9e;
}

.button-secondary,
.copy-button {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.copy-button:hover {
  border-color: rgba(215, 255, 95, 0.55);
}

.identity-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 1.2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.identity-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.identity-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 28%;
  height: 1px;
  pointer-events: none;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(215, 255, 95, 0.65);
  opacity: 0.7;
  animation: panel-scan 6s ease-in-out infinite;
}

.panel-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0;
}

.live-dot {
  color: var(--accent);
}

.avatar-frame {
  position: relative;
  aspect-ratio: 1;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(215, 255, 95, 0.28);
  border-radius: calc(var(--radius) + 2px);
  background: #0d1217;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-copy {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.identity-copy p {
  margin: 0;
  color: var(--muted);
}

.identity-name {
  color: var(--text) !important;
  font-size: clamp(24px, 1.8vw, 34px);
  font-weight: 760;
}

.status-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.status-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.05);
}

.status-grid strong,
.status-grid span {
  display: block;
}

.status-grid strong {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 16px;
  letter-spacing: 0;
}

.status-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

section {
  padding: 104px 0;
}

.section-heading h2 {
  max-width: none;
  font-size: clamp(32px, 4.4vw, 58px);
  white-space: nowrap;
}

.section-heading.wide {
  margin-bottom: 34px;
  max-width: 980px;
}

.work-section .section-heading h2 {
  max-width: none;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.08;
}

.about {
  align-items: start;
  border-top: 1px solid var(--line);
}

.about-body p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: 0;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trait-list span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.about .section-heading {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding-right: clamp(28px, 5vw, 88px);
  border-right: 1px solid var(--line);
}

.about-heading-topline,
.about-body-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.about-heading-topline span:first-child,
.about-body-topline span:first-child {
  color: var(--accent);
}

.about .section-kicker {
  margin-top: 52px;
  margin-bottom: 14px;
}

.about .section-heading h2 {
  max-width: 660px;
  white-space: normal;
}

.about-facts {
  display: flex;
  gap: 42px;
  margin-top: auto;
  padding-top: 70px;
}

.about-facts div {
  display: grid;
  gap: 7px;
}

.about-facts strong {
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 28px;
  font-weight: 400;
}

.about-facts span {
  color: var(--muted);
  font-size: 13px;
}

.about-body {
  padding: 8px 0 0 clamp(24px, 4vw, 70px);
}

.about-body-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.about-body p {
  max-width: 640px;
}

.about-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.about-method-item {
  min-width: 0;
  padding-top: 16px;
}

.about-method-item + .about-method-item {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.about-method-item > span {
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.about-method-item strong {
  display: block;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.5;
}

.about-method-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

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

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--panel);
  transition: border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.project-card:hover {
  border-color: rgba(215, 255, 95, 0.32);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.project-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 320ms ease;
}

.project-card:hover::before {
  width: 100%;
}

.project-image {
  position: relative;
  padding: 18px 18px 0;
  background: rgba(255, 255, 255, 0.025);
}

.project-image img {
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(241, 244, 242, 0.12);
  border-radius: calc(var(--radius) - 3px);
  transition: transform 600ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-copy {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 54px);
  border-top: 1px solid var(--line);
}

.project-type {
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.project-copy h3 {
  margin: 14px 0 14px;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.16;
  font-weight: 760;
  letter-spacing: 0;
}

.project-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

.project-copy a {
  width: fit-content;
  margin-top: 30px;
  color: var(--accent);
  font-weight: 760;
}

/* Uiverse-inspired text reveal: compact enough for Chinese labels. */
.line-button {
  --animation-color: var(--accent);
  position: relative;
  display: inline-block;
  height: 30px;
  padding: 0 0 3px;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  font-weight: 760;
  line-height: 28px;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 220ms ease, transform 180ms ease;
}

.line-button .actual-text,
.line-button .hover-text {
  display: block;
  white-space: nowrap;
}

.line-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--animation-color);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.line-button .hover-text {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 0;
  overflow: hidden;
  color: var(--animation-color);
  pointer-events: none;
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
}

.line-button:hover .hover-text,
.line-button:focus-visible .hover-text {
  width: 100%;
}

.line-button:hover,
.line-button:focus-visible {
  color: var(--text);
}

.line-button:hover::after,
.line-button:focus-visible::after {
  transform: scaleX(1);
}

.line-button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

.line-button:active {
  transform: translateY(1px);
}

.gallery-section {
  overflow: hidden;
}

.portfolio-heading h2 {
  max-width: 1040px;
}

.portfolio-browser {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1.52fr);
  gap: 0;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid rgba(241, 244, 242, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #10161b;
  background-size: 38px 38px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.26);
}

.portfolio-index {
  align-self: start;
  min-width: 0;
  padding: 24px 20px 24px 26px;
  border-right: 1px solid rgba(241, 244, 242, 0.14);
  background: rgba(8, 11, 13, 0.22);
}

.portfolio-index-head {
  display: flex;
  justify-content: space-between;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.portfolio-index-head span:last-child {
  color: var(--accent);
}

.portfolio-index-list {
  display: grid;
  border-top: 0;
}

.portfolio-index-item {
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 10px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, padding 220ms ease;
}

.portfolio-index-item:hover,
.portfolio-index-item:focus-visible,
.portfolio-index-item.is-active {
  padding-left: 10px;
  color: var(--text);
  background: rgba(215, 255, 95, 0.07);
  outline: none;
}

.portfolio-index-item > span {
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
}

.portfolio-index-item strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-index-item i {
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 220ms ease, transform 220ms ease, color 220ms ease;
}

.portfolio-index-item:hover i,
.portfolio-index-item:focus-visible i,
.portfolio-index-item.is-active i {
  color: var(--accent);
  opacity: 1;
  transform: translateX(0);
}

.portfolio-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: clamp(700px, 46vw, 820px);
  padding: 20px 20px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portfolio-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(215, 255, 95, 0.08), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.03));
}

.portfolio-canvas-topline,
.portfolio-canvas-footer {
  position: relative;
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.portfolio-canvas-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(241, 244, 242, 0.12);
}

.portfolio-feature {
  position: relative;
  display: grid;
  width: min(100%, 540px);
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 4;
  align-self: center;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
}

.portfolio-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 240ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 280ms ease;
}

.portfolio-feature img.is-current {
  opacity: 1;
  z-index: 1;
}

.portfolio-feature.is-changing img.is-current {
  opacity: 0;
  transform: scale(0.99);
}

.portfolio-feature.is-changing img.is-next {
  opacity: 1;
  z-index: 2;
  transform: scale(1.005);
}

.portfolio-feature:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.gallery-track {
  display: grid;
  grid-auto-columns: minmax(280px, 31vw);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 0 22px;
  scrollbar-color: var(--accent) transparent;
}

.gallery-track.is-hidden {
  display: none;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 600ms ease, filter 250ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.04);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 5, 7, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.gallery-modal-panel {
  width: min(100%, 1120px);
  max-height: 88dvh;
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.58);
}

.gallery-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.gallery-modal-head h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}

.gallery-modal-close {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

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

.gallery-modal-grid .gallery-item img {
  height: 360px;
}

.honor-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 28px;
  align-items: start;
}

.honor-layout-full {
  display: block;
}

.honor-list {
  display: grid;
  border-top: 1px solid var(--line);
  counter-reset: honor;
}

.honor-list article {
  position: relative;
  display: grid;
  grid-template-columns: 64px 190px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 23px 18px;
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease, padding 220ms ease;
}

.honor-list article::before {
  content: counter(honor, decimal-leading-zero);
  counter-increment: honor;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.honor-list article:hover {
  padding-left: 28px;
  color: var(--text);
  background: rgba(215, 255, 95, 0.055);
}

.honor-list span {
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.honor-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0;
}

.honor-timeline {
  position: relative;
  overflow-x: auto;
  padding: 58px 0 22px;
  scrollbar-color: var(--accent) transparent;
}

.honor-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(210px, 1fr));
  gap: 14px;
  min-width: 1780px;
}

.honor-track::before {
  content: "";
  position: absolute;
  top: -22px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(215, 255, 95, 0.12) 84%, transparent);
}

.honor-track article {
  position: relative;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)), var(--panel);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.honor-track article::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 20px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(215, 255, 95, 0.38), 0 0 22px rgba(215, 255, 95, 0.28);
}

.honor-track article:hover {
  border-color: rgba(215, 255, 95, 0.42);
  background: linear-gradient(145deg, rgba(215, 255, 95, 0.1), rgba(255, 255, 255, 0.018)), var(--panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transform: translateY(-6px);
}

.honor-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.honor-index,
.honor-date,
.honor-type {
  font-family: "Consolas", "SFMono-Regular", monospace;
  letter-spacing: 0.04em;
}

.honor-index {
  color: var(--muted);
  font-size: 11px;
}

.honor-date {
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
}

.honor-type {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}

.honor-track h3 {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 680;
  letter-spacing: 0;
}

.tool-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.tool-card {
  position: relative;
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.tool-card::after,
.tool-resource-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 44px;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
  transition: width 260ms ease;
}

.tool-card:hover,
.tool-resource-panel:hover {
  border-color: rgba(215, 255, 95, 0.32);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.24), 0 20px 50px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.tool-card:hover::after,
.tool-resource-panel:hover::after {
  width: calc(100% - 40px);
}

.tool-card:active,
.tool-resource-panel:active {
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(1px);
}

.tool-card:first-child {
  grid-column: 1 / -1;
}

.tool-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 720;
  letter-spacing: 0;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

.tool-columns {
  align-items: start;
}

.ai-tool-card {
  padding: clamp(20px, 2.5vw, 32px);
}

.tool-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.tool-card-kicker,
.tool-card-count {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.tool-card-count {
  margin: 4px 0 0;
  color: var(--muted);
}

.ai-tool-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 34px);
}

.ai-tool-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: 24px;
}

.ai-tool-focus {
  display: flex;
  min-height: 244px;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ai-tool-focus.is-switching {
  opacity: 0.45;
  transform: translateY(4px);
}

.ai-tool-focus-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ai-tool-focus-topline span:first-child {
  color: var(--accent);
}

.ai-tool-focus-mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(215, 255, 95, 0.44);
  border-radius: 16px;
  color: var(--accent);
  background: rgba(215, 255, 95, 0.08);
  font-size: 25px;
  font-weight: 800;
  transition: transform 260ms ease, background 260ms ease;
}

:where(.ai-tool-focus-mark, .ai-tool-option)[data-tool-id="chatgpt"] {
  --tool-logo: url("assets/logos/ai/chatgpt.svg");
}

:where(.ai-tool-focus-mark, .ai-tool-option)[data-tool-id="gemini"] {
  --tool-logo: url("assets/logos/ai/gemini.svg");
}

:where(.ai-tool-focus-mark, .ai-tool-option)[data-tool-id="claude"] {
  --tool-logo: url("assets/logos/ai/claude.svg");
}

:where(.ai-tool-focus-mark, .ai-tool-option)[data-tool-id="jimeng"] {
  --tool-logo: url("assets/logos/ai/jimeng.svg");
}

:where(.ai-tool-focus-mark, .ai-tool-option)[data-tool-id="doubao"] {
  --tool-logo: url("assets/logos/ai/doubao.svg");
}

:where(.ai-tool-focus-mark, .ai-tool-option)[data-tool-id="deepseek"] {
  --tool-logo: url("assets/logos/ai/deepseek.svg");
}

.ai-tool-logo {
  display: block;
  width: 34px;
  aspect-ratio: 1;
  color: inherit;
  background: currentColor;
  -webkit-mask: var(--tool-logo) center / contain no-repeat;
  mask: var(--tool-logo) center / contain no-repeat;
}

.ai-tool-focus-mark .ai-tool-logo {
  width: 40px;
}

.ai-tool-focus:hover .ai-tool-focus-mark {
  background: rgba(215, 255, 95, 0.14);
  transform: rotate(-4deg) scale(1.04);
}

.ai-tool-focus h4 {
  margin: 22px 0 10px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.ai-tool-focus p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  white-space: nowrap;
}

.ai-tool-focus a {
  display: inline-flex;
  width: fit-content;
  gap: 10px;
  margin-top: 24px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
}

.ai-tool-focus a span {
  transition: transform 180ms ease;
}

.ai-tool-focus a:hover span {
  transform: translate(3px, -3px);
}

.ai-tool-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
}

.ai-tool-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: flex-basis 320ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.ai-tool-option:hover,
.ai-tool-option:focus-visible,
.ai-tool-option.is-active {
  color: var(--text);
  background: rgba(215, 255, 95, 0.07);
  border-color: rgba(215, 255, 95, 0.42);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px) scale(1.018);
  outline: none;
}

.ai-tool-option:active {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(2px);
}

.ai-tool-option > span:first-child {
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
}

.ai-tool-option-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(241, 244, 242, 0.14);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-size: 24px;
  font-weight: 800;
  transition: transform 300ms ease, border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.ai-tool-option.is-active .ai-tool-option-mark,
.ai-tool-option:hover .ai-tool-option-mark {
  border-color: rgba(215, 255, 95, 0.46);
  color: var(--accent);
  background: rgba(215, 255, 95, 0.1);
  transform: scale(1.08) rotate(-3deg);
}

.ai-tool-option b {
  font-size: 16px;
  font-weight: 720;
}

.ai-tool-option i {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--accent);
  font-size: 17px;
  font-style: normal;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tool-resource-panel {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.tool-list-group + .tool-list-group {
  padding-left: clamp(24px, 4vw, 64px);
  border-left: 1px solid var(--line);
}

.tool-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tool-list-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
}

.tool-list-head span {
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ai-tool-option:hover i,
.ai-tool-option:focus-visible i,
.ai-tool-option.is-active i {
  opacity: 1;
  transform: translateX(0);
}

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

.ai-logo-item {
  display: grid;
  min-height: 120px;
  align-content: center;
  justify-items: start;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ai-logo-item:hover {
  border-color: rgba(215, 255, 95, 0.45);
  background: rgba(215, 255, 95, 0.07);
  transform: translateY(-2px);
}

.ai-logo-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(241, 244, 242, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.ai-logo-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ai-logo-fallback {
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.ai-logo-item span:last-child {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-links a {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.035);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tool-links a::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.tool-links a::after {
  content: "↗";
  color: var(--accent);
}

.tool-links a:hover {
  color: var(--text);
  border-color: rgba(215, 255, 95, 0.48);
  background: rgba(215, 255, 95, 0.08);
  box-shadow: inset 0 -2px 0 rgba(215, 255, 95, 0.18);
  transform: translateY(-2px);
}

.tool-links a:hover::before {
  transform: scaleX(1);
}

.tool-links a:active {
  transform: translateY(1px);
}

.contact-section {
  padding-bottom: 120px;
}

.contact-card {
  display: block;
  padding: clamp(30px, 5.5vw, 72px);
  border: 1px solid rgba(215, 255, 95, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(215, 255, 95, 0.12), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  box-shadow: 0 30px 90px var(--shadow);
}

.contact-card h2 {
  max-width: 980px;
  font-family: "Arial Black", "Impact", "Microsoft YaHei", sans-serif;
  font-size: clamp(62px, 13vw, 168px);
  line-height: 0.88;
  letter-spacing: 0;
}

.contact-lede {
  max-width: 720px;
  margin: 28px 0 48px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.9;
  letter-spacing: 0;
}

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

.contact-row {
  display: grid;
  width: 100%;
  grid-template-columns: 80px minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 92px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.contact-row:hover {
  padding-left: 16px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.035);
}

.contact-row-index {
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 13px;
}

.contact-row-name {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.contact-row-value {
  justify-self: end;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.3;
  letter-spacing: 0;
}

.contact-row:hover .contact-row-value {
  color: var(--text);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 28px;
}

.contact-direct a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

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

.contact-popover {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 5, 7, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-popover.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-popover-panel {
  position: relative;
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f2f2f2;
  color: #111111;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.contact-popover.is-open .contact-popover-panel {
  transform: translateY(0) scale(1);
}

.contact-popover-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: #111111;
  background: #ffffff;
  cursor: pointer;
}

.contact-popover-kicker {
  margin: 0 0 10px;
  color: #6a6a6a;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-popover h3 {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
}

.contact-popover-value {
  margin: 14px 0 0;
  color: #111111;
  font-size: 18px;
  font-weight: 800;
  word-break: break-all;
}

.contact-popover-extra {
  margin: 8px 0 18px;
  color: #666666;
  line-height: 1.6;
}

.contact-popover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.contact-copy {
  width: 100%;
  margin-top: 16px;
  color: #111111;
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 70px 20px 30px;
  background: rgba(3, 5, 7, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: 86dvh;
  border-radius: var(--radius);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-align: center;
  background: rgba(10, 13, 16, 0.9);
  box-shadow: 0 20px 60px var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms ease var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes texture-drift {
  from {
    transform: translate3d(-1%, -1%, 0);
  }
  to {
    transform: translate3d(1%, 1%, 0);
  }
}

@keyframes panel-scan {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(470%);
  }
}

@keyframes scroll-progress {
  to {
    transform: scaleX(1);
  }
}

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

@media (max-width: 920px) {
  .section-grid,
  .project-card,
  .honor-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .section-heading h2,
  .work-section .section-heading h2 {
    white-space: normal;
  }

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

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

  .project-stage {
    grid-template-columns: 1fr;
  }

  .portfolio-browser {
    grid-template-columns: 1fr;
  }

  .portfolio-index {
    border-right: 0;
    border-bottom: 1px solid rgba(241, 244, 242, 0.14);
  }

  .portfolio-canvas {
    min-height: 720px;
  }

  .gallery-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-intro {
    padding: 24px 20px;
  }

  .site-intro::before {
    left: -0.03em;
    bottom: 18vh;
    font-size: 37vw;
  }

  .site-intro-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
    padding-bottom: 11vh;
  }

  .site-intro-mark {
    font-size: 31vw;
  }

  .site-intro-identity strong {
    font-size: 15vw;
  }

  .site-intro-header {
    font-size: 10px;
  }

  .site-intro-meta {
    font-size: 10px;
  }

  .page-shell {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    width: 100%;
    top: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header-inner {
    min-height: 44px;
    border-radius: 14px;
  }

  main {
    padding-top: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 60px 12px auto;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 13, 16, 0.96);
    box-shadow: 0 30px 80px var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
  }

  section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(42px, 16vw, 68px);
  }

  .hero-lede,
  .about-body p {
    font-size: 17px;
  }

  .identity-copy,
  .status-grid,
  .tool-columns,
  .ai-logo-grid,
  .honor-list {
    grid-template-columns: 1fr;
  }

  .honor-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    padding: 18px 4px;
  }

  .honor-list article:hover {
    padding-left: 10px;
  }

  .honor-list article span,
  .honor-list article h3 {
    grid-column: 2;
  }

  .contact-row {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    min-height: 84px;
  }

  .contact-row-value {
    grid-column: 2;
    justify-self: start;
  }

  .identity-copy {
    display: grid;
  }

  .project-image img,
  .gallery-item img {
    height: auto;
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-panel {
    padding: 16px;
  }

  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }

  .project-copy {
    padding: 24px;
    min-height: 0;
  }

  .portfolio-canvas {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
  }

  .portfolio-index-head {
    padding-bottom: 12px;
  }

  .portfolio-index-item {
    min-height: 46px;
  }

  .portfolio-feature {
    width: min(100%, 520px);
  }

  .portfolio-canvas-footer {
    gap: 12px;
    flex-wrap: wrap;
  }

  .button,
  .copy-button {
    width: 100%;
  }
}

/* gpt-taste redesign layer */
:root {
  --max: 1920px;
  --radius: 8px;
  --panel: #0d1318;
  --panel-strong: #141c22;
}

body {
  font-family: "Geist", "Alibaba PuHuiTi", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: #070a0c;
}

body::before {
  opacity: 0.54;
  background-size: 76px 76px, 76px 76px, 11px 11px;
}

body::after {
  opacity: 0.32;
  animation-duration: 26s;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-header {
  padding-top: 14px;
}

.site-header-inner {
  min-height: 54px;
  border-radius: 8px;
  background: rgba(7, 10, 12, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
}

.site-nav a {
  border-radius: 4px;
}

section {
  padding: clamp(92px, 9vw, 156px) 0;
}

.hero {
  min-height: calc(100svh - 68px);
  grid-template-columns: minmax(0, 1.24fr) minmax(360px, 0.76fr);
  align-items: end;
  gap: clamp(48px, 8vw, 156px);
  padding-top: clamp(90px, 12vw, 190px);
  padding-bottom: clamp(76px, 9vw, 150px);
}

.hero-copy {
  max-width: 1180px;
}

.hero .section-kicker {
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 1180px;
  font-size: clamp(52px, 5.2vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 700px;
  margin-top: 30px;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 38px;
}

.identity-panel {
  width: min(100%, 470px);
  justify-self: end;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)), var(--panel);
}

.avatar-frame {
  border-radius: 6px;
}

.section-heading h2 {
  max-width: 1180px;
  font-size: clamp(42px, 5vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about,
.honors-section,
.toolkit-section,
.contact-section {
  border-top: 1px solid rgba(241, 244, 242, 0.16);
}

.about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 72px);
}

.about .section-heading h2 {
  max-width: 720px;
  font-size: clamp(46px, 4.6vw, 84px);
}

.about .section-heading {
  padding-right: clamp(20px, 2.8vw, 48px);
}

.about-body {
  padding-left: clamp(20px, 2.8vw, 48px);
}

.about-body p {
  font-size: 17px;
  line-height: 1.85;
}

.about-method-item strong {
  font-size: 14px;
  line-height: 1.45;
  word-break: keep-all;
}

.about-method-item p {
  font-size: 12px;
}

.portfolio-heading h2,
.work-section .section-heading h2,
.honors-section .section-heading h2,
.toolkit-section .section-heading h2 {
  max-width: 1180px;
}

.portfolio-browser {
  margin-top: 54px;
  border-radius: 8px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32);
}

.portfolio-index-item {
  min-height: 52px;
  border-radius: 0;
}

.portfolio-index-item.is-active {
  padding-left: 20px;
  background: rgba(215, 255, 95, 0.09);
}

.project-stage {
  grid-auto-flow: dense;
  gap: 16px;
  margin-top: 48px;
}

.project-card {
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)), var(--panel);
}

.project-image {
  overflow: hidden;
}

.project-image img {
  filter: saturate(0.88) contrast(1.04);
}

.project-copy .line-button {
  color: var(--muted);
}

.project-copy .line-button:hover,
.project-copy .line-button:focus-visible {
  color: var(--text);
}

.honor-timeline {
  margin-top: 46px;
  padding-top: 66px;
}

.honor-track {
  grid-auto-flow: dense;
}

.honor-track article {
  min-height: 300px;
  border-radius: 8px;
}

.tool-marquee {
  position: relative;
  margin: 34px 0 28px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(241, 244, 242, 0.48);
}

.tool-marquee::before,
.tool-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 12%;
  pointer-events: none;
}

.tool-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.tool-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.tool-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  animation: tool-marquee-scroll 24s linear infinite;
}

.tool-marquee-set {
  display: grid;
  flex: 0 0 min(100vw, var(--max));
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 14px clamp(18px, 2.4vw, 48px);
}

.tool-marquee-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  white-space: nowrap;
}

.tool-marquee-set > i {
  display: block;
  place-self: center;
  color: var(--accent);
  font-size: 14px;
  font-style: normal;
  line-height: 1;
}

.tool-marquee-set > i:last-child {
  transform: translateX(clamp(18px, 2.4vw, 48px));
}

@keyframes tool-marquee-scroll {
  to { transform: translateX(-50%); }
}

.tool-columns {
  grid-auto-flow: dense;
  gap: 16px;
}

.ai-tool-menu {
  grid-auto-flow: dense;
  margin-right: 0;
  padding: 16px 10px 12px;
  overflow: visible;
}

.tool-card,
.tool-resource-panel {
  border-radius: 8px;
}

.contact-card {
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(215, 255, 95, 0.11), rgba(255, 255, 255, 0.02) 42%), var(--panel);
}

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

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .identity-panel {
    justify-self: start;
  }

  .hero h1 {
    font-size: clamp(48px, 10vw, 78px);
  }
}

@media (max-width: 680px) {
  section {
    padding: 78px 0;
  }

  .site-header {
    padding-top: 8px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero h1,
  .about .section-heading h2 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .tool-marquee-track {
    font-size: 16px;
  }
}

@media (max-width: 920px) {
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

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

.honor-table-wrap {
  margin-top: 46px;
  overflow-x: auto;
  border-top: 1px solid rgba(241, 244, 242, 0.2);
  border-bottom: 1px solid rgba(241, 244, 242, 0.2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.honor-table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.honor-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.honor-table th,
.honor-table td {
  padding: 19px 18px;
  text-align: left;
  vertical-align: top;
}

.honor-table th {
  color: var(--muted);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.honor-table th:nth-child(1),
.honor-table td:nth-child(1) {
  width: 8%;
}

.honor-table th:nth-child(2),
.honor-table td:nth-child(2) {
  width: 17%;
}

.honor-table th:nth-child(3),
.honor-table td:nth-child(3) {
  width: 17%;
}

.honor-table th:nth-child(4),
.honor-table td:nth-child(4) {
  width: 58%;
}

.honor-table tbody tr {
  position: relative;
  border-top: 1px solid var(--line);
  transition: background 220ms ease, color 220ms ease;
}

.honor-table tbody tr:hover {
  background: rgba(215, 255, 95, 0.065);
}

.honor-table td:first-child,
.honor-table td:nth-child(2) {
  color: var(--accent);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.honor-table td:nth-child(3) {
  color: var(--muted);
  font-size: 13px;
}

.honor-table td:last-child {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

.honor-table td:last-child::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.22;
  transform: scaleY(0.35);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.honor-table tbody tr:hover td:last-child::before {
  opacity: 1;
  transform: scaleY(1);
}

@media (max-width: 680px) {
  .honor-table-wrap {
    margin-top: 34px;
  }

  .honor-table {
    min-width: 780px;
  }

  .honor-table th,
  .honor-table td {
    padding: 16px 14px;
  }

  .honor-table td:last-child {
    font-size: 14px;
  }
}

.contact-lede {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .contact-lede {
    white-space: normal;
  }
}

@media (max-width: 920px) {
  .about .section-heading {
    min-height: auto;
    padding-right: 0;
    padding-bottom: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about .section-kicker {
    margin-top: 32px;
  }

  .about-facts {
    margin-top: 42px;
    padding-top: 0;
  }

  .about-body {
    padding: 34px 0 0;
  }

  .about-method {
    grid-template-columns: 1fr;
  }

  .about-method-item + .about-method-item {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

.contact-card > .section-kicker {
  display: inline-flex;
  margin: 0 0 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-family: "Geist", "Microsoft YaHei", sans-serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 920px) {
  .ai-tool-menu {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-color: var(--accent) transparent;
    scroll-snap-type: x proximity;
  }

  .ai-tool-option {
    flex: 0 0 150px;
  }

  .ai-tool-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ai-tool-focus {
    min-height: 0;
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .tool-card-head {
    gap: 12px;
  }

  .tool-card-count {
    font-size: 10px;
  }

  .ai-tool-focus p {
    white-space: normal;
  }

  .tool-resource-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tool-list-group + .tool-list-group {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ai-tool-option {
    flex-basis: 132px;
    min-height: 150px;
    padding: 14px;
  }

  .ai-tool-option:hover,
  .ai-tool-option:focus-visible,
  .ai-tool-option.is-active {
    flex-basis: 168px;
    transform: translateY(-4px) scale(1.01);
  }

  .ai-tool-option-mark {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
}
