:root {
  --paper: #eaeaea;
  --ink: #141414;
  --night: #181818;
  --white: #ffffff;
  --muted: #8b8b8b;
  --line: #d2d2d2;
  --accent: #ff2d1a;
  --serif: "Ibarra Real Nova", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(24px, 6.11vw, 88px);
  --container: 1263px;
  --header-height: 62px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 120;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 110;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--white);
}

.brand,
.menu-toggle {
  pointer-events: auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.brand {
  white-space: nowrap;
}

.menu-toggle {
  min-width: 82px;
  min-height: 48px;
  margin-right: -18px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.menu-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 950ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 500ms ease,
    visibility 0s linear 950ms;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}

.menu-overlay__nav {
  position: absolute;
  z-index: 3;
  top: 33.8%;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu-overlay__eyebrow {
  margin: 0 0 22px;
  color: #d1d1d1;
  font-size: 16px;
  line-height: 1.4;
}

.menu-overlay__nav a {
  color: #878787;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.18;
  transition: color 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay__nav a:hover,
.menu-overlay__nav a:focus-visible {
  color: var(--white);
  transform: translateX(10px);
}

.menu-overlay__nav a:focus-visible {
  outline: 0;
}

.menu-overlay__media {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 70px, 0) rotate(var(--rotation));
  transition:
    opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay.is-open .menu-overlay__media {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--rotation));
}

.menu-overlay__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-overlay__media--top {
  --rotation: 14deg;
  top: -21%;
  left: 39%;
  width: min(26.389vw, 380px);
  aspect-ratio: 380 / 557.242;
  transition-delay: 80ms;
}

.menu-overlay__media--right {
  --rotation: -9deg;
  top: 18%;
  right: 5%;
  width: min(20.139vw, 290px);
  aspect-ratio: 290 / 450;
  transition-delay: 150ms;
}

.menu-overlay__media--bottom {
  --rotation: -10deg;
  bottom: -32%;
  left: 42%;
  width: min(22.917vw, 330px);
  aspect-ratio: 330 / 482.742;
  transition-delay: 230ms;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: var(--paper);
}

.hero__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1440px);
  height: 100%;
  opacity: 0;
  transform: translate3d(-50%, 42vh, 0);
  will-change: transform, opacity;
  transition:
    transform 1550ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1300ms cubic-bezier(0.33, 1, 0.68, 1);
}

