:root {
  color-scheme: light;
  --paper: #f5f1ea;
  --ink: #171513;
  --stone: #ddd4ca;
  --line: #c8bfb4;
  --timber: #8a6740;
  --charcoal: #252321;
  --scrub: #575c49;
  --muted: #7f7b73;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

.site-header {
  align-items: center;
  background: rgba(245, 241, 234, 0.92);
  border-bottom: 1px solid rgba(200, 191, 180, 0.72);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.wordmark {
  display: grid;
  gap: 0.12rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span:first-child {
  font-size: 1.35em;
  letter-spacing: 0.32em;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.2rem);
}

nav a {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  display: none;
  font: inherit;
  letter-spacing: 0.12em;
  padding: 0.65rem 0.8rem;
  text-transform: uppercase;
}

.hero {
  position: relative;
}

.hero--home {
  background: var(--charcoal);
  color: var(--paper);
  display: grid;
  min-height: calc(92vh - 80px);
  overflow: hidden;
}

.hero--home::after {
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(23, 21, 19, 0.56) 0%,
      rgba(23, 21, 19, 0.42) 22%,
      rgba(23, 21, 19, 0.18) 44%,
      rgba(23, 21, 19, 0.04) 64%,
      rgba(23, 21, 19, 0) 78%
    );
  display: block;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero--home picture,
.hero--home img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero--home img {
  object-fit: cover;
  object-position: 50% 0;
  opacity: 1;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(var(--hero-scale, 1.02));
  transform-origin: center top;
  will-change: transform;
}

.hero__copy {
  align-self: end;
  max-width: 900px;
  padding: clamp(2.5rem, 6vw, 4.4rem) clamp(1rem, 5vw, 5rem);
  position: relative;
  transform: translate3d(0, var(--hero-copy-shift, 0), 0);
  transition: opacity 180ms ease;
  will-change: transform;
  z-index: 2;
}

h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 1.4rem;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

p {
  margin-top: 0;
}

.hero__copy > p:not(.eyebrow) {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  max-width: 620px;
}

.hero__copy h1 {
  max-width: 860px;
  text-shadow: 0 1px 18px rgba(23, 21, 19, 0.3);
}

.hero__copy p:not(.eyebrow) {
  text-shadow: 0 1px 14px rgba(23, 21, 19, 0.34);
}

.eyebrow,
dt {
  color: var(--timber);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hero__copy .eyebrow {
  background: rgba(23, 21, 19, 0.42);
  color: var(--timber);
  display: inline-block;
  padding: 0.28rem 0.42rem;
  text-shadow: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 0.85rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
nav a:hover,
.footer-links a:hover,
.project-card:hover h3 {
  color: var(--timber);
}

.hero__copy .button:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

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

.intro,
.statement,
.project-copy {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.intro,
.statement {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.intro > p,
.statement__body {
  color: var(--scrub);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  hyphens: auto;
  line-height: 1.65;
  max-width: 640px;
  padding-top: 2.35rem;
  text-align: justify;
  text-align-last: left;
}

.statement__body p {
  margin: 0;
}

.statement__body p + p {
  margin-top: 1.2rem;
}

.project-copy p {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.35;
  text-align: justify;
}

.project-copy p + p {
  margin-top: 2rem;
}

.project-grid-section,
.constraint-study,
.services-overview,
.principles,
.cta,
.page-hero,
.project-title,
.response-grid,
.gallery,
.projects-gallery,
.project-navigation,
.contact-layout,
.credentials {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.25rem;
}

.section-heading h2 {
  font-size: clamp(1.2rem, 2.3vw, 2.55rem);
  max-width: 560px;
}

.project-grid-section--index .section-heading {
  border-top: 0;
}

.project-grid {
  display: grid;
  gap: clamp(4.5rem, 9vw, 8rem);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.project-card {
  align-items: end;
  border-bottom: 1px solid rgba(23, 21, 19, 0.72);
  display: grid;
  gap: clamp(2rem, 7vw, 8rem);
  grid-template-columns: minmax(16rem, 0.82fr) minmax(28rem, 1.18fr);
  min-height: clamp(15rem, 25vw, 23rem);
  min-width: 0;
  text-decoration: none;
}

.project-card h3 {
  border-bottom: 0;
  font-size: clamp(1.1rem, 1.55vw, 1.82rem);
  font-weight: 450;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0;
  padding-bottom: 0.82rem;
  text-transform: uppercase;
}

.project-card img {
  align-self: end;
  background: var(--stone);
  justify-self: end;
  object-fit: contain;
  transition: filter 420ms ease, transform 620ms ease;
  width: min(100%, 43rem);
}

.project-card:hover img {
  filter: saturate(1.04) contrast(1.02);
}

.project-card p,
.project-card small,
dd,
figcaption,
.site-footer p,
.footer-links,
.contact-panel {
  color: var(--muted);
}

.project-card p,
.project-card small {
  display: block;
  margin: 0;
}

.constraint-study,
.project-title,
.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.constraint-study__copy p:not(.eyebrow) {
  color: var(--scrub);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  hyphens: auto;
  line-height: 1.45;
  max-width: 560px;
  text-align: justify;
  text-align-last: left;
}

.constraint-study__drawing {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  padding-top: 1.25rem;
}

.constraint-study__drawing img {
  background: var(--stone);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 44%;
  width: 100%;
}

.constraint-study__drawing dl {
  border-top: 1px solid var(--line);
  margin: 0;
}

.constraint-study__drawing div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 4rem 1fr;
  padding: 0.9rem 0;
}

.constraint-study__drawing dt {
  margin: 0;
}

.constraint-study__drawing dd {
  line-height: 1.35;
}

.services-overview {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.services-overview__lead h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.08;
  max-width: 720px;
}

.services-overview__body {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.services-overview__body > p {
  color: var(--scrub);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  hyphens: auto;
  line-height: 1.45;
  max-width: 780px;
  text-align: justify;
  text-align-last: left;
}

.services-overview__drawing {
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 1.25rem;
}

.services-overview__drawing img {
  background: var(--stone);
  display: block;
  max-height: min(64vh, 680px);
  object-fit: contain;
  object-position: 50% 44%;
  width: 100%;
}

.service-columns {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: clamp(1rem, 3vw, 2rem);
}

.service-columns article {
  border-left: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 2rem);
}

.service-columns article:first-child {
  border-left: 0;
  padding-left: 0;
}

.service-columns h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 650;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.service-columns ul {
  color: var(--scrub);
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.2rem;
}

.service-columns li::marker {
  color: var(--timber);
}

.service-columns p {
  color: var(--scrub);
  font-size: 0.98rem;
  hyphens: auto;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
}

.service-columns > article > a {
  color: var(--timber);
  display: inline-block;
  font-weight: 650;
  margin-top: 0.5rem;
  text-decoration: none;
}

.service-columns p a {
  color: var(--timber);
  font-weight: 650;
  text-decoration: none;
}

.principles {
  background: var(--stone);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 1px;
}

.principles article {
  background: var(--paper);
  min-height: 260px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
}

.principles span {
  display: block;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1;
  margin-bottom: 2rem;
}

.cta {
  align-items: start;
  background: var(--charcoal);
  color: var(--paper);
  display: grid;
  gap: 2rem;
  justify-items: start;
}

.cta--brown {
  background: var(--timber);
  color: var(--paper);
}

.cta--brown .eyebrow {
  color: rgba(245, 241, 234, 0.78);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  min-height: 32vh;
}

.page-hero p:last-child {
  color: var(--scrub);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  max-width: 720px;
}

.project-hero img {
  aspect-ratio: 16 / 9;
  height: min(78vh, 860px);
  object-fit: cover;
  width: 100%;
}

.project-hero--drawing {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: clamp(1rem, 4vw, 3rem);
}

.project-hero--drawing img {
  aspect-ratio: 16 / 9;
  height: min(64vh, 720px);
  object-fit: contain;
}

.documentation-hero {
  align-items: start;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
}

.documentation-hero__title {
  align-self: center;
}

.documentation-hero__drawing {
  margin: 0;
}

.documentation-hero__drawing img {
  background: #fff;
  max-height: min(52vh, 560px);
  object-fit: contain;
  width: 100%;
}

.documentation-hero .metadata {
  grid-column: 2;
  width: 100%;
}

.metadata {
  border-top: 1px solid var(--line);
  margin: 0;
}

.metadata div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 12rem 1fr;
  padding: 1rem 0;
}

.metadata dt {
  margin: 0;
}

dd {
  margin: 0;
}

.response-grid {
  background: var(--stone);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 1px;
}

.response-grid article {
  background: var(--paper);
  padding: clamp(1.2rem, 4vw, 2.5rem);
}

.response-grid h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
}

.response-grid p {
  text-align: justify;
}

.gallery {
  display: grid;
  gap: clamp(1rem, 4vw, 3rem);
  justify-items: end;
  margin-left: auto;
  max-width: min(76rem, 74vw);
}

figure {
  margin: 0;
}

figure img {
  background: var(--stone);
  max-height: min(82vh, 820px);
  object-fit: contain;
  width: auto;
}

.project-page--documentation .gallery img {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.project-navigation {
  background: var(--stone);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.project-navigation__link {
  align-items: center;
  border-bottom: 0;
  display: inline-flex;
  font-size: 0.82rem;
  gap: 1.2rem;
  letter-spacing: 0.14em;
  padding-bottom: 0.35rem;
  text-decoration: none;
  text-transform: uppercase;
}

.sketch-arrow {
  display: inline-block;
  height: 3.1rem;
  position: relative;
  width: 3.75rem;
}

.sketch-arrow::before,
.sketch-arrow::after {
  background: var(--timber);
  content: "";
  left: 0.35rem;
  position: absolute;
  top: 50%;
  transform-origin: right center;
  width: 3.15rem;
}

.sketch-arrow::before {
  height: 2px;
  transform: rotate(25deg);
}

.sketch-arrow::after {
  height: 2px;
  transform: rotate(-25deg);
}

.sketch-arrow--previous {
  transform: rotate(180deg);
}

.projects-gallery {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.projects-gallery__heading h2 {
  font-size: clamp(1.2rem, 2.4vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
}

.projects-gallery__stage {
  align-items: center;
  display: grid;
  gap: clamp(1rem, 4vw, 3rem);
  grid-template-columns: minmax(5rem, 0.5fr) minmax(16rem, 1fr) minmax(5rem, 0.5fr);
  min-height: min(72vh, 760px);
}

.projects-gallery__image-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0;
}

.projects-gallery__image-button img {
  display: none;
  max-height: min(72vh, 760px);
  object-fit: contain;
  width: auto;
}

.projects-gallery__image-button img[data-active] {
  display: block;
}

.gallery-control {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--timber);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 8rem;
  padding: 1rem;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(23, 21, 19, 0.9);
  display: none;
  gap: clamp(0.75rem, 3vw, 2rem);
  grid-template-columns: minmax(3.5rem, 0.22fr) minmax(0, 1fr) minmax(3.5rem, 0.22fr);
  inset: 0;
  padding: clamp(1rem, 4vw, 3rem);
  position: fixed;
  z-index: 50;
}

.gallery-lightbox[aria-hidden="false"] {
  display: grid;
}

.gallery-lightbox img {
  cursor: zoom-out;
  justify-self: center;
  max-height: 88vh;
  object-fit: contain;
  width: auto;
}

.gallery-lightbox img[data-transition="next"] {
  animation: lightbox-next 240ms ease-out;
}

.gallery-lightbox img[data-transition="previous"] {
  animation: lightbox-previous 240ms ease-out;
}

@keyframes lightbox-next {
  from {
    opacity: 0.7;
    transform: translateX(1.35rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lightbox-previous {
  from {
    opacity: 0.7;
    transform: translateX(-1.35rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.gallery-lightbox .gallery-control {
  color: var(--timber);
}

.gallery-lightbox .sketch-arrow::before,
.gallery-lightbox .sketch-arrow::after {
  background: var(--timber);
}

.gallery-lightbox__close {
  background: transparent;
  border: 0;
  color: var(--timber);
  cursor: pointer;
  font: inherit;
  font-size: 2.45rem;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  top: clamp(1rem, 4vw, 3rem);
}

body[data-gallery-open="true"] {
  overflow: hidden;
}

body[data-gallery-open="true"] .projects-gallery__stage > .gallery-control {
  visibility: hidden;
}

.contact-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.05rem;
  padding-top: 1.25rem;
}

.contact-panel {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.contact-panel__intro {
  color: var(--scrub);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 420px;
}

.contact-panel__base {
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 340px;
}

.contact-steps {
  border-block: 1px solid var(--line);
  margin: 2rem 0;
  padding: 1.2rem 0;
}

.contact-steps ul {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-steps li {
  color: var(--scrub);
  line-height: 1.35;
}

.contact-form label {
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.contact-form__trap {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 3.6rem;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

.contact-form button {
  background: transparent;
  color: var(--ink);
  justify-self: start;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.contact-form__status {
  color: var(--scrub);
  min-height: 1.4em;
}

.contact-form__turnstile {
  min-height: 65px;
}

.credentials {
  background: var(--stone);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.credentials__line {
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.35;
  margin: 0;
  max-width: 620px;
}

footer {
  background: #302d29;
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
}

.wordmark--footer {
  color: var(--paper);
  margin-bottom: 1rem;
}

.footer-links {
  color: var(--timber);
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: inherit;
}

.reveal {
  transform: translateY(22px);
  transition: transform 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 720px) {
  .site-header {
    align-items: start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  nav {
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: none;
    grid-column: 1 / -1;
    padding-top: 1rem;
  }

  nav[data-open="true"] {
    display: grid;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.7rem);
    line-height: 1;
  }

  .hero__copy {
    max-width: none;
    padding-block: 4.5rem 2rem;
  }

  .hero--home::after {
    background:
      linear-gradient(
        90deg,
        rgba(23, 21, 19, 0.58) 0%,
        rgba(23, 21, 19, 0.42) 46%,
        rgba(23, 21, 19, 0.12) 86%,
        rgba(23, 21, 19, 0.04) 100%
      );
  }

  .hero__copy h1 {
    font-size: clamp(2.25rem, 9vw, 3.1rem);
    max-width: 10ch;
  }

  .hero__copy > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.45;
  }

  .actions {
    margin-top: 1.25rem;
  }

  .actions .button {
    justify-content: center;
    width: 100%;
  }

  .project-grid,
  .intro,
  .statement,
  .constraint-study,
  .services-overview,
  .service-columns,
  .principles,
    .project-title,
    .response-grid,
    .gallery,
    .projects-gallery__stage,
    .project-navigation,
    .contact-layout,
    .documentation-hero,
  .section-heading,
  .credentials {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 2.75rem;
    margin-top: 2.5rem;
  }

  .project-card {
    border-bottom: 0;
    gap: 1rem;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-card h3 {
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.35rem, 6vw, 1.9rem);
    padding-bottom: 0.8rem;
  }

  .project-card img {
    justify-self: stretch;
    width: 100%;
  }

  .documentation-hero .metadata {
    grid-column: auto;
  }

  .intro > p,
  .statement__body {
    padding-top: 0;
    text-align: left;
  }

  .statement__body p,
  .project-copy p,
  .constraint-study__copy p:not(.eyebrow),
  .services-overview__body > p,
  .service-columns p,
  .response-grid p {
    text-align: left;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .metadata div {
    grid-template-columns: 1fr;
  }

  .gallery {
    max-width: none;
  }

  .project-navigation {
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    padding-block: 1.35rem;
  }

  .project-navigation__link {
    flex: 1 1 0;
    font-size: 0.72rem;
    gap: 0.55rem;
    line-height: 1.25;
    min-width: 0;
  }

  .project-navigation__link--previous {
    justify-content: flex-start;
  }

  .project-navigation__link--next {
    justify-content: flex-end;
    text-align: right;
  }

  .project-navigation .sketch-arrow {
    flex: 0 0 2.65rem;
    height: 2.45rem;
    width: 2.65rem;
  }

  .project-navigation .sketch-arrow::before,
  .project-navigation .sketch-arrow::after {
    width: 2.35rem;
  }

  .projects-gallery__stage {
    min-height: 0;
  }

  .projects-gallery__image-button {
    order: 1;
  }

  .projects-gallery__image-button img {
    max-height: 62vh;
    width: 100%;
  }

  .gallery-control {
    min-height: 4.5rem;
    padding: 0.4rem;
  }

  .projects-gallery__stage > .gallery-control--previous {
    order: 2;
    justify-self: start;
  }

  .projects-gallery__stage > .gallery-control--next {
    order: 3;
    justify-self: end;
    margin-top: -4.9rem;
  }

  .gallery-lightbox {
    align-content: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, auto) auto;
    justify-items: center;
    padding: 4.5rem 1rem 1.25rem;
  }

  .gallery-lightbox img {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: calc(100dvh - 10.5rem);
    width: 100%;
  }

  .gallery-lightbox .gallery-control {
    grid-row: 2;
    min-height: 4rem;
    padding: 0.2rem 0.75rem;
  }

  .gallery-lightbox .gallery-control--previous {
    grid-column: 1;
    justify-self: start;
  }

  .gallery-lightbox .gallery-control--next {
    grid-column: 2;
    justify-self: end;
  }

  .sketch-arrow {
    height: 3.4rem;
    width: 4rem;
  }

  .sketch-arrow::before,
  .sketch-arrow::after {
    width: 3.3rem;
  }

  .service-columns article,
  .service-columns article:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 0;
  }

  .hero--home {
    min-height: 74vh;
  }

  .hero--home img {
    object-position: 78% 50%;
  }

}

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

  .hero--home img,
  .hero__copy,
  .project-card:hover img,
  .reveal {
    transform: none !important;
  }
}
