:root {
  --ink: #171713;
  --ink-soft: #4f4d47;
  --paper: #f4f1e9;
  --paper-deep: #e9e4d9;
  --white: #fffdf8;
  --bronze: #9a7650;
  --line: rgba(23, 23, 19, 0.18);
  --line-light: rgba(255, 253, 248, 0.3);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 10vw, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--bronze);
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 6rem;
  padding: 0 var(--gutter);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: min-height 400ms var(--ease), color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.light-header .site-header {
  color: var(--ink);
}

.site-header.is-scrolled,
.menu-open .site-header {
  min-height: 4.8rem;
  color: var(--ink);
  background: rgba(244, 241, 233, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.wordmark {
  grid-column: 2;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  grid-column: 1;
  grid-row: 1;
}

.site-nav ul {
  display: flex;
  gap: clamp(1.2rem, 2.3vw, 2.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.header-contact,
.menu-toggle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

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

.header-contact {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.header-contact::before {
  width: 2.2rem;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width 300ms var(--ease);
}

.header-contact:hover::before {
  width: 3.2rem;
}

.menu-toggle {
  display: none;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  padding: 0.75rem 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.project-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after,
.project-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 10, 8, 0.4) 0%, rgba(10, 10, 8, 0.05) 45%, rgba(10, 10, 8, 0.66) 100%);
}

.hero-media img,
.project-hero-media img {
  height: 100%;
  object-fit: cover;
  animation: hero-reveal 1.7s var(--ease) both;
}

@keyframes hero-reveal {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

.hero-copy {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.2rem, 8vh, 7rem);
  left: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.36fr);
  gap: 4rem;
  align-items: end;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 2.6rem;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.55;
}

.hero h1,
.page-title,
.project-hero h1,
.display-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 7.8vw, 8.6rem);
}

.hero-aside {
  max-width: 26rem;
  padding-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.45;
}

.scroll-note {
  position: absolute;
  right: 1.2rem;
  bottom: 50%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right bottom;
}

.scroll-note::after {
  width: 4rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.section {
  padding: var(--section) var(--gutter);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 0.52fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 11rem);
  max-width: 88rem;
  margin: 0 auto;
}

.section-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--bronze);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.intro-copy h2,
.section-heading h2,
.statement h2,
.contact-callout h2,
.about-essay h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.intro-copy p {
  max-width: 44rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  max-width: 100rem;
  margin: 0 auto clamp(3rem, 6vw, 6.5rem);
}

.section-heading h2 {
  max-width: 10ch;
}

.text-link,
.project-link,
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.text-link::after,
.project-link::after {
  width: 2.8rem;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width 350ms var(--ease);
}

.text-link:hover::after,
.project-link:hover::after {
  width: 4.2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 6rem) clamp(1.4rem, 3vw, 3rem);
  max-width: 100rem;
  margin: 0 auto;
}

.project-card {
  grid-column: span 5;
}

.project-card:nth-child(4n + 1),
.project-card:nth-child(4n + 4) {
  grid-column: span 7;
}

.project-card:nth-child(even) {
  margin-top: clamp(1rem, 7vw, 7rem);
}

.project-image {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-card:nth-child(odd) .project-image {
  aspect-ratio: 4 / 3;
}

.project-card:nth-child(even) .project-image {
  aspect-ratio: 3 / 4;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 600ms ease;
}

.project-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 8, 0.25));
  opacity: 0;
  transition: opacity 500ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-card:hover .project-image::after {
  opacity: 1;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.project-meta h3 {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.project-location,
.project-index {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 13vw, 13rem) var(--gutter);
  color: var(--white);
  background: var(--ink);
}

.statement::before {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 38rem;
  height: 38rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.statement-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(3rem, 8vw, 10rem);
  max-width: 88rem;
  margin: 0 auto;
}

.statement h2 {
  max-width: 13ch;
}

.statement-copy {
  max-width: 34rem;
  align-self: end;
  color: rgba(255, 253, 248, 0.72);
}

.statement .text-link {
  margin-top: 2rem;
  color: var(--white);
}

.contact-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  max-width: 100rem;
  margin: 0 auto;
}

