:root {
  --ink: #171714;
  --ink-soft: #272722;
  --paper: #f1eee7;
  --paper-bright: #faf8f3;
  --paper-dark: #d8d1c5;
  --paper-cool: #dce7e3;
  --paper-rose: #e9d8d0;
  --rule: #bdb6aa;
  --grid-line: rgba(23, 23, 20, 0.07);
  --muted: #6e6b64;
  --vermilion: #bd402a;
  --teal: #28666e;
  --white: #fffefa;
  --header-height: 76px;
  --shell: 1280px;
  --gutter: 48px;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
a {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--teal);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 160;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 254, 250, 0.28);
  background: rgba(23, 23, 20, 0.3);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: var(--rule);
  background: rgba(241, 238, 231, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-cn {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
}

.brand-en {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  text-decoration: none;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-contact {
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 8px;
  cursor: pointer;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  height: calc(100svh - 34px);
  min-height: 640px;
  max-height: 940px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-reel {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: 1;
  background: rgba(10, 10, 9, 0.54);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 2 * var(--gutter)));
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 auto;
  padding-bottom: 112px;
}

.hero-kicker,
.section-index,
.work-number,
.work-media figcaption,
.hero-foot {
  font-family: var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 18px;
  color: rgba(255, 254, 250, 0.76);
  font-size: 12px;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-size: 112px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-role {
  margin: 20px 0 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(255, 254, 250, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-light {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  border-color: var(--vermilion);
  background: var(--vermilion);
}

.button-line {
  color: var(--white);
  background: transparent;
}

.button-line:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.hero-foot {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 30px;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 254, 250, 0.74);
  font-size: 10px;
}

.hero-foot a {
  color: var(--white);
  text-decoration: none;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-bright);
}

.evidence-strip > div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 18px;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.evidence-strip > div:nth-child(1) {
  background: var(--paper-rose);
}

.evidence-strip > div:nth-child(2) {
  background: var(--paper-bright);
}

.evidence-strip > div:nth-child(3) {
  background: var(--paper-cool);
}

.evidence-strip > div:nth-child(4) {
  background: #e4dfd5;
}

.evidence-strip > div:last-child {
  border-right: 0;
}

.evidence-strip strong {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
}

.evidence-strip span {
  color: var(--muted);
  font-size: 12px;
}

.section-shell {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-right: auto;
  margin-left: auto;
}

.works-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 72px;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
}

.works-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 72px;
  align-items: stretch;
  padding-top: 120px;
  padding-bottom: 96px;
}

.works-intro .section-intro {
  align-self: end;
  margin-bottom: 0;
}

.works-coordinate {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 5px 0 0 24px;
  border-left: 1px solid var(--rule);
}

.works-coordinate span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.works-coordinate strong {
  color: var(--vermilion);
  font-family: var(--serif);
  font-size: 104px;
  font-weight: 400;
  line-height: 0.78;
}

.lead-work-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.lead-work-band::before,
.lead-work-band::after,
.lead-work-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lead-work-band::before {
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 254, 250, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 254, 250, 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
}

.lead-work-band::after {
  z-index: -2;
  content: "";
  background: rgba(12, 13, 12, 0.74);
}

.lead-work-backdrop {
  z-index: -3;
}

.lead-work-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.08);
}

.work.work-lead {
  min-height: 860px;
  padding-top: 112px;
  padding-bottom: 112px;
  border-top: 0;
}

.work-lead .work-number {
  color: #edbd64;
}

.work-lead .work-institution,
.work-lead h3 > span {
  display: block;
}

.work-lead .work-institution {
  margin-bottom: 8px;
  color: rgba(255, 254, 250, 0.7);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}

.work-lead .work-media video {
  border-color: rgba(255, 254, 250, 0.42);
  box-shadow: 24px 28px 0 rgba(189, 64, 42, 0.72), 0 30px 80px rgba(0, 0, 0, 0.42);
}

.work-lead .work-media figcaption,
.work-lead .work-note {
  color: rgba(255, 254, 250, 0.72);
}

.work-lead .case-facts {
  border-color: rgba(255, 254, 250, 0.28);
}

.work-lead .case-facts > div {
  border-color: rgba(255, 254, 250, 0.28);
}

.work-lead .case-facts dt {
  color: rgba(255, 254, 250, 0.58);
}

.work-thesis {
  padding-left: 18px;
  border-left: 4px solid var(--vermilion);
}

.work-thesis strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.works-list {
  position: relative;
}

.works-list .work {
  position: relative;
  isolation: isolate;
}

