:root {
  --ink: #0b0b0b;
  --paper: #f0ede6;
  --paper-warm: #e7dfd2;
  --acid: #c8ff2e;
  --sage: #b9c1a5;
  --blue: #97b7d6;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: rgba(11, 11, 11, 0.18);
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --serif: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--acid);
}

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

button,
input,
textarea {
  font: inherit;
}

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

figure,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.pointer-glow {
  --x: 50vw;
  --y: 40vh;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 260px at var(--x) var(--y), rgba(200, 255, 46, 0.12), transparent 72%);
  transition: opacity 300ms ease;
}

@media (pointer: fine) {
  .pointer-glow {
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: start;
  width: 100%;
  padding: 22px 28px;
  color: white;
  mix-blend-mode: difference;
  transition: transform 400ms ease;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.site-mark {
  display: inline-flex;
  align-items: flex-start;
  width: max-content;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.09em;
  line-height: 1;
}

.site-mark sup {
  margin: -3px 0 0 3px;
  font-size: 8px;
  letter-spacing: 0;
}

.header-role {
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.35;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}

.desktop-nav a,
.header-contact {
  position: relative;
  width: max-content;
}

.desktop-nav a::after,
.header-contact::after,
.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms ease;
}

.desktop-nav a:hover::after,
.header-contact:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  font-size: 12px;
}

.header-contact span,
.text-link span,
.pill-link span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 300ms ease;
}

.header-contact:hover span,
.text-link:hover span,
.pill-link:hover span {
  transform: translate(3px, -3px);
}

.menu-button {
  display: none;
  width: 32px;
  height: 24px;
  padding: 3px;
  border: 0;
  color: inherit;
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 300ms ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-100%);
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(42px, 13vw, 70px);
  font-style: italic;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 110vh;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 70% 35%, rgba(145, 174, 203, 0.16), transparent 25%),
    radial-gradient(circle at 25% 85%, rgba(200, 255, 46, 0.08), transparent 20%);
  filter: blur(30px);
}

.hero-meta {
  position: absolute;
  top: 108px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hero-meta-left {
  left: 28px;
}

.hero-meta-right {
  right: 28px;
  text-align: right;
}

.hero-title {
  position: absolute;
  inset: 22vh 2vw auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  font-size: clamp(70px, 13.7vw, 240px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.72;
  pointer-events: none;
}

.hero-line {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroReveal 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line-b {
  align-self: flex-end;
  animation-delay: 120ms;
}

.hero-line-c {
  margin-top: 0.1em;
  padding-left: 7vw;
  animation-delay: 240ms;
}

.hero-line-c em {
  font-family: var(--serif);
  font-weight: 400;
}

@keyframes heroReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-stage {
  --hero-shift: 0px;
  --hero-scale: 1;
  position: absolute;
  top: 18vh;
  left: 50%;
  z-index: 2;
  width: min(37vw, 540px);
  transform: translate3d(-50%, var(--hero-shift), 0) scale(var(--hero-scale));
  transform-origin: center top;
  will-change: transform;
}

.hero-image-shell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ccd0d6;
  clip-path: inset(0 0 0 0 round 220px 220px 8px 8px);
  animation: stageReveal 1300ms 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes stageReveal {
  from {
    clip-path: inset(48% 48% 48% 48% round 999px);
    transform: scale(0.9) rotate(-3deg);
  }
}

.hero-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
}

.hero-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.06);
}

