/* =========================================================
   周权 · 视觉传达设计 — Portfolio 2025
   Desktop three-page portfolio
   ========================================================= */

:root {
  --ink: #08080b;
  --ink-soft: #121218;
  --paper: #f4f0e6;
  --paper-deep: #e9e4d7;
  --acid: #d9ff43;
  --coral: #ff5c3d;
  --blue: #3a45ff;
  --cyan: #3fe8ff;
  --violet: #6f46ff;

  --gutter: clamp(28px, 4.5vw, 72px);
  --nav-safe: 84px;

  --chrome: var(--paper);
  --chrome-dim: rgba(244, 240, 230, 0.56);
  --chrome-line: rgba(244, 240, 230, 0.22);
  --brand-bg: var(--acid);
  --brand-fg: var(--ink);
  --accent: var(--acid);
  --focus: var(--acid);

  --sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --display: "Arial Black", "Archivo Black", "Impact", "HarmonyOS Sans SC",
    "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

body[data-page="2"] {
  --chrome: #0b0b0d;
  --chrome-dim: rgba(11, 11, 13, 0.56);
  --chrome-line: rgba(11, 11, 13, 0.2);
  --brand-bg: #0b0b0d;
  --brand-fg: var(--paper);
  --accent: var(--blue);
  --focus: var(--blue);
}

body[data-page="3"] {
  --chrome: var(--paper);
  --chrome-dim: rgba(244, 240, 230, 0.6);
  --chrome-line: rgba(244, 240, 230, 0.24);
  --brand-bg: var(--acid);
  --brand-fg: var(--ink);
  --accent: var(--acid);
  --focus: var(--acid);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.is-initializing .page,
html.is-initializing [data-reveal],
html.is-initializing .tool-meter i {
  transition: none !important;
}

html {
  width: 100%;
  height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.65s var(--ease-soft);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* film grain ------------------------------------------------ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.55px, transparent 0.75px);
  background-size: 3px 3px;
}

/* chrome ---------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 88px;
  padding: 0 var(--gutter);
  color: var(--chrome);
  pointer-events: none;
  transition: color 0.45s var(--ease-soft);
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 49px;
  height: 45px;
  padding-top: 9px;
  overflow: hidden;
  background: var(--brand-bg);
  color: var(--brand-fg);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
  text-decoration: none;
  border: 1px solid rgba(8, 8, 11, 0.18);
  box-shadow: 3px 3px 0 var(--coral);
  transition: background 0.45s var(--ease-soft), color 0.45s var(--ease-soft),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--coral);
}

.brand i {
  margin-left: 2px;
  margin-top: 1px;
  font-family: var(--sans);
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.header-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 22px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.17em;
  color: var(--chrome-dim);
  border-left: 1px solid var(--chrome-line);
  transition: color 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}

.header-meta span:first-child {
  color: var(--chrome);
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--chrome-dim);
  white-space: nowrap;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chrome);
}

.availability i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.header-location {
  padding-left: 22px;
  border-left: 1px solid var(--chrome-line);
  transition: border-color 0.45s var(--ease-soft);
}

.header-counter {
  min-width: 51px;
  padding-left: 18px;
  color: var(--chrome-dim);
  border-left: 1px solid var(--chrome-line);
  transition: border-color 0.45s var(--ease-soft);
}

.header-counter b {
  color: var(--chrome);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 0.45s var(--ease-soft);
}

/* page navigation ------------------------------------------ */
.page-nav {
  position: fixed;
  top: 50%;
  right: clamp(14px, 1.9vw, 28px);
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 19px;
  color: var(--chrome);
  transform: translateY(-50%);
  transition: color 0.45s var(--ease-soft);
}

.page-nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 5px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  opacity: 0.42;
  cursor: pointer;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}

.page-nav-btn:hover,
.page-nav-btn.is-active {
  opacity: 1;
}

.nav-index {
  width: 18px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.nav-line {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.45s var(--ease), background 0.35s var(--ease);
}

.page-nav-btn.is-active .nav-line {
  width: 37px;
  background: var(--accent);
}

.nav-label {
  width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: width 0.45s var(--ease), opacity 0.35s var(--ease);
}

.page-nav-btn:hover .nav-label,
.page-nav-btn.is-active .nav-label {
  width: 45px;
  opacity: 1;
}

.page-progress {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.333333);
  transform-origin: left center;
  transition: transform 0.8s var(--ease), background 0.45s var(--ease-soft);
}

/* deck / page states ---------------------------------------- */
.deck {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7%) scale(0.985);
  pointer-events: none;
  isolation: isolate;
  transition: opacity 0.72s var(--ease-soft), transform 0.95s var(--ease),
    visibility 0s linear 0.95s;
}

.page.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 0.72s var(--ease-soft), transform 0.95s var(--ease),
    visibility 0s linear 0s;
}

.page.is-before {
  transform: translateY(-7%) scale(0.985);
}

