:root {
  --ink: #1d1c19;
  --paper: #f2efe8;
  --white: #fff;
  --warm: #d9d0c2;
  --line: rgba(29, 28, 25, .2);
  --max: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
img { display: block; width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  padding: .75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 3vw, 3.5rem);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  letter-spacing: .08em;
  line-height: 1;
}
.brand-main {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
}
.brand-sub {
  font-size: .56rem;
  margin-top: .38rem;
  letter-spacing: .28em;
}
.site-nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 3rem);
}
.site-nav a {
  text-decoration: none;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.site-nav a:hover, .site-nav a:focus { opacity: .7; }
.menu-toggle { display: none; }

.hero {
  min-height: 96svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.12) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 950px;
  padding: clamp(8rem, 18vh, 13rem) clamp(1.4rem, 6vw, 7rem) clamp(3.4rem, 10vh, 7rem);
}
.eyebrow, .section-label {
  margin: 0 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .68rem;
}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 6.3vw, 6.6rem);
  line-height: .98;
  margin: 0 0 2.4rem;
  text-wrap: balance;
}
.text-link {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .28rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.text-link:hover { opacity: .7; }

.section-pad {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(5rem, 11vw, 10rem) clamp(1.4rem, 5vw, 5rem);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}
.intro h2, .section-heading h2, .about h2, .contact h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.intro p:last-child, .about-copy p:last-child {
  margin: .7rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 42rem;
}

.projects { padding-top: 2rem; }
.section-heading {
  display: grid;
  grid-template-columns: .5fr 1.5fr;
  gap: 3rem;
  margin-bottom: clamp(3.5rem, 8vw, 8rem);
}
.project {
  margin-bottom: clamp(4rem, 9vw, 9rem);
}
.project-feature { width: 88%; }
.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
}
.project-pair .project:nth-child(2) { margin-top: clamp(5rem, 12vw, 12rem); }
.project-wide { width: 84%; margin-left: auto; }
.project-narrow { width: 62%; }
.image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.image-button img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.65,.3,1);
}
.project-feature .image-button img { aspect-ratio: 16 / 10; }
.project-wide .image-button img { aspect-ratio: 16 / 9; }
.project-narrow .image-button img { aspect-ratio: 4 / 3; }
.image-button:hover img, .image-button:focus img { transform: scale(1.018); }
.project-meta {
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
  margin-top: 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.project-number {
  grid-row: 1 / span 2;
  margin: .15rem 0 0;
  font-size: .68rem;
  letter-spacing: .14em;
}
.project-meta h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  margin: 0;
}
.project-meta p:last-child {
  margin: .35rem 0 0;
  font-size: .82rem;
  letter-spacing: .03em;
}

.services {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
}
.services > * {
  width: min(calc(100% - 2.8rem), calc(var(--max) - 10rem));
  margin-inline: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 10rem);
}
.service-grid article {
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 1.3rem;
}
.service-number {
  font-size: .68rem;
  letter-spacing: .16em;
}
.service-grid h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 3rem);
  margin: 2rem 0 1rem;
}
.service-grid article > p:last-child {
  max-width: 38rem;
  color: rgba(255,255,255,.78);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}
.about-image img {
  height: min(75vw, 860px);
  object-fit: cover;
}
.about-copy { padding-right: clamp(0rem, 4vw, 4rem); }

.contact {
  text-align: center;
  padding-top: clamp(6rem, 13vw, 12rem);
  padding-bottom: clamp(6rem, 13vw, 12rem);
}
.contact h2 {
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.contact-link {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3vw, 3rem);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.contact-note {
  margin-top: 2.5rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .66rem;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem clamp(1.4rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border: 0;
  margin: 0;
  padding: 4rem 5rem;
  background: rgba(15,15,14,.96);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(15,15,14,.95); }
.lightbox[open] {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  gap: 1rem;
}
.lightbox figure { margin: 0; }
.lightbox figure img {
  width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
}
.lightbox figcaption {
  text-align: center;
  margin-top: .8rem;
  font-size: .75rem;
  letter-spacing: .08em;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
}
.lightbox-prev, .lightbox-next { font-size: 1.8rem; }

@media (max-width: 800px) {
  .site-header { position: absolute; align-items: flex-start; }
  .menu-toggle {
    display: block;
    background: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,.55);
    padding: .45rem .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .66rem;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 5rem;
    left: 1.2rem;
    right: 1.2rem;
    padding: 1.5rem;
    background: rgba(20,20,18,.94);
    flex-direction: column;
  }
  .site-nav.is-open { display: flex; }
  .intro-grid, .section-heading, .about, .service-grid, .project-pair {
    grid-template-columns: 1fr;
  }
  .section-heading { gap: 1rem; }
  .project-feature, .project-wide, .project-narrow { width: 100%; }
  .project-pair .project:nth-child(2) { margin-top: 0; }
  .about-image img { height: 120vw; max-height: 760px; }
  .lightbox { padding: 4rem 1rem 2rem; }
  .lightbox[open] { grid-template-columns: 2rem 1fr 2rem; gap: .2rem; }
  .site-footer { flex-direction: column; }
}
