:root {
  color-scheme: dark;
  --ink: #080b09;
  --ink-soft: #0e1410;
  --paper: #e9e1cf;
  --paper-dim: #bcb3a2;
  --moss: #294236;
  --moss-light: #6e9079;
  --crimson: #b72a25;
  --line: rgba(233, 225, 207, 0.19);
  --line-strong: rgba(233, 225, 207, 0.42);
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-meta: Bahnschrift, "Arial Narrow", Arial, sans-serif;
  --shell: 1320px;
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body.nav-open {
  overflow: hidden;
}

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

img,
video {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  background: var(--crimson);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(8, 11, 9, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-meta);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
}

.brand__text {
  display: grid;
  gap: 0.05rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand__text small {
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  font-weight: 400;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a:not(.button) {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.76rem;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.55rem;
  left: 0;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--paper);
}

.site-nav a:not(.button):hover::after,
.site-nav a:not(.button):focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-meta);
  font-size: 0.76rem;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--paper);
}

.button--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

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

.button--dark:hover,
.button--dark:focus-visible {
  background: transparent;
  color: var(--ink);
}

.button--small {
  min-height: 38px;
  padding-inline: 0.8rem;
  font-size: 0.68rem;
}

.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 5rem) 0 3.2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__wash {
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 56% 0, 49% 100%, 0 100%);
}

.hero__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 51%;
  width: 1px;
  background: var(--crimson);
  transform: rotate(7deg);
  transform-origin: top;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 4rem;
}

.hero__copy {
  max-width: 760px;
}

.hero__name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.hero__name span {
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  color: var(--moss-light);
  font-family: var(--font-meta);
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.7rem;
}

.hero__lede {
  max-width: 610px;
  margin: 1.6rem 0 0;
  color: var(--paper-dim);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__caption {
  justify-self: end;
  max-width: 230px;
  padding: 0 0 0.15rem;
  color: rgba(233, 225, 207, 0.8);
  font-family: var(--font-meta);
  font-size: 0.66rem;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.hero__caption strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--paper);
  font-weight: 500;
}

.hero__index {
  position: absolute;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 2;
  color: rgba(233, 225, 207, 0.55);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.proof-band {
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.5rem 1.7rem;
  border-right: 1px solid var(--line);
}

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

.proof-item strong {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1;
}

.proof-item span {
  color: var(--paper-dim);
  font-size: 0.84rem;
  line-height: 1.55;
}

.section {
  padding: 7.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section--compact {
  padding: 5.4rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.4rem;
}

.section-head--solo {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.section-head--solo .section-head__title {
  max-width: 900px;
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
}

.section-head__copy {
  max-width: 580px;
  justify-self: end;
  margin: 0;
  color: var(--paper-dim);
}

.project-list {
  display: grid;
  gap: 5rem;
}

.project {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 0.68fr);
  gap: 2.6rem;
  align-items: start;
}

.project--reverse {
  grid-template-columns: minmax(0, 0.68fr) minmax(240px, 0.32fr);
}

.project--reverse .project__content {
  order: 2;
}

.project--reverse .project__media {
  order: 1;
}

.project__content {
  padding-top: 0.5rem;
}

.project__index {
  margin: 0 0 1rem;
  color: var(--crimson);
  font-family: var(--font-meta);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.project__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
}

.project__subtitle {
  margin: 0.4rem 0 1.1rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.7rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.project__copy {
  margin: 0 0 1.3rem;
  color: var(--paper-dim);
  font-size: 0.92rem;
  line-height: 1.75;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.project__tags li {
  padding: 0.25rem 0.45rem;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.62rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--font-meta);
  font-size: 0.74rem;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--moss-light);
  border-color: var(--moss-light);
}

.project__media {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--line);
}

.project__media img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.project__media:hover img,
.project__media:focus-within img {
  transform: scale(1.012);
}

.media-stack {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  background: var(--line);
}

.media-stack img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  aspect-ratio: auto;
}

.media-stack img:nth-child(2) {
  object-position: center;
}

.poster-stack {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 480px;
  background: #111711;
}

