:root {
  --paper: #efefed;
  --paper-strong: #f7f7f4;
  --ink: #0b0c0b;
  --ink-soft: #262725;
  --muted: #7f807c;
  --line-light: rgba(11, 12, 11, 0.16);
  --line-dark: rgba(255, 255, 255, 0.13);
  --accent: #ff624d;
  --gutter: clamp(1.25rem, 2.78vw, 2.5rem);
  --container: 80rem;
  --radius-sm: 0.4rem;
  --radius-card: clamp(1.5rem, 3vw, 3rem);
  --display-1: clamp(3rem, 4.45vw, 4rem);
  --display-2: clamp(2.65rem, 3.62vw, 3.25rem);
  --display-3: clamp(2rem, 3vw, 2.7rem);
  --text-sm: 0.78rem;
  --text-base: 1rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 260ms;
  --duration: 700ms;
  --duration-slow: 1100ms;
  --z-header: 40;
  --z-panel: 100;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html {
  overflow-x: clip;
}

body.panel-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  color: var(--paper-strong);
  background: var(--ink);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: white;
  background: black;
  transform: translateY(-150%);
  transition: transform var(--duration-fast) var(--ease-out);
}

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

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

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline-color: var(--ink);
}

#main:focus {
  outline: 0;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.section-dark {
  color: var(--paper-strong);
  background: var(--ink);
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 6.4rem;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  justify-self: start;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.desktop-nav {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  font-size: 0.95rem;
}

.desktop-nav a,
.footer a {
  position: relative;
}

.desktop-nav a::after,
.footer a::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-fast) var(--ease-out);
}

.desktop-nav a:hover::after,
.footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.75rem 2rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--dark:hover {
  color: var(--ink);
  background: var(--accent);
}

.button--light {
  color: var(--ink);
  background: var(--paper-strong);
}

.button--light:hover {
  background: var(--accent);
}

.header-cta {
  justify-self: end;
  min-width: 10rem;
}