.works-list .work::before {
  position: absolute;
  z-index: -1;
  top: 48px;
  right: 0;
  content: "02";
  color: rgba(40, 102, 110, 0.1);
  font-family: var(--serif);
  font-size: 180px;
  line-height: 1;
  pointer-events: none;
}

.works-list .work:nth-child(2)::before {
  right: auto;
  left: 0;
  content: "03";
  color: rgba(189, 64, 42, 0.09);
}

.section-intro {
  max-width: 780px;
  margin-bottom: 84px;
}

.section-index {
  margin: 0 0 16px;
  color: var(--vermilion);
  font-size: 11px;
  font-weight: 700;
}

.section-intro h2,
.qc-copy h2,
.about-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-intro > p:last-child,
.qc-copy > p,
.about-copy > p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(330px, 0.86fr);
  gap: 72px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 90px;
}

.work-reverse .work-media {
  order: 2;
}

.work-reverse .work-copy {
  order: 1;
}

.work-media {
  min-width: 0;
  margin: 0;
}

.work-media video,
.archive-item video {
  width: 100%;
  border: 1px solid #2b2b28;
  border-radius: 2px;
  background: #0f0f0e;
  box-shadow: 0 20px 60px rgba(23, 23, 20, 0.16);
}

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

.portrait-media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.portrait-media video {
  width: min(100%, 460px);
  aspect-ratio: 9 / 16;
}

.work-media figcaption {
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.work-number {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.work-copy h3,
.archive-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 43px;
  line-height: 1.24;
  letter-spacing: 0;
}

.work-summary {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.7;
}

.case-facts {
  margin: 34px 0 0;
  border-top: 1px solid var(--rule);
}

.case-facts > div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.case-facts dt,
.case-facts dd {
  margin: 0;
  font-size: 13px;
}

.case-facts dt {
  color: var(--muted);
}

.case-facts dd {
  font-weight: 600;
}

.work-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.text-link,
.mail-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover,
.mail-link:hover {
  color: var(--vermilion);
}

.workflow-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0 126px;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 254, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 254, 250, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}

.workflow-section::before {
  position: absolute;
  top: 0;
  right: 8vw;
  bottom: 0;
  width: 22vw;
  content: "";
  border-right: 1px solid rgba(255, 254, 250, 0.12);
  border-left: 1px solid rgba(255, 254, 250, 0.12);
  background: rgba(189, 64, 42, 0.12);
  pointer-events: none;
}

.workflow-section .section-shell {
  position: relative;
}

.section-intro-light h2 {
  color: var(--white);
}

.section-intro-light > p:last-child {
  color: rgba(255, 254, 250, 0.64);
}

.workflow-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid rgba(255, 254, 250, 0.25);
  border-bottom: 1px solid rgba(255, 254, 250, 0.25);
}

.workflow-grid li {
  min-height: 252px;
  padding: 26px 26px 30px;
  border-right: 1px solid rgba(255, 254, 250, 0.25);
}

.workflow-grid li:last-child {
  border-right: 0;
}

.workflow-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--vermilion);
  font-family: var(--mono);
  font-size: 12px;
}

.workflow-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
}

.workflow-grid p {
  margin: 12px 0 0;
  color: rgba(255, 254, 250, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.qc-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 88px;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 132px;
}

.qc-section::before {
  position: absolute;
  z-index: -1;
  top: 58px;
  right: calc(-1 * var(--gutter));
  bottom: 58px;
  width: 56%;
  content: "";
  border-top: 1px solid rgba(40, 102, 110, 0.28);
  border-bottom: 1px solid rgba(40, 102, 110, 0.28);
  background-color: var(--paper-cool);
  background-image:
    linear-gradient(rgba(40, 102, 110, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 102, 110, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
}

.proof-list {
  margin: 34px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.proof-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--rule);
}

.proof-list span {
  color: var(--teal);
  font-family: var(--mono);
  font-weight: 700;
}

.terminal {
  overflow: hidden;
  border: 1px solid #4b4b45;
  border-radius: 4px;
  color: #e9e8df;
  background: #1d1e1b;
  box-shadow: 0 28px 70px rgba(23, 23, 20, 0.2);
}

.terminal-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid #42433d;
  background: #282924;
}

.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #77786f;
}

.terminal-head span:first-child {
  background: var(--vermilion);
}

.terminal-head span:nth-child(2) {
  background: #c6a14f;
}

.terminal-head span:nth-child(3) {
  background: var(--teal);
}

.terminal-head strong {
  margin-left: auto;
  color: #a9aaa1;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
}