.poster-stack__poster {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.poster-stack__detail {
  align-self: center;
  padding: 2.4rem;
  border-left: 1px solid var(--line);
}

.poster-stack__detail span {
  display: block;
  margin-bottom: 1rem;
  color: var(--moss-light);
  font-family: var(--font-meta);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.poster-stack__detail strong {
  display: block;
  max-width: 320px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.45;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.capability {
  min-height: 290px;
  padding: 1.6rem 1.8rem 2rem 0;
  border-right: 1px solid var(--line);
}

.capability + .capability {
  padding-left: 1.8rem;
}

.capability:last-child {
  border-right: 0;
  padding-right: 0;
}

.capability__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 2.4rem;
  border: 1px solid var(--line-strong);
  color: var(--moss-light);
}

.capability h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.capability p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.capability small {
  display: block;
  margin-top: 1.3rem;
  color: var(--paper);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.about-preview {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: 4rem;
  align-items: start;
}

.about-preview__portrait {
  position: relative;
  max-width: 320px;
}

.about-preview__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.2) contrast(1.04);
}

.about-preview__portrait::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 58%;
  height: 42%;
  border-right: 1px solid var(--crimson);
  border-bottom: 1px solid var(--crimson);
  pointer-events: none;
}

.about-preview__copy {
  max-width: 760px;
}

.about-preview__copy .section-head__title {
  margin-bottom: 1.7rem;
}

.about-preview__copy p {
  margin: 0 0 1.2rem;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.9;
}

.experience-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.experience-item {
  display: grid;
  grid-template-columns: 150px minmax(190px, 0.32fr) minmax(0, 0.68fr);
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.experience-item__date,
.experience-item__company {
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.68rem;
  line-height: 1.7;
  text-transform: uppercase;
}

.experience-item__role {
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer {
  padding: 5rem 0 2rem;
  background: var(--ink-soft);
}

.footer-lead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: end;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-lead h2 {
  max-width: 790px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.15;
}

.footer-email {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  border-bottom: 1px solid var(--paper);
  font-family: var(--font-meta);
  font-size: 0.78rem;
  white-space: nowrap;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--moss-light);
  border-color: var(--moss-light);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  color: rgba(233, 225, 207, 0.54);
  font-family: var(--font-meta);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper);
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  padding: 7rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero--art::before {
  content: "";
  position: absolute;
  inset: 0 0 0 58%;
  background-image: var(--case-art);
  background-position: center;
  background-size: cover;
  opacity: 0.26;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.2rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--paper);
}

.page-hero h1 {
  max-width: 980px;
  font-size: 4.5rem;
}