body.is-ready .hero__stage {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.hero__wordmark {
  position: absolute;
  z-index: 3;
  top: 282px;
  left: -76px;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 170px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  user-select: none;
}

.hero-photo {
  --hero-scroll-y: 0px;
  position: absolute;
  z-index: 1;
  width: 193px;
  height: 240px;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--ink);
  opacity: 0;
  transform: translate3d(0, calc(80px + var(--hero-scroll-y)), 0);
  will-change: transform;
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-ready .hero-photo {
  opacity: 1;
  transform: translate3d(0, var(--hero-scroll-y), 0);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--edge-left {
  top: 331px;
  left: -48px;
  transition-delay: 370ms;
}

.hero-photo--left-top {
  top: 170px;
  left: calc(50% - 553px);
  transition-delay: 190ms;
}

.hero-photo--left-top img { object-position: 60% 54.8%; }

.hero-photo--left-low {
  top: 291px;
  left: calc(50% - 431px);
  transition-delay: 460ms;
}

.hero-photo--left-low img { object-position: 50% 61.8%; }

.hero-photo--main {
  top: 139px;
  left: 50%;
  width: 370px;
  height: 490px;
  transform: translate3d(-50%, calc(80px + var(--hero-scroll-y)), 0) scale(1.1);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1) 100ms,
    transform 2050ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}

body.is-ready .hero-photo--main {
  transform: translate3d(-50%, var(--hero-scroll-y), 0) scale(1);
}

.hero-photo--main img {
  height: 100%;
  object-position: 50% 52.8%;
}

.hero-photo--right-top {
  top: 202px;
  left: calc(50% + 238px);
  width: 200px;
  transition-delay: 260ms;
}

.hero-photo--right-low {
  top: 348px;
  left: calc(50% + 348px);
  width: 200px;
  transition-delay: 540ms;
}

.hero-photo--edge-right {
  top: 265px;
  right: -46px;
  width: 200px;
  transition-delay: 330ms;
}


@media (min-width: 901px) {
  img[data-figma-crop] {
    position: absolute;
    max-width: none;
  }
}

.hero__caption {
  position: absolute;
  z-index: 2;
  right: 12.1%;
  bottom: 55px;
  left: 12.1%;
  max-width: 1092px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
}

.hero__caption strong {
  font-weight: 700;
}

.latest-work {
  --work-shift: 80px;
  position: relative;
  height: 774px;
  overflow: hidden;
  background: var(--paper);
}

.latest-work__backdrop {
  position: absolute;
  top: 222px;
  left: 50%;
  width: min(100%, 1440px);
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 170px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-indent: -32px;
  transform: translate3d(calc(-50% + (var(--work-shift) * 0.3)), 0, 0);
  will-change: transform;
}

.latest-work__track {
  position: absolute;
  z-index: 1;
  top: 144px;
  left: 50%;
  display: flex;
  align-items: flex-start;
  gap: min(4.1667%, 60px);
  width: min(100%, 1440px);
  transform: translate3d(calc(-50% + var(--work-shift)), 0, 0);
  will-change: transform;
}

.work-card {
  position: relative;
  display: block;
  flex: 0 0 min(16.6667%, 240px);
  width: min(16.6667%, 240px);
  height: auto;
  aspect-ratio: 240 / 361;
  overflow: hidden;
  isolation: isolate;
}

.work-card--offset {
  transform: translateY(21px);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.work-card:nth-child(3) img { object-position: 50% 50%; }
.work-card:nth-child(4) img { object-position: 51.9% 50%; }
.work-card:nth-child(5) img { object-position: 43.6% 50%; }

@media (min-width: 901px) {
  .work-card {
    aspect-ratio: 240 / 361;
  }

  .work-card:nth-child(2) {
    aspect-ratio: 240 / 319.4;
    transform: translateY(clamp(12px, 1.43vw, 20.6px));
  }

  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    aspect-ratio: 240 / 360;
    transform: translateY(clamp(0.2px, 0.021vw, 0.3px));
  }

  .work-card:nth-child(5) {
    aspect-ratio: 240 / 308;
    transform: translateY(clamp(15px, 1.83vw, 26.3px));
  }

}

.work-card__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 58%);
  opacity: 0;
  transition: opacity 700ms ease;
}

.work-card__disc {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card__copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: 210px;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px));
  transition:
    opacity 600ms ease 80ms,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.work-card__copy strong {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}

.work-card__copy small {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.work-card:hover img,
.work-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(0.78);
}

.work-card:hover .work-card__veil,
.work-card:hover .work-card__disc,
.work-card:hover .work-card__copy,
.work-card:focus-visible .work-card__veil,
.work-card:focus-visible .work-card__disc,
.work-card:focus-visible .work-card__copy {
  opacity: 1;
}

.work-card:hover .work-card__disc,
.work-card:focus-visible .work-card__disc {
  transform: translate(-50%, -50%) scale(1);
}

.work-card:hover .work-card__copy,
.work-card:focus-visible .work-card__copy {
  transform: translate(-50%, -50%);
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 22px 1px 25px;
  border-radius: 999px;
  background: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: color 450ms ease, background-color 450ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pill-link span {
  font-size: 17px;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pill-link:hover,
.pill-link:focus-visible {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

.pill-link:hover span,
.pill-link:focus-visible span {
  transform: translate(2px, -2px);
}

.latest-work__link {
  position: absolute;
  z-index: 2;
  bottom: 144px;
  left: 50%;
  transform: translateX(-50%);
}

.latest-work__link:hover,
.latest-work__link:focus-visible {
  transform: translate(-50%, -2px);
}

.story {
  --story-exit: 0;
  position: relative;
  min-height: 7316px;
  overflow: clip;
  color: var(--white);
  background: var(--night);
}

.story__inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: 0 auto;
  padding: 142px 0 110px;
}

.story-chapter {
  position: relative;
  min-height: 1495px;
}

.story-chapter:nth-child(2) {
  min-height: 1440px;
}

.story-chapter--single {
  min-height: 950px;
}

.story-chapter--final {
  min-height: 1510px;
}

.story-heading {
  --heading-x: 0px;
  --heading-y: 0px;
  --heading-opacity: 1;
  --heading-blur: 0px;
  --heading-scale: 1;
  position: sticky;
  z-index: 0;
  top: 76px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 150px;
  color: #d7c5a0;
  font-family: var(--serif);
  font-size: clamp(78px, 7vw, 100px);
  font-weight: 400;
  line-height: 1;
  opacity: var(--heading-opacity);
  filter: blur(var(--heading-blur));
  transform: translate3d(var(--heading-x), var(--heading-y), 0) scale(var(--heading-scale));
  transform-origin: left center;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.story-heading--right {
  margin-left: auto;
  text-align: right;
  transform-origin: right center;
}

.story-project {
  --card-x: 0px;
  --card-y: 0px;
  --card-scale: 1;
  --card-opacity: 1;
  --card-blur: 0px;
  --clip-top: 0%;
  --clip-bottom: 0%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(60%, 756px);
  margin-bottom: 60px;
  opacity: var(--card-opacity);
  filter: blur(var(--card-blur));
  transform: translate3d(var(--card-x), var(--card-y), 0) scale(var(--card-scale));
  will-change: transform, opacity, filter;
}

.story-project--right {
  margin-left: auto;
}

.story-project--left {
  margin-right: auto;
}

.story-project__frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  overflow: hidden;
  clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
  background: #0d0d0d;
  will-change: clip-path;
}

.story-project__frame img {
  --image-y: 0px;
  --image-scale: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--image-y), 0) scale(var(--image-scale));
  will-change: transform;
}