.page-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding-right: calc(var(--gutter) + var(--nav-safe));
  padding-left: var(--gutter);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-soft), transform 0.9s var(--ease);
  transition-delay: calc(90ms + var(--i, 0) * 70ms);
}

.page.is-active [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* shared eyebrow ------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  color: rgba(244, 240, 230, 0.72);
}

.eyebrow-badge {
  display: grid;
  place-items: center;
  width: 29px;
  height: 20px;
  background: var(--acid);
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow-line {
  width: 41px;
  height: 1px;
  background: rgba(244, 240, 230, 0.34);
}

.eyebrow-cn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(244, 240, 230, 0.52);
}

.eyebrow--dark {
  color: rgba(8, 8, 11, 0.66);
}

.eyebrow--dark .eyebrow-badge {
  background: var(--ink);
  color: var(--paper);
}

.eyebrow--dark .eyebrow-line {
  background: rgba(8, 8, 11, 0.27);
}

.eyebrow--dark .eyebrow-cn {
  color: rgba(8, 8, 11, 0.48);
}

.eyebrow--light .eyebrow-badge {
  background: var(--acid);
  color: var(--ink);
}

/* =========================================================
   PAGE 01 — HERO
   ========================================================= */
.page--hero {
  background: var(--ink);
}

.page--hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 76% 34%, rgba(58, 69, 255, 0.19), transparent 33%),
    radial-gradient(circle at 14% 82%, rgba(217, 255, 67, 0.06), transparent 30%),
    linear-gradient(118deg, #08080b 0%, #09090d 62%, #0d0b17 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.58;
  background-image: linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 7.5vw 7.5vw;
  -webkit-mask-image: radial-gradient(ellipse at 55% 45%, #000 10%, transparent 76%);
  mask-image: radial-gradient(ellipse at 55% 45%, #000 10%, transparent 76%);
}

.orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb--acid {
  top: 16%;
  left: 40%;
  width: 260px;
  height: 260px;
  background: rgba(217, 255, 67, 0.21);
  animation: orb-drift-a 14s ease-in-out infinite alternate;
}

.orb--coral {
  right: 4%;
  bottom: 12%;
  width: 290px;
  height: 290px;
  background: rgba(255, 92, 61, 0.18);
  animation: orb-drift-b 17s ease-in-out infinite alternate;
}

.orb--blue {
  top: 48%;
  left: -7%;
  width: 330px;
  height: 330px;
  background: rgba(58, 69, 255, 0.2);
  animation: orb-drift-c 21s ease-in-out infinite alternate;
}

.hero-ghost-index {
  position: absolute;
  top: 8%;
  right: 10%;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: 38vw;
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.14em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  user-select: none;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: clamp(26px, 3.4vw, 58px);
  align-items: center;
  padding-top: clamp(104px, 12.6vh, 142px);
  padding-bottom: clamp(88px, 11vh, 112px);
}

.hero-copy {
  min-width: 0;
}

.name-block {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: fit-content;
  margin-top: clamp(22px, 3.3vh, 32px);
  isolation: isolate;
}

.display-name {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(8.8rem, 15.6vw, 14.4rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.075em;
  text-shadow: 0.055em 0.055em 0 var(--coral);
  user-select: none;
}

.display-name-ghost {
  position: absolute;
  top: -0.075em;
  left: -0.045em;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(8.8rem, 15.6vw, 14.4rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.075em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.33);
  user-select: none;
  pointer-events: none;
}

.name-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6em;
  padding: 8px 10px 7px 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  transform: rotate(-5deg);
}

.name-card small {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.13em;
}

.name-card b {
  color: var(--coral);
  font-size: 17px;
  line-height: 0.8;
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(30px, 4.2vh, 41px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--paper);
}

.hero-role i {
  color: var(--coral);
  font-style: normal;
}

.role-tag {
  margin-left: 4px;
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(244, 240, 230, 0.6);
  border: 1px solid rgba(244, 240, 230, 0.2);
  border-radius: 999px;
}

.hero-statement {
  margin: clamp(18px, 2.8vh, 28px) 0 clamp(22px, 3.4vh, 32px);
  font-size: clamp(2rem, 3.05vw, 2.86rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.hero-statement em {
  position: relative;
  color: var(--acid);
  font-style: normal;
  white-space: nowrap;
}

.hero-statement em::after {
  position: absolute;
  right: 0;
  bottom: -0.12em;
  left: 0.04em;
  height: 0.09em;
  content: "";
  background: var(--coral);
  transform: rotate(-1.5deg) scaleX(0.88);
  transform-origin: right center;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 47px;
  padding: 0 21px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s var(--ease);
}

.btn:hover svg {
  transform: translate(2px, 0);
}

.btn--acid {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.btn--acid:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--coral);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 240, 230, 0.28);
}

.btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-2px);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 0.85fr;
  margin-top: clamp(26px, 4.1vh, 40px);
  padding-top: 16px;
  border-top: 1px solid rgba(244, 240, 230, 0.16);
}

.meta-item {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(244, 240, 230, 0.12);
}

