:root {
  --bg: #050505;
  --panel: #111111;
  --panel-soft: #171717;
  --text: #f4f0e8;
  --muted: #a39c91;
  --line: rgba(244, 240, 232, 0.14);
  --accent: #d8ff36;
  --hot: #ff533d;
  --cyan: #4ee4d8;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  background: var(--accent);
  color: #050505;
}

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

button {
  font: inherit;
}

.clip-row {
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

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

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 255, 54, 0.13), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 180ms ease;
}

body.has-pointer .cursor-light {
  opacity: 1;
}

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  background: rgba(5, 5, 5, 0.66);
  border-bottom: 1px solid rgba(244, 240, 232, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  pointer-events: none;
}

.brand,
.nav-links,
.nav-cta {
  position: relative;
  z-index: 11;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  height: 82px;
  pointer-events: auto;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

.nav-links {
  position: fixed;
  z-index: 12;
  top: 0;
  left: 50%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 46px);
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: auto;
}

.nav-links a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--accent);
}

.nav-cta {
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  flex: 0 0 auto;
  white-space: nowrap;
  pointer-events: auto;
}

.brand {
  flex: 0 0 auto;
}

.nav-links {
  flex: 0 1 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(18px, 4vw, 56px) 44px;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.02);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.22) 50%, rgba(5, 5, 5, 0.82)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.94), transparent 42%, rgba(5, 5, 5, 0.38));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1260px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 1120px;
}

h1 span {
  display: block;
  padding-bottom: 0.08em;
}

h1 span + span {
  margin-top: 0.04em;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(244, 240, 232, 0.78);
  font-size: clamp(18px, 2vw, 24px);
}

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

.primary-button,
.ghost-button,
.filter-button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--text);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button {
  background: var(--accent);
  border-color: var(--accent);
  color: #050505;
  font-weight: 800;
}

.ghost-button {
  background: rgba(244, 240, 232, 0.06);
  color: var(--text);
}

.primary-button:hover,
.primary-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
}

.hero-proof {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: 44px;
  width: min(480px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(244, 240, 232, 0.22);
  background: rgba(5, 5, 5, 0.34);
  backdrop-filter: blur(18px);
}

.hero-proof article {
  min-height: 104px;
  padding: 16px;
  border-right: 1px solid rgba(244, 240, 232, 0.16);
}

.hero-proof article:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1;
  white-space: nowrap;
}

.hero-proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #0a0a0a;
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 30px;
  padding: 20px 0;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  color: var(--text);
  font-size: clamp(24px, 5vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "/";
  margin-left: 30px;
  color: var(--accent);
}

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

.statement-section,
.work-section,
.clip-section,
.capability-section,
.process-section,
.experience-section,
.contact-section {
  padding: clamp(74px, 11vw, 150px) clamp(18px, 4vw, 56px);
}

.statement-section h2,
.section-head h2,
.capability-copy h2 {
  margin: 0;
  font-size: clamp(34px, 6.4vw, 92px);
  line-height: 1.14;
  letter-spacing: 0;
  max-width: 1280px;
}

.statement-section {
  position: relative;
  min-height: 0;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 255, 54, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(244, 240, 232, 0.045), transparent 42%),
    #050505;
}

.statement-section::before {
  content: "PROFILE";
  position: absolute;
  right: clamp(12px, 4vw, 56px);
  top: clamp(18px, 5vw, 68px);
  color: rgba(244, 240, 232, 0.035);
  font-size: clamp(92px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.78;
  pointer-events: none;
}

.profile-kicker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.14);
  padding-bottom: 18px;
}

.profile-kicker span {
  color: rgba(244, 240, 232, 0.5);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 460px);
  column-gap: clamp(30px, 6vw, 96px);
  row-gap: 18px;
  align-items: center;
  max-width: none;
}

.profile-hero > p,
.profile-hero > h2,
.profile-hero > span {
  grid-column: 1;
}

.profile-hero p {
  margin: 0;
  color: var(--accent);
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 900;
}

.statement-section h2 {
  max-width: 1060px;
  font-size: clamp(42px, 5.8vw, 92px);
  line-height: 1.02;
  text-wrap: balance;
}

.profile-hero > span {
  max-width: 760px;
  color: rgba(244, 240, 232, 0.72);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.7;
}

.profile-avatar {
  position: relative;
  top: clamp(14px, 2.5vw, 44px);
  left: clamp(-300px, -14vw, -90px);
  z-index: 2;
  grid-column: 2;
  grid-row: 2 / 4;
  width: 100%;
  margin: 0;
  align-self: start;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.profile-avatar::before {
  content: none;
}

.profile-avatar-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.profile-avatar-frame::after {
  content: none;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 4%;
  filter: contrast(1.03) saturate(0.96);
}

.profile-avatar figcaption {
  position: absolute;
  top: calc(100% + clamp(16px, 2vw, 28px));
  left: 50%;
  color: var(--accent);
  font-size: clamp(14px, 1.35vw, 22px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(216, 255, 54, 0.18);
  transform: translateX(-50%);
}

.profile-marquee {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-marquee a {
  border: 1px solid rgba(216, 255, 54, 0.38);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.profile-marquee a:hover,
.profile-marquee a:focus-visible {
  color: #050505;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.profile-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(244, 240, 232, 0.14);
  background: rgba(244, 240, 232, 0.14);
}

.profile-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(18px, 2vw, 28px);
  background: #080808;
}

.profile-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.profile-grid h3 {
  margin: auto 0 0;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.1;
}

.profile-grid p {
  margin: 0;
  color: rgba(244, 240, 232, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}

.featured-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}

.work-card {
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.34fr);
  align-items: stretch;
  grid-column: 1 / -1;
  scroll-margin-top: 100px;
}

@media (min-width: 981px) {
  [data-work-card="taigu"] .work-media,
  [data-work-card="illustration"] .work-media {
    justify-self: end;
  }
}

.work-card:nth-child(even) {
  grid-template-columns: minmax(320px, 0.34fr) minmax(0, 1fr);
}

.work-card:nth-child(even) .work-media {
  grid-column: 2;
}

.work-card:nth-child(even) .work-copy {
  grid-column: 1;
  grid-row: 1;
}

.work-card.is-portrait {
  grid-column: auto;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 0.54fr);
  min-height: 560px;
}

.work-card.is-portrait:nth-child(even) {
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 0.54fr);
}