#engagement .story-project__frame {
  aspect-ratio: 756 / 481;
}

#engagement .story-project__frame img {
  max-width: none;
  object-fit: cover;
  object-position: 50% 46.5%;
}

.story-project__title {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
  transition: color 500ms ease;
}

.story-project:hover .story-project__title,
.story-project:focus-visible .story-project__title {
  color: #d7c5a0;
}

.categories {
  --categories-entry: 1;
  position: relative;
  min-height: 1020px;
  overflow: hidden;
  background: var(--paper);
}

.categories__inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: 0 auto;
  padding-top: 142px;
  opacity: calc(0.35 + (var(--categories-entry) * 0.65));
  transform: translate3d(0, calc((1 - var(--categories-entry)) * 70px), 0);
  will-change: transform, opacity;
}

.categories__title {
  width: min(792px, 100%);
  margin: 0 0 126px;
  font-family: var(--serif);
  font-size: clamp(58px, 5.55vw, 80px);
  font-weight: 400;
  line-height: 1.2;
}

.categories__title em {
  font-weight: 400;
}

.categories__list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 22px;
  max-width: 1100px;
}

.category-link {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(66px, 6.66vw, 96px);
  font-weight: 600;
  line-height: 1.2;
}

.category-link span {
  position: relative;
  z-index: 2;
}

.category-link > img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 290px;
  height: 350px;
  border: 4px solid var(--ink);
  border-radius: 10px;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: translate(-36%, -50%) rotate(-5deg) scale(0.88);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.category-link:hover,
.category-link:focus-visible {
  z-index: 3;
}

.category-link:hover > img,
.category-link:focus-visible > img {
  opacity: 1;
  transform: translate(-36%, -50%) rotate(-5deg) scale(1);
}

.contact {
  min-height: 587px;
  padding: 42px max(var(--gutter), calc((100vw - var(--container)) / 2));
  background: var(--paper);
}

.contact__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 228px;
  padding: 20px 0 56px;
  border-bottom: 2px solid var(--line);
}

.contact__intro h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(56px, 5.55vw, 80px);
  font-weight: 400;
  line-height: 1.2;
}

.contact__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.055em;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 68px;
}

.footer__brand {
  width: 370px;
}

.footer__brand h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
}

.footer__brand p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.055em;
}

.footer__links {
  display: flex;
  gap: 68px;
}

.footer__links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 90px;
}

.footer__links h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}

.footer__links a,
.footer__links > div > span,
.wechat-link summary {
  position: relative;
  padding: 3px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
}

.wechat-link {
  position: relative;
  z-index: 5;
  color: var(--muted);
}

.wechat-link summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.wechat-link summary::-webkit-details-marker {
  display: none;
}

.wechat-link summary::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wechat-popover {
  position: absolute;
  right: -16px;
  bottom: calc(100% + 12px);
  width: 210px;
  padding: 8px;
  visibility: hidden;
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 16px 46px rgb(0 0 0 / 16%);
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.97);
  transform-origin: right bottom;
  pointer-events: none;
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 360ms;
}

.wechat-popover::after {
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 18px;
  content: "";
}