.meta-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.meta-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 230, 0.42);
}

.meta-item strong {
  display: block;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 230, 0.9);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* portrait -------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.portrait-stage {
  --px: 0;
  --py: 0;
  position: relative;
  width: min(31vw, 424px);
  aspect-ratio: 0.78;
  transform: translate3d(calc(var(--px) * 9px), calc(var(--py) * 9px), 0);
  transition: transform 0.2s linear;
}

.portrait-backplate {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 2px;
  transition: transform 0.45s var(--ease);
}

.portrait-backplate--acid {
  background: var(--acid);
  transform: translate(-15px, 13px) rotate(-5.2deg);
}

.portrait-backplate--coral {
  background: var(--coral);
  transform: translate(14px, -13px) rotate(4.2deg);
}

.portrait-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(217, 255, 67, 0.11), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px),
    #101016;
  border: 1px solid rgba(244, 240, 230, 0.25);
  border-radius: 2px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}

.portrait-frame:hover,
.portrait-frame:focus-visible {
  border-color: var(--acid);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(217, 255, 67, 0.3);
}

.portrait-frame.is-dragover {
  border-color: var(--coral);
  background-color: rgba(255, 92, 61, 0.15);
}

.portrait-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 28px 40px;
  text-align: center;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0s;
}

.portrait-topline {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(244, 240, 230, 0.58);
  border-bottom: 1px solid rgba(244, 240, 230, 0.12);
}

.silhouette {
  position: relative;
  display: grid;
  place-items: center;
  width: 60%;
  max-width: 205px;
  aspect-ratio: 1;
  margin-top: 7px;
  color: rgba(244, 240, 230, 0.44);
  border: 1px solid rgba(244, 240, 230, 0.13);
  border-radius: 50%;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.portrait-frame:hover .silhouette {
  color: rgba(217, 255, 67, 0.8);
  border-color: rgba(217, 255, 67, 0.24);
}

.silhouette::after {
  position: absolute;
  inset: 9px;
  content: "";
  border: 1px dashed rgba(244, 240, 230, 0.14);
  border-radius: 50%;
  animation: spin-slow 36s linear infinite;
}

.silhouette svg {
  width: 61%;
  height: auto;
  overflow: visible;
}

.silhouette svg circle,
.silhouette svg path {
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
}

.silhouette-cross {
  position: absolute;
  z-index: 2;
  background: var(--acid);
  opacity: 0.75;
}

.silhouette-cross--x {
  top: 50%;
  left: -12px;
  width: 24px;
  height: 1px;
}

.silhouette-cross--y {
  top: calc(50% - 12px);
  left: 50%;
  width: 1px;
  height: 24px;
}

.portrait-prompt {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(244, 240, 230, 0.45);
}

.portrait-upload {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 15px;
  background: var(--acid);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 var(--coral);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.portrait-frame:hover .portrait-upload {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--coral);
}

.portrait-upload b {
  font-size: 14px;
  font-weight: 500;
  line-height: 0.8;
}

.portrait-note {
  margin: 11px 0 0;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.18em;
  color: rgba(244, 240, 230, 0.28);
}

.portrait-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait-frame.has-photo .portrait-photo {
  display: block;
}

.portrait-frame.has-photo .portrait-empty {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.portrait-frame.has-photo {
  border-color: var(--acid);
}

.portrait-frame.has-photo::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.frame-corner--tl {
  top: 9px;
  left: 9px;
  border-top: 1px solid rgba(244, 240, 230, 0.6);
  border-left: 1px solid rgba(244, 240, 230, 0.6);
}

.frame-corner--tr {
  top: 9px;
  right: 9px;
  border-top: 1px solid rgba(244, 240, 230, 0.6);
  border-right: 1px solid rgba(244, 240, 230, 0.6);
}

.frame-corner--bl {
  bottom: 9px;
  left: 9px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.6);
  border-left: 1px solid rgba(244, 240, 230, 0.6);
}

.frame-corner--br {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid rgba(244, 240, 230, 0.6);
  border-bottom: 1px solid rgba(244, 240, 230, 0.6);
}

.portrait-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 12px;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 230, 0.7);
  background: rgba(8, 8, 11, 0.38);
  border-top: 1px solid rgba(244, 240, 230, 0.1);
  backdrop-filter: blur(6px);
}

.portrait-clear[hidden] {
  display: none;
}

.portrait-clear {
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  color: var(--paper);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  background: var(--ink);
  border: 1px solid var(--acid);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.portrait-clear:hover {
  background: var(--coral);
  color: var(--ink);
  transform: rotate(90deg);
}

.portrait-stamp {
  position: absolute;
  top: -39px;
  right: -34px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--ink);
  background: var(--acid);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--coral);
}

.stamp-ring {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  overflow: visible;
  animation: spin-slow 22s linear infinite;
}

.stamp-ring text {
  fill: currentColor;
  font-family: var(--mono);
  font-size: 8.4px;
  font-weight: 700;
  letter-spacing: 2.1px;
}

