:root {
  --paper: #f3eee5;
  --paper-soft: #fbf8f2;
  --stone: #d8cdbc;
  --stone-deep: #b9aa96;
  --taupe: #8c7d6b;
  --brass: #a78355;
  --graphite: #171615;
  --graphite-2: #25221f;
  --ink: #292622;
  --muted: #71695e;
  --line: rgba(41, 38, 34, 0.15);
  --line-strong: rgba(41, 38, 34, 0.32);
  --white: #fffdf8;
  --shadow: 0 32px 90px rgba(23, 22, 21, 0.16);
  --shadow-heavy: 0 44px 120px rgba(0, 0, 0, 0.34);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --container: 1320px;
  --progress: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(41, 38, 34, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper-soft), var(--paper));
  background-size: 96px 96px, auto;
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(167, 131, 85, 0.14), transparent 25%),
    radial-gradient(circle at 82% 30%, rgba(185, 170, 150, 0.16), transparent 23%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

ul {
  padding: 0;
  list-style: none;
}

section[id] {
  scroll-margin-top: 96px;
}

::selection {
  background: var(--graphite);
  color: var(--paper-soft);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--graphite);
  color: var(--white);
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(5.5rem, 11vw, 10rem) 0;
}

.section-dark {
  color: var(--white);
  background: var(--graphite);
}

.section-stone {
  background: var(--stone);
}

.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker::before,
.section-label::before {
  content: "";
  width: 3.2rem;
  height: 1px;
  background: currentColor;
}

.section-title {
  max-width: 11ch;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(3rem, 7.4vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.section-dark .section-title {
  color: var(--white);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.45rem;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    color 0.32s ease,
    background-color 0.32s ease,
    transform 0.32s ease,
    border-color 0.32s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  margin-left: 0.9rem;
  background: currentColor;
  transition: transform 0.32s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(0.35rem);
}

.btn-light {
  color: var(--white);
}

.btn-light:hover,
.btn-light:focus-visible {
  color: var(--graphite);
}

.btn-light span,
.btn-light {
  z-index: 1;
}

.btn:focus-visible,
.nav a:focus-visible,
.mobile-nav a:focus-visible,
.project-card:focus-visible,
.filter-btn:focus-visible,
.nav-toggle:focus-visible,
.back-top:focus-visible,
.lightbox button:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(167, 131, 85, 0.72);
  outline-offset: 4px;
}

.scroll-scale {
  position: fixed;
  left: 1.1rem;
  top: 50%;
  z-index: 90;
  width: 1px;
  height: min(42vh, 25rem);
  background: rgba(167, 131, 85, 0.24);
  transform: translateY(-50%);
  pointer-events: none;
}

.scroll-scale::before,
.scroll-scale::after {
  content: "";
  position: absolute;
  left: -0.35rem;
  width: 0.7rem;
  height: 1px;
  background: rgba(167, 131, 85, 0.5);
}

.scroll-scale::before {
  top: 0;
}

.scroll-scale::after {
  bottom: 0;
}

.scroll-scale__track {
  display: block;
  width: 100%;
  height: calc(var(--progress) * 100%);
  background: var(--brass);
  transform-origin: top;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 2rem), 1420px);
  border: 1px solid rgba(255, 253, 248, 0.16);
  background: rgba(23, 22, 21, 0.16);
  color: var(--white);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition:
    background-color 0.32s ease,
    border-color 0.32s ease,
    color 0.32s ease,
    box-shadow 0.32s ease;
}

.site-header.is-solid {
  border-color: var(--line);
  background: rgba(251, 248, 242, 0.88);
  color: var(--graphite);
  box-shadow: 0 18px 44px rgba(23, 22, 21, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.8rem;
  align-items: center;
  min-height: 4.8rem;
  padding: 0 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 0.95rem;
}

.brand-name,
.brand-line {
  display: block;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
}

.brand-line {
  margin-top: 0.25rem;
  color: currentColor;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.68;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.6vw, 2.1rem);
}