.contact-callout h2 {
  max-width: 11ch;
}

.button-link {
  justify-content: center;
  min-width: 14rem;
  padding: 1.2rem 1.6rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  transition: color 300ms ease, background 300ms ease;
}

.button-link:hover {
  color: var(--ink);
  background: transparent;
}

.button-link.is-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-link.is-light:hover {
  color: var(--white);
  background: transparent;
}

.site-footer {
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) 2.2rem;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.6fr;
  gap: 3rem;
  max-width: 100rem;
  margin: 0 auto 5rem;
}

.footer-wordmark {
  max-width: 8ch;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 0.92;
}

.footer-label {
  margin: 0 0 1.2rem;
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 0.55rem;
}

.footer-list a {
  color: rgba(255, 253, 248, 0.78);
  transition: color 200ms ease;
}

.footer-list a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 100rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  color: rgba(255, 253, 248, 0.46);
  border-top: 1px solid rgba(255, 253, 248, 0.15);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

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

/* Inner pages */
.page-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  gap: 4rem;
  align-items: end;
  min-height: 34rem;
  max-width: 100rem;
  margin: 0 auto;
  padding: clamp(9rem, 15vw, 14rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}

.page-title {
  max-width: 10ch;
  font-size: clamp(4rem, 9vw, 9.5rem);
}

.page-lede {
  max-width: 30rem;
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.45;
}

.residences-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3.5rem, 7vw, 8rem) clamp(1.5rem, 3.5vw, 4rem);
  max-width: 100rem;
  margin: 0 auto;
}

.residence-card:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.residence-card .project-image {
  aspect-ratio: 4 / 3;
}

.residence-card:nth-child(3n + 1) .project-image {
  aspect-ratio: 16 / 8;
}

.residence-card .project-index {
  align-self: start;
}

.project-hero {
  position: relative;
  min-height: min(88svh, 62rem);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.project-hero-copy {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: clamp(3rem, 7vw, 6.5rem);
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
}

.project-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 8vw, 8.8rem);
}

.project-hero .project-location {
  color: rgba(255, 253, 248, 0.8);
}