.stamp-star {
  font-size: 29px;
  line-height: 1;
}

.portrait-pill {
  position: absolute;
  bottom: -18px;
  left: -23px;
  z-index: 6;
  padding: 7px 10px 6px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.13em;
  text-align: center;
  background: var(--coral);
  border: 1.5px solid var(--ink);
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.portrait-side-label {
  position: absolute;
  top: 50%;
  left: -35px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.24em;
  color: rgba(244, 240, 230, 0.35);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

/* marquee --------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.marquee--hero {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  height: 48px;
}

.marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: marquee-scroll 38s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  padding-right: 32px;
  white-space: nowrap;
}

.marquee-group span {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.marquee-group i {
  font-size: 11px;
  font-style: normal;
}

/* =========================================================
   PAGE 02 — PROFILE
   ========================================================= */
.page--profile {
  color: var(--ink);
  background: var(--paper);
}

.page--profile::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 3% 16%, rgba(58, 69, 255, 0.08), transparent 24%),
    radial-gradient(circle at 94% 86%, rgba(255, 92, 61, 0.07), transparent 26%),
    linear-gradient(130deg, #f5f1e7 0%, #f1ede2 56%, #ece6d9 100%);
}

.profile-dots {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 38%;
  height: 55%;
  background-image: radial-gradient(rgba(8, 8, 11, 0.2) 1px, transparent 1px);
  background-size: 17px 17px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at top right, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at top right, #000, transparent 70%);
}

.profile-shape {
  position: absolute;
  top: 13%;
  right: 7.5%;
  z-index: 0;
  color: var(--coral);
  font-size: clamp(90px, 10vw, 160px);
  line-height: 1;
  transform: rotate(12deg);
  opacity: 0.9;
  pointer-events: none;
}

.profile-ghost-index {
  position: absolute;
  right: 2%;
  bottom: -11%;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: 33vw;
  font-weight: 900;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(8, 8, 11, 0.055);
  pointer-events: none;
}

.side-note {
  position: absolute;
  bottom: 64px;
  left: 15px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.22em;
  color: rgba(8, 8, 11, 0.34);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.side-note--right {
  display: none;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(370px, 0.98fr);
  gap: clamp(32px, 4.4vw, 70px);
  align-items: center;
  padding-top: clamp(100px, 12vh, 126px);
  padding-bottom: clamp(56px, 7vh, 76px);
}

.profile-copy {
  min-width: 0;
}

.section-title {
  margin: clamp(16px, 2.4vh, 23px) 0 clamp(13px, 1.9vh, 18px);
  font-size: clamp(2.8rem, 4.55vw, 4.15rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.title-highlight {
  position: relative;
  display: inline-block;
  z-index: 0;
  color: var(--blue);
}

.title-highlight::after {
  position: absolute;
  right: -0.03em;
  bottom: 0.03em;
  left: -0.02em;
  z-index: -1;
  height: 0.3em;
  content: "";
  background: var(--acid);
  transform: rotate(-1deg);
  transform-origin: left center;
}

.profile-lede {
  max-width: 565px;
  margin: 0 0 clamp(17px, 2.4vh, 24px);
  font-size: clamp(13px, 1.08vw, 15.5px);
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: 0.015em;
  color: #45443e;
}

.id-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px 13px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--blue);
}

.id-card::after {
  position: absolute;
  right: -19px;
  bottom: -45px;
  content: "✦";
  color: rgba(244, 240, 230, 0.055);
  font-size: 135px;
  line-height: 1;
  pointer-events: none;
}

.id-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(244, 240, 230, 0.46);
  border-bottom: 1px solid rgba(244, 240, 230, 0.14);
}

.id-code {
  color: var(--acid);
}

.id-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
}

.id-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 8px 0 7px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.1);
}

.id-row--wide {
  grid-column: 1 / -1;
}

.id-row span {
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 230, 0.38);
  white-space: nowrap;
}

.id-row strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 240, 230, 0.93);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.id-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}

.id-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.12em;
  color: var(--acid);
}

.id-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  animation: pulse-dot 2s ease-in-out infinite;
}

.id-barcode {
  display: block;
  width: 54px;
  height: 14px;
  opacity: 0.52;
  background: repeating-linear-gradient(
    90deg,
    var(--paper) 0 1px,
    transparent 1px 3px,
    var(--paper) 3px 4px,
    transparent 4px 6px
  );
}

.approach-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(17px, 2.3vh, 23px);
  padding-top: 12px;
  border-top: 1px solid rgba(8, 8, 11, 0.22);
}

.approach-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-left: 13px;
  border-left: 1px solid rgba(8, 8, 11, 0.14);
}

.approach-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.approach-item b {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.5;
}

.approach-item span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.approach-item small {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 6.2px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: rgba(8, 8, 11, 0.38);
}

/* skills panel --------------------------------------------- */
.skills-panel {
  position: relative;
  z-index: 3;
  padding: clamp(22px, 2.5vw, 30px);
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--acid);
}

