* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0b0b0b;
  --off-black: #141414;
  --white: #f5f3ee;
  --grey: #a8a8a4;
  --line: rgba(255,255,255,.18);
  --dark-line: rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { font-family: "Playfair Display", serif; font-weight: 500; line-height: 1.02; }
h2 { font-size: clamp(3rem, 7vw, 7.25rem); letter-spacing: -.04em; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 86px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .24em;
  font-size: .86rem;
  font-weight: 500;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.nav { display: flex; gap: 2.2rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.nav a { position: relative; }
.nav a:after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 1px; background: currentColor;
  transition: right .3s ease;
}
.nav a:hover:after { right: 0; }

.menu-toggle { display: none; background: none; border: 0; color: inherit; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; }

.hero {
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 10vh 7vw;
  background:
    linear-gradient(120deg, rgba(0,0,0,.05), rgba(0,0,0,.15)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=88") center/cover no-repeat;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.04) 62%);
}

.hero-content { position: relative; z-index: 2; max-width: 940px; }
.hero h1 { font-size: clamp(5rem, 12vw, 11rem); letter-spacing: -.055em; margin: 1.2rem 0 1.5rem; }
.hero-copy { max-width: 560px; font-size: clamp(1rem, 1.6vw, 1.35rem); margin-bottom: 2.3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 500; }
.eyebrow.dark { color: #53534f; }

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  transition: .3s ease;
}
.button-light { border-color: rgba(255,255,255,.7); }
.button-light:hover { background: #fff; color: #000; }
.button-dark { background: #000; color: #fff; border-color: #000; }
.button-dark:hover { background: transparent; color: #000; }

.scroll-cue {
  position: absolute; right: 4vw; bottom: 8vh; z-index: 2;
  writing-mode: vertical-rl;
  text-transform: uppercase; letter-spacing: .2em; font-size: .66rem;
}

.section { position: relative; padding: 11vw 7vw; }
.section-dark { background: var(--black); color: var(--white); padding: 11vw 7vw; }
.section-number { position: absolute; left: 2.5vw; top: 11vw; font-size: .72rem; color: #777; }

.intro { min-height: 85vh; display: flex; align-items: center; }
.intro-copy { margin-left: 17vw; max-width: 1050px; }
.intro-copy h2 { margin: 1.4rem 0 3rem; }
.intro-copy > p:last-child { max-width: 650px; margin-left: auto; font-size: 1.13rem; color: #484844; }

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 7vw;
}
.section-heading h2 { margin-top: 1rem; }
.section-heading > p { max-width: 520px; color: #b0b0ad; }
.section-heading.light > p { color: #555550; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5vw 2.2vw; }
.project-card .project-image {
  min-height: 580px;
  background-position: center;
  background-size: cover;
  filter: grayscale(1);
  transition: filter .5s ease, transform .5s ease;
}
.project-card:hover .project-image { filter: grayscale(.2); transform: scale(.995); }
.project-card:nth-child(1) { grid-column: 1 / span 7; }
.project-card:nth-child(2) { grid-column: 8 / span 5; padding-top: 10vw; }
.project-card:nth-child(3) { grid-column: 3 / span 8; margin-top: 3vw; }
.project-two .project-image { min-height: 470px; }
.project-one .project-image { background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1500&q=85"); }
.project-two .project-image { background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=85"); }
.project-three .project-image { background-image: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1600&q=85"); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.1rem; border-top: 1px solid var(--line); margin-top: 1.2rem; }
.project-meta h3 { font-size: 1.5rem; }
.project-meta p, .placeholder-note { color: var(--grey); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.placeholder-note { margin-top: 5rem; }

.services-wrap { margin-left: 10vw; }
.service-list { border-top: 1px solid var(--dark-line); }
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--dark-line);
}
.service span { color: #777; font-size: .75rem; }
.service h3 { font-size: clamp(1.8rem, 3vw, 3.5rem); }
.service p { color: #53534f; max-width: 500px; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; align-items: center; }
.about-image {
  min-height: 760px;
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1500&q=85") center/cover no-repeat;
  filter: grayscale(1);
}
.about-copy h2 { margin: 1.5rem 0 2.4rem; }
.about-copy p:not(.eyebrow) { color: #bababa; margin-bottom: 1.5rem; max-width: 580px; font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 1rem; margin-top: 1.3rem; padding-bottom: .35rem; border-bottom: 1px solid currentColor; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }

.contact { min-height: 85vh; display: flex; align-items: center; }
.contact-wrap { margin-left: 17vw; }
.contact h2 { max-width: 1100px; margin: 1rem 0 2rem; }
.contact-wrap > p:not(.eyebrow):not(.small-note) { font-size: 1.15rem; color: #555; }
.contact-actions { display: flex; gap: 2rem; align-items: center; margin-top: 2.5rem; flex-wrap: wrap; }
.dark-link { color: #000; }
.small-note { margin-top: 1rem; color: #888; font-size: .75rem; }

footer {
  background: var(--off-black);
  color: var(--white);
  padding: 5vw 7vw 3vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  font-size: .83rem;
}
.footer-links { display: flex; gap: 1.5rem; justify-content: flex-end; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 3rem; color: #777; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { display: block; z-index: 3; }
  .nav {
    position: fixed; inset: 0; background: #0b0b0b; color: #fff;
    flex-direction: column; align-items: center; justify-content: center;
    font-family: "Playfair Display", serif; font-size: 2.2rem; letter-spacing: 0;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .hero { padding: 12vh 6vw 9vh; }
  .scroll-cue { display: none; }
  .section, .section-dark { padding: 24vw 6vw; }
  .section-number { display: none; }
  .intro { min-height: auto; }
  .intro-copy, .services-wrap, .contact-wrap { margin-left: 0; }
  .intro-copy > p:last-child { margin-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .project-grid { display: block; }
  .project-card { padding-top: 0 !important; margin: 0 0 5rem !important; }
  .project-card .project-image, .project-two .project-image { min-height: 62vh; }
  .project-meta { display: block; }
  .project-meta p { margin-top: .5rem; }
  .service { grid-template-columns: 44px 1fr; gap: 1rem; }
  .service p { grid-column: 2; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 65vh; }
  footer { grid-template-columns: 1fr; gap: 1.3rem; padding: 14vw 6vw 7vw; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