.wechat-popover img {
  width: 100%;
  height: auto;
}

.wechat-link:hover summary::after,
.wechat-link:focus-within summary::after,
.wechat-link[open] summary::after {
  transform: scaleX(1);
}

.wechat-link:hover .wechat-popover,
.wechat-link:focus-within .wechat-popover,
.wechat-link[open] .wechat-popover {
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
  transition-delay: 0s;
}

.footer__links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__links a:hover::after,
.footer__links a:focus-visible::after {
  transform: scaleX(1);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 950ms cubic-bezier(0.33, 1, 0.68, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1100px) {
  :root {
    --gutter: clamp(30px, 5vw, 56px);
  }

  .hero-photo {
    width: clamp(154px, 17.55vw, 193px);
    height: auto;
    aspect-ratio: 193 / 240;
  }

  .hero-photo--main {
    width: clamp(310px, 33.64vw, 370px);
    height: auto;
    aspect-ratio: 370 / 490;
  }

  .hero-photo--edge-left { left: -3.333%; }

  .hero-photo--left-top {
    left: 11.576%;
  }

  .hero-photo--left-low {
    left: 20.104%;
  }

  .hero-photo--right-top {
    right: auto;
    left: 66.527%;
  }

  .hero-photo--right-low {
    right: auto;
    left: 74.167%;
  }

  .hero-photo--edge-right {
    right: auto;
    left: 89.306%;
  }

  .story-project {
    width: 66%;
  }

  .categories__list {
    column-gap: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .hero {
    min-height: 860px;
  }

  .hero__wordmark {
    top: 294px;
    left: -34px;
    font-size: 118px;
  }

  .hero-photo {
    width: 154px;
    height: 192px;
  }

  .hero-photo--main {
    top: 143px;
    width: clamp(272px, 37.8vw, 310px);
    height: auto;
    aspect-ratio: 370 / 490;
  }

  .hero-photo--edge-left {
    top: 352px;
    left: -5%;
  }

  .hero-photo--left-top {
    top: 195px;
    left: 5%;
  }

  .hero-photo--left-low {
    top: 366px;
    left: 19%;
  }

  .hero-photo--right-top {
    top: 210px;
    right: auto;
    left: 67%;
  }

  .hero-photo--right-low {
    top: 384px;
    right: auto;
    left: 77%;
  }

  .hero-photo--edge-right {
    top: 308px;
    right: auto;
    left: 91%;
  }

  .hero__caption {
    right: var(--gutter);
    bottom: 62px;
    left: var(--gutter);
    font-size: 30px;
  }

  .latest-work {
    height: 700px;
  }

  .latest-work__backdrop {
    top: 212px;
    font-size: 118px;
  }

  .latest-work__track {
    position: relative;
    top: 144px;
    left: auto;
    gap: 24px;
    width: 100%;
    padding: 0 var(--gutter) 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none;
    scrollbar-width: none;
  }

  .latest-work__track::-webkit-scrollbar {
    display: none;
  }

  .work-card {
    flex: 0 0 clamp(210px, 30vw, 240px);
    width: clamp(210px, 30vw, 240px);
    scroll-snap-align: center;
  }

  .story {
    min-height: auto;
  }

  .story-chapter,
  .story-chapter:nth-child(2),
  .story-chapter--single,
  .story-chapter--final {
    min-height: auto;
    padding-bottom: 120px;
  }

  .story-heading {
    top: 70px;
    margin-bottom: 150px;
    font-size: clamp(62px, 10vw, 82px);
  }

  .story-project {
    width: 74%;
    margin-bottom: 90px;
  }

  .story-project__frame {
    height: clamp(360px, 56vw, 470px);
  }

  .categories {
    min-height: 900px;
  }

  .contact__intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }
}

/* The desktop footer's fixed brand and link columns exceed the available
   content width between tablet and mobile. Reflow before that intrinsic
   minimum is reached so resizing never creates horizontal page overflow. */
@media (max-width: 720px) {
  .footer {
    flex-direction: column;
    gap: 48px;
    padding-top: 48px;
  }

  .footer__brand {
    width: min(100%, 370px);
  }

  .footer__links {
    max-width: 100%;
    gap: clamp(36px, 9vw, 54px);
  }

  .wechat-popover {
    right: auto;
    left: 0;
    width: min(210px, calc(100vw - (2 * var(--gutter))));
    transform-origin: left bottom;
  }
}

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

  html {
    scroll-padding-top: 58px;
  }

  .brand,
  .menu-toggle {
    font-size: 16px;
  }

  .menu-overlay__nav {
    top: 25%;
  }

  .menu-overlay__eyebrow {
    max-width: 180px;
    font-size: 13px;
  }

  .menu-overlay__nav a {
    font-size: clamp(44px, 14vw, 62px);
  }

  .menu-overlay__media--top {
    top: -10%;
    right: -8%;
    left: auto;
    width: 48vw;
  }

  .menu-overlay__media--right {
    top: auto;
    right: -7%;
    bottom: 3%;
    width: 43vw;
  }

  .menu-overlay__media--bottom {
    display: none;
  }

  .hero {
    min-height: 790px;
  }

  .hero__stage {
    transform: translate3d(-50%, 26vh, 0);
  }

  .hero__wordmark {
    top: 250px;
    left: -108px;
    font-size: 92px;
  }

  .hero-photo {
    width: 108px;
    height: 136px;
    border-width: 3px;
  }

  .hero-photo--main {
    top: 120px;
    width: 54vw;
    max-width: 244px;
    height: auto;
    aspect-ratio: 0.755;
  }

  .hero-photo--edge-left {
    top: 330px;
    left: -10%;
  }

  .hero-photo--left-top {
    top: 181px;
    left: 1%;
  }

  .hero-photo--left-low {
    top: 346px;
    left: 21%;
  }

  .hero-photo--right-top {
    top: 188px;
    right: auto;
    left: 68%;
  }

  .hero-photo--right-low {
    top: 354px;
    right: auto;
    left: 77%;
  }

  .hero-photo--edge-right {
    top: 286px;
    right: auto;
    left: 92%;
  }

  .hero__caption {
    right: 20px;
    bottom: 60px;
    left: 20px;
    font-size: clamp(24px, 7.1vw, 30px);
    line-height: 1.22;
  }

  .latest-work {
    --work-shift: 0px;
    height: auto;
    min-height: 670px;
    padding: 118px 0 132px;
  }

  .latest-work__backdrop {
    top: 158px;
    left: -18px;
    font-size: 82px;
  }

  .latest-work__track {
    position: relative;
    top: auto;
    left: auto;
    gap: 18px;
    width: 100%;
    padding: 0 20px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none;
    scrollbar-width: none;
  }

  .latest-work__track::-webkit-scrollbar {
    display: none;
  }

  .work-card {
    flex: 0 0 61vw;
    max-width: 250px;
    height: auto;
    aspect-ratio: 0.665;
    scroll-snap-align: center;
  }

  .work-card--offset {
    transform: none;
  }

  .work-card__veil,
  .work-card__disc {
    display: none;
  }

  .work-card__copy {
    top: auto;
    bottom: 14px;
    left: 14px;
    display: flex;
    width: calc(100% - 28px);
    color: var(--white);
    text-align: left;
    opacity: 1;
    text-shadow: 0 1px 16px rgb(0 0 0 / 70%);
    transform: none;
  }

  .work-card::after {
    position: absolute;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 58%));
    pointer-events: none;
  }

  .latest-work__link {
    bottom: 58px;
  }

  .story__inner {
    width: calc(100% - 40px);
    padding: 90px 0 30px;
  }

  .story-chapter,
  .story-chapter:nth-child(2),
  .story-chapter--single,
  .story-chapter--final {
    padding-bottom: 86px;
  }

  .story-heading,
  .story-heading--right {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0 0 54px;
    font-size: clamp(46px, 13.2vw, 64px);
    text-align: left;
  }

  .story-project,
  .story-project--left,
  .story-project--right {
    width: 100%;
    margin: 0 0 68px;
  }

  .story-project__frame {
    height: auto;
    aspect-ratio: 1.4;
  }

  .story-project__frame img {
    height: 100%;
  }

  .story-project__title {
    margin-top: 14px;
    font-size: 18px;
  }

  .categories {
    min-height: auto;
  }

  .categories__inner {
    width: calc(100% - 40px);
    padding: 84px 0 100px;
  }

  .categories__title {
    margin-bottom: 72px;
    font-size: clamp(44px, 12vw, 58px);
  }

  .categories__list {
    display: block;
  }

  .category-link {
    display: block;
    width: max-content;
    max-width: 100%;
    font-size: clamp(50px, 15vw, 72px);
  }

  .category-link > img {
    display: none;
  }

  .contact {
    min-height: auto;
    padding: 54px 20px 60px;
  }

  .contact__intro {
    min-height: 0;
    padding: 0 0 48px;
  }

  .contact__intro h2 {
    font-size: clamp(44px, 12vw, 58px);
  }

  .contact__intro p,
  .footer__brand p {
    font-size: 15px;
    letter-spacing: 0.035em;
  }

  .footer {
    flex-direction: column;
    gap: 48px;
    padding-top: 48px;
  }

  .footer__brand {
    width: min(100%, 370px);
  }

  .footer__brand h2 {
    font-size: 38px;
  }

  .footer__links {
    gap: 54px;
  }

  .footer__links a,
  .footer__links > div > span,
  .wechat-link summary {
    font-size: 16px;
  }

  .wechat-popover {
    right: auto;
    left: 0;
    width: min(210px, calc(100vw - 40px));
    transform-origin: left bottom;
  }
}

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

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

  .hero__stage,
  .hero-photo,
  .hero-photo--main,
  [data-reveal],
  .categories__inner {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .hero__stage {
    transform: translateX(-50%) !important;
  }

  .hero-photo--main {
    transform: translateX(-50%) !important;
  }

  .story-heading,
  .story-project,
  .story-project__frame,
  .story-project__frame img,
  .latest-work__track {
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
  }

  .latest-work__track {
    transform: translateX(-50%) !important;
  }

  .latest-work__backdrop {
    opacity: 1 !important;
    filter: none !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .latest-work__track {
    transform: none !important;
  }
}

/* The approved five-card silhouette repeats as a seamless project marquee.
   Both groups contain the same explicit project links, so the loop never
   changes a photograph's destination. */
.latest-work__track {
  position: absolute;
  z-index: 1;
  top: 144px;
  left: -45.3px;
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0;
  overflow: visible;
  transform: none;
  animation: dennis-project-marquee 96s linear infinite;
  will-change: transform;
}

.latest-work__group {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 60px;
  padding-right: 60px;
}

.latest-work__track:focus-within {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  .latest-work__track:has(.work-card:hover) {
    animation-play-state: paused;
  }
}

.work-card {
  flex: 0 0 240px;
  width: 240px;
  height: 361px;
  aspect-ratio: auto;
  background: #ddd;
}

.work-card--shape-2 {
  height: 319.4px;
  margin-top: 20.6px;
}

.work-card--shape-3,
.work-card--shape-4 {
  height: 360px;
  margin-top: 0.3px;
}

.work-card--shape-5 {
  height: 308px;
  margin-top: 26.3px;
}

.work-card--shape-3 img { object-position: 50% 50%; }
.work-card--shape-4 img { object-position: 51.9% 50%; }
.work-card--shape-5 img { object-position: 43.6% 50%; }

@keyframes dennis-project-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 900px) {
  .latest-work__track {
    top: 144px;
    left: 0;
    width: max-content;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    animation-duration: 86s;
  }

  .latest-work__group {
    gap: 24px;
    padding: 0 24px 0 0;
  }

  .work-card {
    flex-basis: clamp(210px, 30vw, 240px);
    width: clamp(210px, 30vw, 240px);
  }
}

@media (max-width: 600px) {
  .latest-work__track {
    position: relative;
    top: auto;
    left: 20px;
    animation-duration: 78s;
  }

  .latest-work__group {
    gap: 18px;
    padding: 0 18px 0 0;
  }

  .work-card,
  .work-card--shape-2,
  .work-card--shape-3,
  .work-card--shape-4,
  .work-card--shape-5 {
    flex: 0 0 min(61vw, 250px);
    width: min(61vw, 250px);
    height: auto;
    margin-top: 0;
    aspect-ratio: 240 / 361;
  }
}

@media (prefers-reduced-motion: reduce) {
  .latest-work__track {
    position: relative;
    top: 144px;
    left: 0;
    display: block;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    animation: none;
    transform: none !important;
    scrollbar-width: none;
  }

  .latest-work__track::-webkit-scrollbar {
    display: none;
  }

  .latest-work__group {
    width: max-content;
    padding: 0 var(--gutter) 24px;
  }

  .latest-work__group[aria-hidden="true"] {
    display: none;
  }

  .work-card {
    scroll-snap-align: center;
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .latest-work__track {
    top: auto;
    left: 0;
  }

  .latest-work__group {
    padding-inline: 20px;
  }
}