.terminal pre {
  min-height: 310px;
  margin: 0;
  padding: 48px 42px 28px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.terminal > p {
  margin: 0;
  padding: 14px 42px;
  color: #989990;
  font-family: var(--mono);
  font-size: 10px;
  border-top: 1px solid #42433d;
}

.archive-section {
  padding: 118px 0 126px;
  border-top: 1px solid var(--rule);
  background-color: var(--paper-bright);
  background-image:
    linear-gradient(rgba(23, 23, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 20, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
}

.archive-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 72px;
  align-items: start;
}

.archive-item {
  border-top: 4px solid var(--ink);
}

.archive-item figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-soft);
}

.archive-item figure video,
.archive-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-item--compact {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding-top: 18px;
  border-top-width: 1px;
}

.archive-item--compact figure {
  position: relative;
  aspect-ratio: 9 / 16;
}

.archive-cover figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(23, 23, 20, 0.84);
  font-family: var(--mono);
  font-size: 9px;
}

.archive-cover figcaption strong {
  color: #e7b54b;
  font-size: 11px;
}

.archive-item > div {
  padding-top: 26px;
}

.archive-item--compact > div {
  padding-top: 4px;
}

.archive-item h3 {
  font-size: 34px;
}

.archive-item--compact h3 {
  font-size: 27px;
}

.archive-item p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.archive-item--compact p:last-child {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: 720px;
  color: var(--white);
  background: var(--teal);
}

.about-photo {
  min-height: 720px;
  overflow: hidden;
  background: var(--paper-dark);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.76) contrast(1.04);
}