.hero {
  position: relative;
  min-height: 56.25rem;
  height: 100svh;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(49rem, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding-top: clamp(10.5rem, 21vh, 12rem);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 0.32rem;
  height: 0.32rem;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  margin-top: 1.55rem;
  font-size: var(--display-1);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.wipe-line {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  overflow: clip;
  overflow-clip-margin: 0.1em;
}

.motion-js .wipe-line {
  clip-path: none;
  transition: none;
}

.motion-js .home-view.view-entering .wipe-line {
  clip-path: none;
}

.wipe-line > span {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 1;
  transform: none;
  animation: none;
}

.wipe-line::after {
  position: absolute;
  inset: -0.04em -0.06em;
  z-index: 2;
  content: "";
  background: var(--ink);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  will-change: transform;
}

.hero-intro {
  width: min(40rem, 100%);
  margin: 1.35rem auto 0;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-size: 1rem;
  line-height: 1.55;
  animation-delay: 450ms;
}

.reveal-up {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: reveal-up 0.9s var(--ease-out) forwards;
}

.ambient-marks {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ambient-marks i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 0.8rem;
  height: 0.8rem;
  animation: mark-drift 11s var(--ease-smooth) var(--delay) infinite alternate;
}

.ambient-marks i::before,
.ambient-marks i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
}

.ambient-marks i::after {
  transform: rotate(90deg);
}

.hero-orbit {
  position: absolute;
  top: 66%;
  bottom: auto;
  left: 50%;
  z-index: 2;
  width: 1px;
  height: 1px;
  transform: translate(-50%, 60px);
}

.orbit-tile {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(13.5rem, 19vw, 17.5rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 1.2rem 2.5rem rgba(15, 15, 15, 0.14);
  will-change: transform;
}

.orbit-tile img {
  height: 100%;
  object-fit: cover;
}

.scroll-line {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  z-index: 4;
  width: 1px;
  height: 4rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.17);
}

.scroll-line::after {
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  content: "";
  background: var(--ink);
  animation: scroll-pulse 2.3s var(--ease-smooth) infinite;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem;
  align-items: start;
}

.section-heading h2 {
  font-size: var(--display-2);
  font-weight: 450;
  letter-spacing: -0.052em;
  line-height: 1.11;
}

.section-heading--wide h2 {
  max-width: 57rem;
}

.mask-heading {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

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

.showcase {
  position: relative;
  min-height: 78rem;
  padding: 9.75rem 0 7.5rem;
}

.showcase .section-heading {
  margin-bottom: 8rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 15rem;
  gap: 0.42rem;
}

.showcase-cell {
  aspect-ratio: auto;
  overflow: hidden;
  background: #101210;
  opacity: 0;
  transform: translateY(1.5rem) scale(0.97);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.showcase-cell.span-2 {
  grid-column: span 2;
  aspect-ratio: auto;
}

.showcase-cell.showcase-cell--closing {
  grid-column: 1 / span 2;
}

.showcase-cell.is-visible {
  opacity: 1;
  transform: none;
}

.showcase-cell img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease-out);
}

.showcase-cell:hover img {
  filter: saturate(1.05);
  transform: scale(1.045);
}

.practice {
  padding: 8rem 0 5.5rem;
}

.practice-heading {
  grid-template-columns: 0.62fr 1.38fr;
  margin-bottom: 7rem;
}

.practice-heading h2 {
  max-width: 55rem;
}

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

.practice-card {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  background: #151715;
}

.practice-card > img {
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
  filter: grayscale(0.18);
  transform: scale(1.02);
  transition:
    filter 0.7s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.practice-card:first-child > img {
  object-position: 78% center;
}

.practice-card__overlay {
  position: absolute;
  inset: 4.75rem 2.5rem 4.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--ink);
  background: var(--paper-strong);
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.practice-card:hover > img,
.practice-card:focus > img,
.practice-card:focus-within > img {
  filter: grayscale(0);
  transform: scale(1.08);
}

.practice-card:hover .practice-card__overlay,
.practice-card:focus .practice-card__overlay,
.practice-card:focus-within .practice-card__overlay {
  opacity: 1;
  transform: none;
}

.overline {
  margin-bottom: auto;
  color: var(--muted);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-card h3 {
  margin-bottom: 0.65rem;
  font-size: 2rem;
  font-weight: 520;
  letter-spacing: -0.04em;
}

.practice-card__overlay > p:last-child {
  max-width: 18rem;
  color: #474844;
  font-size: 0.92rem;
}

.capabilities {
  min-height: 53rem;
  padding: 5rem 0 8rem;
}

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

.capability-row {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.95fr;
  gap: 1rem;
  align-items: center;
  min-height: 4.85rem;
  padding: 0 1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(1rem);
  transition:
    color 0.35s var(--ease-out),
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.capability-row::before {
  position: absolute;
  inset: 100% 0 auto;
  z-index: -1;
  height: 100%;
  content: "";
  background: var(--paper-strong);
  transition: transform 0.4s var(--ease-out);
}

.capability-row.is-visible {
  opacity: 1;
  transform: none;
}

.capability-row:hover {
  color: var(--ink);
}

.capability-row:hover::before {
  transform: translateY(-100%);
}

.capability-row span:first-child {
  font-size: 1.05rem;
}

.capability-row span:nth-child(2),
.capability-row span:last-child {
  color: color-mix(in srgb, currentColor 60%, transparent);
  font-size: 0.82rem;
}

.capability-row span:last-child {
  justify-self: end;
}

.capability-cta {
  display: flex;
  width: fit-content;
  margin: 6rem auto 0;
}

.work {
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.work-heading {
  margin-bottom: 6rem;
}

.work-list {
  display: grid;
  gap: clamp(6rem, 9vw, 8rem);
}

.work-item {
  position: relative;
  height: clamp(40rem, 55vw, 51rem);
  perspective: 75rem;
}

.work-card {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #111;
  transform: translateY(var(--card-lift, 7rem)) rotateX(var(--card-tilt, 13deg)) scale(var(--card-scale, 0.95));
  transform-origin: center top;
  transform-style: preserve-3d;
  will-change: transform;
}

.work-card > img {
  height: 100%;
  object-fit: cover;
  transform: scale(var(--image-scale, 1.16));
  will-change: transform;
}

.work-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent 40%);
}

.work-card__meta {
  position: absolute;
  right: clamp(1.6rem, 3vw, 2.5rem);
  bottom: clamp(1.6rem, 3vw, 2.5rem);
  left: clamp(1.6rem, 3vw, 2.5rem);
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  color: white;
}

.work-card__meta strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 520;
  letter-spacing: -0.05em;
}

.work-card__meta small {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.statement {
  display: grid;
  place-items: center;
  min-height: 56rem;
  padding: 8rem var(--gutter);
}

.statement-copy {
  width: min(42rem, 100%);
  font-size: clamp(2.35rem, 3vw, 2.7rem);
  font-weight: 540;
  letter-spacing: -0.048em;
  line-height: 1.35;
}

.statement-copy .word {
  display: inline-block;
  opacity: 0.14;
  transition: opacity 80ms linear;
}

.inline-image {
  display: inline-flex;
  width: 4.7rem;
  height: 3.25rem;
  margin-inline: 0.15rem;
  overflow: hidden;
  border-radius: 0.55rem;
  vertical-align: -0.7rem;
}

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

.archive {
  padding: 7.5rem 0 9rem;
}

.archive-heading {
  margin-bottom: 6rem;
}

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

.archive-card {
  display: grid;
  gap: 1.35rem;
}

.archive-card--wide {
  grid-column: 1 / -1;
}

.archive-card > img {
  width: 100%;
  height: clamp(23rem, 42vw, 39rem);
  object-fit: cover;
  filter: saturate(0.88);
  transition:
    filter 0.55s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.archive-card--wide > img {
  height: clamp(22rem, 43vw, 38rem);
}

.archive-card:hover > img {
  filter: saturate(1.06);
  transform: scale(0.992);
}

.archive-card--static,
.archive-row--static {
  cursor: default;
}

.archive-card--static:hover > img {
  filter: saturate(0.88);
  transform: none;
}

.archive-card > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
}

.archive-card span,
.archive-card p {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.archive-card h3 {
  font-size: 1.7rem;
  font-weight: 540;
  letter-spacing: -0.04em;
}

.contact-banner {
  display: grid;
  min-height: 45rem;
  place-items: center;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: end;
}

.contact-inner h2 {
  max-width: 61rem;
  margin-top: 2rem;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 480;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.footer {
  padding: 7rem 0 2rem;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.1fr 1.5fr;
  gap: 4rem;
  min-height: 30rem;
}

.footer-grid > div:not(.footer-intro) {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-label {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-grid span {
  color: rgba(255, 255, 255, 0.55);
}

.footer-intro {
  justify-self: end;
  max-width: 24rem;
}

.footer-intro strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 4rem;
  letter-spacing: -0.07em;
}

.footer-intro p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-panel);
  overflow: auto;
  color: var(--ink);
  background: var(--paper-strong);
  clip-path: inset(100% 0 0 0 round 2rem 2rem 0 0);
  visibility: hidden;
  transition:
    clip-path 0.9s var(--ease-out),
    visibility 0s linear 0.9s;
}

.project-panel.is-open {
  clip-path: inset(0 0 0 0 round 0);
  visibility: visible;
  transition:
    clip-path 0.9s var(--ease-out),
    visibility 0s;
}

.project-panel__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.25rem;
  padding-inline: var(--gutter);
  background: rgba(247, 247, 244, 0.9);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
}

.project-close {
  padding: 0.65rem 1.1rem;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.project-detail {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
  padding: 7rem 0 9rem;
}

.project-detail__heading {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 5rem;
}

.project-detail__heading h1 {
  max-width: 58rem;
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 580;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.project-detail__heading p {
  justify-self: end;
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-detail__hero {
  height: clamp(30rem, 55vw, 46rem);
  overflow: hidden;
  background: #deded9;
}

.project-detail__hero img {
  height: 100%;
  object-fit: cover;
}

.project-detail__overview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  padding: 7rem 0;
}

.project-detail__overview h2,
.project-block h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.project-detail__copy {
  display: grid;
  gap: 2.5rem;
  max-width: 36rem;
  color: #454641;
}

.project-detail__copy strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-block {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line-light);
}

.project-block__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.project-block__text p {
  justify-self: end;
  max-width: 33rem;
  color: #4d4e4a;
}

.project-block__image {
  display: grid;
  place-items: center;
  min-height: 42rem;
  padding: clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
  background: #e5e5df;
}

.project-block__image img {
  max-width: min(100%, 72rem);
  max-height: 50rem;
  object-fit: contain;
}

@keyframes reveal-up {
  to { opacity: 1; transform: none; }
}

@keyframes mark-drift {
  from { transform: translate3d(-0.75rem, -0.75rem, 0) rotate(-35deg); }
  to { transform: translate3d(0.75rem, 0.75rem, 0) rotate(125deg); }
}

@keyframes scroll-pulse {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

@media (max-width: 68.75rem) {
  :root {
    --display-1: clamp(3rem, 5.4vw, 3.45rem);
    --display-2: clamp(2.55rem, 5vw, 3rem);
  }

  .hero {
    min-height: 48rem;
  }

  .hero-copy {
    padding-top: 10.25rem;
  }

  .showcase {
    min-height: auto;
  }

  .showcase-grid {
    grid-auto-rows: 12.5rem;
  }

  .practice-card,
  .practice-card > img {
    min-height: 27rem;
  }

  .practice-card__overlay {
    inset: 3.5rem 1.7rem;
    padding: 1.5rem;
  }

  .work-item {
    height: clamp(32rem, 55vw, 39rem);
  }

  .footer-grid {
    grid-template-columns: 0.65fr 1fr 1.2fr;
  }
}

@media (max-width: 43.75rem) {
  :root {
    --gutter: 1.25rem;
    --display-1: clamp(2.55rem, 10.7vw, 2.9rem);
    --display-2: clamp(2.2rem, 9vw, 2.65rem);
    --radius-card: 1.75rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 5.4rem;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    font-size: 1.25rem;
  }

  .header-cta {
    min-width: 0;
    min-height: 2.85rem;
    padding-inline: 1.15rem;
  }

  .hero {
    height: 52.75rem;
    min-height: 52.75rem;
  }

  .hero-copy {
    width: calc(100% - 2.5rem);
    padding-top: 9.65rem;
  }

  .hero .eyebrow {
    font-size: 0.7rem;
  }

  .hero h1 {
    margin-top: 1.45rem;
    line-height: 1.08;
  }

  .hero-intro {
    max-width: 21rem;
    margin-top: 1.4rem;
    font-size: 0.94rem;
  }

  .ambient-marks i:nth-child(odd),
  .ambient-marks i:nth-child(4) {
    display: none;
  }

  .hero-orbit {
    top: 74%;
    bottom: auto;
  }

  .orbit-tile {
    width: 12.75rem;
  }

  .scroll-line {
    display: none;
  }

  .section-heading,
  .practice-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase {
    padding: 7rem 0 5rem;
  }

  .showcase .section-heading {
    margin-bottom: 5rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.3rem;
  }

  .showcase-cell {
    aspect-ratio: 1;
  }

  .showcase-cell.span-2 {
    grid-column: span 2;
    aspect-ratio: 2.01 / 1;
  }

  .showcase-cell--closing {
    grid-column: span 2;
  }

  .practice {
    padding: 6.25rem 0 3rem;
  }

  .practice-heading {
    margin-bottom: 4.5rem;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .practice-card,
  .practice-card > img {
    min-height: 27.5rem;
  }

  .practice-card__overlay {
    inset: auto 1rem 1rem;
    min-height: 14rem;
    opacity: 1;
    transform: none;
  }

  .capabilities {
    min-height: auto;
    padding: 3rem 0 7rem;
  }

  .capability-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.25rem 1rem;
    min-height: 5.5rem;
    padding-block: 1rem;
  }

  .capability-row span:nth-child(2) {
    grid-row: 2;
  }

  .capability-row span:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .capability-cta {
    margin-top: 4rem;
  }

  .work {
    padding: 6.5rem 0 4rem;
  }

  .work-heading {
    margin-bottom: 4rem;
  }

  .work-list {
    gap: 4.5rem;
  }

  .work-item {
    height: 30.5rem;
  }

  .work-card__meta {
    display: grid;
    gap: 0.25rem;
  }

  .work-card__meta strong {
    font-size: 2rem;
  }

  .work-card__meta small {
    font-size: 0.66rem;
  }

  .statement {
    min-height: 40rem;
    padding-block: 6rem;
  }

  .statement-copy {
    font-size: 1.75rem;
    line-height: 1.36;
  }

  .inline-image {
    width: 3.6rem;
    height: 2.5rem;
    vertical-align: -0.5rem;
  }

  .archive {
    padding: 6rem 0 7rem;
  }

  .archive-heading {
    margin-bottom: 4rem;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .archive-card--wide {
    grid-column: auto;
  }

  .archive-card > img,
  .archive-card--wide > img {
    height: 28rem;
  }

  .archive-card > div {
    grid-template-columns: auto 1fr;
  }

  .archive-card p {
    grid-column: 2;
  }

  .contact-banner {
    min-height: 37rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
  }

  .contact-inner h2 {
    font-size: 3.25rem;
  }

  .contact-inner .button {
    width: 100%;
  }

  .footer {
    padding-top: 5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    min-height: 46rem;
  }

  .footer-intro {
    grid-row: 1;
    justify-self: start;
  }

  .footer-base {
    gap: 2rem;
    align-items: flex-start;
  }

  .project-panel__bar {
    height: 4.75rem;
  }

  .project-detail {
    padding: 4rem 0 6rem;
  }

  .project-detail__heading,
  .project-detail__overview,
  .project-block__text {
    grid-template-columns: 1fr;
  }

  .project-detail__heading {
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .project-detail__heading h1 {
    font-size: 4.25rem;
  }

  .project-detail__heading p {
    justify-self: start;
  }

  .project-detail__hero {
    height: 31rem;
  }

  .project-detail__overview {
    gap: 3rem;
    padding: 5rem 0;
  }

  .project-block__text p {
    justify-self: start;
  }

  .project-block__image {
    min-height: 32rem;
  }
}

/* Final mobile composition pass: preserve the editorial system while giving
   touch layouts their own spacing, crop and motion constraints. */
@media (max-width: 43.75rem) {
  body.menu-active {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header {
    padding-inline: var(--gutter);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    touch-action: manipulation;
  }

  .menu-toggle > span:nth-child(1) { top: 0.85rem; }
  .menu-toggle > span:nth-child(2) { top: 1.375rem; }
  .menu-toggle > span:nth-child(3) { top: 1.9rem; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1),
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { top: 1.375rem; }

  .mobile-menu,
  .mobile-menu:not([hidden]) {
    inset: var(--header-height) 0 0;
    background: var(--paper-strong);
    align-content: start;
    min-height: calc(100svh - var(--header-height));
    padding: 1.5rem var(--gutter) max(2.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 4rem;
    padding: 0.35rem 0;
    font-size: clamp(2.45rem, 11.5vw, 3.25rem);
  }

  .hero {
    height: 100svh;
    min-height: 43rem;
    max-height: 52.75rem;
  }

  .showcase-cell > span {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.4rem 0.5rem;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .work-item {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .work-card {
    border-radius: 1.35rem;
  }

  .archive-card > img,
  .archive-card--wide > img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .footer-inner {
    min-height: 26rem;
  }

  .footer-title {
    font-size: clamp(3.15rem, 16.8vw, 4rem);
    line-height: 0.88;
  }

  .portfolio-page {
    padding-top: calc(var(--header-height) + 2.75rem);
    padding-bottom: 6rem;
  }

  .page-hero,
  .project-heading {
    min-height: 0;
    padding: 1rem 0 3.75rem;
  }

  .page-hero h1 {
    font-size: clamp(4rem, 19vw, 5.25rem);
    line-height: 0.84;
  }

  .project-heading {
    gap: 1.5rem;
  }

  .project-heading h1 {
    font-size: clamp(3.75rem, 18vw, 5rem);
    line-height: 0.84;
  }

  .project-heading div > p {
    margin-top: 1.25rem;
    font-size: clamp(1.25rem, 6vw, 1.45rem);
    line-height: 1.12;
  }

  .page-hero > p,
  .project-heading > span {
    line-height: 1.4;
  }

  .project-hero {
    aspect-ratio: 1280 / 600;
  }

  .project-hero img {
    height: 100%;
    min-height: 0;
    aspect-ratio: 1280 / 600;
    object-fit: cover;
  }

  .project-overview {
    gap: 2.75rem;
    padding: 3.75rem 0 4.75rem;
  }

  .project-overview h2 {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
    line-height: 1.08;
  }

  .project-overview__columns {
    gap: 2.5rem;
  }

  .case-block {
    padding: 2.75rem 0 3.75rem;
  }

  .case-block__heading {
    gap: 1.5rem;
    padding-bottom: 2.25rem;
  }

  .case-block__heading h2 {
    font-size: clamp(2.3rem, 10.8vw, 2.65rem);
    line-height: 1;
  }

  .project-reflection {
    min-height: 0;
    padding: 3rem 1.25rem;
  }

  .project-reflection h2 {
    font-size: clamp(2.5rem, 12.5vw, 3.1rem);
    line-height: 0.98;
  }

  .related-projects {
    padding-top: 4rem;
  }

  .graphic-copy {
    padding: 3.75rem 0 4.75rem;
  }

  .graphic-copy h2 {
    font-size: 1.35rem;
    line-height: 1.32;
  }

  .graphic-details > div {
    grid-template-columns: 5.5rem 1fr;
  }

  .graphic-related > a {
    grid-template-columns: 1fr 7.5rem;
  }

  .work-timeline {
    gap: 4.75rem;
  }

  .timeline-project {
    padding-left: 0.75rem;
  }

  .timeline-project__info h2 {
    font-size: clamp(2.25rem, 10.5vw, 2.65rem);
    line-height: 0.98;
  }

  .archive-row {
    gap: 1.5rem;
    padding: 2.25rem 0;
  }

  .archive-row h2 {
    font-size: clamp(2rem, 9.8vw, 2.35rem);
    line-height: 1;
  }
}

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

  .orbit-tile,
  .work-card,
  .work-card > img {
    transform: none !important;
  }

  .statement-copy .word {
    opacity: 1 !important;
  }
}

/* 2026 Figma content resync and route system */

:root {
  --header-height: 4.25rem;
  --route-gutter: clamp(1.25rem, 5.25vw, 5rem);
}

body {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: fixed;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-height);
  background: color-mix(in srgb, var(--paper-strong) 90%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.site-header.header--route,
.site-header.menu-open {
  background: color-mix(in srgb, white 96%, transparent);
  border-bottom-color: var(--line-light);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
}

.desktop-nav {
  gap: clamp(1.5rem, 3vw, 3rem);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.desktop-nav a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  position: relative;
  justify-self: end;
  padding-bottom: 0.12rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.header-contact::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-out);
}

.header-contact:hover::after {
  transform: scaleX(1);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero-copy {
  width: min(62rem, calc(100% - (var(--gutter) * 2)));
  padding-top: clamp(9.5rem, 19vh, 11rem);
}

.hero h1 {
  font-size: clamp(5.5rem, 11.6vw, 10.5rem);
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 0.76;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 36rem;
}

.showcase {
  min-height: auto;
}

.showcase-grid {
  grid-auto-rows: clamp(12rem, 17vw, 15rem);
}

.showcase-cell {
  position: relative;
  cursor: pointer;
}

.showcase-cell > span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: fit-content;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  background: rgba(247, 247, 244, 0.9);
  border-radius: 0.2rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.showcase-cell:hover > span,
.showcase-cell:focus-visible > span {
  opacity: 1;
  transform: none;
}

.practice-editorial {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem 5rem;
  align-items: end;
}

.practice-editorial img {
  height: auto;
  object-fit: contain;
}

.practice-editorial img:first-of-type {
  grid-column: 1 / -1;
}

.practice-lead,
.practice-copy {
  max-width: 30rem;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.practice-copy {
  align-self: start;
}

.archive-card {
  color: inherit;
}

.east-feature {
  padding: 8rem 0 10rem;
  overflow: hidden;
  border-top: 1px solid var(--line-light);
}

.east-feature__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
}

.east-feature__grid > * {
  min-width: 0;
}

.east-feature__copy h2 {
  max-width: 34rem;
  margin: 2.5rem 0 1.5rem;
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.95;
  text-transform: uppercase;
}

.east-feature__copy > p {
  max-width: 31rem;
  color: #4e4f4b;
}

.text-link {
  display: inline-flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.east-feature__image {
  display: block;
  overflow: hidden;
  background: #e6e9ea;
}

.east-feature__image img {
  aspect-ratio: 1280 / 600;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.east-feature__image:hover img {
  transform: scale(1.025);
}

.footer {
  padding: 7rem 0 1.5rem;
  color: var(--ink);
  background: var(--paper-strong);
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  display: grid;
  min-height: 25rem;
}

.footer-title {
  display: grid;
  font-size: clamp(4.25rem, 8vw, 7.15rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-transform: uppercase;
}

.footer-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-actions a {
  display: inline-flex;
  gap: 0.45rem;
}

.footer-base {
  align-self: end;
  padding-top: 1.25rem;
  color: #595a56;
  border-top-color: var(--line-light);
}

.footer-base nav {
  display: flex;
  gap: 1.25rem;
}

.route-view {
  min-height: 100svh;
  color: var(--ink);
  background: var(--paper-strong);
}

.portfolio-page {
  width: min(calc(100% - (var(--route-gutter) * 2)), var(--container));
  margin-inline: auto;
  padding: calc(var(--header-height) + 5rem) 0 8rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 22rem);
  gap: 4rem;
  align-items: start;
  min-height: 22rem;
  padding-top: 2rem;
}

.page-hero h1 {
  font-size: clamp(6rem, 11vw, 10.5rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.page-hero > p {
  justify-self: end;
  max-width: 22rem;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.about-story {
  width: 100%;
  padding: 1rem 0 6rem;
}

.about-intro {
  max-width: 32rem;
  margin-bottom: 3rem;
  font-size: 1.08rem;
}

.about-intro p + p {
  margin-top: 1rem;
}

.about-image {
  overflow: hidden;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.about-image.is-visible {
  opacity: 1;
  transform: none;
}

.about-image img {
  aspect-ratio: 1280 / 552;
  object-fit: cover;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 3rem 0;
}

.about-copy--right h2 {
  grid-column: 2;
}

.about-copy--right p {
  grid-column: 2;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1;
}

.about-copy p {
  max-width: 31rem;
  color: #4f504c;
}

.about-approach {
  display: grid;
  grid-template-columns: 0.8fr 0.7fr 1fr;
  gap: 4rem;
  padding: 5rem 0 8rem;
  border-top: 1px solid var(--line-light);
}

.about-page .about-approach.container,
.about-page .about-contact.container {
  width: 100%;
  margin-inline: 0;
}

.about-approach h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
}

.about-approach__statement {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.about-approach > p:last-child {
  color: #4f504c;
}

.about-contact {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 0.75fr;
  gap: 5rem;
  scroll-margin-top: calc(var(--header-height) + 2rem);
  padding: 4.5rem 0 1rem;
  border-top: 1px solid var(--line-light);
}

.about-contact > div {
  display: grid;
  gap: 1.75rem;
  padding-left: 1.75rem;
  border-left: 1px solid var(--line-light);
}

.about-contact span {
  font-size: 0.78rem;
}

.about-contact strong,
.about-contact a {
  font-size: clamp(0.95rem, 1.45vw, 1.25rem);
  font-weight: 500;
}

.work-timeline {
  position: relative;
  display: grid;
  gap: 8rem;
  width: 100%;
  padding: 4rem 0 2rem;
}

.work-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: var(--line-light);
}

.timeline-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 38rem;
  opacity: 0;
  transform: translateY(5rem);
  transition: opacity 900ms var(--ease-out) var(--reveal-delay), transform 900ms var(--ease-out) var(--reveal-delay);
}

.timeline-project.is-visible {
  opacity: 1;
  transform: none;
}

.timeline-project__image {
  align-self: start;
  width: calc(100% - clamp(2rem, 7vw, 7rem));
  max-height: 43rem;
  overflow: hidden;
  background: #e5e5e1;
}

.timeline-project:nth-child(even) .timeline-project__image {
  align-self: end;
  margin-left: clamp(1rem, 4vw, 4rem);
}

.timeline-project__image img {
  aspect-ratio: 0.97;
  height: auto;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.timeline-project__image:hover img {
  transform: scale(1.035);
}

.timeline-project__info {
  align-self: center;
  padding: 0 clamp(2rem, 7vw, 7rem);
}

.timeline-project__info > span,
.timeline-project__info p {
  color: #5f605c;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-project__info h2 {
  max-width: 32rem;
  margin: 1.25rem 0 0.75rem;
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.timeline-project__info em {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.archive-list {
  display: grid;
  width: 100%;
  padding-top: 2rem;
}

.archive-row {
  display: grid;
  grid-template-columns: 1fr minmax(15rem, 25rem);
  gap: 4rem;
  align-items: center;
  min-height: 19rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.archive-row.is-visible {
  opacity: 1;
  transform: none;
}

.archive-row span {
  color: #5c5d59;
  font-size: 0.75rem;
}

.archive-row h2 {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.archive-row img {
  aspect-ratio: 1.5;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.archive-row:hover img {
  transform: scale(0.985);
}

.archive-row--static:hover img {
  transform: none;
}

.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  gap: 4rem;
  align-items: end;
  min-height: 24rem;
  padding: 3rem 0 4rem;
}

.project-heading h1 {
  max-width: 65rem;
  font-size: clamp(5.4rem, 10.5vw, 9.75rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-transform: uppercase;
}

.project-heading div > p {
  margin-top: 2.25rem;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.project-heading > span {
  align-self: end;
  justify-self: end;
  max-width: 17rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.project-hero {
  overflow: hidden;
  background: #e4e4df;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 850ms var(--ease-out), transform 850ms var(--ease-out);
}

.project-hero.is-visible {
  opacity: 1;
  transform: none;
}

.project-hero img {
  aspect-ratio: 1280 / 600;
  object-fit: cover;
}

.project-overview {
  display: grid;
  gap: 3.5rem;
  max-width: 71rem;
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.project-overview > div:first-child > span,
.project-overview__columns strong {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-overview h2 {
  font-size: clamp(2.15rem, 3.7vw, 3.65rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.project-overview__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  color: #4b4c48;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-tags span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-light);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.case-block {
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 850ms var(--ease-out), transform 850ms var(--ease-out);
}

.case-block.is-visible {
  opacity: 1;
  transform: none;
}

.case-block__heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 0 4rem 3.5rem;
}

.case-block__heading > span {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.case-block__heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  font-weight: 620;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.case-block__heading p {
  max-width: 32rem;
  color: #4d4e4a;
}

.case-block figure {
  overflow: hidden;
  background: #f0f0ec;
}

.case-block--landscape figure {
  aspect-ratio: 1280 / 849;
}

.case-block--portrait figure {
  aspect-ratio: 1280 / 1053;
}

/* Preserve the supplied artwork's composition instead of forcing it into the
   generic case-study ratios. These section-specific ratios only affect the
   corrected source assets. */
.project-page--emotions .case-block--emotions-1 figure {
  aspect-ratio: 3840 / 2742;
}

.project-page--emotions .case-block--emotions-2 figure,
.project-page--autora .case-block--autora-2 figure {
  aspect-ratio: 3840 / 2331;
}

.project-page--mtm .case-block--mtm-1 figure {
  aspect-ratio: 3840 / 3288;
}

.project-page--mostudy .case-block--mostudy-1 figure {
  aspect-ratio: 3840 / 2546;
}

.case-block figure img {
  height: 100%;
  object-fit: contain;
}

.project-reflection {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 5rem;
  min-height: 35rem;
  padding: 6rem 4rem;
  background: #ecece8;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.project-reflection.is-visible {
  opacity: 1;
  transform: none;
}

.project-reflection > span {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.project-reflection h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-transform: uppercase;
}

.project-reflection p {
  align-self: end;
  color: #4c4d49;
}

.related-projects {
  padding: 6rem 0 1rem;
  border-top: 1px solid var(--line-light);
}

.related-projects > p {
  margin-bottom: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.related-projects > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.related-projects a img {
  aspect-ratio: 1.04;
  object-fit: cover;
}

.related-projects a > span {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.graphic-project .project-heading h1 {
  max-width: 55rem;
}

.graphic-copy {
  width: min(45rem, 100%);
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.graphic-copy h2 {
  margin-bottom: 2rem;
  font-size: 1.45rem;
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.graphic-copy > p {
  margin-top: 1.4rem;
  color: #545550;
}

.graphic-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-left: 1rem;
  border-left: 2px solid #6c6d68;
}

.graphic-details > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  font-size: 0.8rem;
}

.graphic-details strong {
  font-weight: 500;
}

.graphic-related {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line-light);
}

.graphic-related > span {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.graphic-related > a {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 3rem;
  align-items: center;
  min-height: 12rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-light);
}

.graphic-related small {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
}

.graphic-related strong {
  display: block;
  max-width: 32rem;
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.graphic-related img {
  aspect-ratio: 1.5;
  object-fit: cover;
}

.not-found {
  display: grid;
  min-height: 80svh;
  padding: 10rem var(--gutter);
  place-content: center;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 2rem;
  font-size: var(--display-1);
}

@media (max-width: 68.75rem) {
  .portfolio-page {
    width: min(calc(100% - 4rem), var(--container));
  }

  .page-hero,
  .project-heading {
    min-height: 20rem;
  }

  .timeline-project {
    min-height: 31rem;
  }

  .timeline-project__image {
    width: calc(100% - 3rem);
  }

  .timeline-project__info {
    padding-inline: 3rem;
  }

  .case-block__heading {
    padding-inline: 2rem;
  }

}

@media (max-width: 43.75rem) {
  :root {
    --header-height: 4.25rem;
    --route-gutter: 1.25rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: var(--header-height);
  }

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

  .menu-toggle {
    position: relative;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .menu-toggle > span:not(.sr-only) {
    position: absolute;
    right: 0;
    width: 2rem;
    height: 1px;
    background: currentColor;
    transition: transform 300ms var(--ease-out), top 300ms var(--ease-out), opacity 300ms var(--ease-out);
  }

  .menu-toggle > span:nth-child(1) { top: 0.75rem; }
  .menu-toggle > span:nth-child(2) { top: 1.2rem; }
  .menu-toggle > span:nth-child(3) { top: 1.65rem; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { top: 1.2rem; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { top: 1.2rem; transform: rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 2rem var(--gutter) 3rem;
    background: rgba(247, 247, 244, 0.98);
    border-bottom: 1px solid var(--line-light);
  }

  .mobile-menu a {
    padding: 0.55rem 0;
    font-size: clamp(2.5rem, 12vw, 4rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1;
  }

  .hero h1 {
    font-size: clamp(4.35rem, 22vw, 6.2rem);
    line-height: 0.82;
  }

  .showcase-cell > span {
    opacity: 1;
    transform: none;
  }

  .practice-editorial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .practice-editorial img:first-of-type {
    grid-column: auto;
  }

  .practice-lead,
  .practice-copy {
    font-size: 1.5rem;
  }

  .east-feature {
    padding: 6rem 0 7rem;
  }

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

  .east-feature__copy h2 {
    font-size: 3.6rem;
  }

  .footer {
    padding-top: 5rem;
  }

  .footer-inner {
    min-height: 30rem;
  }

  .footer-title {
    font-size: clamp(3.7rem, 19vw, 5.25rem);
  }

  .footer-actions {
    display: grid;
    gap: 0.9rem;
    justify-items: start;
  }

  .footer-base {
    display: grid;
  }

  .footer-base nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }

  .portfolio-page {
    width: calc(100% - 2.5rem);
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .page-hero,
  .project-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 18rem;
    padding-top: 1rem;
  }

  .page-hero h1 {
    font-size: clamp(4.4rem, 21vw, 6.6rem);
  }

  .page-hero > p,
  .project-heading > span {
    justify-self: start;
    max-width: 19rem;
    text-align: left;
  }

  .about-intro {
    font-size: 1rem;
  }

  .about-copy,
  .about-approach,
  .about-contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-copy--right h2,
  .about-copy--right p {
    grid-column: auto;
  }

  .about-copy h2 {
    font-size: 2.5rem;
  }

  .about-approach {
    padding-block: 4rem 5rem;
  }

  .about-contact {
    gap: 2.5rem;
  }

  .about-contact > div {
    gap: 0.9rem;
  }

  .work-timeline {
    gap: 6rem;
  }

  .work-timeline::before {
    left: 0;
  }

  .timeline-project {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-left: 1rem;
  }

  .timeline-project__image,
  .timeline-project:nth-child(even) .timeline-project__image {
    width: 100%;
    margin: 0;
  }

  .timeline-project__image img {
    aspect-ratio: 1;
  }

  .timeline-project__info {
    padding: 1.5rem 0 0;
  }

  .timeline-project__info h2 {
    font-size: 2.75rem;
  }

  .archive-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2.5rem 0;
  }

  .archive-row h2 {
    font-size: 2.4rem;
  }

  .project-heading h1 {
    font-size: clamp(4rem, 19vw, 6.25rem);
  }


  .project-heading div > p {
    margin-top: 1.5rem;
    font-size: 1.45rem;
  }

  .project-hero img {
    min-height: 16rem;
    object-fit: cover;
  }

  .project-overview {
    padding: 4rem 0 5rem;
  }

  .project-overview h2 {
    font-size: 2.2rem;
  }

  .project-overview__columns,
  .case-block__heading,
  .project-reflection {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-block {
    padding: 3rem 0 4rem;
  }

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

  .case-block__heading h2 {
    font-size: 2.7rem;
  }

  .project-reflection {
    min-height: 32rem;
    padding: 3rem 1.5rem;
  }

  .project-reflection h2 {
    font-size: 3.4rem;
  }

  .related-projects > div {
    grid-template-columns: 1fr;
  }

  .graphic-copy {
    padding: 4rem 0 5rem;
  }

  .graphic-details > div {
    grid-template-columns: 6rem 1fr;
  }

  .graphic-related > a {
    grid-template-columns: 1fr 8.5rem;
    gap: 1.25rem;
  }

  .graphic-related strong {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-project,
  .case-block,
  .project-hero,
  .project-reflection,
  .archive-row,
  .about-image {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Motion fidelity pass — Fullstack-inspired choreography */

:root {
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-editorial: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 240ms;
  --duration-medium: 720ms;
  --duration-slow: 1180ms;
}

.motion-js body:not(.page-ready) .site-header {
  opacity: 0;
  transform: translateY(-1rem);
}

.site-header {
  transition:
    color var(--duration-fast) var(--ease-expo-out),
    background 300ms var(--ease-expo-out),
    border-color 300ms var(--ease-expo-out),
    opacity 720ms var(--ease-expo-out),
    transform 720ms var(--ease-expo-out);
}

.brand,
.desktop-nav a,
.header-contact {
  transition: color var(--duration-fast) var(--ease-expo-out);
}

.brand:hover,
.desktop-nav a:hover,
.header-contact:hover {
  color: var(--accent);
}

.hero-copy {
  opacity: var(--hero-copy-opacity, 1);
  transform: translate3d(0, var(--hero-copy-y, 0), 0);
  will-change: transform, opacity;
}

.motion-js .hero .reveal-up,
.motion-js .wipe-line > span,
.motion-js .wipe-line::after {
  animation: none;
}

.home-view.view-entering .hero .reveal-up {
  animation: reveal-up 900ms var(--ease-expo-out) forwards;
}

.home-view.view-entering .hero .eyebrow {
  animation-delay: 140ms;
}

.home-view.view-entering .hero-intro {
  animation-delay: 680ms;
}

.home-view.view-entering .wipe-line::after {
  animation: motion-cover-reveal 920ms var(--ease-expo-in-out) 260ms both;
}

.home-view.view-entering .wipe-line:nth-child(2)::after {
  animation-delay: 375ms;
}

.motion-js .hero-orbit {
  opacity: 0;
  transform: translate(-50%, 90px) scale(0.985);
  transition: opacity 900ms var(--ease-expo-out) 480ms, transform 1200ms var(--ease-expo-out) 480ms;
}

.motion-js .home-view.view-entering .hero-orbit {
  opacity: 1;
  transform: translate(-50%, 60px) scale(1);
}

.motion-measure-word {
  display: inline-block;
}

.motion-wipe,
.motion-wipe.mask-heading {
  opacity: 1;
  transform: none;
  transition: none;
}

.motion-line {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: clip;
  overflow-clip-margin: 0.1em;
}

.motion-line__inner {
  position: relative;
  z-index: 1;
  display: block;
  white-space: nowrap;
  opacity: 1;
  transform: none;
}

.motion-line__cover {
  position: absolute;
  inset: -0.04em -0.06em;
  z-index: 2;
  display: block;
  background: var(--ink);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  will-change: transform;
}

.motion-wipe.is-visible .motion-line__cover {
  animation: motion-cover-reveal 880ms var(--ease-expo-in-out) calc(var(--line-index) * 105ms + var(--reveal-delay, 0ms)) both;
}

.motion-stagger-item {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity var(--duration-medium) var(--ease-expo-out) calc(var(--stagger-index) * 90ms + var(--reveal-delay, 0ms)),
    transform var(--duration-medium) var(--ease-expo-out) calc(var(--stagger-index) * 90ms + var(--reveal-delay, 0ms));
}

.motion-stagger-item.motion-wipe {
  opacity: 1;
  transform: none;
}

.motion-stagger-group.is-visible > .motion-stagger-item {
  opacity: 1;
  transform: none;
}

.showcase-cell {
  transform: translate3d(0, 1.5rem, 0) scale(0.97);
  will-change: transform;
}

.showcase-cell.is-visible {
  transform: none;
}

.showcase-cell img {
  transform: translate3d(var(--field-pointer-x, 0), var(--field-pointer-y, 0), 0) scale(1.001);
  transition: transform 850ms var(--ease-expo-out), filter 600ms var(--ease-expo-out);
  will-change: transform;
}

.showcase-cell:hover img {
  transform: translate3d(var(--field-pointer-x, 0), var(--field-pointer-y, 0), 0) scale(1.045);
}

.work-card {
  transform: perspective(1000px) translateY(var(--card-lift, 9rem)) rotateX(var(--card-tilt, 14deg)) scale(var(--card-scale, 0.95));
  backface-visibility: hidden;
}

.work-card__meta {
  opacity: var(--meta-opacity, 0.35);
  transform: translate3d(0, var(--meta-y, 1.5rem), 0);
  will-change: transform, opacity;
}

.work-card__meta strong,
.work-card__meta small {
  transition: transform 420ms var(--ease-expo-out);
}

.work-card:hover .work-card__meta strong {
  transform: translateX(0.35rem);
}

.work-card:hover .work-card__meta small {
  transform: translateX(-0.35rem);
}

.motion-js .about-image {
  position: relative;
  aspect-ratio: 1280 / 552;
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: none;
}

.about-image img {
  position: absolute;
  inset: -8% 0 auto;
  height: 116%;
  aspect-ratio: auto;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) scale(1.035);
  transition: clip-path 1000ms var(--ease-expo-in-out) var(--reveal-delay, 0ms);
  will-change: transform;
}

.motion-js .about-image.is-visible img {
  clip-path: inset(0);
}

.about-page [data-motion-hero] h1 {
  transform: translate3d(0, var(--about-title-y, 0), 0);
  will-change: transform;
}

.about-page [data-motion-hero] > p {
  transform: translate3d(0, var(--about-copy-y, 0), 0);
  will-change: transform;
}

.about-approach {
  position: relative;
  border-top: 0;
}

.about-approach::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: var(--line-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1100ms var(--ease-expo-in-out);
}

.about-approach.is-visible::before {
  transform: scaleX(1);
}

.motion-js .timeline-project {
  opacity: 1;
  transform: none;
  transition: none;
}

.timeline-project__image {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 950ms var(--ease-expo-in-out) var(--reveal-delay, 0ms);
}

.timeline-project.is-visible .timeline-project__image {
  clip-path: inset(0);
}

.timeline-project__image img {
  transform: translate3d(0, var(--timeline-image-y, 0), 0) scale(1.055);
  will-change: transform;
}

.timeline-project__info {
  transform: translate3d(0, var(--timeline-info-y, 0), 0);
  will-change: transform;
}

.motion-js .project-hero {
  aspect-ratio: 1280 / 600;
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: none;
}

.project-hero img {
  height: 106%;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, var(--project-media-y, 0), 0) scale(1.035);
  transition: clip-path 1000ms var(--ease-expo-in-out) var(--reveal-delay, 0ms);
  will-change: transform;
}

.motion-js .project-hero.is-visible img {
  clip-path: inset(0);
}

.motion-js .case-block {
  opacity: 1;
  transform: none;
  transition: none;
}

.case-block figure {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1000ms var(--ease-expo-in-out) var(--reveal-delay, 0ms);
}

.case-block.is-visible figure {
  clip-path: inset(0);
}

.case-block figure img {
  transform: translate3d(0, var(--project-media-y, 0), 0) scale(1.025);
  will-change: transform;
}

.motion-js .archive-card {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition: opacity 720ms var(--ease-expo-out) var(--reveal-delay, 0ms), transform 720ms var(--ease-expo-out) var(--reveal-delay, 0ms);
}

.motion-js .archive-card.is-visible {
  opacity: 1;
  transform: none;
}

.archive-card > img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 950ms var(--ease-expo-in-out) var(--reveal-delay, 0ms), filter 550ms var(--ease-expo-out), transform 700ms var(--ease-expo-out);
}

.archive-card.is-visible > img {
  clip-path: inset(0);
}

.archive-card h3,
.archive-card p,
.archive-card span {
  transition: transform 420ms var(--ease-expo-out), color 280ms var(--ease-expo-out);
}

.archive-card:hover h3 {
  transform: translateX(0.35rem);
}

.archive-card:hover p {
  transform: translateX(-0.25rem);
}

.motion-js .archive-row {
  opacity: 1;
  transform: none;
  transition: none;
}

.archive-row > div {
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  transition: opacity 620ms var(--ease-expo-out) var(--reveal-delay, 0ms), transform 760ms var(--ease-expo-out) var(--reveal-delay, 0ms);
}

.archive-row img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.025);
  transition: clip-path 950ms var(--ease-expo-in-out) calc(var(--reveal-delay, 0ms) + 70ms), transform 700ms var(--ease-expo-out);
}

.archive-row.is-visible > div {
  opacity: 1;
  transform: none;
}

.archive-row.is-visible img {
  clip-path: inset(0);
}

.footer-actions a span {
  transition: transform 500ms var(--ease-expo-out);
}

.archive-row:hover > div {
  transform: translateX(0.45rem);
}

.archive-row:hover img {
  transform: scale(0.985) translateX(-0.35rem);
}

.footer-actions a:hover span {
  transform: translateX(0.35rem);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: var(--ink);
  pointer-events: none;
  transform: translate3d(0, 101%, 0);
  will-change: transform;
}

.page-transition.is-covering {
  transform: translate3d(0, 0, 0);
  transition: transform 300ms var(--ease-expo-in-out);
}

.page-transition.is-revealing {
  transform: translate3d(0, -101%, 0);
  transition: transform 500ms var(--ease-expo-in-out);
}

body.route-transitioning {
  cursor: wait;
}

@keyframes motion-cover-reveal {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(100% + 0.28em), 0, 0); }
}

@media (max-width: 43.75rem) {
  .mobile-menu:not([hidden]) {
    display: grid;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transform: translate3d(0, -0.8rem, 0);
    transition: clip-path 420ms var(--ease-expo-in-out), opacity 260ms var(--ease-editorial), transform 420ms var(--ease-expo-out);
    will-change: clip-path, transform;
  }

  .menu-open .mobile-menu:not([hidden]) {
    opacity: 1;
    clip-path: inset(0);
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu a {
    opacity: 0;
    transform: translate3d(0, 0.55em, 0);
    transition: opacity 360ms var(--ease-expo-out), color var(--duration-fast) var(--ease-editorial), transform 520ms var(--ease-expo-out);
  }

  .menu-open .mobile-menu a {
    opacity: 1;
    transform: none;
  }

  .menu-open .mobile-menu a:nth-child(2) { transition-delay: 45ms; }
  .menu-open .mobile-menu a:nth-child(3) { transition-delay: 90ms; }
  .menu-open .mobile-menu a:nth-child(4) { transition-delay: 135ms; }

  .motion-js .hero-orbit {
    transform: translate(-50%, 78px) scale(0.99);
  }

  .motion-js .home-view.view-entering .hero-orbit {
    transform: translate(-50%, 60px) scale(1);
  }

  .motion-line__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-wipe.is-visible .motion-line__inner {
    opacity: 1;
    transform: none;
  }

  .showcase-cell {
    --field-rotate: 0deg !important;
  }

  .work-card {
    transform: perspective(850px) translateY(var(--card-lift, 5rem)) rotateX(calc(var(--card-tilt, 10deg) * 0.7)) scale(var(--card-scale, 0.96));
  }

  .about-image img,
  .project-hero img,
  .case-block figure img,
  .timeline-project__image img {
    transform: translate3d(0, var(--parallax-y, var(--project-media-y, var(--timeline-image-y, 0))), 0) scale(1.025);
  }
}

/* These overrides intentionally sit after the motion layer so responsive
   sizing remains authoritative when both systems target the same element. */
@media (max-width: 43.75rem) {
  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .menu-toggle > span:nth-child(1) { top: 0.85rem; }
  .menu-toggle > span:nth-child(2) { top: 1.375rem; }
  .menu-toggle > span:nth-child(3) { top: 1.9rem; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1),
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { top: 1.375rem; }

  .mobile-menu,
  .mobile-menu:not([hidden]) {
    inset: var(--header-height) 0 0;
    align-content: start;
    min-height: calc(100svh - var(--header-height));
    padding: 1.5rem var(--gutter) max(2.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .mobile-menu a {
    min-height: 4rem;
    padding: 0.35rem 0;
    font-size: clamp(2.45rem, 11.5vw, 3.25rem);
  }

  .showcase-cell > span {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.4rem 0.5rem;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .showcase {
    padding: 6.25rem 0 5.25rem;
  }

  .showcase .section-heading {
    margin-bottom: 3.75rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 11rem 12.75rem 10.75rem 11rem 13rem 10.5rem;
    grid-auto-rows: 0;
    gap: 0.55rem;
    align-items: stretch;
  }

  .showcase-cell,
  .showcase-cell.span-2,
  .showcase-cell.showcase-cell--closing {
    grid-column: auto;
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .showcase-cell:nth-child(1) { grid-area: 1 / 1 / 2 / 13; }
  .showcase-cell:nth-child(2) { grid-area: 2 / 1 / 3 / 6; }
  .showcase-cell:nth-child(3) { grid-area: 2 / 6 / 3 / 13; }
  .showcase-cell:nth-child(4) { grid-area: 3 / 1 / 4 / 9; }
  .showcase-cell:nth-child(5) { grid-area: 4 / 3 / 5 / 13; }
  .showcase-cell:nth-child(6) { grid-area: 5 / 1 / 6 / 7; }
  .showcase-cell:nth-child(7) { grid-area: 6 / 1 / 7 / 13; }

  .footer-inner {
    min-height: 26rem;
  }

  .footer-title {
    font-size: clamp(3.15rem, 16.8vw, 4rem);
    line-height: 0.88;
  }

  .portfolio-page {
    padding-top: calc(var(--header-height) + 2.75rem);
    padding-bottom: 6rem;
  }

  .page-hero,
  .project-heading {
    min-height: 0;
    padding: 1rem 0 3.75rem;
  }

  .page-hero h1 {
    font-size: clamp(4rem, 19vw, 5.25rem);
    line-height: 0.84;
  }

  .project-heading {
    gap: 1.5rem;
  }

  .project-heading h1 {
    font-size: clamp(3.75rem, 18vw, 5rem);
    line-height: 0.84;
  }

  .project-heading div > p {
    margin-top: 1.25rem;
    font-size: clamp(1.25rem, 6vw, 1.45rem);
    line-height: 1.12;
  }

  .page-hero > p,
  .project-heading > span {
    line-height: 1.4;
  }

  .project-hero {
    aspect-ratio: 1280 / 600;
  }

  .project-hero img {
    height: 100%;
    min-height: 0;
    aspect-ratio: 1280 / 600;
    object-fit: cover;
  }

  .project-overview {
    gap: 2.75rem;
    padding: 3.75rem 0 4.75rem;
  }

  .project-overview h2 {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
    line-height: 1.08;
  }

  .project-overview__columns {
    gap: 2.5rem;
  }

  .case-block {
    padding: 2.75rem 0 3.75rem;
  }

  .case-block__heading {
    gap: 1.5rem;
    padding-bottom: 2.25rem;
  }

  .case-block__heading h2 {
    font-size: clamp(2.3rem, 10.8vw, 2.65rem);
    line-height: 1;
  }

  .project-reflection {
    min-height: 0;
    padding: 3rem 1.25rem;
  }

  .project-reflection h2 {
    font-size: clamp(2.5rem, 12.5vw, 3.1rem);
    line-height: 0.98;
  }

  .graphic-copy {
    padding: 3.75rem 0 4.75rem;
  }

  .graphic-copy h2 {
    font-size: 1.35rem;
    line-height: 1.32;
  }

  .graphic-details > div {
    grid-template-columns: 5.5rem 1fr;
  }

  .graphic-related > a {
    grid-template-columns: 1fr 7.5rem;
  }

  .work-timeline {
    gap: 4.75rem;
  }

  .timeline-project {
    padding-left: 0.75rem;
  }

  .timeline-project__info h2 {
    font-size: clamp(2.25rem, 10.5vw, 2.65rem);
    line-height: 0.98;
  }

  .archive-row {
    gap: 1.5rem;
    padding: 2.25rem 0;
  }

  .archive-row h2 {
    font-size: clamp(2rem, 9.8vw, 2.35rem);
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    display: none;
  }

  .wipe-line::after {
    display: none !important;
    animation: none !important;
  }

  .mobile-menu,
  .mobile-menu a {
    transition: none !important;
  }

  .site-header,
  .hero-copy,
  .hero-orbit,
  .wipe-line,
  .motion-line__inner,
  .motion-stagger-item,
  .showcase-cell,
  .showcase-cell img,
  .work-card,
  .work-card__meta,
  .about-image,
  .about-image img,
  .timeline-project,
  .timeline-project__image,
  .timeline-project__image img,
  .project-hero,
  .project-hero img,
  .case-block,
  .case-block figure,
  .case-block figure img,
  .archive-card,
  .archive-card > img {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .motion-line__cover {
    display: none !important;
  }
}