.skills-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--acid) 0 36%, var(--coral) 36% 68%, var(--blue) 68%);
}

.skills-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-kicker {
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  color: var(--acid);
}

.skills-head h3 {
  margin: 6px 0 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.skills-count {
  min-width: 52px;
  font-family: var(--display);
  font-size: 39px;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-align: right;
  color: var(--paper);
}

.skills-count small {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(244, 240, 230, 0.34);
}

.tool-list {
  margin-top: clamp(16px, 2.2vh, 22px);
}

.tool-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px;
  background: rgba(244, 240, 230, 0.035);
  border: 1px solid rgba(244, 240, 230, 0.12);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.tool-card + .tool-card {
  margin-top: 9px;
}

.tool-card:hover {
  background: rgba(244, 240, 230, 0.065);
  border-color: rgba(244, 240, 230, 0.27);
  transform: translateX(-3px);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.075em;
  border-radius: 9px;
}

.tool-card--ps .tool-icon {
  color: #31a8ff;
  background: #001e36;
  border: 1px solid #31a8ff;
}

.tool-card--ai .tool-icon {
  color: #ff9a00;
  background: #2f0000;
  border: 1px solid #ff9a00;
}

.tool-card--figma .tool-icon {
  color: transparent;
  background: #191919;
  border: 1px solid rgba(244, 240, 230, 0.22);
  background-image: linear-gradient(135deg, #f24e1e 0%, #a259ff 48%, #1abcfe 75%, #0acf83 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.tool-body {
  min-width: 0;
}

.tool-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-title h4 {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tool-title span {
  padding: 3px 7px;
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--acid);
  background: rgba(217, 255, 67, 0.08);
  border: 1px solid rgba(217, 255, 67, 0.26);
  border-radius: 999px;
}

.tool-body p {
  margin: 5px 0 0;
  font-size: 8.7px;
  letter-spacing: 0.055em;
  color: rgba(244, 240, 230, 0.4);
  white-space: nowrap;
}

.tool-meter {
  height: 2px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(244, 240, 230, 0.13);
}

.tool-meter i {
  display: block;
  width: var(--level);
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s var(--ease) 0.55s;
}

.tool-card--ps .tool-meter i {
  background: #31a8ff;
}

.tool-card--ai .tool-meter i {
  background: #ff9a00;
}

.tool-card--figma .tool-meter i {
  background: linear-gradient(90deg, #f24e1e, #a259ff, #1abcfe, #0acf83);
}

.page.is-active .tool-meter i {
  transform: scaleX(1);
}

.skills-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(17px, 2.4vh, 24px);
  padding-top: 15px;
  border-top: 1px solid rgba(244, 240, 230, 0.13);
}

.skills-foot p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 230, 0.53);
}

.skills-foot strong {
  color: var(--paper);
  font-weight: 700;
}

.skills-badge {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-align: center;
  border: 1px dashed rgba(217, 255, 67, 0.55);
  border-radius: 50%;
  transform: rotate(8deg);
}

.skills-resume-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 9px 12px;
  color: var(--acid);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid rgba(244, 240, 230, 0.16);
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.skills-resume-link b {
  font-size: 13px;
  font-weight: 400;
  transition: transform 0.25s var(--ease);
}

.skills-resume-link:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.skills-resume-link:hover b {
  transform: translate(2px, -2px);
}

.profile-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 25px;
  height: 35px;
  padding-left: var(--gutter);
  overflow: hidden;
  color: var(--acid);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 7.8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.profile-ticker i {
  font-style: normal;
  color: var(--coral);
}

/* =========================================================
   PAGE 03 — WORKS & CONTACT
   ========================================================= */
.page--contact {
  background:
    linear-gradient(132deg, rgba(35, 21, 216, 0.72) 0%, rgba(60, 28, 243, 0.6) 47%, rgba(29, 15, 174, 0.8) 100%),
    radial-gradient(circle at 76% 18%, rgba(217, 255, 67, 0.18), transparent 22%),
    radial-gradient(circle at 6% 90%, rgba(255, 92, 61, 0.24), transparent 27%),
    url("../图片/bg-contact.jpg") center / cover no-repeat;
}

.page--contact::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.22));
}

.contact-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.65;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 8.2vw 8.2vw;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 8%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 8%, transparent 80%);
}

.contact-big-circle {
  position: absolute;
  top: -235px;
  right: 7%;
  z-index: 0;
  width: 545px;
  height: 545px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(217, 255, 67, 0.11) 0 35%,
    transparent 35.4%
  );
  border: 1px solid rgba(217, 255, 67, 0.52);
  border-radius: 50%;
  box-shadow: inset 0 0 0 54px rgba(217, 255, 67, 0.035);
  animation: float-soft 9s ease-in-out infinite;
}

.contact-big-circle::after {
  position: absolute;
  inset: 69px;
  content: "";
  border: 1px dashed rgba(217, 255, 67, 0.27);
  border-radius: 50%;
}