.hero-index,
.hero-ratio {
  position: absolute;
  bottom: -22px;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.hero-index {
  left: 0;
}

.hero-ratio {
  right: 0;
}

.hero-statement {
  position: absolute;
  right: 28px;
  bottom: 92px;
  z-index: 4;
  max-width: 300px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 82px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transform: translateX(-100%);
  animation: scrollLine 1800ms ease-in-out infinite;
}

@keyframes scrollLine {
  55%,
  100% {
    transform: translateX(100%);
  }
}

.work-section {
  position: relative;
  z-index: 3;
  padding: 140px 28px 180px;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 22% 60% 18%;
  align-items: start;
  padding-bottom: 100px;
}

.section-kicker,
.ratio-heading > span,
.about-label span,
.case-section-number {
  font-size: 9px;
  letter-spacing: 0.15em;
}

.section-heading h2 {
  font-size: clamp(42px, 6.7vw, 100px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.section-heading h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

.section-heading p {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.8;
}

.project-lead {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 34px 0 60px;
  border-top: 1px solid var(--line-light);
}

.project-lead > div:first-child > span,
.case-title-wrap > span,
.case-duo-copy > span,
.case-gallery > header > span,
.case-end > span {
  display: block;
  margin-bottom: 20px;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.project-lead h3 {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 120px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.project-lead-copy {
  align-self: end;
  max-width: 410px;
}

.project-lead-copy p {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}

.text-link {
  position: relative;
  display: inline-block;
  font-size: 12px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 90px 18px;
}

.work-card {
  position: relative;
  display: block;
}

.work-card figure {
  position: relative;
  overflow: hidden;
  background: #d5d6d6;
}

.work-card figure::after {
  content: "VIEW PROJECT ↗";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font-size: 8px;
  letter-spacing: 0.12em;
  transform: translate(-50%, -30%) scale(0.3);
  opacity: 0;
  transition: 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover figure::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

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

.work-card:hover img {
  transform: scale(1.035);
  filter: saturate(0.88);
}

.work-card-tall {
  grid-column: 1 / span 5;
}

.work-card-tall figure {
  aspect-ratio: 3 / 4;
}

.work-card-square {
  grid-column: 8 / span 5;
  margin-top: 19vw;
}

.work-card-square figure {
  aspect-ratio: 1;
}

.work-card-wide {
  grid-column: 1 / span 8;
}

.work-card-wide figure {
  aspect-ratio: 16 / 9;
}

.work-card-portrait {
  grid-column: 9 / span 4;
  margin-top: 12vw;
}

.work-card-portrait figure {
  aspect-ratio: 3 / 4;
}

.card-number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  color: white;
  background: rgba(0, 0, 0, 0.48);
  border-radius: 50%;
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.card-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  margin-top: 10px;
}

.card-caption strong {
  font-size: 13px;
  font-weight: 500;
}

.card-caption span {
  font-size: 8px;
  letter-spacing: 0.1em;
}

.services-section {
  position: relative;
  z-index: 3;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}

.marquee > div {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-size: clamp(28px, 4vw, 62px);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.marquee i {
  padding: 0 34px;
  color: var(--acid);
  font-size: 18px;
  font-style: normal;
}

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

.services-inner {
  padding: 150px 28px 180px;
}

.section-heading-light {
  border-bottom: 1px solid var(--line-dark);
}

.service-list {
  margin-left: 25%;
}

.service-item {
  display: grid;
  grid-template-columns: 10% 50% 40%;
  align-items: center;
  min-height: 145px;
  border-bottom: 1px solid var(--line-dark);
  transition: color 300ms ease, padding 350ms ease;
}

.service-item:hover {
  padding-left: 15px;
  color: var(--acid);
}

.service-item > span {
  font-size: 9px;
  letter-spacing: 0.12em;
}

.service-item h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 400;
}

.service-item p {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.7;
}

.story-section {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 50% 50%;
  background: #d8d0c3;
}

.story-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.story-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 650ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 7px 10px;
  color: white;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  font-size: 8px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.story-copy {
  padding: 0 9vw;
}

.story-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  border-bottom: 1px solid var(--line-light);
  opacity: 0.42;
  transition: opacity 400ms ease;
}

.story-step.is-active {
  opacity: 1;
}

.story-step > span {
  margin-bottom: 32px;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.story-step h2 {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.4vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.story-step p {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.9;
}

.ratio-section {
  position: relative;
  z-index: 3;
  padding: 150px 28px 180px;
  background: var(--paper);
}

.ratio-heading {
  display: grid;
  grid-template-columns: 25% 75%;
  padding-bottom: 90px;
}

.ratio-heading h2 {
  max-width: 950px;
  font-size: clamp(52px, 8vw, 125px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.ratio-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.ratio-showcase button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-light);
  cursor: pointer;
  text-align: left;
  transition: padding 250ms ease, color 250ms ease, border-color 250ms ease;
}

.ratio-showcase button:hover,
.ratio-showcase button.is-active {
  padding-left: 8px;
  color: #51640e;
  border-color: #51640e;
}

.ratio-showcase button span {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.ratio-showcase button i {
  margin-top: 7px;
  font-size: 9px;
  font-style: normal;
}

.ratio-frame {
  grid-column: 1 / -1;
  justify-self: center;
  position: relative;
  width: min(85vw, 1100px);
  aspect-ratio: 16 / 9;
  margin-top: 60px;
  background: #d4d4d4;
  overflow: hidden;
  transition: width 700ms cubic-bezier(0.16, 1, 0.3, 1), aspect-ratio 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ratio-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.ratio-frame figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: white;
  background: rgba(0, 0, 0, 0.48);
  border-radius: 20px;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.about-section {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 25% 75%;
  padding: 150px 28px;
  color: var(--paper);
  background: #242521;
}

.about-lead {
  max-width: 1120px;
  font-family: var(--serif);
  font-size: clamp(45px, 6.2vw, 95px);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.about-lead strong {
  color: var(--acid);
  font-weight: 400;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 900px;
  margin-top: 100px;
  padding-top: 25px;
  border-top: 1px solid var(--line-dark);
}

.about-columns p {
  font-size: 13px;
  line-height: 1.9;
}

.about-columns ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-columns li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.contact-section {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: 100px 28px 26px;
  background: var(--acid);
}

.contact-kicker {
  font-size: 9px;
  letter-spacing: 0.16em;
}

.contact-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 75vh;
  font-size: clamp(65px, 13.5vw, 215px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.73;
}

.contact-title span:last-child {
  align-self: flex-end;
}

.contact-title em {
  align-self: center;
  font-family: var(--serif);
  font-weight: 400;
}

.contact-title:hover em {
  font-style: normal;
}

.contact-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 11, 11, 0.35);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.reveal {
  transform: translateY(60px);
  opacity: 0;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms ease;
}

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

/* Case study */
.case-page {
  background: var(--paper);
}

.case-header {
  color: white;
}

.case-hero {
  padding: 190px 28px 0;
}

.case-title-wrap {
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: start;
}

.case-title-wrap h1 {
  font-size: clamp(70px, 12vw, 185px);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.77;
}

.case-title-wrap h1 em {
  font-family: var(--serif);
  font-weight: 400;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 75%;
  margin: 100px 0 42px auto;
}

.case-meta div {
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
}

.case-meta dt {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.case-meta dd {
  font-size: 13px;
}

.case-cover {
  height: min(76vw, 940px);
  max-height: 82vh;
  overflow: hidden;
}

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

.case-cover video,
.case-duo figure video,
.case-feature-image video,
.case-gallery-grid video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-overview {
  display: grid;
  grid-template-columns: 25% 75%;
  padding: 160px 28px 180px;
}

.case-overview > div {
  max-width: 1040px;
}

.case-overview h2 {
  margin-bottom: 60px;
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.case-overview p {
  max-width: 670px;
  margin-left: auto;
  font-size: 16px;
  line-height: 2;
}

.case-overview .case-note {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line-light);
  font-size: 11px;
}

.case-duo {
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  padding: 100px 7vw;
  background: #cfc5b7;
}

.case-duo figure {
  max-width: 720px;
}

.case-duo figure img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.case-duo figcaption,
.case-gallery-grid figcaption {
  padding-top: 10px;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.case-duo-copy {
  max-width: 500px;
}

.case-duo-copy h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(45px, 5.4vw, 78px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.case-duo-copy p {
  max-width: 370px;
  font-size: 13px;
  line-height: 1.9;
}

.case-duo-reverse {
  grid-template-columns: 42% 58%;
  background: #aeb5a2;
}

.case-duo-reverse figure {
  grid-column: 2;
  justify-self: end;
}

.case-duo-reverse .case-duo-copy {
  grid-row: 1;
  grid-column: 1;
}

.case-feature-image {
  position: relative;
  width: 100%;
  max-height: 1200px;
  background: var(--ink);
  overflow: hidden;
}

.case-feature-image img {
  width: 100%;
  max-height: 1200px;
  object-fit: cover;
  object-position: center 47%;
}

.case-feature-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 330px;
  padding: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.case-feature-caption span {
  font-size: 8px;
  letter-spacing: 0.14em;
}

.case-feature-caption p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
}

.case-gallery {
  padding: 160px 28px 180px;
}

.case-gallery > header {
  display: grid;
  grid-template-columns: 25% 75%;
  margin-bottom: 100px;
}

.case-gallery > header h2 {
  font-family: var(--serif);
  font-size: clamp(50px, 7.4vw, 112px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 80px 18px;
}

.case-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-square {
  grid-column: 1 / span 5;
}

.gallery-square img {
  aspect-ratio: 1;
}

.gallery-landscape {
  grid-column: 6 / span 7;
  margin-top: 15vw;
}

.gallery-landscape img {
  aspect-ratio: 4 / 3;
}

.gallery-portrait {
  grid-column: 4 / span 5;
}

.gallery-portrait img {
  aspect-ratio: 3 / 4;
}

.case-end {
  padding: 130px 28px;
  color: var(--paper);
  background: var(--ink);
}

.case-end h2 {
  max-width: 1100px;
  margin: 45px 0 70px 25%;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.case-end > div {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 25%;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 12px;
  transition: background 300ms ease, color 300ms ease;
}

.pill-link-dark {
  color: var(--ink);
  background: var(--acid);
}

.pill-link-dark:hover {
  background: white;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }

  .header-role,
  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-meta {
    top: 78px;
  }

  .hero-meta-left {
    left: 18px;
  }

  .hero-meta-right {
    right: 18px;
  }

  .hero-title {
    inset: 25vh 14px auto;
    font-size: clamp(54px, 18vw, 100px);
    line-height: 0.78;
  }

  .hero-line-b {
    align-self: flex-start;
  }

  .hero-line-c {
    padding-left: 7vw;
  }

  .hero-stage {
    top: 20vh;
    width: min(68vw, 440px);
  }

  .hero-statement {
    right: 18px;
    bottom: 82px;
    max-width: 240px;
  }

  .scroll-cue {
    bottom: 26px;
    left: 18px;
  }

  .work-section,
  .ratio-section,
  .services-inner,
  .case-gallery {
    padding: 100px 18px;
  }

  .section-heading,
  .ratio-heading,
  .about-section,
  .case-title-wrap,
  .case-overview,
  .case-gallery > header {
    grid-template-columns: 1fr;
  }

  .section-kicker,
  .ratio-heading > span,
  .about-label,
  .case-title-wrap > span,
  .case-section-number,
  .case-gallery > header > span {
    margin-bottom: 35px;
  }

  .section-heading p {
    margin-top: 32px;
  }

  .project-lead {
    grid-template-columns: 1fr;
  }

  .editorial-grid {
    gap: 55px 12px;
  }

  .work-card-tall {
    grid-column: 1 / span 7;
  }

  .work-card-square {
    grid-column: 6 / span 7;
    margin-top: 42vw;
  }

  .work-card-wide {
    grid-column: 1 / span 12;
  }

  .work-card-portrait {
    grid-column: 4 / span 7;
    margin-top: 0;
  }

  .service-list {
    margin-left: 0;
  }

  .service-item {
    grid-template-columns: 12% 1fr;
    padding: 24px 0;
  }

  .service-item p {
    grid-column: 2;
    margin-top: 12px;
  }

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

  .story-visual {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 54vh;
  }

  .story-copy {
    position: relative;
    z-index: 3;
    padding: 0 18px;
  }

  .story-step {
    min-height: 72vh;
    padding: 80px 0;
    background: rgba(216, 208, 195, 0.88);
    backdrop-filter: blur(12px);
  }

  .ratio-heading h2 {
    margin-top: 20px;
  }

  .ratio-showcase {
    grid-template-columns: repeat(3, 1fr);
  }

  .ratio-frame {
    margin-top: 30px;
  }

  .about-section {
    padding: 100px 18px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 70px;
  }

  .contact-section {
    padding: 80px 18px 20px;
  }

  .contact-title {
    min-height: 68vh;
  }

  .contact-footer {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .contact-footer span:nth-child(2) {
    display: none;
  }

  .case-hero {
    padding: 130px 18px 0;
  }

  .case-title-wrap h1 {
    font-size: clamp(68px, 17vw, 120px);
  }

  .case-meta {
    width: 100%;
    margin-top: 70px;
  }

  .case-cover {
    height: 72vh;
  }

  .case-overview {
    padding: 110px 18px;
  }

  .case-overview p {
    margin-left: 0;
  }

  .case-duo,
  .case-duo-reverse {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 80px 18px;
  }

  .case-duo figure,
  .case-duo-reverse figure {
    grid-column: 1;
    grid-row: auto;
    width: 90%;
  }

  .case-duo-reverse figure {
    justify-self: end;
  }

  .case-duo-copy,
  .case-duo-reverse .case-duo-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .case-gallery-grid {
    gap: 60px 12px;
  }

  .gallery-square {
    grid-column: 1 / span 8;
  }

  .gallery-landscape {
    grid-column: 3 / span 10;
    margin-top: 0;
  }

  .gallery-portrait {
    grid-column: 2 / span 8;
  }

  .case-end {
    padding: 100px 18px;
  }

  .case-end h2,
  .case-end > div {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .hero-meta-right {
    display: none;
  }

  .hero-title {
    top: 28vh;
  }

  .hero-stage {
    top: 21vh;
    left: 64%;
    width: 72vw;
  }

  .hero-statement {
    left: 18px;
    right: auto;
  }

  .section-heading {
    padding-bottom: 60px;
  }

  .work-card-tall {
    grid-column: 1 / span 9;
  }

  .work-card-square {
    grid-column: 5 / span 8;
    margin-top: 10vw;
  }

  .work-card-portrait {
    grid-column: 3 / span 8;
  }

  .ratio-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-feature-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .case-end > div {
    flex-direction: column;
    align-items: flex-start;
  }
}

@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-line,
  .reveal {
    transform: none;
    opacity: 1;
  }
}