.about-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(var(--gutter), calc((100vw - var(--shell)) / 2));
  background-image:
    linear-gradient(rgba(255, 254, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 254, 250, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
}

.about-copy::before {
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: -32px;
  content: "05";
  color: rgba(255, 254, 250, 0.08);
  font-family: var(--serif);
  font-size: 250px;
  line-height: 1;
  pointer-events: none;
}

.about-copy .section-index {
  color: #e9b95a;
}

.about-copy h2 {
  max-width: 760px;
}

.about-copy > p {
  color: rgba(255, 254, 250, 0.78);
}

.about-copy .about-lede {
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
}

.about-copy .mail-link {
  align-self: flex-start;
  max-width: 100%;
  color: var(--white);
  overflow-wrap: anywhere;
}

.site-footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
  color: rgba(255, 254, 250, 0.62);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

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

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

@media (max-width: 1120px) {
  :root {
    --gutter: 32px;
  }

  .hero h1 {
    font-size: 92px;
  }

  .work {
    gap: 48px;
  }

  .works-intro {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 48px;
  }

  .works-coordinate strong {
    font-size: 88px;
  }

  .section-intro h2,
  .qc-copy h2,
  .about-copy h2 {
    font-size: 50px;
  }

  .qc-section {
    gap: 54px;
  }

  .about-section {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 80px;
  }

  .hero-role {
    font-size: 26px;
  }

  .evidence-strip {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-strip > div:nth-child(2) {
    border-right: 0;
  }

  .evidence-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .work,
  .qc-section {
    grid-template-columns: 1fr;
  }

  .work {
    gap: 42px;
  }

  .work-lead {
    min-height: 0;
    gap: 58px;
    padding-top: 96px;
    padding-bottom: 100px;
  }

  .work-reverse .work-media,
  .work-reverse .work-copy {
    order: initial;
  }

  .work-copy {
    max-width: 700px;
  }

  .portrait-media {
    justify-content: flex-start;
  }

  .work-lead .portrait-media {
    justify-content: center;
  }

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

  .workflow-grid li:nth-child(2) {
    border-right: 0;
  }

  .workflow-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 254, 250, 0.25);
  }

  .qc-section {
    gap: 66px;
  }

  .qc-section::before {
    top: 46%;
    right: calc(-1 * var(--gutter));
    bottom: 42px;
    width: 88%;
  }

  .terminal {
    max-width: 760px;
  }

  .about-section {
    grid-template-columns: 0.72fr 1.28fr;
    min-height: 620px;
  }

  .about-photo {
    min-height: 620px;
  }

  .about-copy {
    padding: 56px 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
    --gutter: 20px;
  }

  .site-header {
    background: rgba(23, 23, 20, 0.48);
  }

  .brand-cn {
    font-size: 20px;
  }

  .brand-en {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    min-height: calc(100svh - 68px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 34px 20px;
    color: var(--ink);
    background: var(--paper-bright);
  }

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

  .site-nav a {
    padding: 18px 4px;
    font-family: var(--serif);
    font-size: 26px;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-contact {
    margin-top: 28px;
    padding: 14px;
    font-family: var(--sans);
    font-size: 14px;
    text-align: center;
    border: 1px solid var(--ink);
  }

  .hero {
    min-height: 610px;
    max-height: 850px;
  }

  .hero-reel {
    object-position: center center;
  }

  .hero-inner {
    width: calc(100% - 2 * var(--gutter));
    padding-bottom: 96px;
  }

  .hero-kicker {
    max-width: 280px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-role {
    margin-top: 14px;
    font-size: 23px;
  }

  .hero-lede {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-foot {
    right: var(--gutter);
    bottom: 20px;
    left: var(--gutter);
  }

  .hero-foot > span {
    display: none;
  }

  .hero-foot a {
    margin-left: auto;
  }

  .evidence-strip > div {
    min-height: 94px;
    padding: 12px 8px;
  }

  .evidence-strip strong {
    font-size: 22px;
  }

  .evidence-strip span {
    font-size: 10px;
  }

  .works-section {
    padding-bottom: 40px;
    background-size: 52px 52px;
  }

  .works-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 86px;
    padding-bottom: 62px;
  }

  .works-intro .section-intro {
    margin-bottom: 0;
  }

  .works-coordinate {
    min-height: 0;
    flex-direction: row;
    align-items: flex-end;
    padding: 16px 0 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .works-coordinate span {
    writing-mode: horizontal-tb;
  }

  .works-coordinate strong {
    font-size: 64px;
  }

  .section-intro {
    margin-bottom: 56px;
  }

  .section-intro h2,
  .qc-copy h2,
  .about-copy h2 {
    font-size: 39px;
  }

  .section-intro > p:last-child,
  .qc-copy > p,
  .about-copy > p {
    margin-top: 18px;
    font-size: 14px;
  }

  .work {
    gap: 34px;
    padding: 64px 0;
  }

  .work-lead {
    gap: 48px;
    padding-top: 76px;
    padding-bottom: 86px;
  }

  .work-lead .portrait-media video {
    width: min(calc(100% - 24px), 360px);
    box-shadow: 12px 16px 0 rgba(189, 64, 42, 0.72), 0 24px 60px rgba(0, 0, 0, 0.42);
  }

  .work-lead .work-institution {
    font-size: 13px;
  }

  .works-list .work::before {
    top: 32px;
    font-size: 112px;
  }

  .work-copy h3 {
    font-size: 35px;
  }

  .work-summary,
  .about-copy .about-lede {
    font-size: 18px;
  }

  .work-note {
    font-size: 13px;
  }

  .portrait-media {
    justify-content: center;
  }

  .workflow-section {
    padding: 86px 0 94px;
    background-size: 52px 52px;
  }

  .workflow-section::before {
    right: 6vw;
    width: 38vw;
  }

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

  .workflow-grid li {
    min-height: 0;
    padding: 24px 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 254, 250, 0.25);
  }

  .workflow-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 254, 250, 0.25);
  }

  .workflow-grid li:last-child {
    border-bottom: 0;
  }

  .workflow-grid span {
    margin-bottom: 20px;
  }

  .qc-section {
    gap: 52px;
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .terminal pre {
    min-height: 260px;
    padding: 34px 20px 20px;
    font-size: 11px;
  }

  .terminal > p {
    padding: 12px 20px;
  }

  .archive-section {
    padding: 88px 0 94px;
    background-size: 52px 52px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .archive-item--compact {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
    max-width: 520px;
  }

  .archive-item h3 {
    font-size: 30px;
  }

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

  .about-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .about-photo img {
    object-position: center 16%;
  }

  .about-copy {
    padding: 76px 20px 84px;
    background-size: 52px 52px;
  }

  .about-copy::before {
    right: -8px;
    bottom: -8px;
    font-size: 160px;
  }

  .site-footer {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 24px 20px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero-role {
    font-size: 21px;
  }

  .section-intro h2,
  .qc-copy h2,
  .about-copy h2 {
    font-size: 35px;
  }

  .case-facts > div,
  .proof-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .archive-item figure {
    aspect-ratio: 1 / 1;
  }

  .archive-item--compact figure {
    aspect-ratio: 9 / 16;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .hero {
    height: calc(100svh - 24px);
    min-height: 560px;
  }

  .hero-inner {
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-role {
    margin-top: 12px;
    font-size: 24px;
  }

  .hero-lede {
    margin-top: 10px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