.project-count {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-intro {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: clamp(3rem, 9vw, 11rem);
  max-width: 88rem;
  margin: 0 auto;
}

.project-summary {
  max-width: 44rem;
}

.project-summary .lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.project-summary p:not(.lead) {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.facts li {
  padding: 1.4rem 1rem 0 0;
}

.facts li + li {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.facts span {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-section {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 100rem;
  margin: 0 auto;
}

.gallery-item {
  grid-column: span 6;
  padding: 0;
  overflow: hidden;
  background: var(--paper-deep);
  border: 0;
  cursor: zoom-in;
}

.gallery-item:nth-child(5n + 1) {
  grid-column: 1 / -1;
}

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

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

.gallery-item img {
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter 400ms ease;
}

.gallery-item:nth-child(5n + 1) img {
  aspect-ratio: 16 / 8;
}

.gallery-item:hover img {
  filter: brightness(0.92);
  transform: scale(1.025);
}

.gallery-subhead {
  grid-column: 1 / -1;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.gallery-subhead h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.gallery-subhead p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox {
  width: min(94vw, 90rem);
  max-width: none;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(10, 10, 8, 0.93);
  backdrop-filter: blur(6px);
}

.lightbox img {
  width: 100%;
  max-height: 84svh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: rgba(10, 10, 8, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.lightbox-caption {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.project-next {
  display: block;
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.project-next img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 1.2s var(--ease), opacity 600ms ease;
}

.project-next::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 10, 8, 0.7), rgba(10, 10, 8, 0.15));
}

.project-next:hover img {
  opacity: 0.62;
  transform: scale(1.025);
}

.project-next-content {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: clamp(3rem, 7vw, 6rem);
  left: var(--gutter);
}

.project-next-title {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.about-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
}

.about-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 10, 8, 0.66), rgba(10, 10, 8, 0.08));
}

.about-hero-content {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: clamp(3rem, 8vw, 7rem);
  left: var(--gutter);
}

.about-hero .display-title {
  max-width: 11ch;
  font-size: clamp(3.8rem, 8vw, 8.5rem);
}

.about-essay {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(3rem, 9vw, 11rem);
  max-width: 88rem;
  margin: 0 auto;
}

.about-essay h2 {
  max-width: 10ch;
}

.about-prose {
  align-self: end;
  max-width: 40rem;
  color: var(--ink-soft);
}

.about-prose p:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.45;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 23rem;
  padding: 2rem clamp(1.2rem, 3vw, 3rem) 2rem 0;
}

.principle + .principle {
  padding-left: clamp(1.2rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.principle h3 {
  margin: 5rem 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.principle p {
  max-width: 24rem;
  margin: 0;
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 100svh;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(9rem, 14vw, 13rem) var(--gutter) 4rem;
}

.contact-copy .page-title {
  font-size: clamp(3.7rem, 7vw, 7.8rem);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 35rem;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-details p {
  margin: 0;
}

.contact-details a {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  overflow-wrap: anywhere;
}

.contact-address { grid-column: 1 / -1; }

.contact-media {
  position: relative;
  min-height: 42rem;
}

.contact-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.address {
  color: var(--ink-soft);
  line-height: 1.55;
}

.matterport-link {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .page-masthead,
  .project-intro,
  .about-essay {
    grid-template-columns: 1fr;
  }
  .page-masthead { align-items: start; min-height: auto; }
  .project-hero-copy { display: block; }
  .project-count { margin-top: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-media { min-height: 65svh; order: -1; }
  .contact-copy { min-height: 42rem; }
}

@media (max-width: 640px) {
  .page-masthead { padding-top: 8rem; }
  .page-title { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .residences-grid { display: block; }
  .residence-card { margin-bottom: 4rem; }
  .residence-card .project-image,
  .residence-card:nth-child(3n + 1) .project-image { aspect-ratio: 4 / 3; }
  .project-hero { min-height: 82svh; }
  .project-hero-copy { bottom: 2.5rem; }
  .project-hero h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; }
  .gallery-grid { display: block; }
  .gallery-item { width: 100%; margin-bottom: 1rem; }
  .gallery-item img,
  .gallery-item:nth-child(5n + 1) img { aspect-ratio: 4 / 3; }
  .gallery-subhead { margin-top: 3rem; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: auto; padding: 2rem 0 3rem; }
  .principle + .principle { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .principle h3 { margin-top: 2.5rem; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-address { grid-column: auto; }
  .contact-copy { min-height: 40rem; }
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    min-height: 4.8rem;
  }

  .menu-toggle { display: block; }
  .header-contact { font-size: 0; gap: 0; }
  .header-contact::before { display: none; }
  .header-contact::after { content: "Contact"; font-size: 0.7rem; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 350ms ease, visibility 350ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 9vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .hero-copy,
  .statement-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy { gap: 2rem; }
  .hero-aside { max-width: 30rem; }
  .scroll-note { display: none; }

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

  .contact-callout {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wordmark { font-size: 0.92rem; letter-spacing: 0.11em; }
  .hero-copy { bottom: 2.5rem; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5.5rem); }
  .hero-aside { font-size: 1.05rem; }
  .section-heading { display: block; }
  .section-heading .text-link { margin-top: 2rem; }
  .featured-grid { display: block; }
  .project-card,
  .project-card:nth-child(even) { margin: 0 0 3.8rem; }
  .project-card .project-image,
  .project-card:nth-child(even) .project-image,
  .project-card:nth-child(odd) .project-image { aspect-ratio: 4 / 3; }
  .project-meta h3 { font-size: 2rem; }
  .project-link { font-size: 0; gap: 0; }
  .project-link::after { width: 2rem; }
  .statement-copy { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