.work-card.is-portrait:nth-child(even) .work-media,
.work-card.is-portrait:nth-child(even) .work-copy {
  grid-column: auto;
  grid-row: auto;
}

.work-card.is-portrait .work-media {
  aspect-ratio: 9 / 16;
  max-height: none;
  height: 100%;
  background: #050505;
}

.work-card.is-portrait .work-media video {
  object-fit: contain;
}

.work-card.is-portrait .work-copy {
  padding: clamp(18px, 2vw, 28px);
}

.work-card.is-portrait .work-copy h3 {
  font-size: clamp(26px, 2.4vw, 40px);
}

.work-card.is-portrait .work-copy p {
  font-size: 14px;
  line-height: 1.62;
}

.work-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: min(62vh, 720px);
  padding: 0;
  border: 0;
  background: #222;
  overflow: hidden;
}

.work-media.is-interactive {
  cursor: pointer;
}

.work-media.is-interactive:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.work-media video,
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.01);
  transition: transform 700ms ease;
}

.work-card:hover .work-media video,
.work-card:hover .work-media img {
  transform: scale(1.06);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.28), transparent 45%);
}

.work-copy {
  padding: clamp(20px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.work-index {
  color: var(--accent);
  font-size: 14px;
}

.work-copy h3 {
  margin: 0;
  font-size: clamp(28px, 2.75vw, 46px);
  line-height: 1.12;
  white-space: nowrap;
}

.work-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.work-details {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.work-details div {
  border-top: 1px solid rgba(244, 240, 232, 0.12);
  padding-top: 12px;
}

.work-details dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.work-details dd {
  margin: 0;
  color: rgba(244, 240, 232, 0.72);
  font-size: 13px;
  line-height: 1.58;
}

.work-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.work-stats span {
  border: 1px solid rgba(216, 255, 54, 0.38);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  padding: 6px 10px;
  font-size: 12px;
}

.work-open {
  width: fit-content;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 16px;
  cursor: pointer;
}

.work-open:hover,
.work-open:focus-visible {
  background: var(--accent);
  color: #050505;
}

.clip-section {
  background: #0d0d0d;
}

.clip-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-button {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--text);
  color: #050505;
}

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

.clip-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(220px, 0.8fr) 120px;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

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

.clip-row span,
.clip-row p {
  color: var(--muted);
}

.clip-row p {
  margin: 0;
}

.clip-row strong {
  display: block;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
}

.clip-number {
  color: var(--accent);
}

.clip-time {
  text-align: right;
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
}

.capability-copy {
  position: sticky;
  top: 110px;
}

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

.capability-item {
  border-bottom: 1px solid var(--line);
}

.capability-toggle {
  width: 100%;
  min-height: 94px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}

.capability-toggle span {
  color: var(--accent);
}

.capability-toggle strong {
  font-size: clamp(24px, 3vw, 44px);
}

.capability-toggle i {
  font-style: normal;
  font-size: 30px;
  color: var(--muted);
}

.capability-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.capability-body > div {
  overflow: hidden;
}

.capability-item.is-open .capability-body {
  grid-template-rows: 1fr;
}

.capability-body p {
  margin: 0;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

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

.process-card {
  min-height: 330px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-card span {
  color: var(--accent);
}

.process-card h3 {
  margin: auto 0 14px;
  font-size: clamp(24px, 3vw, 42px);
}

.process-card p {
  color: var(--muted);
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  padding: clamp(18px, 3vw, 42px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.visual-strip button {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.visual-strip button::after {
  content: "查看大图";
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(216, 255, 54, 0.58);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent);
  background: rgba(5, 5, 5, 0.72);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.visual-strip button:hover::after,
.visual-strip button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.visual-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 500ms ease;
}

.visual-strip button:hover img,
.visual-strip button:focus-visible img {
  transform: scale(1.035);
}

.experience-section {
  display: grid;
  gap: clamp(36px, 6vw, 82px);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.035), transparent 38%),
    #080808;
  border-bottom: 1px solid var(--line);
}

.experience-heading {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.experience-heading h2,
.contact-heading h2 {
  margin: 0;
  font-size: clamp(40px, 7vw, 108px);
  line-height: 1.12;
}

.experience-timeline {
  --timeline: var(--accent);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  min-height: 230px;
  padding: 28px 0 8px;
  isolation: isolate;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  height: 2px;
  background: linear-gradient(90deg, var(--timeline), rgba(216, 255, 54, 0.2));
  transform: translateY(-50%);
  z-index: 0;
}

.experience-timeline::after {
  content: "";
  position: absolute;
  right: 0;
  top: 82px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--timeline);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-template-rows: 46px 18px auto auto;
  align-items: start;
  justify-items: center;
  text-align: center;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.timeline-node::before {
  content: "";
  grid-row: 2;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--timeline);
  position: relative;
  box-shadow: 0 0 0 6px #080808;
  align-self: center;
}

.timeline-node::after {
  content: none;
}

.node-date {
  grid-row: 1;
  align-self: end;
  color: var(--timeline);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.timeline-node h3 {
  grid-row: 3;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.18;
  white-space: nowrap;
  text-align: center;
}

.timeline-node small {
  grid-row: 4;
  width: 100%;
  margin-top: 8px;
  color: rgba(244, 240, 232, 0.6);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-section {
  min-height: 76vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(216, 255, 54, 0.1), transparent 36%),
    linear-gradient(0deg, rgba(244, 240, 232, 0.035), transparent 1px),
    #050505;
}

.contact-inner {
  width: 100%;
}

.contact-heading {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-bottom: clamp(42px, 7vw, 94px);
  text-align: right;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.5fr;
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: 0;
}

.contact-grid a,
.contact-grid div {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 28px);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background: rgba(244, 240, 232, 0.035);
}

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

.contact-grid a[data-copy-value] {
  cursor: copy;
}

.contact-grid a[data-copy-value]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.contact-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.contact-grid strong {
  color: var(--text);
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.copy-hint {
  position: absolute;
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(16px, 1.8vw, 24px);
  color: rgba(244, 240, 232, 0.56);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(4px);
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact-grid a:hover .copy-hint,
.contact-grid a:focus-visible .copy-hint,
.contact-grid a.is-copied .copy-hint {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid a.is-copied {
  border-color: var(--accent);
}

.contact-grid a.is-copied .copy-hint {
  color: var(--accent);
}

.back-to-top {
  position: fixed;
  z-index: 25;
  right: clamp(8px, 1.4vw, 20px);
  bottom: clamp(12px, 2vw, 24px);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 240, 232, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(5, 5, 5, 0.56);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.back-to-top.is-visible {
  opacity: 0.78;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
  color: #050505;
  border-color: var(--accent);
  background: var(--accent);
  opacity: 1;
  outline: none;
  transform: translateY(-3px) scale(1.04);
}

.back-to-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: clamp(14px, 4vh, 34px);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
}

.modal-panel {
  width: min(920px, calc(100vw - 48px));
  height: min(82vh, 760px);
  max-height: min(82vh, 760px);
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.72fr);
  position: relative;
}

.modal-media {
  background: #000;
  min-width: 0;
  min-height: 0;
  position: relative;
}

.modal-media video,
.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: min(82vh, 760px);
  object-fit: contain;
  background: #000;
}

.modal-media img[data-large-preview] {
  cursor: zoom-in;
}

.modal-media video {
  transition: opacity 160ms ease;
}

.modal-media.is-seeking-start video {
  opacity: 0;
}

.modal-copy {
  min-width: 0;
  min-height: 0;
  max-height: min(82vh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(22px, 3vw, 34px);
}

.work-modal.is-image-preview .modal-panel {
  width: min(1180px, calc(100vw - 48px));
  grid-template-columns: 1fr;
}

.work-modal.is-image-preview .modal-copy {
  display: none;
}

.work-modal.is-image-preview .modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(244, 240, 232, 0.22);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.5);
  color: var(--text);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.preview-prev {
  left: 18px;
}

.preview-next {
  right: 18px;
}

.preview-nav:hover,
.preview-nav:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(5, 5, 5, 0.72);
}

.modal-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.08;
}

.modal-copy p {
  color: var(--muted);
}

#modalText {
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.62;
}

#modalText strong {
  color: var(--accent);
  font-size: 13px;
  margin-top: 4px;
}

#modalText span {
  color: rgba(244, 240, 232, 0.74);
}