.contact-halftone {
  position: absolute;
  right: 0;
  bottom: 40px;
  z-index: 0;
  width: 40%;
  height: 50%;
  background-image: radial-gradient(rgba(8, 8, 11, 0.3) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to top left, #000, transparent 70%);
  mask-image: linear-gradient(to top left, #000, transparent 70%);
}

.contact-ghost {
  position: absolute;
  right: 1%;
  bottom: -12%;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: 36vw;
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(104px, 12.4vh, 132px);
  padding-bottom: clamp(56px, 7vh, 74px);
}

.contact-copy {
  min-width: 0;
}

.contact-title {
  margin: clamp(17px, 2.6vh, 26px) 0 clamp(14px, 2vh, 19px);
  font-size: clamp(3.7rem, 6.15vw, 6.3rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: var(--paper);
}

.contact-title span {
  position: relative;
  display: inline-block;
  color: var(--acid);
}

.contact-title span::after {
  position: absolute;
  right: 0.04em;
  bottom: -0.13em;
  left: 0.06em;
  height: 0.05em;
  content: "";
  background: var(--coral);
  transform: rotate(-2deg);
  transform-origin: right center;
}

.contact-lede {
  margin: 0 0 clamp(19px, 2.7vh, 26px);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.82;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 230, 0.69);
}

.contact-block {
  margin-top: 0;
}

.contact-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 7.4px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: rgba(244, 240, 230, 0.45);
  border-bottom: 1px solid rgba(244, 240, 230, 0.24);
}

.contact-edit-note {
  color: var(--acid);
  font-family: var(--sans);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.contact-row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.17);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-row:hover {
  padding-right: 8px;
  padding-left: 8px;
  background: rgba(217, 255, 67, 0.1);
}

.contact-label {
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 230, 0.42);
}

.contact-row strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(244, 240, 230, 0.86);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-arrow {
  color: var(--acid);
  font-size: 13px;
  line-height: 1;
  text-align: right;
}

.contact-footline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(18px, 2.6vh, 26px);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 230, 0.42);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid rgba(244, 240, 230, 0.32);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.back-top span {
  color: var(--acid);
  font-size: 12px;
  line-height: 1;
  transition: color 0.25s var(--ease);
}

.back-top:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.back-top:hover span {
  color: var(--ink);
}

/* works ---------------------------------------------------- */
.works-column {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.works-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(244, 240, 230, 0.56);
  border-bottom: 1px solid rgba(244, 240, 230, 0.24);
}

.works-head > span:last-child {
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 230, 0.38);
}