.nav a,
.header-link,
.mobile-nav a,
.footer a,
.back-top {
  position: relative;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a::after,
.header-link::after,
.mobile-nav a::after,
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.26s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after,
.header-link:hover::after,
.header-link:focus-visible::after,
.mobile-nav a:hover::after,
.mobile-nav a:focus-visible::after,
.footer a:hover::after,
.footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid currentColor;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.34rem auto;
  background: currentColor;
  transition: transform 0.28s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.34rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 22, 21, 0.76), rgba(23, 22, 21, 0.28) 52%, rgba(23, 22, 21, 0.56)),
    linear-gradient(180deg, rgba(23, 22, 21, 0.1), rgba(23, 22, 21, 0.72));
}

.hero-media img,
[data-parallax] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  transition: transform 0.18s linear;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.08) 1px, transparent 1px);
  background-size: 9.5vw 100%, 100% 16vh;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.hero-content {
  width: min(calc(100% - 40px), 1320px);
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  align-content: end;
  padding: clamp(8rem, 14vw, 13rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero-title {
  max-width: 10.4ch;
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 10.8rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.8;
}

.hero-copy {
  max-width: 34rem;
  margin-top: 1.35rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.02rem, 1.55vw, 1.3rem);
}

.hero .btn {
  width: fit-content;
  margin-top: 2rem;
}

.measurement {
  position: absolute;
  pointer-events: none;
}

.measurement--hero {
  left: clamp(1.5rem, 6vw, 7rem);
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 253, 248, 0.36);
}

.measurement span {
  position: absolute;
  left: -0.45rem;
  width: 0.9rem;
  height: 1px;
  background: rgba(255, 253, 248, 0.62);
}

.measurement span:nth-child(1) { top: 0; }
.measurement span:nth-child(2) { top: 24%; }
.measurement span:nth-child(3) { top: 50%; }
.measurement span:nth-child(4) { top: 76%; }
.measurement span:nth-child(5) { bottom: 0; }

.image-curtain::before,
.image-frame::before,
.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--paper);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

.section-dark .image-curtain::before,
.section-dark .image-frame::before {
  background: var(--graphite);
}

.is-visible.image-curtain::before,
.is-visible .image-curtain::before,
.is-visible.image-frame::before,
.is-visible .image-frame::before,
.project-card.is-visible .project-image::before {
  transform: scaleX(0);
}

.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--paper-soft);
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.9%, var(--line) 50%, transparent 50.1%),
    linear-gradient(180deg, transparent 0 49.9%, var(--line) 50%, transparent 50.1%);
  opacity: 0.56;
  pointer-events: none;
}

.manifesto-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.55fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.manifesto-lead {
  max-width: 13ch;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.manifesto-text {
  max-width: 48rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
}

.manifesto-principles {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  align-self: start;
  min-height: clamp(28rem, 36vw, 34rem);
}

.manifesto-principles li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  min-height: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(167, 131, 85, 0.32);
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(1.34rem, 1.75vw, 1.86rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  transition:
    color 0.24s ease,
    transform 0.24s ease,
    border-color 0.24s ease;
}

.timeline-step span,
.project-count {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.manifesto-principles li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(167, 131, 85, 0.72);
  transition:
    background-color 0.24s ease,
    transform 0.24s ease;
}

.manifesto-principles li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--graphite);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.36s cubic-bezier(0.76, 0, 0.24, 1);
}

.manifesto-principles li:hover {
  border-color: rgba(41, 38, 34, 0.2);
  transform: translateX(3px);
}

.manifesto-principles li:hover::before {
  background: var(--brass);
  transform: scale(1.08);
}

.manifesto-principles li:hover::after {
  transform: scaleX(1);
}

.works {
  padding-block: clamp(4.2rem, 8vw, 7.2rem);
  background: var(--paper);
}

.works-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
  margin-bottom: clamp(1.3rem, 3vw, 2.4rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.works-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(22rem, 42%);
  height: 1px;
  background: var(--brass);
}

.works-heading {
  display: grid;
  align-content: end;
}