.episode-picker,
.gallery-picker {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 240, 232, 0.14);
}

.episode-picker > strong,
.gallery-picker > strong {
  color: var(--accent);
  font-size: 13px;
}

.episode-picker > div,
.gallery-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.episode-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 7px 12px;
  cursor: pointer;
}

.episode-button:hover,
.episode-button:focus-visible,
.episode-button.is-active {
  border-color: var(--accent);
  color: #050505;
  background: var(--accent);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.72);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

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

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero-proof {
    left: clamp(18px, 4vw, 56px);
    right: auto;
    bottom: 24px;
  }

  .capability-section,
  .experience-section,
  .modal-panel {
    height: auto;
    max-height: calc(100vh - 32px);
    overflow: auto;
    grid-template-columns: 1fr;
  }

  .statement-section {
    gap: 28px;
  }

  .profile-hero {
    grid-template-columns: minmax(0, 1fr) clamp(92px, 24vw, 220px);
    column-gap: clamp(14px, 4vw, 40px);
  }

  .profile-avatar {
    top: clamp(8px, 2vw, 18px);
    left: 0;
    gap: 0;
  }

  .profile-avatar figcaption {
    top: calc(100% + clamp(7px, 1.8vw, 14px));
    font-size: clamp(8px, 1.8vw, 14px);
  }

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

  .profile-grid article {
    min-height: 170px;
  }

  .statement-section h2 {
    font-size: clamp(34px, 7vw, 60px);
    line-height: 1.14;
  }

  .modal-copy {
    max-height: none;
    overflow: visible;
  }

  .capability-copy {
    position: static;
  }

  .experience-heading {
    align-items: start;
  }

  .experience-timeline {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 18px;
    min-height: 220px;
    overflow-x: auto;
    width: calc(100vw - 48px);
    min-width: 820px;
    padding: 28px 10px 6px;
  }

  .featured-work {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card:nth-child(even),
  .work-card.is-portrait,
  .work-card.is-portrait:nth-child(even) {
    grid-template-columns: 1fr;
    grid-column: 1;
    min-height: 0;
  }

  .work-card:nth-child(even) .work-media,
  .work-card:nth-child(even) .work-copy,
  .work-card.is-portrait:nth-child(even) .work-media,
  .work-card.is-portrait:nth-child(even) .work-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .work-media {
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .work-card.is-portrait .work-media {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 9 / 16;
    justify-self: center;
  }

  .work-copy h3 {
    font-size: clamp(28px, 6vw, 48px);
    white-space: nowrap;
  }

  .clip-row {
    grid-template-columns: 44px 1fr;
    padding: 18px 0;
  }

  .clip-row p,
  .clip-time {
    grid-column: 2;
    text-align: left;
  }

  .process-grid,
  .visual-strip,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head h2,
  .capability-copy h2 {
    font-size: clamp(34px, 8vw, 70px);
    line-height: 1.16;
  }

  .modal-media video,
  .modal-media img {
    min-height: 0;
    max-height: 48vh;
  }
}

.visual-marquee {
  --visual-marquee-gap: clamp(32px, 3vw, 52px);
  width: 100%;
  margin: clamp(44px, 7vw, 92px) 0 clamp(28px, 4vw, 56px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.visual-marquee-track {
  width: max-content;
  display: flex;
  gap: var(--visual-marquee-gap);
  padding: clamp(18px, 2.4vw, 34px) 0;
  animation: illustration-marquee 28s linear infinite;
  will-change: transform;
}

.visual-marquee:hover .visual-marquee-track,
.visual-marquee:focus-within .visual-marquee-track {
  animation-play-state: paused;
}

.visual-marquee button {
  position: relative;
  flex: 0 0 clamp(150px, 15.5vw, 260px);
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
  overflow: visible;
}

.visual-marquee button::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: calc(var(--visual-marquee-gap) / -2);
  width: clamp(10px, 1vw, 16px);
  height: clamp(10px, 1vw, 16px);
  border: clamp(2px, 0.16vw, 3px) solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(216, 255, 54, 0.36);
  transform: translate(50%, -50%);
  pointer-events: none;
}

.visual-marquee button:nth-child(even)::before {
  background: transparent;
}

.visual-marquee button::after {
  content: "查看大图";
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(216, 255, 54, 0.58);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent);
  background: rgba(5, 5, 5, 0.72);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.visual-marquee button:hover::after,
.visual-marquee button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.visual-marquee img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 500ms ease;
}

.visual-marquee button:hover img,
.visual-marquee button:focus-visible img {
  transform: scale(1.025);
}

.illustration-work {
  margin-top: 0;
}

.illustration-work .work-media {
  width: 100%;
  max-width: 100%;
}

.gallery-picker:has([data-collection-index]:only-child) {
  display: none;
}

@media (min-width: 981px) {
  .illustration-work .work-card {
    grid-column: 1 / -1;
  }

  .illustration-work .work-card:nth-child(odd) {
    grid-template-columns: minmax(320px, 0.34fr) minmax(0, 1fr);
  }

  .illustration-work .work-card:nth-child(odd) .work-media {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .illustration-work .work-card:nth-child(odd) .work-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .illustration-work .work-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.34fr);
  }

  .illustration-work .work-card:nth-child(even) .work-media {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .illustration-work .work-card:nth-child(even) .work-copy {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 980px) {
  .visual-marquee {
    --visual-marquee-gap: clamp(18px, 4vw, 28px);
    margin: clamp(24px, 6vw, 52px) 0 clamp(18px, 4vw, 34px);
  }

  .visual-marquee-track {
    padding: clamp(8px, 2vw, 16px) 0;
    animation-duration: 26s;
  }

  .visual-marquee button {
    flex-basis: clamp(90px, 22vw, 180px);
  }

  .visual-marquee button::before {
    width: clamp(7px, 1.8vw, 11px);
    height: clamp(7px, 1.8vw, 11px);
    border-width: clamp(1px, 0.4vw, 2px);
  }

  .visual-marquee button::after {
    right: 6px;
    bottom: 6px;
    padding: 3px 6px;
    font-size: clamp(6px, 1.4vw, 10px);
  }

  .illustration-work .work-card {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .illustration-work .work-card:nth-child(odd) {
    grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  }

  .illustration-work .work-card:nth-child(odd) .work-media {
    grid-column: 2;
    grid-row: 1;
  }

  .illustration-work .work-card:nth-child(odd) .work-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .illustration-work .work-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.34fr);
  }

  .illustration-work .work-card:nth-child(even) .work-media {
    grid-column: 1;
    grid-row: 1;
  }

  .illustration-work .work-card:nth-child(even) .work-copy {
    grid-column: 2;
    grid-row: 1;
  }
}

@keyframes illustration-marquee {
  to {
    transform: translateX(calc(-50% - var(--visual-marquee-gap) / 2));
  }
}

@media (max-width: 640px) {
  .back-to-top {
    right: 7px;
    bottom: 10px;
    width: 42px;
    height: 42px;
  }

  .back-to-top svg {
    width: 19px;
    height: 19px;
  }

  .site-nav {
    height: 70px;
    padding: 0 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 840px;
    padding: 100px 16px 24px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 72px);
    line-height: 1.12;
  }

  .section-head h2,
  .capability-copy h2 {
    font-size: clamp(32px, 10vw, 52px);
    line-height: 1.18;
  }

  .statement-section h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .profile-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-hero {
    grid-template-columns: minmax(0, 1fr) clamp(88px, 25vw, 132px);
    column-gap: clamp(10px, 3vw, 18px);
    row-gap: 14px;
  }

  .profile-avatar-frame {
    padding: 0;
    box-shadow: none;
  }

  .profile-avatar-frame::after {
    content: none;
  }

  .profile-avatar figcaption {
    font-size: clamp(7px, 1.75vw, 11px);
    letter-spacing: 0;
  }

  .profile-hero > span {
    font-size: 16px;
  }

  .profile-grid article {
    min-height: 158px;
  }

  .hero-proof {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .hero-proof article {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 240, 232, 0.16);
  }

  .hero-proof article:last-child {
    border-bottom: 0;
  }

  .statement-section,
  .work-section,
  .clip-section,
  .capability-section,
  .process-section,
  .experience-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .work-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-copy h3 {
    font-size: clamp(24px, 8vw, 38px);
    white-space: nowrap;
  }

  .process-grid,
  .visual-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .work-modal {
    padding: 12px;
  }

  .modal-panel {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 24px);
    overflow: auto;
    grid-template-columns: 1fr;
  }

  .modal-media video,
  .modal-media img {
    max-height: 48vh;
  }

  .modal-copy {
    max-height: none;
    overflow: visible;
    padding: 20px;
  }

  .modal-copy h2 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .experience-heading {
    display: block;
  }

  .experience-timeline {
    min-height: 220px;
    min-width: 760px;
    width: 760px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 28px 18px 6px;
  }

  .timeline-node h3 {
    font-size: 20px;
  }

  .visual-strip img {
    height: auto;
  }
}

