:root {
  --paper: #f4f2ec;
  --mist: #dcddd3;
  --sage: #a8b09d;
  --ink: #292b27;
  --line: rgba(41, 43, 39, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --rail-width: clamp(8.5rem, 11vw, 11rem);
  --page-gutter: clamp(1.5rem, 3.6vw, 4.25rem);
  --section-space: clamp(7rem, 13vw, 12rem);
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --motion-fast: 220ms;
  --motion-base: 680ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  animation: page-enter 520ms var(--motion-ease) both;
}

body.page-leaving {
  opacity: 0;
  transition: opacity 160ms ease;
}

@keyframes page-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 2rem);
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--rail-width);
  min-height: 100vh;
  padding: clamp(2rem, 4vw, 4rem) 1.5rem clamp(2rem, 4vw, 3.5rem);
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.94);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.035em;
}

.site-nav,
.footer-nav {
  display: flex;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.site-nav {
  width: 100%;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: auto;
  padding-top: clamp(7rem, 18vh, 11rem);
}

.site-nav a {
  width: fit-content;
}

.site-nav a[aria-current="page"]::before {
  display: inline-block;
  width: 1.25rem;
  height: 1px;
  margin-right: 0.55rem;
  vertical-align: middle;
  background: currentColor;
  content: "";
}

.footer-nav {
  gap: clamp(1.25rem, 3.5vw, 3.25rem);
}

.site-nav a,
.footer-nav a {
  position: relative;
  transition: opacity var(--motion-fast) ease;
}

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

.site-nav a:not([aria-current="page"]),
.footer-nav a {
  opacity: 0.72;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
}

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

main,
.site-footer {
  margin-left: var(--rail-width);
}

.hero {
  min-height: 100vh;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--page-gutter) var(--section-space);
  align-items: start;
}