.works-header .section-title {
  max-width: 9.5ch;
  margin-top: 1rem;
}

.archive-panel {
  display: grid;
  align-content: space-between;
  gap: 1.25rem;
}

.archive-drawing {
  width: min(100%, 28rem);
  min-height: 8.4rem;
  justify-self: stretch;
  color: var(--ink);
  overflow: visible;
  pointer-events: none;
}

.archive-drawing path,
.archive-drawing circle {
  vector-effect: non-scaling-stroke;
}

.archive-drawing path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.archive-drawing__paper {
  stroke: rgba(41, 38, 34, 0.38);
  stroke-width: 1;
}

.archive-drawing__guide {
  stroke: rgba(41, 38, 34, 0.12);
  stroke-width: 1;
}

.archive-drawing__sketch,
.archive-drawing__facade,
.archive-drawing__annotation path {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
}

.archive-drawing__sketch {
  stroke: rgba(41, 38, 34, 0.84);
  stroke-width: 1.25;
  opacity: 0;
  animation: archiveSketchDraw 9.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.archive-drawing__sketch--b {
  animation-delay: 0.42s;
}

.archive-drawing__annotation {
  color: var(--brass);
}

.archive-drawing__annotation path {
  stroke: currentColor;
  stroke-width: 1.15;
  opacity: 0;
  animation: archiveAnnotationDraw 9.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.archive-drawing__annotation circle {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.15;
  opacity: 0;
  transform-origin: center;
  animation: archiveMarkerPulse 9.2s ease infinite;
}

.archive-drawing__facade {
  stroke: rgba(41, 38, 34, 0.92);
  stroke-width: 1.35;
  opacity: 0;
  animation: archiveFacadeResolve 9.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.archive-drawing__pen {
  color: var(--brass);
  opacity: 0;
  transform: translate(74px, 100px) rotate(-16deg);
  transform-box: fill-box;
  transform-origin: center;
  animation: archivePenTrace 9.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.archive-drawing__pen path {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.2;
}

@keyframes archiveSketchDraw {
  0% {
    stroke-dashoffset: 720;
    opacity: 0;
  }

  14% {
    opacity: 0.86;
  }

  38%,
  78% {
    stroke-dashoffset: 0;
    opacity: 0.86;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.2;
  }
}

@keyframes archiveAnnotationDraw {
  0%,
  36% {
    stroke-dashoffset: 720;
    opacity: 0;
  }

  52%,
  84% {
    stroke-dashoffset: 0;
    opacity: 0.9;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.22;
  }
}

@keyframes archiveMarkerPulse {
  0%,
  36% {
    opacity: 0;
    transform: scale(0.7);
  }

  50%,
  84% {
    opacity: 0.94;
    transform: scale(1);
  }

  100% {
    opacity: 0.28;
    transform: scale(1);
  }
}

@keyframes archiveFacadeResolve {
  0%,
  48% {
    stroke-dashoffset: 720;
    opacity: 0;
  }

  66%,
  90% {
    stroke-dashoffset: 0;
    opacity: 0.9;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.34;
  }
}

@keyframes archivePenTrace {
  0% {
    opacity: 0;
    transform: translate(68px, 106px) rotate(-18deg);
  }

  8% {
    opacity: 0.95;
  }

  18% {
    transform: translate(118px, 60px) rotate(-8deg);
  }

  30% {
    transform: translate(184px, 74px) rotate(10deg);
  }

  42% {
    opacity: 0.95;
    transform: translate(248px, 104px) rotate(18deg);
  }

  54%,
  100% {
    opacity: 0;
    transform: translate(346px, 50px) rotate(0deg);
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: start;
}

.filter-btn {
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.34);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.72rem, 1.25vw, 1rem);
}

.project-card {
  position: relative;
  grid-column: span 4;
  min-height: clamp(25rem, 34vw, 35rem);
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--graphite);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.project-card--wide {
  grid-column: span 8;
  min-height: clamp(34rem, 47vw, 48rem);
}

.project-card--tall {
  grid-column: span 5;
  grid-row: span 2;
  min-height: clamp(38rem, 56vw, 56rem);
}

.project-card:nth-child(4) {
  grid-column: span 4;
}

.project-card:nth-child(5) {
  grid-column: span 3;
}

.works-grid.is-filtered .project-card,
.works-grid.is-filtered .project-card--wide,
.works-grid.is-filtered .project-card--tall,
.works-grid.is-filtered .project-card:nth-child(4),
.works-grid.is-filtered .project-card:nth-child(5) {
  grid-column: span 6;
  grid-row: auto;
  min-height: clamp(26rem, 36vw, 36rem);
}

.project-card.is-hidden {
  display: none;
}

.project-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(23, 22, 21, 0.78)),
    linear-gradient(90deg, rgba(23, 22, 21, 0.32), transparent 52%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.project-card:hover .project-image img,
.project-card:focus-visible .project-image img {
  transform: scale(1.08);
  filter: saturate(0.92) contrast(1.05);
}

.project-annotations {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.annotation {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(255, 253, 248, 0.9);
  opacity: 0;
  transform: translateY(0.35rem);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
}

.annotation b {
  display: grid;
  width: 1.35rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.74);
  border-radius: 50%;
  background: rgba(23, 22, 21, 0.38);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1;
}

.annotation i {
  display: block;
  width: clamp(2.2rem, 5vw, 4.8rem);
  height: 1px;
  background: currentColor;
  opacity: 0.74;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.56s cubic-bezier(0.76, 0, 0.24, 1);
}

.annotation--reverse i {
  transform-origin: right;
}

.annotation em {
  display: block;
  max-width: 8.2rem;
  padding: 0.32rem 0.42rem;
  background: rgba(23, 22, 21, 0.38);
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.18;
  text-transform: uppercase;
  transform: translateX(-0.28rem);
  transition: transform 0.42s ease;
}

.annotation--reverse em {
  transform: translateX(0.28rem);
}

.annotation--a {
  left: 8%;
  top: 22%;
}

.annotation--b {
  right: 7%;
  top: 34%;
}

.annotation--c {
  left: 12%;
  bottom: 30%;
}

.annotation--d {
  right: 10%;
  bottom: 37%;
}

.project-card:hover .annotation,
.project-card:focus-visible .annotation,
.project-card.is-annotated .annotation {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .annotation i,
.project-card:focus-visible .annotation i,
.project-card.is-annotated .annotation i {
  transform: scaleX(1);
}

.project-card:hover .annotation em,
.project-card:focus-visible .annotation em,
.project-card.is-annotated .annotation em {
  transform: translateX(0);
}

.project-info {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding: clamp(1rem, 2.2vw, 1.8rem);
}

.project-info strong {
  display: block;
  margin-top: clamp(1.1rem, 2vw, 1.8rem);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.project-info em {
  margin-top: 0.7rem;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-info > span:last-child {
  max-width: 24rem;
  margin-top: 1rem;
  color: rgba(255, 253, 248, 0.74);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.image-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 253, 248, 0.42);
  pointer-events: none;
}

.approach-image {
  height: 46rem;
}

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

.image-frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  max-width: calc(100% - 2rem);
  padding: 0.65rem 0.75rem;
  background: rgba(23, 22, 21, 0.72);
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approach-content .section-title {
  margin-top: 1rem;
}

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

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(8rem, 0.4fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(41, 38, 34, 0.18);
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 6.3rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(41, 38, 34, 0.13);
}

.timeline-step h3 {
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.timeline-step p {
  color: var(--muted);
}

.materiality {
  background: var(--paper-soft);
}

.materiality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.material-copy {
  position: sticky;
  top: 8rem;
}

.material-copy .section-title {
  margin-top: 1rem;
}

.material-copy p:not(.kicker) {
  max-width: 34rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.material-image {
  height: 34rem;
}

.principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.4rem;
  background: var(--line-strong);
}

.principle {
  position: relative;
  min-height: 15rem;
  padding: 1.3rem;
  overflow: hidden;
  background: var(--paper-soft);
}

.principle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}

.principle:hover::before,
.principle:focus-within::before {
  transform: scaleX(1);
}

.principle span {
  display: block;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.principle p {
  margin-top: 2.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.light-section {
  position: relative;
  min-height: 108svh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.light-image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.light-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 22, 21, 0.74), transparent 52%, rgba(23, 22, 21, 0.2)),
    linear-gradient(180deg, rgba(23, 22, 21, 0.14), rgba(23, 22, 21, 0.86));
}

.light-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.light-caption {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto clamp(3rem, 8vw, 7rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 253, 248, 0.4);
}

.light-caption span {
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.light-caption p {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 5.6rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.reputation {
  background: var(--paper);
}

.reputation-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.reputation blockquote {
  max-width: 62rem;
}

.reputation blockquote p {
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 5.2rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.reputation cite {
  display: block;
  margin-top: 1.4rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reputation-marks {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line-strong);
}

.reputation-marks span {
  min-height: 7rem;
  display: flex;
  align-items: end;
  padding: 1rem;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 0.74fr) minmax(360px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-scene {
  min-height: 39rem;
  overflow: hidden;
}

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

.contact-copy .section-title {
  max-width: 9ch;
  margin-top: 1rem;
}

.contact-copy p:not(.kicker) {
  margin-top: 1.2rem;
  color: rgba(255, 253, 248, 0.72);
}

.contact-details {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.88rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-heavy);
}

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

label {
  display: grid;
  gap: 0.45rem;
}

label span {
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.06);
  color: var(--white);
  padding: 0.9rem 0.75rem;
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}

select option {
  color: var(--graphite);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 253, 248, 0.38);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brass);
  background: rgba(255, 253, 248, 0.1);
  box-shadow: none;
}

.is-touched:invalid {
  border-color: #c98164;
}

.form-status {
  min-height: 1.2rem;
  color: var(--brass);
  font-size: 0.82rem;
}

.footer {
  padding: 1.5rem 1rem;
  background: var(--graphite);
  color: rgba(255, 253, 248, 0.72);
  border-top: 1px solid rgba(255, 253, 248, 0.12);
}

.footer-inner {
  width: min(100%, 1420px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.footer nav {
  display: flex;
  gap: 1.2rem;
}

.back-top {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(12, 11, 10, 0.88);
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-panel {
  width: min(100%, 1020px);
  margin-inline: auto;
  background: var(--paper-soft);
  box-shadow: var(--shadow-heavy);
}

.lightbox-panel img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.lightbox-panel figcaption {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  color: var(--graphite);
}

.lightbox-panel span {
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lightbox-panel strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.lightbox-panel p {
  color: var(--muted);
}

.lightbox button {
  border: 1px solid rgba(255, 253, 248, 0.24);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
}

.lightbox-nav {
  width: 3rem;
  height: 3rem;
  font-size: 1.2rem;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 160;
  display: none;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0);
}

.cursor__ring {
  position: absolute;
  left: -1.25rem;
  top: -1.25rem;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid rgba(167, 131, 85, 0.82);
  border-radius: 50%;
  transition:
    width 0.22s ease,
    left 0.22s ease,
    top 0.22s ease,
    background-color 0.22s ease;
}

.cursor__label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.35rem 0.48rem;
  background: var(--graphite);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor [data-cursor],
  body.has-custom-cursor .filter-btn,
  body.has-custom-cursor .project-card,
  body.has-custom-cursor .lightbox button {
    cursor: none;
  }

  body.has-custom-cursor .cursor {
    display: block;
  }

  body.has-custom-cursor .cursor.is-active .cursor__ring {
    left: -2rem;
    top: -2rem;
    width: 4rem;
    background: rgba(167, 131, 85, 0.1);
  }

  body.has-custom-cursor .cursor.is-active .cursor__label {
    opacity: 1;
  }
}

@media (hover: none) {
  .project-card:not(.project-card--wide) .project-annotations {
    display: none;
  }

  .project-card--wide .annotation {
    opacity: 0.72;
    transform: none;
  }

  .project-card--wide .annotation i {
    transform: scaleX(0.72);
  }

  .project-card--wide .annotation em {
    transform: none;
  }
}

.reveal,
.reveal-line {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 80ms);
}

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

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-link {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: grid;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.1rem;
    transition: max-height 0.32s ease, padding 0.32s ease;
  }

  .site-header.is-open .mobile-nav {
    max-height: 22rem;
    padding: 0 1.1rem 1.2rem;
  }

  .mobile-nav a {
    padding: 0.6rem 0;
  }

  .manifesto-grid,
  .approach-grid,
  .materiality-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-principles {
    grid-template-rows: none;
    min-height: 0;
  }

  .manifesto-principles li {
    min-height: 4.6rem;
  }

  .material-copy {
    position: static;
  }

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

  .project-card,
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    grid-column: span 3;
  }

  .project-card--wide {
    grid-column: span 6;
  }

  .project-card--tall {
    grid-column: span 3;
  }

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

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

  .reputation-marks {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .scroll-scale {
    display: none;
  }

  .container,
  .hero-content,
  .light-caption {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    top: 0.6rem;
    width: min(calc(100% - 1rem), 1420px);
  }

  .header-inner {
    min-height: 4.2rem;
    gap: 1rem;
  }

  .brand-line {
    display: none;
  }

  .hero-title {
    max-width: 9.2ch;
    font-size: clamp(3.6rem, 18vw, 6.5rem);
  }

  .measurement--hero {
    display: none;
  }

  .works-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .archive-panel {
    padding-top: 1rem;
  }

  .filter-bar {
    justify-content: start;
  }

  .works-grid,
  .principles,
  .reputation-marks,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--wide,
  .project-card--tall,
  .project-card:nth-child(4),
  .project-card:nth-child(5),
  .works-grid.is-filtered .project-card,
  .works-grid.is-filtered .project-card--wide,
  .works-grid.is-filtered .project-card--tall,
  .works-grid.is-filtered .project-card:nth-child(4),
  .works-grid.is-filtered .project-card:nth-child(5) {
    grid-column: span 1;
    grid-row: auto;
    min-height: 28rem;
  }

  .approach-image,
  .material-image,
  .contact-scene {
    height: 28rem;
    min-height: 0;
  }

  .timeline-step {
    grid-template-columns: 4rem 1fr;
  }

  .timeline-step p {
    grid-column: 2;
  }

  .timeline-step::before {
    left: 4.8rem;
  }

  .light-section {
    min-height: 86svh;
  }

  .footer nav {
    flex-wrap: wrap;
  }

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

  .lightbox-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 2.35rem;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .section-title,
  .manifesto-lead,
  .reputation blockquote p,
  .light-caption p {
    letter-spacing: -0.055em;
  }

  .principle {
    min-height: auto;
  }

  .project-annotations {
    display: none;
  }
}

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

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

  .reveal,
  .reveal-line {
    opacity: 1;
    transform: none;
  }

  .image-curtain::before,
  .image-frame::before,
  .project-image::before {
    transform: scaleX(0);
  }

  [data-parallax] img,
  .hero-media img {
    transform: none !important;
  }

  .cursor {
    display: none !important;
  }

  .annotation,
  .annotation em,
  .annotation i,
  .archive-drawing path,
  .archive-drawing circle {
    transition: none !important;
    animation: none !important;
  }

  .archive-drawing__sketch,
  .archive-drawing__facade,
  .archive-drawing__annotation path {
    stroke-dashoffset: 0;
  }

  .archive-drawing__sketch {
    opacity: 0.22;
  }

  .archive-drawing__facade {
    opacity: 0.9;
  }

  .archive-drawing__annotation path {
    opacity: 0.72;
  }

  .archive-drawing__annotation circle {
    opacity: 0.82;
    transform: none;
  }

  .archive-drawing__pen {
    animation: none !important;
    opacity: 0;
  }
}
