:root {
  --paper: #f2efe7;
  --paper-2: #e6e0d4;
  --paper-3: #fffdf7;
  --ink: #11110f;
  --ink-soft: #24231f;
  --muted: #656057;
  --orange: #ff4f00;
  --orange-deep: #dc3900;
  --blue: #2453ff;
  --blue-deep: #1738bb;
  --acid: #ddff3f;
  --white: #fffdf7;
  --line: #171715;
  --line-soft: rgba(17, 17, 15, .2);
  --font-display: "Bodoni 72 Smallcaps", "Bodoni MT", "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-sans: Bahnschrift, "DIN Alternate", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --max: 1240px;
  --shadow: 10px 10px 0 var(--ink);
  --shadow-blue: 12px 12px 0 var(--blue);
  --shadow-orange: 12px 12px 0 var(--orange);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(17, 17, 15, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.dialog-open { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 8%, rgba(255, 79, 0, .17), transparent 25rem),
    radial-gradient(circle at 92% 36%, rgba(36, 83, 255, .13), transparent 29rem),
    linear-gradient(125deg, transparent 0 62%, rgba(221, 255, 63, .09) 62% 69%, transparent 69%);
}

::selection { color: var(--white); background: var(--blue); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: .15;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 17, 15, .26) .55px, transparent .75px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 2200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 3000;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
main section { scroll-margin-top: 86px; }

.site-header {
  position: fixed;
  inset: 4px 0 auto;
  z-index: 1000;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.scrolled {
  background: rgba(242, 239, 231, .92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
}
.nav-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
}
.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  letter-spacing: -.08em;
  transform: rotate(-3deg);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav > a:not(.nav-cta) {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav > a:not(.nav-cta)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 3px;
  background: var(--orange);
  transition: right .25s ease;
}
.site-nav > a:not(.nav-cta):hover::before,
.site-nav > a:not(.nav-cta).is-active::before { right: 0; }
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--orange); }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform .25s ease;
}
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(112px, 11vw, 156px);
  padding-bottom: 54px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 26px);
  row-gap: 32px;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.hero-display-name {
  position: absolute;
  inset: 118px 0 auto;
  z-index: -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  pointer-events: none;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(108px, 18.2vw, 270px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.095em;
  line-height: .7;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(17, 17, 15, .16);
  animation: titleDraw 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
.hero-display-name span:last-child { margin-right: .04em; }
.hero-orbit {
  position: absolute;
  z-index: -1;
  width: min(38vw, 500px);
  aspect-ratio: 1;
  right: 2%;
  top: 16%;
  border: 1px solid rgba(17, 17, 15, .34);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}
.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(17, 17, 15, .2);
}
.hero-orbit::before { inset: 17%; }
.hero-orbit::after { inset: 36%; }
.hero-orbit span {
  position: absolute;
  width: 22px;
  height: 22px;
  left: 9%;
  top: 18%;
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.hero-copy {
  grid-column: 1 / span 7;
  position: relative;
  z-index: 3;
  padding-top: clamp(62px, 8vw, 112px);
}
.hero-status {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(221, 255, 63, .2);
  animation: statusPulse 1.8s ease-in-out infinite;
}
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow > span {
  display: inline-block;
  width: 42px;
  height: 3px;
  margin: 0 10px 3px 0;
  background: var(--orange);
}
.hero h1 {
  max-width: 800px;
  margin: 24px 0 28px;
  font-family: var(--font-display);
  font-size: clamp(60px, 7vw, 105px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .98;
}
.hero h1 span {
  position: relative;
  display: inline-block;
  margin-left: .03em;
  padding: .01em .13em .08em;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--blue);
  transform: rotate(-2deg);
  white-space: nowrap;
}
.hero-intro {
  max-width: 610px;
  margin: 0;
  padding-left: 18px;
  color: #49453e;
  border-left: 4px solid var(--orange);
  font-size: clamp(15px, 1.4vw, 18px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 28px; }
.button {
  min-height: 48px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}
.button-primary { color: var(--acid); background: var(--ink); box-shadow: 7px 7px 0 var(--blue); }
.button-secondary { color: var(--ink); background: var(--paper-3); box-shadow: 7px 7px 0 var(--orange); }
.button:hover { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span {
  padding: 7px 11px;
  background: rgba(255, 253, 247, .72);
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 750;
}
.hero-tags span:nth-child(even) { color: var(--white); background: var(--blue); }
.scroll-cue {
  width: max-content;
  min-height: 44px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}
.scroll-cue i { position: relative; display: block; width: 48px; height: 1px; background: var(--ink); overflow: hidden; }
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-100%);
  animation: cueLine 1.8s ease-in-out infinite;
}
.hero-visual {
  grid-column: 8 / -1;
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: 64px;
  padding: 0 18px 18px 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 11% -2% -2% 13%;
  z-index: -1;
  background: var(--blue);
  border: 2px solid var(--ink);
  transform: rotate(3deg);
}
.hero-visual::after {
  content: "PORTRAIT / 001";
  position: absolute;
  z-index: 4;
  right: -30px;
  top: 38%;
  padding: 6px 9px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--ink);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  transform: rotate(90deg);
}
.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: .77;
  background: #c9c4ba;
  border: 2px solid var(--ink);
  clip-path: polygon(8% 0, 100% 0, 93% 100%, 0 93%);
  isolation: isolate;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(17, 17, 15, .74), transparent 42%);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 25%;
  filter: saturate(.82) contrast(1.06);
  transform: scale(1.015);
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}
.portrait-caption {
  position: absolute;
  z-index: 2;
  left: 11%;
  bottom: 10%;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.portrait-caption strong { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 34px); letter-spacing: .02em; }