.hero-copy {
  grid-column: 1 / 5;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-index,
.project-meta,
.hero-visual figcaption,
.contact,
.copyright {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 clamp(4rem, 9vw, 8rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
  font-family: var(--serif);
  font-size: clamp(4rem, 8.2vw, 8.75rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-subtitle {
  max-width: 29rem;
  margin: 0 0 clamp(5rem, 11vw, 10rem) calc(25% + 0.5rem);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  line-height: 1.45;
}

.hero-visual {
  grid-column: 2 / 5;
  margin: 0;
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.image-frame::before,
.project-image::before,
.detail-cover::before,
.about-photo::before {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(41, 43, 39, 0.56), rgba(41, 43, 39, 0.56)),
    linear-gradient(180deg, rgba(41, 43, 39, 0.56), rgba(41, 43, 39, 0.56)),
    linear-gradient(270deg, rgba(41, 43, 39, 0.56), rgba(41, 43, 39, 0.56)),
    linear-gradient(0deg, rgba(41, 43, 39, 0.56), rgba(41, 43, 39, 0.56));
  background-position: left top, right top, right bottom, left bottom;
  background-repeat: no-repeat;
  background-size: 0 1px, 1px 0, 0 1px, 1px 0;
  content: "";
}

.image-frame::before,
.project-image::before,
.detail-cover::before {
  inset: 0;
}

.about-photo::before {
  inset: 0 0 auto;
  width: 100%;
  aspect-ratio: 2 / 3;
}

.hero-visual.is-visible .image-frame::before,
.project-card.is-visible .project-image::before,
.about-photo.is-visible::before,
.detail-cover.is-visible::before {
  animation: draw-window-frame 900ms var(--motion-ease) forwards;
}

@keyframes draw-window-frame {
  0% {
    background-size: 0 1px, 1px 0, 0 1px, 1px 0;
  }

  25% {
    background-size: 100% 1px, 1px 0, 0 1px, 1px 0;
  }

  50% {
    background-size: 100% 1px, 1px 100%, 0 1px, 1px 0;
  }

  75% {
    background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0;
  }

  100% {
    background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  }
}

.hero-visual .image-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 18%,
    rgba(244, 242, 236, 0.04) 34%,
    rgba(244, 242, 236, 0.2) 49%,
    transparent 68%
  );
  content: "";
  opacity: 0.46;
  transform: translate3d(-10%, 0, 0);
  animation: window-light 16s ease-in-out 1.2s infinite alternate;
}

@keyframes window-light {
  from {
    opacity: 0.28;
    transform: translate3d(-12%, 0, 0);
  }

  to {
    opacity: 0.52;
    transform: translate3d(12%, 0, 0);
  }
}

.image-frame img {
  width: 100%;
  aspect-ratio: 1.56 / 1;
  object-fit: cover;
}

.hero-visual .image-frame img,
.project-card .project-image img,
.about-photo img,
.detail-cover img {
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 1000ms var(--motion-ease) 140ms,
    transform 900ms var(--motion-ease);
}

.hero-visual.is-visible .image-frame img,
.project-card.is-visible .project-image img,
.about-photo.is-visible img,
.detail-cover.is-visible img {
  clip-path: inset(0 0 0 0);
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  line-height: 1.5;
}

.hero-note {
  grid-column: 1 / 2;
  align-self: end;
  max-width: 15rem;
  margin-top: clamp(-8rem, -9vw, -5rem);
  margin-bottom: 0;
  font-size: 0.94rem;
}

.works-section {
  padding: var(--section-space) var(--page-gutter);
  background: var(--mist);
}

.section-heading {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.section-heading .section-index {
  grid-column: 1;
}

.section-heading h2 {
  grid-column: 2 / 5;
}

.section-heading > p:last-child {
  grid-column: 4;
  align-self: end;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  font-size: 0.92rem;
}

.text-link {
  position: relative;
  display: block;
  width: fit-content;
  margin-top: 1.25rem;
  padding-bottom: 0.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: opacity var(--motion-fast) ease;
}

.text-link::after,
.project-pagination a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 320ms var(--motion-ease);
}

.text-link:hover::after,
.text-link:focus-visible::after,
.project-pagination a:hover::after,
.project-pagination a:focus-visible::after {
  transform: scaleX(1);
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.project-card {
  position: relative;
  align-items: start;
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.project-card:last-child {
  border-bottom: 1px solid var(--line);
}

.project-number {
  grid-column: 1;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.project-image {
  position: relative;
  grid-column: 2 / 4;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d5d3cb;
  transition: transform var(--motion-base) var(--motion-ease);
}

a.project-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0.35rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition:
    clip-path 1000ms var(--motion-ease) 140ms,
    transform 500ms var(--motion-ease);
}

.project-title,
.project-copy > p,
.project-copy .text-link {
  transition: opacity 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-image img {
    transform: scale(1.03);
  }

  .works-page .project-copy {
    opacity: 0.72;
    transform: translateY(0.35rem);
    transition:
      opacity 500ms ease,
      transform 500ms var(--motion-ease);
  }

  .works-page .project-copy > p:last-of-type,
  .works-page .project-copy .text-link {
    opacity: 0.48;
  }

  .works-page .project-card:hover .project-copy,
  .works-page .project-card:focus-visible .project-copy {
    opacity: 1;
    transform: translateY(0);
  }

  .works-page .project-card:hover .project-copy > p:last-of-type,
  .works-page .project-card:hover .project-copy .text-link,
  .works-page .project-card:focus-visible .project-copy > p:last-of-type,
  .works-page .project-card:focus-visible .project-copy .text-link {
    opacity: 1;
  }
}

.project-copy {
  grid-column: 4;
  padding: clamp(1.25rem, 3vw, 3rem) 0 0 clamp(0rem, 1vw, 1rem);
}

.project-meta {
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.project-copy h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.1;
}

.project-copy .project-title {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.project-copy > p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.about-section {
  min-height: 90vh;
  padding: var(--section-space) var(--page-gutter);
  align-content: center;
}

.about-section .section-index {
  grid-column: 1;
}

.about-copy {
  grid-column: 2 / 5;
}

.about-copy h2 {
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.about-copy > p {
  max-width: 39rem;
  margin-left: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.about-copy .about-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(41, 43, 39, 0.65);
}

.page-intro {
  min-height: 74vh;
  padding: clamp(4rem, 8vw, 7rem) var(--page-gutter) clamp(6rem, 11vw, 10rem);
  align-content: space-between;
}

.page-intro .eyebrow {
  grid-column: 1 / 5;
  margin-bottom: clamp(5rem, 10vw, 9rem);
}

.page-intro h1 {
  grid-column: 1 / 5;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.page-intro-note {
  grid-column: 3 / 5;
  max-width: 31rem;
  margin-bottom: 0;
}

.works-page {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--paper);
}

.works-intro {
  min-height: 60vh;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.works-page .project-card:first-child {
  border-top: 0;
}

.works-page .project-card {
  min-height: min(78rem, 92vh);
  align-content: center;
  border-color: rgba(41, 43, 39, 0.16);
}

.project-card--landscape .project-number,
.project-card--portrait .project-number,
.project-card--cinematic .project-number {
  position: absolute;
  top: clamp(2.75rem, 5vw, 4.5rem);
  right: 0;
  z-index: 2;
}

.project-card--landscape .project-image {
  grid-column: 1 / 4;
  aspect-ratio: 3 / 2;
}

.project-card--landscape .project-copy {
  grid-column: 4;
  align-self: end;
  padding-top: 0;
}

.project-card--portrait .project-image {
  grid-column: 1 / 3;
  width: min(100%, 40rem);
  aspect-ratio: 2 / 3;
}

.project-card--portrait .project-copy {
  grid-column: 3 / 5;
  max-width: 30rem;
  align-self: center;
  padding-left: clamp(2rem, 5vw, 6rem);
}

.project-card--cinematic .project-image {
  grid-column: 1 / 5;
  grid-row: 1;
  aspect-ratio: 16 / 9;
}

.project-card--cinematic .project-copy {
  grid-column: 2 / 4;
  grid-row: 2;
  padding: clamp(2rem, 4vw, 3.5rem) 0 0;
}

.profile-sections {
  padding: var(--section-space) var(--page-gutter);
}

.profile-row {
  min-height: 36rem;
  padding: clamp(4rem, 8vw, 8rem) 0;
  align-content: center;
}

.profile-row + .profile-row {
  border-top: 1px solid rgba(41, 43, 39, 0.14);
}

.profile-row h2 {
  grid-column: 1 / 3;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
}

.profile-row > p {
  grid-column: 3 / 5;
  max-width: 36rem;
  margin-bottom: 0;
}

.about-story {
  padding: 0 var(--page-gutter) var(--section-space);
  align-items: end;
}

.about-photo {
  position: relative;
  grid-column: 1 / 3;
  margin: 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.about-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.about-lead {
  grid-column: 3 / 5;
  max-width: 38rem;
  padding: 0 0 clamp(1rem, 5vw, 5rem) clamp(2rem, 6vw, 7rem);
}

.about-lead .section-index {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.about-lead > p:last-child {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.45;
}

.profile-row--interest h2 {
  grid-column: 2 / 5;
  grid-row: 1;
}

.profile-row--interest > p {
  grid-column: 3 / 5;
  grid-row: 2;
  margin-top: 3rem;
}

.profile-row--practice h2 {
  grid-column: 1 / 3;
  grid-row: 1;
}

.profile-row--practice > p {
  grid-column: 2 / 4;
  grid-row: 2;
  margin-top: 3rem;
}

.profile-row--contact {
  min-height: 28rem;
}

.profile-row--contact h2,
.profile-row--contact > p {
  grid-column: 3 / 5;
}

.project-detail {
  padding: 0 var(--page-gutter) var(--section-space);
}

.project-hero {
  min-height: 72vh;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
  align-content: space-between;
}

.project-hero .eyebrow {
  grid-column: 1 / 5;
  margin-bottom: clamp(5rem, 10vw, 9rem);
}

.project-hero h1 {
  grid-column: 1 / 5;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.project-facts {
  grid-column: 2 / 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.project-facts dt {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.project-facts dd {
  margin: 0;
}

.detail-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.detail-cover img {
  width: 100%;
  max-height: 54rem;
  object-fit: cover;
}

.detail-cover--portrait {
  width: min(72%, 58rem);
  margin-left: auto;
}

.detail-cover--portrait img {
  max-height: none;
}

.detail-placeholder {
  padding: 1rem;
  font-size: 0.78rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: center;
}

.detail-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-bottom: 1px solid var(--line);
}

.detail-section h2 {
  grid-column: 1 / 3;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.detail-section > div {
  grid-column: 3 / 5;
}

.detail-section > div > p {
  max-width: 38rem;
}

.placeholder-note {
  margin-top: 2rem;
  color: rgba(41, 43, 39, 0.65);
  font-size: 0.85rem;
}

.detail-placeholder {
  display: grid;
  min-height: 22rem;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.project-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.project-pagination a {
  position: relative;
  padding-bottom: 0.2rem;
}

.project-transition-clone {
  position: fixed;
  z-index: 1000;
  margin: 0;
  pointer-events: none;
  background-color: var(--paper);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(41, 43, 39, 0.14);
  transition:
    top 760ms var(--motion-ease),
    left 760ms var(--motion-ease),
    width 760ms var(--motion-ease),
    height 760ms var(--motion-ease),
    box-shadow 760ms ease;
  will-change: top, left, width, height;
}

.project-transition-clone.is-expanding {
  top: 0 !important;
  left: var(--transition-left) !important;
  width: var(--transition-width) !important;
  height: 100vh !important;
  box-shadow: none;
}

body.project-opening {
  overflow: hidden;
}

.works-page .project-image img {
  transition:
    clip-path 1000ms var(--motion-ease) 140ms,
    transform 500ms var(--motion-ease);
}

.site-footer {
  min-height: 22rem;
  padding: clamp(2.5rem, 4vw, 4rem) var(--page-gutter);
  align-items: start;
  background: var(--ink);
  color: var(--paper);
}

.footer-mark {
  grid-column: 1;
}

.footer-nav {
  grid-column: 2;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact {
  grid-column: 3;
}

.contact p {
  margin-bottom: 0.35rem;
}

.copyright {
  grid-column: 4;
  align-self: end;
  margin-bottom: 0;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity var(--motion-base) ease,
    transform var(--motion-base) var(--motion-ease);
  will-change: opacity, transform;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-later {
  transition-delay: 220ms;
}

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

.hero-copy.reveal,
.page-intro.reveal {
  opacity: 1;
  transform: none;
}

.hero-copy > *,
.page-intro > * {
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 720ms ease,
    transform 720ms var(--motion-ease);
}

.hero-copy.is-visible > *,
.page-intro.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.is-visible > :nth-child(2),
.page-intro.is-visible > :nth-child(2) {
  transition-delay: 90ms;
}

.hero-copy.is-visible > :nth-child(3),
.page-intro.is-visible > :nth-child(3) {
  transition-delay: 180ms;
}

@media (max-width: 900px) {
  :root {
    --rail-width: 7.25rem;
  }

  .site-header {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    grid-column: 1 / 5;
  }

  .hero-subtitle {
    margin-left: 25%;
  }

  .hero-visual {
    grid-column: 1 / 5;
  }

  .hero-note {
    grid-column: 1 / 3;
    margin-top: 3rem;
  }

  .section-heading h2 {
    grid-column: 2 / 5;
  }

  .section-heading > p:last-child {
    grid-column: 2 / 5;
    margin-top: 2rem;
  }

  .project-number {
    grid-column: 1;
  }

  .project-image {
    grid-column: 2 / 5;
  }

  .project-copy {
    grid-column: 2 / 5;
    margin-top: 2rem;
    padding-left: 0;
  }

  .project-meta {
    margin-bottom: 1rem;
  }

  .footer-nav {
    grid-column: 2;
  }

  .contact {
    grid-column: 3 / 5;
  }

  .copyright {
    grid-column: 2 / 5;
  }

  .page-intro-note {
    grid-column: 2 / 5;
  }

  .project-facts {
    grid-column: 1 / 5;
  }

  .works-page .project-card {
    min-height: auto;
  }

  .project-card--landscape .project-image,
  .project-card--portrait .project-image {
    grid-column: 1 / 4;
  }

  .project-card--landscape .project-copy,
  .project-card--portrait .project-copy {
    grid-column: 4;
    padding-left: 1rem;
  }

  .project-card--cinematic .project-copy {
    grid-column: 2 / 5;
  }
}

@media (max-width: 700px) {
  :root {
    --page-gutter: 1.15rem;
  }

  .four-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0.7rem;
  }

  .site-header {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 7.5rem;
    margin: 0 var(--page-gutter);
    padding: 1.35rem 0;
    align-items: flex-start;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .site-nav {
    position: fixed;
    top: 1.35rem;
    right: var(--page-gutter);
    z-index: 30;
    width: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    font-size: 0.76rem;
  }

  .site-nav a[aria-current="page"]::before {
    display: none;
  }

  main,
  .site-footer {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .eyebrow {
    max-width: 15rem;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .page-intro h1,
  .project-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-subtitle {
    max-width: 19rem;
    margin: 0 0 5rem 0;
  }

  .image-frame img {
    aspect-ratio: 4 / 5;
  }

  .hero-visual figcaption {
    flex-direction: column;
    gap: 0;
  }

  .hero-note {
    grid-column: 1 / 4;
    margin-top: 2.5rem;
  }

  .section-heading .section-index,
  .about-section .section-index {
    grid-column: 1 / 5;
    margin-bottom: 2.5rem;
  }

  .section-heading h2,
  .section-heading > p:last-child,
  .about-copy {
    grid-column: 1 / 5;
  }

  .page-intro {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .page-intro .eyebrow,
  .project-hero .eyebrow {
    margin-bottom: 4rem;
  }

  .page-intro-note,
  .profile-row h2,
  .profile-row > p,
  .detail-section h2,
  .detail-section > div {
    grid-column: 1 / 5;
  }

  .page-intro-note {
    width: 100%;
    max-width: 100%;
    padding-right: 0.5rem;
  }

  .profile-row h2,
  .detail-section h2 {
    margin-bottom: 2rem;
  }

  .about-story {
    row-gap: 3rem;
  }

  .about-photo,
  .about-lead {
    grid-column: 1 / 5;
  }

  .about-photo {
    width: 86%;
  }

  .about-lead {
    padding: 0;
  }

  .profile-row {
    min-height: auto;
  }

  .profile-row--interest h2,
  .profile-row--interest > p,
  .profile-row--practice h2,
  .profile-row--practice > p,
  .profile-row--contact h2,
  .profile-row--contact > p {
    grid-column: 1 / 5;
    grid-row: auto;
  }

  .profile-row--interest > p,
  .profile-row--practice > p {
    margin-top: 0;
  }

  .project-hero {
    min-height: auto;
  }

  .project-facts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .detail-cover {
    width: 100%;
    margin-left: 0;
  }

  .detail-placeholder {
    min-height: 16rem;
  }

  .project-card {
    row-gap: 1.5rem;
  }

  .project-number {
    grid-column: 1 / 2;
  }

  .project-image,
  .project-copy {
    grid-column: 1 / 5;
  }

  .project-copy {
    margin-top: 0;
  }

  .works-page .project-copy,
  .works-page .project-copy > p:last-of-type,
  .works-page .project-copy .text-link {
    opacity: 1;
    transform: none;
  }

  .project-card--landscape .project-number,
  .project-card--portrait .project-number,
  .project-card--cinematic .project-number {
    position: static;
    grid-column: 1 / 5;
  }

  .project-card--landscape .project-image,
  .project-card--portrait .project-image,
  .project-card--cinematic .project-image,
  .project-card--landscape .project-copy,
  .project-card--portrait .project-copy,
  .project-card--cinematic .project-copy {
    grid-column: 1 / 5;
    grid-row: auto;
    width: 100%;
    max-width: none;
    padding-left: 0;
  }

  .project-card--portrait .project-image {
    width: 82%;
  }

  .project-card--cinematic .project-copy {
    padding-top: 2rem;
  }

  .about-section {
    min-height: auto;
  }

  .about-copy > p {
    margin-left: 0;
  }

  .site-footer {
    row-gap: 3rem;
  }

  .footer-mark,
  .footer-nav,
  .contact,
  .copyright {
    grid-column: 1 / 5;
  }

  .copyright {
    margin-top: 3rem;
    text-align: left;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    animation: none;
  }

  body.page-leaving,
  .hero-copy > *,
  .page-intro > * {
    opacity: 1;
    transform: none;
  }

  .image-frame::before,
  .project-image::before,
  .detail-cover::before,
  .about-photo::before {
    animation: none !important;
    background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  }

  .hero-visual .image-frame::after {
    animation: none !important;
    opacity: 0.18;
    transform: none;
  }

  .hero-visual .image-frame img,
  .project-card .project-image img,
  .about-photo img,
  .detail-cover img {
    clip-path: none;
  }

  .project-transition-clone {
    display: none;
  }

}