.page-hero__lede {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: var(--paper-dim);
  font-size: 1.04rem;
  line-height: 1.8;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-meta__item {
  min-height: 112px;
  padding: 1.2rem 1.2rem 1.2rem 0;
  border-right: 1px solid var(--line);
}

.case-meta__item + .case-meta__item {
  padding-left: 1.2rem;
}

.case-meta__item:last-child {
  border-right: 0;
}

.case-meta dt {
  margin-bottom: 0.7rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
}

.case-media {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.case-media figure,
.case-figure {
  margin: 0;
}

.case-media img,
.case-figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.case-media figcaption,
.case-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.9rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.case-content {
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}

.case-content__grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 3rem;
}

.case-content__label {
  color: var(--moss-light);
  font-family: var(--font-meta);
  font-size: 0.69rem;
  text-transform: uppercase;
}

.case-content__body {
  max-width: 850px;
}

.case-content h2 {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.25;
}

.case-content h3 {
  margin: 2.2rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.case-content p {
  margin: 0 0 1.2rem;
  color: var(--paper-dim);
  line-height: 1.85;
}

.case-content p:last-child {
  margin-bottom: 0;
}

.case-content strong {
  color: var(--paper);
  font-weight: 500;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.flow-list li {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0.8rem 1rem 0;
  border-right: 1px solid var(--line);
}

.flow-list li + li {
  padding-left: 0.8rem;
}

.flow-list li:last-child {
  border-right: 0;
}

.flow-list span {
  color: var(--crimson);
  font-family: var(--font-meta);
  font-size: 0.62rem;
}

.flow-list strong {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.decision {
  padding: 1.4rem 1.4rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.decision:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.decision:nth-child(even) {
  padding-left: 1.4rem;
}

.decision h3 {
  margin: 0 0 0.55rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.decision p {
  margin: 0;
  font-size: 0.88rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1rem 1rem 0;
  border-right: 1px solid var(--line);
}

.evidence + .evidence {
  padding-left: 1rem;
}

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

.evidence strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
}

.evidence span {
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.boundary-note {
  margin-top: 2.3rem;
  padding: 1.2rem 0 1.2rem 1.3rem;
  border-left: 2px solid var(--crimson);
  background: rgba(183, 42, 37, 0.06);
  color: var(--paper-dim);
}

.boundary-note strong {
  color: var(--paper);
}

.video-feature {
  background: var(--ink-soft);
  border: 1px solid var(--line);
}

.video-feature video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030504;
}

.video-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.video-tab {
  min-height: 82px;
  padding: 0.9rem 1rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--paper-dim);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.video-tab:last-child {
  border-right: 0;
}

.video-tab:hover,
.video-tab:focus-visible,
.video-tab[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}

.video-tab span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-meta);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.video-tab strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.feature-caption {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.9rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.25rem 0.42rem;
  background: rgba(8, 11, 9, 0.86);
  color: var(--paper);
  font-family: var(--font-meta);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.gallery-item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: span 4;
}

.gallery-item:nth-child(3) {
  grid-column: span 3;
}

.gallery-item:nth-child(4) {
  grid-column: span 3;
}

.gallery-item:nth-child(5) {
  grid-column: span 4;
}

.gallery-item:nth-child(6) {
  grid-column: span 5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-step {
  min-height: 200px;
  padding: 1.25rem 1.3rem 1.5rem 0;
  border-right: 1px solid var(--line);
}

.process-step + .process-step {
  padding-left: 1.3rem;
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  color: var(--crimson);
  font-family: var(--font-meta);
  font-size: 0.62rem;
}

.process-step h3 {
  margin: 2.2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.process-step p {
  margin: 0;
  font-size: 0.85rem;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.vertical-video {
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.vertical-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #030504;
}

.vertical-video__meta {
  padding: 1rem;
}

.vertical-video__meta span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--moss-light);
  font-family: var(--font-meta);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.vertical-video__meta strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.5;
}

.vertical-video__meta small {
  display: block;
  margin-top: 0.35rem;
  color: var(--paper-dim);
  font-size: 0.72rem;
  line-height: 1.55;
}

.production-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.production-stat {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem 1.2rem 1.2rem 0;
  border-right: 1px solid var(--line);
}

.production-stat + .production-stat {
  padding-left: 1.2rem;
}

.production-stat:last-child {
  border-right: 0;
}

.production-stat strong {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
}

.production-stat span {
  color: var(--paper-dim);
  font-size: 0.82rem;
}

.poster-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.poster-pair figure {
  margin: 0;
}

.poster-pair img {
  width: 100%;
  aspect-ratio: 188 / 266;
  object-fit: cover;
  border: 1px solid var(--line);
}

.poster-pair figcaption {
  margin-top: 0.8rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.platform-evidence {
  display: grid;
  gap: 2rem;
}

.platform-evidence figure {
  margin: 0;
}

.platform-evidence img {
  width: 100%;
  border: 1px solid var(--line);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.open-source-note {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 2rem;
  align-items: start;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.open-source-note strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.open-source-note p {
  margin: 0;
}

.loss-figure {
  margin: 0;
}

.loss-figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.loss-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.9rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.64rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 4rem;
  align-items: end;
}

.about-hero__portrait {
  align-self: stretch;
}

.about-hero__portrait img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.15) contrast(1.06);
  border: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 3rem;
}

.story-grid h2 {
  margin-top: 0;
}

.story-grid p {
  max-width: 820px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 220px;
  padding: 1.4rem 1.4rem 1.4rem 0;
  border-right: 1px solid var(--line);
}

.principle + .principle {
  padding-left: 1.4rem;
}

.principle:last-child {
  border-right: 0;
}

.principle span {
  color: var(--crimson);
  font-family: var(--font-meta);
  font-size: 0.63rem;
}

.principle h3 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.principle p {
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.skill-group {
  padding: 1.4rem 1.5rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.skill-group:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.skill-group:nth-child(even) {
  padding-left: 1.5rem;
}

.skill-group h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.skill-group p {
  margin: 0;
  font-size: 0.87rem;
}

.next-project {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0;
}

.next-project span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper-dim);
  font-family: var(--font-meta);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.next-project strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.3;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 3.9rem;
  }

  .page-hero h1 {
    font-size: 3.7rem;
  }

  .project,
  .project--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project--reverse .project__content,
  .project--reverse .project__media {
    order: initial;
  }

  .project__content {
    max-width: 680px;
  }

  .flow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flow-list li:nth-child(4) {
    border-right: 0;
  }

  .flow-list li:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }

  .experience-item {
    grid-template-columns: 120px minmax(180px, 0.36fr) minmax(0, 0.64fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header: 68px;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--ink);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }

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

  .site-nav a:not(.button) {
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .site-nav .button {
    margin-top: 1rem;
  }

  .hero {
    min-height: 760px;
    padding-top: calc(var(--header) + 4rem);
  }

  .hero__art {
    width: 100%;
    opacity: 0.42;
    clip-path: none;
  }

  .hero__wash {
    background: rgba(8, 11, 9, 0.72);
    clip-path: none;
  }

  .hero__line {
    left: 68%;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero__caption {
    justify-self: start;
    max-width: 280px;
    text-align: left;
  }

  .hero__index {
    display: none;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 5rem 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .section-head__copy {
    justify-self: start;
  }

  .section-head__title {
    font-size: 2.4rem;
  }

  .capability-grid,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .capability,
  .capability + .capability,
  .principle,
  .principle + .principle {
    min-height: auto;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability:last-child,
  .principle:last-child {
    border-bottom: 0;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .experience-item {
    grid-template-columns: 110px 1fr;
    gap: 0.7rem 1.2rem;
  }

  .experience-item__role {
    grid-column: 2;
  }

  .footer-lead {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-lead h2 {
    font-size: 2.65rem;
  }

  .footer-email {
    justify-self: start;
  }

  .case-meta,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-meta__item:nth-child(2),
  .evidence:nth-child(2) {
    border-right: 0;
  }

  .case-meta__item:nth-child(-n + 2),
  .evidence:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .case-content__grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .case-content h2 {
    font-size: 2.15rem;
  }

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

  .flow-list li:nth-child(2n) {
    border-right: 0;
  }

  .flow-list li:nth-child(4) {
    border-right: 1px solid var(--line);
  }

  .flow-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .decision-list,
  .process-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .decision:nth-child(odd),
  .skill-group:nth-child(odd) {
    border-right: 0;
  }

  .decision:nth-child(even),
  .skill-group:nth-child(even) {
    padding-left: 0;
  }

  .process-step,
  .process-step + .process-step {
    min-height: auto;
    padding: 1.2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

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

  .video-tab:nth-child(2) {
    border-right: 0;
  }

  .video-tab:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .gallery-item:nth-child(n) {
    grid-column: span 6;
    grid-row: auto;
  }

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

  .vertical-video {
    display: grid;
    grid-template-columns: minmax(180px, 0.48fr) minmax(0, 0.52fr);
  }

  .vertical-video video {
    height: 100%;
  }

  .vertical-video__meta {
    align-self: center;
    padding: 1.4rem;
  }

  .production-stats {
    grid-template-columns: 1fr;
  }

  .production-stat,
  .production-stat + .production-stat {
    min-height: auto;
    padding: 1.2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .production-stat:last-child {
    border-bottom: 0;
  }

  .poster-stack,
  .poster-stack__poster {
    min-height: 0;
  }

  .poster-stack {
    grid-template-columns: 1fr;
  }

  .poster-stack__poster {
    aspect-ratio: 188 / 266;
    max-height: 520px;
  }

  .poster-stack__detail {
    padding: 1.5rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-hero__portrait {
    max-width: 380px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .brand__text small {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding-bottom: 2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.6rem;
    line-height: 1.15;
  }

  .hero__name {
    font-size: 1rem;
  }

  .hero__lede,
  .page-hero__lede {
    font-size: 0.95rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  .proof-item {
    min-height: 135px;
    padding: 1rem;
  }

  .proof-item strong {
    font-size: 2.4rem;
  }

  .section-head__title {
    font-size: 2rem;
  }

  .project-list {
    gap: 3.5rem;
  }

  .project__title {
    font-size: 1.7rem;
  }

  .project__media img,
  .media-stack img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .media-stack {
    grid-template-columns: 1fr;
  }

  .media-stack img {
    aspect-ratio: 1 / 1;
  }

  .footer-lead h2 {
    font-size: 2.15rem;
  }

  .footer-email {
    font-size: 0.68rem;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.8rem;
  }

  .case-meta,
  .evidence-grid,
  .gallery-item:nth-child(n) {
    grid-template-columns: 1fr;
    grid-column: span 12;
  }

  .case-meta__item,
  .case-meta__item + .case-meta__item,
  .evidence,
  .evidence + .evidence {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-meta__item:last-child,
  .evidence:last-child {
    border-bottom: 0;
  }

  .case-content {
    padding: 4rem 0;
  }

  .case-content h2 {
    font-size: 1.9rem;
  }

  .case-media {
    padding: 2.5rem 0;
  }

  .case-media figcaption,
  .case-figure figcaption {
    flex-direction: column;
    gap: 0.3rem;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li,
  .flow-list li + li {
    min-height: 94px;
    padding: 0.8rem 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .flow-list li:first-child {
    border-top: 0;
  }

  .video-tabs {
    grid-template-columns: 1fr;
  }

  .video-tab,
  .video-tab:nth-child(2) {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .video-tab:last-child {
    border-bottom: 0;
  }

  .vertical-video {
    display: block;
  }

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

  .poster-pair {
    grid-template-columns: 1fr;
  }

  .open-source-note {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .loss-figure figcaption {
    flex-direction: column;
    gap: 0.3rem;
  }

  .next-project {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@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;
  }

}