.works-more {
  color: var(--acid);
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.works-more span {
  margin-left: 3px;
  font-size: 9px;
}

.works-more:hover {
  border-color: rgba(217, 255, 67, 0.7);
}

.work-card {
  display: grid;
  grid-template-columns: 41% minmax(0, 1fr);
  min-height: clamp(112px, 14.2vh, 138px);
  margin-top: 9px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: rgba(8, 8, 11, 0.33);
  border: 1px solid rgba(244, 240, 230, 0.22);
  backdrop-filter: blur(7px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.work-card:hover {
  background: rgba(8, 8, 11, 0.45);
  border-color: rgba(217, 255, 67, 0.7);
  box-shadow: 6px 6px 0 rgba(217, 255, 67, 0.18);
  transform: translate(-4px, -2px);
}

.work-thumb {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(244, 240, 230, 0.16);
}

.thumb-index {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.thumb-caption {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 6.3px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.work-thumb--brand {
  color: var(--ink);
  background: var(--acid);
}

.work-thumb--brand::before {
  position: absolute;
  top: -34px;
  right: -26px;
  width: 113px;
  height: 113px;
  content: "";
  background: var(--ink);
  border-radius: 50%;
}

.work-thumb--brand::after {
  position: absolute;
  right: -12px;
  bottom: -34px;
  width: 85px;
  height: 85px;
  content: "";
  border: 1px solid rgba(8, 8, 11, 0.55);
  border-radius: 50%;
}

.thumb-letter {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  font-family: var(--display);
  font-size: clamp(46px, 4.8vw, 65px);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.08em;
  transform: translateY(-48%);
}

.thumb-letter span {
  margin-bottom: 0.12em;
  font-family: var(--serif);
  font-size: 0.48em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.work-thumb--editorial {
  color: var(--ink);
  background: var(--coral);
}

.work-thumb--editorial::before {
  position: absolute;
  top: 50%;
  right: -22%;
  width: 120%;
  height: 1px;
  content: "";
  background: rgba(8, 8, 11, 0.4);
  transform: rotate(-30deg);
}

.work-thumb--editorial::after {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(8, 8, 11, 0.2);
  pointer-events: none;
}

.thumb-letter--serif {
  top: 51%;
  left: 13px;
  font-family: var(--serif);
  font-size: clamp(50px, 5.3vw, 72px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.12em;
}

.work-thumb--ui {
  background: var(--paper);
}

.work-thumb--ui::before {
  position: absolute;
  top: 30px;
  right: 13px;
  bottom: 13px;
  left: 13px;
  content: "";
  background: #fff;
  border: 1px solid rgba(8, 8, 11, 0.2);
  box-shadow: 4px 4px 0 rgba(58, 69, 255, 0.36);
}

.thumb-ui {
  position: absolute;
  top: 42px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4px;
}

.thumb-ui i {
  display: block;
  background: var(--blue);
}

.thumb-ui i:nth-child(1) {
  background: var(--ink);
}

.thumb-ui i:nth-child(2) {
  background: var(--blue);
}

.thumb-ui i:nth-child(3) {
  grid-column: 1 / -1;
  height: 12px;
  background: var(--acid);
}

.work-thumb--ui .thumb-index {
  color: var(--ink);
}

.work-thumb--ui .thumb-caption {
  color: var(--ink);
}

.work-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 13px 38px 13px 16px;
}

.work-cat {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 7.1px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--acid);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-meta h3 {
  margin: 0;
  font-size: clamp(14px, 1.16vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.work-slot {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 230, 0.36);
}

.work-arrow {
  position: absolute;
  right: 14px;
  bottom: 13px;
  color: var(--acid);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.work-card:hover .work-arrow {
  transform: translate(2px, -2px);
}

.work-card:hover .thumb-letter {
  transform: translateY(-48%) scale(1.04);
}

.thumb-letter {
  transition: transform 0.4s var(--ease);
}

.works-note {
  margin: 9px 0 0;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.07em;
  text-align: right;
  color: rgba(244, 240, 230, 0.32);
}

.contact-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 30px;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 230, 0.4);
  background: rgba(8, 8, 11, 0.15);
  border-top: 1px solid rgba(244, 240, 230, 0.15);
}

/* toast ----------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 260;
  padding: 11px 17px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--acid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   animation
   ========================================================= */
@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.76);
  }
}

@keyframes orb-drift-a {
  from {
    transform: translate3d(-4%, -3%, 0) scale(1);
  }
  to {
    transform: translate3d(8%, 7%, 0) scale(1.14);
  }
}

@keyframes orb-drift-b {
  from {
    transform: translate3d(4%, 4%, 0) scale(1.06);
  }
  to {
    transform: translate3d(-7%, -5%, 0) scale(0.92);
  }
}

@keyframes orb-drift-c {
  from {
    transform: translate3d(0, 4%, 0) scale(0.98);
  }
  to {
    transform: translate3d(5%, -4%, 0) scale(1.1);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

/* =========================================================
   responsive / short desktop
   ========================================================= */
@media (max-height: 820px) and (min-width: 901px) {
  .site-header {
    height: 76px;
  }

  .hero-layout {
    padding-top: 90px;
    padding-bottom: 78px;
  }

  .display-name,
  .display-name-ghost {
    font-size: clamp(8rem, 13.6vw, 12rem);
  }

  .hero-role {
    margin-top: 32px;
  }

  .hero-statement {
    margin: 15px 0 20px;
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  }

  .hero-meta {
    margin-top: 24px;
  }

  .portrait-stage {
    width: min(28.5vw, 365px);
  }

  .portrait-stamp {
    top: -30px;
    right: -29px;
    width: 96px;
    height: 96px;
  }

  .stamp-star {
    font-size: 24px;
  }

  .stamp-ring text {
    font-size: 9px;
    letter-spacing: 1.6px;
  }

  .profile-layout {
    padding-top: 86px;
    padding-bottom: 48px;
  }

  .section-title {
    font-size: clamp(2.35rem, 4vw, 3.5rem);
  }

  .profile-lede {
    line-height: 1.7;
    margin-bottom: 15px;
  }

  .id-card {
    padding: 12px 15px 10px;
  }

  .id-row {
    padding: 6px 0 5px;
  }

  .approach-row {
    margin-top: 14px;
    padding-top: 9px;
  }

  .skills-panel {
    padding: 20px 22px 17px;
  }

  .tool-list {
    margin-top: 13px;
  }

  .tool-card {
    padding: 10px;
    grid-template-columns: 51px minmax(0, 1fr);
    gap: 12px;
  }

  .tool-icon {
    width: 51px;
    height: 51px;
    font-size: 20px;
  }

  .tool-body p {
    margin-top: 3px;
  }

  .tool-meter {
    margin-top: 7px;
  }

  .skills-foot {
    margin-top: 14px;
    padding-top: 11px;
  }

  .skills-badge {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .skills-resume-link {
    margin-top: 9px;
    padding: 7px 9px;
    font-size: 7.8px;
  }

  .contact-layout {
    padding-top: 90px;
    padding-bottom: 48px;
  }

  .contact-title {
    font-size: clamp(3.1rem, 5.3vw, 5.3rem);
  }

  .contact-lede {
    margin-bottom: 16px;
    line-height: 1.7;
  }

  .contact-row {
    padding: 8px 0;
  }

  .contact-footline {
    margin-top: 16px;
  }

  .work-card {
    min-height: 108px;
  }

  .thumb-letter {
    font-size: clamp(42px, 4.3vw, 57px);
  }

  .thumb-letter--serif {
    font-size: clamp(45px, 4.8vw, 63px);
  }

  .works-note {
    display: none;
  }
}

@media (max-width: 1180px) {
  .header-meta {
    display: none;
  }

  .availability {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.92fr);
    gap: 34px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.05fr);
    gap: 36px;
  }

  .role-tag {
    display: none;
  }
}

@media (max-width: 960px) {
  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .deck {
    height: auto;
    overflow: visible;
  }

  .page {
    position: relative;
    inset: auto;
    min-height: 100svh;
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    overflow: hidden;
  }

  .page.is-before,
  .page.is-active {
    transform: none;
  }

  .page-inner {
    height: auto;
    min-height: 100svh;
    padding: 96px 24px 72px;
  }

  .page-nav {
    display: none;
  }

  .site-header {
    height: 72px;
    padding: 0 24px;
  }

  .header-location {
    display: none;
  }

  .header-counter {
    padding-left: 0;
    border-left: 0;
  }

  .hero-layout,
  .profile-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
    align-items: start;
  }

  .hero-layout {
    padding-top: 104px;
    padding-bottom: 92px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    padding-top: 16px;
  }

  .portrait-stage {
    width: min(78vw, 380px);
  }

  .display-name,
  .display-name-ghost {
    font-size: clamp(7rem, 30vw, 11rem);
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
  }

  .hero-meta .meta-item:nth-child(3) {
    grid-column: span 2;
    padding-left: 0;
    border-left: 0;
  }

  .marquee--hero {
    position: relative;
  }

  .profile-layout {
    padding-top: 105px;
    padding-bottom: 66px;
  }

  .section-title {
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }

  .profile-copy {
    order: 1;
  }

  .skills-panel {
    order: 2;
  }

  .profile-ticker {
    position: relative;
    margin: 0 -24px;
    padding: 0 24px;
  }

  .contact-layout {
    padding-top: 106px;
    padding-bottom: 72px;
  }

  .contact-title {
    font-size: clamp(3.1rem, 14vw, 5.4rem);
  }

  .contact-big-circle {
    width: 420px;
    height: 420px;
    top: -230px;
    right: -110px;
  }

  .contact-footer {
    position: relative;
    flex-wrap: wrap;
    height: auto;
    gap: 7px;
    padding: 11px 24px;
  }

  .work-card {
    min-height: 125px;
  }

  .side-note {
    display: none;
  }

  .contact-halftone {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-counter,
  .header-location {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta .meta-item {
    padding-left: 0;
    border-left: 0;
  }

  .hero-meta .meta-item:nth-child(3) {
    grid-column: auto;
  }

  .hero-role {
    flex-wrap: wrap;
  }

  .id-grid {
    grid-template-columns: 1fr;
  }

  .id-row,
  .id-row--wide {
    grid-column: auto;
  }

  .contact-row {
    grid-template-columns: 92px minmax(0, 1fr) 18px;
  }

  .contact-block-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .work-card {
    grid-template-columns: 45% minmax(0, 1fr);
  }

  .contact-footline {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-shape {
    top: 7%;
    right: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* =========================================================
   project illustration covers
   ========================================================= */
.work-thumb.work-thumb--brand {
  background: var(--acid) url("../图片/work-brand.jpg") center bottom / cover no-repeat;
}

.work-thumb.work-thumb--editorial {
  background: var(--coral) url("../图片/work-editorial.jpg") center bottom / cover no-repeat;
}

.work-thumb.work-thumb--ui {
  background: var(--paper) url("../图片/work-ui.jpg") center center / cover no-repeat;
}

.work-thumb--brand::before,
.work-thumb--brand::after,
.work-thumb--editorial::before,
.work-thumb--editorial::after,
.work-thumb--ui::before,
.work-thumb--brand .thumb-letter,
.work-thumb--editorial .thumb-letter,
.work-thumb--ui .thumb-ui {
  display: none;
}

.work-thumb--brand .thumb-caption,
.work-thumb--editorial .thumb-caption,
.work-thumb--ui .thumb-caption {
  display: none;
}

.work-thumb--brand .thumb-index,
.work-thumb--editorial .thumb-index,
.work-thumb--ui .thumb-index {
  padding: 3px 6px;
  color: var(--paper);
  background: rgba(8, 8, 11, 0.74);
}

/* =========================================================
   interface icon set
   ========================================================= */
.name-card-star {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 0.28s var(--ease);
}

.btn:hover .btn-icon {
  transform: translate(2px, 0);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: rgba(244, 240, 230, 0.4);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.scroll-cue img {
  display: block;
  width: 17px;
  height: 17px;
}

.portrait-caption-school {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.portrait-caption-school img {
  display: block;
  width: 14px;
  height: 14px;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.panel-kicker-icon {
  display: block;
  width: 16px;
  height: 16px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}