/*
 * 手机端保留桌面版的视觉框架：不裁切、不横向溢出，只等比例收紧字号、
 * 间距和卡片尺寸。此覆盖块放在最后，统一接管原有的手机分栏规则。
 */
@media (max-width: 980px) {
  html {
    scroll-padding-top: clamp(58px, 8vw, 72px);
  }

  .site-nav {
    height: clamp(52px, 8vw, 70px);
    padding: 0 clamp(8px, 2vw, 22px);
    display: flex;
    gap: clamp(5px, 1.3vw, 16px);
  }

  .brand {
    height: clamp(52px, 8vw, 70px);
    gap: clamp(4px, 1vw, 9px);
    font-size: clamp(8px, 1.6vw, 13px);
  }

  .brand-symbol {
    width: clamp(28px, 5vw, 38px);
    height: clamp(28px, 5vw, 38px);
    font-size: clamp(8px, 1.3vw, 11px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 50%;
    width: auto;
    height: clamp(52px, 8vw, 70px);
    display: flex;
    justify-content: center;
    gap: clamp(6px, 2vw, 18px);
    overflow: visible;
    transform: translateX(-50%);
    font-size: clamp(8px, 1.5vw, 12px);
  }

  .nav-links a {
    min-height: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-cta {
    display: inline-flex;
    font-size: clamp(7px, 1.35vw, 11px);
  }

  .hero {
    min-height: 100vh;
    padding: clamp(76px, 12vw, 112px) clamp(10px, 3vw, 28px) clamp(18px, 4vw, 36px);
  }

  .hero-content {
    width: 70%;
  }

  h1 {
    font-size: clamp(38px, 10vw, 82px);
  }

  .hero-copy {
    margin-top: clamp(12px, 3vw, 24px);
    font-size: clamp(9px, 2.1vw, 18px);
  }

  .hero-actions {
    gap: clamp(5px, 1.3vw, 10px);
    margin-top: clamp(14px, 3vw, 28px);
  }

  .primary-button,
  .ghost-button,
  .filter-button {
    min-height: clamp(24px, 5vw, 38px);
    padding: clamp(4px, 1vw, 8px) clamp(7px, 1.8vw, 14px);
    font-size: clamp(7px, 1.6vw, 12px);
  }

  .hero-proof {
    left: auto;
    right: clamp(10px, 3vw, 28px);
    bottom: clamp(18px, 4vw, 36px);
    width: min(42vw, 320px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof article {
    min-height: clamp(52px, 12vw, 92px);
    padding: clamp(5px, 1.4vw, 12px);
    border-right: 1px solid rgba(244, 240, 232, 0.16);
    border-bottom: 0;
  }

  .hero-proof article:last-child {
    border-right: 0;
  }

  .hero-proof strong {
    font-size: clamp(9px, 2.5vw, 22px);
  }

  .hero-proof span {
    margin-top: clamp(4px, 1vw, 8px);
    font-size: clamp(6px, 1.35vw, 10px);
  }

  .statement-section,
  .work-section,
  .clip-section,
  .capability-section,
  .process-section,
  .experience-section,
  .contact-section {
    padding: clamp(38px, 9vw, 90px) clamp(10px, 3vw, 28px);
  }

  .statement-section h2,
  .section-head h2,
  .capability-copy h2 {
    font-size: clamp(25px, 7vw, 58px);
  }

  .statement-section h2 {
    font-size: clamp(26px, 7.4vw, 62px);
  }

  .profile-kicker {
    flex-direction: row;
    gap: 8px;
    padding-bottom: clamp(8px, 2vw, 16px);
  }

  .profile-kicker span {
    font-size: clamp(6px, 1.35vw, 10px);
  }

  .profile-hero > span {
    font-size: clamp(9px, 2vw, 17px);
  }

  .profile-marquee {
    gap: clamp(4px, 1vw, 8px);
  }

  .profile-marquee a,
  .tag,
  .work-stats span {
    padding: clamp(3px, 0.8vw, 6px) clamp(5px, 1.2vw, 9px);
    font-size: clamp(6px, 1.3vw, 10px);
  }

  .profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-grid article {
    min-height: clamp(118px, 25vw, 200px);
    gap: clamp(9px, 2vw, 18px);
    padding: clamp(8px, 2vw, 20px);
  }

  .profile-grid h3 {
    font-size: clamp(12px, 3vw, 26px);
  }

  .profile-grid p {
    font-size: clamp(6px, 1.45vw, 11px);
    line-height: 1.55;
  }

  .section-head {
    flex-direction: row;
    align-items: end;
    gap: clamp(8px, 2vw, 20px);
    margin-bottom: clamp(18px, 4vw, 34px);
  }

  .featured-work {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(7px, 1.8vw, 18px);
  }

  .work-card,
  .work-card:nth-child(even) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.34fr);
    min-height: 0;
  }

  .work-card:nth-child(even) {
    grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  }

  .work-card:nth-child(even) .work-media {
    grid-column: 2;
  }

  .work-card:nth-child(even) .work-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .work-card.is-portrait,
  .work-card.is-portrait:nth-child(even) {
    grid-column: auto;
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  }

  .work-card.is-portrait:nth-child(even) .work-media,
  .work-card.is-portrait:nth-child(even) .work-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .work-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-card.is-portrait .work-media {
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
  }

  .work-copy,
  .work-card.is-portrait .work-copy {
    padding: clamp(7px, 1.8vw, 18px);
    gap: clamp(7px, 1.7vw, 16px);
  }

  .work-copy h3,
  .work-card.is-portrait .work-copy h3 {
    font-size: clamp(12px, 3.3vw, 28px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .work-copy p,
  .work-card.is-portrait .work-copy p,
  .work-details dd {
    font-size: clamp(6px, 1.45vw, 11px);
    line-height: 1.5;
  }

  .work-details {
    gap: clamp(5px, 1.2vw, 10px);
    margin: clamp(7px, 1.8vw, 14px) 0;
  }

  .work-details div {
    padding-top: clamp(5px, 1.2vw, 10px);
  }

  .work-details dt,
  .work-index {
    font-size: clamp(6px, 1.3vw, 10px);
  }

  .work-open {
    min-height: clamp(24px, 5vw, 38px);
    padding: clamp(4px, 1vw, 8px) clamp(7px, 1.8vw, 14px);
    font-size: clamp(7px, 1.5vw, 11px);
  }

  .clip-filter {
    gap: clamp(4px, 1vw, 8px);
    margin-bottom: clamp(12px, 3vw, 22px);
  }

  .clip-row {
    grid-template-columns: clamp(24px, 6vw, 50px) minmax(0, 1.1fr) minmax(84px, 0.8fr) clamp(42px, 10vw, 86px);
    gap: clamp(4px, 1.4vw, 13px);
    min-height: clamp(64px, 15vw, 108px);
    padding: 0;
  }

  .clip-row p,
  .clip-time {
    grid-column: auto;
    text-align: left;
    font-size: clamp(6px, 1.45vw, 11px);
  }

  .clip-time {
    text-align: right;
  }

  .clip-row strong {
    font-size: clamp(10px, 2.4vw, 20px);
  }

  .capability-section,
  .experience-section {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .capability-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
    gap: clamp(16px, 5vw, 52px);
  }

  .capability-toggle {
    min-height: clamp(56px, 13vw, 90px);
    padding: clamp(10px, 2.5vw, 21px) 0;
    gap: 8px;
  }

  .capability-toggle strong {
    font-size: clamp(13px, 3.2vw, 27px);
  }

  .capability-toggle i {
    font-size: clamp(16px, 4vw, 28px);
  }

  .capability-body p {
    padding-bottom: clamp(12px, 3vw, 24px);
    font-size: clamp(7px, 1.65vw, 13px);
  }

  .process-grid,
  .visual-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-grid {
    gap: clamp(5px, 1.2vw, 12px);
  }

  .process-card {
    min-height: clamp(150px, 34vw, 280px);
    padding: clamp(7px, 1.8vw, 18px);
  }

  .process-card h3 {
    margin-bottom: clamp(6px, 1.4vw, 12px);
    font-size: clamp(11px, 2.8vw, 24px);
  }

  .process-card p {
    font-size: clamp(6px, 1.4vw, 11px);
    line-height: 1.5;
  }

  .visual-strip {
    gap: clamp(5px, 1.4vw, 12px);
    padding: clamp(8px, 2vw, 20px);
  }

  .experience-heading {
    display: flex;
    align-items: end;
  }

  .experience-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(5px, 1.4vw, 15px);
    min-height: clamp(142px, 32vw, 210px);
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: clamp(10px, 2.5vw, 22px) 0 4px;
    overflow: visible;
  }

  .experience-timeline::before,
  .experience-timeline::after {
    top: clamp(42px, 10vw, 72px);
  }

  .timeline-node {
    grid-template-rows: clamp(22px, 5vw, 40px) clamp(10px, 2.4vw, 16px) auto auto;
  }

  .timeline-node::before {
    width: clamp(7px, 1.6vw, 11px);
    height: clamp(7px, 1.6vw, 11px);
    box-shadow: 0 0 0 clamp(3px, 0.8vw, 5px) #080808;
  }

  .node-date {
    font-size: clamp(6px, 1.4vw, 11px);
    white-space: nowrap;
  }

  .timeline-node h3 {
    margin-top: clamp(9px, 2.2vw, 18px);
    font-size: clamp(8px, 2.1vw, 17px);
    white-space: normal;
  }

  .timeline-node small {
    margin-top: clamp(4px, 1vw, 7px);
    font-size: clamp(5px, 1.2vw, 9px);
    white-space: normal;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr 1.5fr;
    gap: clamp(5px, 1.3vw, 12px);
  }

  .contact-grid a,
  .contact-grid div {
    min-height: clamp(82px, 20vw, 138px);
    padding: clamp(8px, 2vw, 20px);
    gap: clamp(12px, 3vw, 24px);
  }

  .contact-grid span {
    font-size: clamp(6px, 1.3vw, 10px);
  }

  .contact-grid strong {
    font-size: clamp(9px, 2.2vw, 18px);
  }

  .modal-panel {
    width: calc(100vw - 16px);
    height: min(82vh, 760px);
    max-height: min(82vh, 760px);
    overflow: hidden;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.72fr);
  }

  .modal-media video,
  .modal-media img {
    max-height: min(82vh, 760px);
  }

  .modal-copy {
    max-height: min(82vh, 760px);
    overflow: auto;
    padding: clamp(10px, 2.5vw, 22px);
  }

  .modal-copy h2 {
    font-size: clamp(14px, 3.7vw, 30px);
  }

  #modalText,
  .modal-copy p {
    font-size: clamp(6px, 1.45vw, 11px);
  }

  .episode-button {
    min-height: clamp(24px, 5vw, 32px);
    padding: clamp(4px, 1vw, 6px) clamp(6px, 1.5vw, 10px);
    font-size: clamp(6px, 1.4vw, 10px);
  }

  .modal-close {
    top: 8px;
    right: 8px;
    width: clamp(30px, 7vw, 40px);
    height: clamp(30px, 7vw, 40px);
    font-size: clamp(17px, 4vw, 22px);
  }
}

/* Keep the desktop composition on small screens without cropping media. */
@media (max-width: 980px) {
  .hero-video {
    object-fit: contain;
    object-position: center;
    transform: none;
    background: #050505;
  }

  .work-media,
  .work-card.is-portrait .work-media {
    height: auto;
    min-height: 0;
    max-height: none;
    align-self: center;
    justify-self: stretch;
  }

  .work-media {
    aspect-ratio: 16 / 9;
  }

  .work-card.is-portrait .work-media {
    aspect-ratio: 9 / 16;
  }

  .work-media video,
  .work-media img,
  .work-card.is-portrait .work-media video,
  .visual-strip img,
  .visual-marquee img {
    object-fit: contain;
    object-position: center;
    transform: none;
    background: #050505;
  }

  .work-card:hover .work-media video,
  .work-card:hover .work-media img,
  .visual-strip button:hover img,
  .visual-strip button:focus-visible img,
  .visual-marquee button:hover img,
  .visual-marquee button:focus-visible img {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    display: block;
    min-height: 0;
    padding-top: calc(clamp(52px, 8vw, 70px) + 56.25vw + clamp(16px, 4vw, 24px));
  }

  .hero-video {
    top: clamp(52px, 8vw, 70px);
    bottom: auto;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-content {
    width: 100%;
  }

  .hero-proof {
    position: static;
    width: 100%;
    margin-top: clamp(18px, 5vw, 28px);
  }

  .featured-work {
    grid-template-columns: 1fr;
  }

  .featured-work > .work-card:not(.is-portrait) {
    grid-template-columns: minmax(0, 0.58fr) minmax(135px, 0.42fr);
  }

  .featured-work > .work-card:not(.is-portrait):nth-child(even) {
    grid-template-columns: minmax(135px, 0.42fr) minmax(0, 0.58fr);
  }

  .work-card.is-portrait,
  .work-card.is-portrait:nth-child(even) {
    grid-column: 1 / -1;
  }

  .work-card,
  .work-card:nth-child(even),
  .work-card.is-portrait,
  .work-card.is-portrait:nth-child(even) {
    align-items: stretch;
  }

  .work-media {
    align-self: stretch;
    height: 100%;
    aspect-ratio: auto;
  }

  .work-card.is-portrait .work-media {
    align-self: stretch;
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .illustration-work .work-card:nth-child(odd) {
    grid-template-columns: minmax(135px, 0.42fr) minmax(0, 0.58fr);
  }

  .illustration-work .work-card:nth-child(even) {
    grid-template-columns: minmax(0, 0.58fr) minmax(135px, 0.42fr);
  }

  .work-copy,
  .work-card.is-portrait .work-copy {
    align-self: stretch;
    height: 100%;
    justify-content: flex-start;
    padding: clamp(5px, 1.4vw, 8px);
    gap: clamp(4px, 1.2vw, 7px);
  }

  .work-copy .eyebrow {
    margin-bottom: clamp(2px, 0.7vw, 4px);
    font-size: clamp(5.5px, 1.55vw, 7px);
  }

  .work-copy h3,
  .work-card.is-portrait .work-copy h3 {
    font-size: clamp(10px, 2.8vw, 13px);
    line-height: 1.08;
  }

  .work-copy p,
  .work-card.is-portrait .work-copy p,
  .work-details dd {
    font-size: clamp(6.2px, 1.75vw, 8px);
    line-height: 1.35;
  }

  .work-details {
    gap: clamp(2px, 0.6vw, 4px);
    margin: clamp(3px, 0.9vw, 6px) 0;
  }

  .work-details div {
    padding-top: clamp(2px, 0.7vw, 4px);
  }

  .work-details dt,
  .work-index {
    margin-bottom: 2px;
    font-size: clamp(5.5px, 1.55vw, 7px);
  }

  .work-stats {
    gap: 3px;
    margin-bottom: clamp(3px, 0.8vw, 5px);
  }

  .work-stats span,
  .tag {
    padding: 2px 4px;
    font-size: clamp(5px, 1.4vw, 6.5px);
  }

  .tag-row {
    gap: 3px;
  }

  .work-open {
    min-height: clamp(17px, 4.5vw, 22px);
    padding: 3px 6px;
    font-size: clamp(5.5px, 1.55vw, 7px);
  }

  .work-card.is-portrait .work-copy h3 {
    font-size: clamp(11px, 3.1vw, 14px);
  }

  .work-card.is-portrait .work-copy p,
  .work-card.is-portrait .work-details dd {
    font-size: clamp(6.8px, 1.9vw, 8.5px);
  }
}

/* Mobile: keep the desktop-style hero overlay and stack landscape projects. */
@media (max-width: 640px) {
  .hero {
    display: flex;
    min-height: 100svh;
    align-items: flex-end;
    padding: clamp(78px, 20vw, 96px) 12px clamp(100px, 26vw, 126px);
  }

  .hero-video {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.28) 70%, rgba(5, 5, 5, 0.48)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.18) 62%, rgba(5, 5, 5, 0.5));
  }

  .hero-content {
    width: 100%;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.86);
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.06;
  }

  .hero-copy {
    max-width: 92%;
    margin-top: 14px;
    font-size: clamp(10px, 2.8vw, 13px);
    line-height: 1.6;
  }

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

  .hero-proof {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof article {
    min-height: 68px;
    padding: 8px;
    border-right: 1px solid rgba(244, 240, 232, 0.16);
    border-bottom: 0;
  }

  .hero-proof strong {
    font-size: clamp(12px, 3.4vw, 16px);
  }

  .hero-proof span {
    margin-top: 5px;
    font-size: clamp(6px, 1.7vw, 8px);
  }

  .featured-work > .work-card:not(.is-portrait),
  .featured-work > .work-card:not(.is-portrait):nth-child(even),
  .illustration-work .work-card:nth-child(odd),
  .illustration-work .work-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .work-card:not(.is-portrait) .work-media,
  .work-card:not(.is-portrait):nth-child(even) .work-media,
  .illustration-work .work-card:nth-child(odd) .work-media,
  .illustration-work .work-card:nth-child(even) .work-media {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .work-card:not(.is-portrait) .work-copy,
  .work-card:not(.is-portrait):nth-child(even) .work-copy,
  .illustration-work .work-card:nth-child(odd) .work-copy,
  .illustration-work .work-card:nth-child(even) .work-copy {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    height: auto;
    padding: 0;
    gap: 0;
  }

  .work-card:not(.is-portrait) .work-copy-body {
    display: contents;
  }

  .work-card:not(.is-portrait) .work-copy-head,
  .work-card:not(.is-portrait) .work-summary,
  .work-card:not(.is-portrait) .work-details > div {
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 8px 7px;
    border-left: 1px solid rgba(244, 240, 232, 0.12);
    overflow-wrap: anywhere;
  }

  .work-card:not(.is-portrait) .work-copy-head {
    border-left: 0;
  }

  .work-card:not(.is-portrait) .work-details {
    display: contents;
  }

  .work-card:not(.is-portrait) .work-details > div {
    border-top: 0;
  }

  .work-card:not(.is-portrait) .work-copy h3 {
    font-size: clamp(10px, 2.8vw, 13px);
  }

  .work-card:not(.is-portrait) .work-summary,
  .work-card:not(.is-portrait) .work-details dd {
    font-size: clamp(6px, 1.65vw, 7.5px);
    line-height: 1.45;
  }

  .work-card:not(.is-portrait) .work-stats,
  .work-card:not(.is-portrait) .work-actions {
    grid-column: 1 / -1;
    margin: 0;
    padding: 7px;
    border-top: 1px solid rgba(244, 240, 232, 0.12);
  }

  .work-card:not(.is-portrait) .work-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .work-card:not(.is-portrait) .work-actions .tag-row {
    flex: 1;
  }

  .work-card:not(.is-portrait) .work-actions .work-open {
    flex: 0 0 auto;
  }
}

/* Phone and tablet hero: place every text element directly on the image. */
@media (max-width: 980px) {
  .hero {
    display: block;
    min-height: 0;
    height: auto;
    aspect-ratio: 39 / 20;
    margin-block: clamp(10px, 2.6vw, 18px) clamp(20px, 4.6vw, 32px);
    padding: 0;
    overflow: hidden;
  }

  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.84), rgba(5, 5, 5, 0.2) 62%, rgba(5, 5, 5, 0.38)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.88), transparent 70%);
  }

  .hero-content {
    position: absolute;
    z-index: 2;
    left: clamp(10px, 3vw, 26px);
    bottom: clamp(10px, 3vw, 24px);
    width: min(60%, 570px);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  }

  .hero-content .eyebrow {
    margin-bottom: clamp(4px, 1vw, 10px);
    font-size: clamp(6px, 1.4vw, 12px);
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(26px, 7vw, 68px);
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: clamp(5px, 1.3vw, 12px);
    font-size: clamp(6px, 1.55vw, 14px);
    line-height: 1.42;
  }

  .hero-actions {
    gap: clamp(4px, 1vw, 9px);
    margin-top: clamp(6px, 1.5vw, 14px);
  }

  .hero-actions .primary-button,
  .hero-actions .ghost-button {
    min-height: clamp(20px, 3.8vw, 34px);
    padding: clamp(3px, 0.7vw, 7px) clamp(7px, 1.4vw, 13px);
    font-size: clamp(6px, 1.35vw, 11px);
  }

  .hero-proof {
    position: absolute;
    z-index: 2;
    right: clamp(10px, 3vw, 26px);
    bottom: clamp(10px, 3vw, 24px);
    left: auto;
    width: min(29%, 260px);
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: rgba(5, 5, 5, 0.42);
    backdrop-filter: blur(10px);
  }

  .hero-proof article {
    min-height: clamp(36px, 7vw, 64px);
    padding: clamp(3px, 0.8vw, 7px);
    border-right: 1px solid rgba(244, 240, 232, 0.16);
    border-bottom: 0;
  }

  .hero-proof strong {
    font-size: clamp(7px, 1.65vw, 14px);
  }

  .hero-proof span {
    margin-top: clamp(1px, 0.45vw, 4px);
    font-size: clamp(4px, 0.82vw, 7px);
    line-height: 1.25;
  }

  .marquee-track {
    gap: 14px;
    padding: 14px 0;
  }

  .marquee-track span {
    font-size: clamp(13px, 3.8vw, 26px);
  }

  .marquee-track span::after {
    margin-left: 14px;
  }

  .work-card:not(.is-portrait) .work-summary::before {
    content: "项目内容";
    display: block;
    margin-bottom: 2px;
    color: var(--accent);
    font-size: clamp(5.5px, 1.55vw, 7px);
    font-weight: 800;
    line-height: 1.35;
  }

  .work-card:not(.is-portrait) .work-summary {
    color: rgba(244, 240, 232, 0.72);
  }

  [data-work-card="chongsheng"] .work-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #050505;
  }

  .work-modal.is-mobile-video-player {
    padding: 8px;
  }

  .work-modal.is-mobile-video-player .modal-panel {
    display: block;
    width: min(100%, 720px);
    height: auto;
    max-height: calc(100dvh - 16px);
    overflow: auto;
    background: #050505;
  }

  .work-modal.is-mobile-video-player .modal-copy {
    display: none;
  }

  .work-modal.is-mobile-video-player .modal-media {
    display: grid;
    grid-template-rows: auto auto;
    width: 100%;
    min-height: 0;
    background: #050505;
  }

  .work-modal.is-mobile-video-player .mobile-video-stage {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: #000;
  }

  .work-modal.is-mobile-video-player[data-orientation="portrait"] .mobile-video-stage {
    width: min(72vw, 390px);
    max-height: 68dvh;
    margin-inline: auto;
    aspect-ratio: 9 / 16;
  }

  .work-modal.is-mobile-video-player .mobile-video-stage video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: #000;
  }

  .work-modal.is-mobile-video-player .episode-picker {
    width: 100%;
    margin: 0;
    padding: 14px 12px 16px;
    border-top: 1px solid rgba(244, 240, 232, 0.14);
    background: #0c0c0c;
  }

  .work-modal.is-mobile-video-player .episode-picker > strong {
    font-size: 12px;
  }

  .work-modal.is-mobile-video-player .episode-picker > div {
    gap: 7px;
  }
}