.portrait-caption span { color: var(--acid); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.floating-card {
  position: absolute;
  z-index: 5;
  padding: 11px 14px;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
}
.floating-card strong { display: block; font-size: 12px; }
.mini-label { color: var(--orange-deep); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.card-a { left: -28px; top: 30%; }
.card-b { right: -22px; bottom: 12%; color: var(--ink); background: var(--acid); transform: rotate(2deg); }
.card-b .mini-label { color: var(--blue); }
.stats-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--orange);
}
.stats-strip > div {
  min-height: 118px;
  padding: 22px clamp(16px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #484740;
}
.stats-strip > div:last-child { border-right: 0; }
.stats-strip strong {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -.07em;
  line-height: 1;
}
.stats-strip > div:nth-child(even) strong { color: #7692ff; }
.stats-strip strong::after {
  content: "+";
  margin-left: 3px;
  color: var(--orange);
  font-family: var(--font-sans);
  font-size: .45em;
}
.stats-strip span { margin-top: 7px; color: #bdbab0; font-size: 11px; }
.hero-ticker {
  min-width: 0;
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  color: var(--ink);
  background: var(--orange);
  border-block: 2px solid var(--ink);
  transform: rotate(-.45deg);
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 26px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.ticker-track i { color: var(--acid); font-style: normal; -webkit-text-stroke: 1px var(--ink); }

.about,
.works,
.skills,
.contact { padding-top: clamp(104px, 11vw, 148px); }
.section-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(250px, 390px);
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 62px);
}
.section-index {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.section-heading h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .95;
}
.section-note {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  border-left: 3px solid var(--blue);
  font-size: 12px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 22px;
  align-items: stretch;
}
.about-lead,
.experience-card {
  position: relative;
  padding: clamp(28px, 4vw, 54px);
  border: 2px solid var(--ink);
}
.about-lead {
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow-orange);
  transform: rotate(-.6deg);
}
.about-lead::before {
  content: "ABOUT / 01";
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(255, 255, 255, .58);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .2em;
}
.large-copy {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.25;
}
.about-lead > p:not(.large-copy) { color: rgba(255, 255, 255, .78); }
.about-quote {
  margin-top: 34px;
  padding: 15px 17px;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  transform: rotate(1deg);
}
.experience-card {
  color: var(--white);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--acid);
}
.experience-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #aaa79d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.experience-card h3 {
  margin: 24px 0 3px;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.12;
}
.role { margin: 0 0 28px; color: var(--orange); font-weight: 800; }
.experience-flow { border-top: 1px solid #494840; }
.experience-flow > div {
  display: grid;
  grid-template-columns: 38px 110px 1fr;
  gap: 12px;
  padding: 16px 0;
  align-items: baseline;
  border-bottom: 1px solid #494840;
}
.experience-flow b { color: var(--acid); font-size: 10px; }
.experience-flow span { font-weight: 800; }
.experience-flow small { color: #a8a59b; }
.works { position: relative; }
.works::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 38vw;
  height: 38vw;
  max-width: 540px;
  max-height: 540px;
  right: 0;
  top: 10%;
  background: var(--acid);
  border-radius: 50%;
  opacity: .36;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.project-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.project-featured { grid-column: 1 / -1; }
.project-card:nth-child(2) { grid-column: 1 / span 7; }
.project-card:nth-child(3) { grid-column: 8 / -1; margin-top: 84px; box-shadow: var(--shadow-blue); }
.project-dark { grid-column: 2 / -1; margin-top: 20px; color: var(--white); background: var(--ink); box-shadow: var(--shadow-orange); }
.project-layout {
  min-width: 0;
  min-height: 100%;
  display: grid;
}
.project-featured .project-layout { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); }
.project-dark .project-layout { grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr); }
.project-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #cbc5ba;
  border-bottom: 2px solid var(--ink);
}
.project-featured .project-media,
.project-dark .project-media { border-bottom: 0; border-right: 2px solid var(--ink); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0 73%, rgba(221, 255, 63, .18) 73% 100%);
  mix-blend-mode: screen;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}
.collage-orivia {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 3px;
  background: var(--ink);
}
.collage-qianling { position: relative; min-height: 410px; background: var(--acid); }
.collage-qianling img:first-child { position: absolute; inset: 0; }
.collage-qianling img:last-child {
  position: absolute;
  right: 4%;
  bottom: 5%;
  width: 43%;
  height: 44%;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
}
.commercial-cover { min-height: 410px; }
.commercial-cover img { object-position: center; }
.internship-cover { min-height: 440px; background: #8b1316; }
.project-info {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
}
.project-featured .project-info { padding: clamp(32px, 4vw, 52px); justify-content: center; }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
}
.project-meta span:first-child {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
}
.project-info h3 {
  margin: 24px 0 15px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.05;
}
.project-card:not(.project-featured) .project-info h3 { font-size: clamp(29px, 3vw, 42px); }
.project-info p { margin: 0 0 26px; color: var(--muted); }
.metric-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.metric-row span {
  padding: 7px 9px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--ink);
  font-size: 10px;
}
.metric-row span:nth-child(2) { background: var(--acid); }
.metric-row b { font-family: var(--font-display); font-size: 15px; }
.project-link {
  width: max-content;
  height: auto;
  margin-top: 28px;
  padding: 0 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.project-link i { display: inline-block; margin-left: 4px; color: var(--orange); font-style: normal; transition: transform .2s ease; }
.project-dark .project-info p,
.project-dark .project-meta { color: #aaa79d; }
.project-dark .metric-row span { color: var(--white); background: #2a2925; border-color: #55534c; }
.project-dark .metric-row span:nth-child(2) { color: var(--ink); background: var(--acid); border-color: var(--ink); }
.project-dark .project-meta span:first-child { background: var(--orange); }
.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 24px;
  align-items: stretch;
}
.skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.skill-groups article,
.method-card { position: relative; padding: clamp(24px, 3vw, 34px); border: 2px solid var(--ink); }
.skill-groups article { background: var(--paper-3); box-shadow: 7px 7px 0 var(--ink); }
.skill-groups article:nth-child(1) { background: var(--acid); }
.skill-groups article:nth-child(2) { color: var(--white); background: var(--blue); }
.skill-groups article:nth-child(3) { background: var(--orange); }
.skill-groups article:nth-child(4) { transform: rotate(1deg); }
.skill-groups h3 { margin: 0 0 20px; font-family: var(--font-display); font-size: 25px; line-height: 1.1; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud span {
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 253, 247, .86);
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 750;
}
.method-card { color: var(--white); background: var(--ink); box-shadow: 10px 10px 0 var(--blue); }
.method-card .eyebrow { color: #aaa79d; }
.method-card h3 {
  margin: 14px 0 32px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.08;
}
.method-card ol { margin: 0; padding: 0; list-style: none; }
.method-card li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #4a4943;
}
.method-card li b { color: var(--orange); font-size: 10px; }
.method-card li span { display: flex; flex-direction: column; }
.method-card li strong { font-size: 13px; }
.method-card li small { margin-top: 3px; color: #aaa79d; }

.contact { padding-bottom: 56px; }
.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(36px, 7vw, 86px);
  padding: clamp(34px, 6vw, 76px);
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--acid);
}
.contact-panel::before {
  content: "HELLO";
  position: absolute;
  right: -18px;
  top: -66px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(130px, 18vw, 250px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  pointer-events: none;
}
.eyebrow.light { color: #a5a299; }
.contact h2 {
  position: relative;
  margin: 20px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}
.contact-panel > div:first-child > p:last-of-type { max-width: 540px; color: #aaa79d; }
.contact-main-link {
  width: max-content;
  max-width: 100%;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--acid);
  border-bottom: 3px solid var(--orange);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
}
.contact-main-link span { color: var(--orange); transition: transform .2s ease; }
.contact-main-link:hover span { transform: translate(4px, -4px); }
.contact-links { position: relative; z-index: 1; display: grid; align-content: center; }
.contact-links > a:not(.button),
.contact-links > div:not(.download-row) {
  min-width: 0;
  padding: 17px 0;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #4b4a43;
}
.contact-links span { color: #929087; font-size: 8px; font-weight: 900; letter-spacing: .19em; }
.contact-links strong { margin-top: 4px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 25px); overflow-wrap: anywhere; }
.download-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button-light { color: var(--ink); background: var(--acid); border-color: var(--acid); box-shadow: 6px 6px 0 var(--orange); }
.button-outline-light { color: var(--white); background: transparent; border-color: #6d6a61; box-shadow: none; }
.site-footer {
  padding: 24px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.site-footer a { color: var(--ink); border-bottom: 2px solid var(--orange); }

.project-dialog {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 14px 14px 0 var(--orange);
}
.project-dialog[open] { animation: dialogIn .3s cubic-bezier(.2, .8, .2, 1) both; }
.project-dialog::backdrop { background: rgba(17, 17, 15, .8); backdrop-filter: blur(8px); }
.dialog-shell { position: relative; padding: clamp(24px, 5vw, 60px); }
.dialog-close {
  position: sticky;
  float: right;
  top: 12px;
  z-index: 5;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.dialog-heading { max-width: 780px; margin-bottom: 34px; }
.dialog-heading > span { color: var(--orange-deep); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.dialog-heading h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1;
}
.dialog-heading p { color: var(--muted); font-size: 16px; }
.dialog-gallery {
  display: grid;
  gap: 6px;
  margin: 0 0 34px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
}
.dialog-gallery img { width: 100%; height: 100%; object-fit: cover; background: #d0cabf; }
.dialog-gallery.two { grid-template-columns: 1fr 1fr; }
.dialog-gallery.two img { min-height: 390px; }
.dialog-gallery.one img { max-height: 660px; object-fit: contain; background: var(--white); }
.dialog-gallery.mosaic { grid-template-columns: 1.35fr .75fr .75fr; grid-template-rows: 220px 220px; }
.dialog-gallery.mosaic img:first-child { grid-row: 1 / 3; }
.dialog-gallery.mosaic img:nth-child(2) { grid-column: 2 / 4; }
.dialog-gallery.commercial-grid { grid-template-columns: 1.5fr repeat(3, .72fr); height: 430px; }
.dialog-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dialog-content.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dialog-content article { padding: 22px; background: var(--paper-3); border: 2px solid var(--ink); }
.dialog-content article:nth-child(2) { background: var(--acid); }
.dialog-content h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 18px; }
.dialog-content p { margin: 0; color: var(--muted); font-size: 13px; }
.dialog-content article:nth-child(2) p { color: #4c4b41; }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .8, .2, 1), filter .72s ease;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }
.project-card.reveal:nth-child(2) { transition-delay: .06s; }
.project-card.reveal:nth-child(3) { transition-delay: .12s; }
.project-card.reveal:nth-child(4) { transition-delay: .18s; }

@keyframes titleDraw {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes statusPulse { 50% { opacity: .45; transform: scale(.7); } }
@keyframes cueLine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(20px) scale(.985); } }

@media (hover: hover) and (pointer: fine) {
  .project-card:hover { transform: translate(-4px, -4px); box-shadow: 15px 15px 0 var(--ink); }
  .project-card:nth-child(3):hover { box-shadow: 15px 15px 0 var(--blue); }
  .project-dark:hover { box-shadow: 15px 15px 0 var(--orange); }
  .project-card:hover .project-media img { transform: scale(1.045); filter: saturate(1.08) contrast(1.03); }
  .project-card:hover .project-link i { transform: translate(4px, -4px); }
  .hero-visual:hover .portrait-frame img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }
}

@media (max-width: 1080px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-visual { grid-column: 8 / -1; }
  .hero h1 { font-size: clamp(56px, 7.2vw, 86px); }
  .skills-layout { grid-template-columns: 1fr; }
  .method-card ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 4px 0 0;
    z-index: 1;
    padding-top: calc(116px + env(safe-area-inset-top));
    padding-right: max(28px, calc((100vw - 720px) / 2), calc(20px + env(safe-area-inset-right)));
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
    padding-left: max(28px, calc((100vw - 720px) / 2), calc(20px + env(safe-area-inset-left)));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--white);
    background: var(--blue);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    pointer-events: none;
    transition: clip-path .42s cubic-bezier(.2, .8, .2, 1), visibility .42s;
  }
  body.menu-open .site-nav { clip-path: inset(0); visibility: visible; pointer-events: auto; }
  .site-nav::before {
    content: "NAVIGATION / 导航";
    position: absolute;
    left: max(28px, calc((100vw - 720px) / 2), calc(20px + env(safe-area-inset-left)));
    top: calc(94px + env(safe-area-inset-top));
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    letter-spacing: .2em;
  }
  .site-nav > a:not(.nav-cta) {
    min-height: 64px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(38px, 8vw, 70px);
    font-style: italic;
    letter-spacing: -.05em;
    line-height: 1;
  }
  .site-nav > a:not(.nav-cta)::before { bottom: 4px; height: 5px; background: var(--acid); }
  .site-nav a:focus-visible { outline-color: var(--acid); background: rgba(17, 17, 15, .28); }
  .site-nav .nav-cta { margin-top: 28px; color: var(--ink); background: var(--acid); box-shadow: 6px 6px 0 var(--orange); }
  .menu-toggle { position: relative; z-index: 3; display: block; }
  body.menu-open .menu-toggle { background: var(--orange); }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  body.menu-open .brand { position: relative; z-index: 3; color: var(--white); }
  .hero { padding-top: 120px; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-visual { grid-column: 8 / -1; }
  .hero-status { white-space: normal; }
  .section-heading { grid-template-columns: 62px minmax(0, 1fr); }
  .section-note { grid-column: 2; }
  .about-grid { grid-template-columns: 1fr; }
  .project-featured .project-layout,
  .project-dark .project-layout { grid-template-columns: 1fr; }
  .project-featured .project-media,
  .project-dark .project-media { border-right: 0; border-bottom: 2px solid var(--ink); }
  .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { background-size: 32px 32px; }
  .section-shell,
  .nav-shell { width: min(100% - 28px, var(--max)); }
  .nav-shell { min-height: 68px; }
  .brand-text { display: none; }
  .site-header.scrolled .nav-shell { min-height: 62px; }
  .hero {
    min-height: auto;
    padding-top: calc(106px + env(safe-area-inset-top));
    padding-bottom: 36px;
    grid-template-columns: 1fr;
    gap: 36px;
    overflow: clip;
  }
  .hero-display-name {
    inset: 108px 0 auto;
    flex-direction: column;
    align-items: flex-end;
    font-size: min(29vw, 128px);
    line-height: .68;
    -webkit-text-stroke-color: rgba(17, 17, 15, .13);
  }
  .hero-display-name span:first-child { align-self: flex-start; }
  .hero-orbit { width: 82vw; right: -30%; top: 22%; opacity: .6; }
  .hero-copy,
  .hero-visual,
  .stats-strip,
  .hero-ticker { grid-column: 1; }
  .hero-copy { padding-top: 70px; }
  .hero-status { margin-bottom: 22px; font-size: 8px; }
  .hero h1 { margin-top: 20px; font-size: clamp(50px, 14.8vw, 82px); line-height: .96; }
  .hero-intro { font-size: 14px; }
  .hero-visual { width: min(520px, 94%); margin: 8px auto 0; padding-right: 12px; }
  .hero-visual::after { right: -34px; }
  .portrait-frame { aspect-ratio: .82; }
  .portrait-frame img { object-position: 48% 22%; }
  .card-a { left: -10px; }
  .card-b { right: -9px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .stats-strip > div { min-height: 102px; border-right: 1px solid #484740; border-bottom: 1px solid #484740; }
  .stats-strip > div:nth-child(even) { border-right: 0; }
  .stats-strip > div:nth-child(n + 3) { border-bottom: 0; }
  .ticker-track { padding: 8px 0; }
  .about,
  .works,
  .skills,
  .contact { padding-top: 94px; }
  .section-heading { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; margin-bottom: 34px; }
  .section-index { min-height: 42px; }
  .section-heading h2 { font-size: clamp(43px, 13vw, 62px); }
  .section-note { font-size: 11px; }
  .about-lead,
  .experience-card { padding: 26px; transform: none; box-shadow: 8px 8px 0 var(--ink); }
  .about-lead { box-shadow: 8px 8px 0 var(--orange); }
  .experience-card { box-shadow: 8px 8px 0 var(--acid); }
  .experience-flow > div { grid-template-columns: 32px 1fr; }
  .experience-flow small { grid-column: 2; }
  .project-list { grid-template-columns: 1fr; gap: 22px; }
  .project-featured,
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-dark { grid-column: 1; margin-top: 0; }
  .project-card { box-shadow: 7px 7px 0 var(--ink); }
  .collage-orivia { min-height: 0; grid-template-columns: 1fr; }
  .collage-orivia img { height: auto; min-height: 220px; }
  .project-media,
  .collage-qianling,
  .commercial-cover,
  .internship-cover { min-height: 300px; }
  .project-info,
  .project-featured .project-info { padding: 25px; }
  .project-info h3,
  .project-card:not(.project-featured) .project-info h3 { font-size: clamp(31px, 9vw, 43px); }
  .skill-groups { grid-template-columns: 1fr; }
  .skill-groups article:nth-child(4) { transform: none; }
  .method-card ol { grid-template-columns: 1fr; }
  .contact { padding-bottom: 42px; }
  .contact-panel { padding: 28px 24px; gap: 28px; box-shadow: 8px 8px 0 var(--acid); }
  .contact h2 { font-size: clamp(44px, 13vw, 66px); }
  .contact-main-link { font-size: 24px; }
  .site-footer { flex-direction: column; gap: 8px; }
  .project-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); box-shadow: 7px 7px 0 var(--orange); }
  .dialog-shell { padding: 22px; }
  .dialog-gallery.two,
  .dialog-content,
  .dialog-content.four { grid-template-columns: 1fr; }
  .dialog-gallery.two img { min-height: 220px; }
  .dialog-gallery.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px 170px; }
  .dialog-gallery.mosaic img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .dialog-gallery.mosaic img:nth-child(2) { grid-column: 1 / 3; }
  .dialog-gallery.commercial-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .dialog-gallery.commercial-grid img { height: 250px; }
}

@media (max-width: 980px) and (max-height: 600px) {
  .site-nav {
    justify-content: flex-start;
    padding-top: calc(82px + env(safe-area-inset-top));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .site-nav::before { top: calc(68px + env(safe-area-inset-top)); }
  .site-nav > a:not(.nav-cta) { min-height: 48px; font-size: clamp(30px, 8vh, 48px); }
  .site-nav .nav-cta { margin-top: 14px; }
}

@media (max-width: 420px) {
  .hero-copy { padding-top: 60px; }
  .hero h1 { font-size: clamp(46px, 14.2vw, 60px); }
  .hero h1 span { box-shadow: 5px 5px 0 var(--blue); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .scroll-cue { margin-top: 26px; }
  .floating-card { padding: 9px 11px; }
  .card-b { display: none; }
  .hero-visual::after { display: none; }
  .stats-strip { box-shadow: 6px 6px 0 var(--orange); }
  .stats-strip > div { padding: 16px; }
  .metric-row span { width: 100%; }
  .experience-topline { flex-direction: column; gap: 4px; }
  .project-media,
  .collage-qianling,
  .commercial-cover,
  .internship-cover { min-height: 260px; }
  .download-row { display: grid; grid-template-columns: 1fr; }
  .dialog-heading h2 { font-size: 39px; }
  .dialog-gallery.commercial-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .ticker-track { animation: none; }
}