:root {
  --ink: #111111;
  --paper: #f2f2ef;
  --white: #ffffff;
  --mid: #8b8b86;
  --soft: #d8d8d3;
  --line: rgba(17, 17, 17, .28);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); margin: 0; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }

.site-header {
  align-items: center;
  color: var(--ink);
  display: flex;
  height: 82px;
  justify-content: space-between;
  left: 0;
  padding: 0 1.5vw;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
  z-index: 40;
}

.site-header-over-image { color: var(--white); }
.site-header.header-solid {
  backdrop-filter: blur(14px);
  background: rgba(242, 242, 239, .92);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-brand,
.menu-toggle {
  font-family: var(--serif);
  font-size: clamp(30px, 2.5vw, 46px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.menu-toggle,
.menu-close {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.site-menu {
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-rows: auto 1fr auto;
  inset: 0;
  opacity: 0;
  padding: 0 1.5vw 24px;
  position: fixed;
  transform: translateY(-2%);
  transition: opacity 340ms ease, transform 340ms ease;
  z-index: 100;
}

.site-menu.is-open { opacity: 1; transform: translateY(0); }
.menu-header { align-items: center; display: flex; height: 82px; justify-content: space-between; }
.menu-close { color: var(--white); font-family: var(--serif); font-size: 58px; font-weight: 300; line-height: .7; }
.menu-links { align-self: start; display: flex; flex-direction: column; margin-top: 24px; }
.menu-links a {
  font-family: var(--serif);
  font-size: clamp(46px, 6.6vw, 112px);
  letter-spacing: -.055em;
  line-height: .94;
  width: fit-content;
}
.menu-links a:hover { color: #a7a7a2; }
.menu-footer {
  border-top: 1px solid rgba(255, 255, 255, .35);
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: .12em;
  padding-top: 15px;
  text-transform: uppercase;
}

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

.hero-media,
.hero-media img,
.hero-fallback { height: 100%; inset: 0; position: absolute; width: 100%; }
.hero-media img { object-fit: cover; }
.hero-wash {
  background: linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.25) 100%);
  inset: 0;
  position: absolute;
}

.hero-fallback {
  background: linear-gradient(145deg, #b9b9b5 0 48%, #333 48% 100%);
  overflow: hidden;
}
.hero-fallback span { background: #e9e9e6; height: 76%; position: absolute; right: 10%; top: 11%; width: 48%; }
.hero-fallback i { background: #171717; bottom: 0; height: 58%; position: absolute; right: 12%; width: 20%; }
.hero-fallback b { background: rgba(0,0,0,.2); bottom: -18%; height: 80%; position: absolute; right: 38%; transform: rotate(-33deg); width: 13%; }

.hero-copy {
  left: 1.5vw;
  position: absolute;
  top: 112px;
  z-index: 2;
}
.hero-copy > p {
  font-size: 9px;
  letter-spacing: .14em;
  line-height: 1.6;
  margin: 0 0 34px;
  text-transform: uppercase;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 86px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
  margin: 0;
}

.hero-project-link {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.75);
  bottom: 70px;
  display: flex;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 32px);
  gap: 45px;
  justify-content: space-between;
  padding-bottom: 8px;
  position: absolute;
  right: 1.5vw;
  width: min(420px, 34vw);
  z-index: 2;
}
.hero-project-link:hover span:last-child { transform: translate(3px, -3px); }
.hero-project-link span:last-child { transition: transform 180ms ease; }

.hero-foot {
  bottom: 18px;
  display: flex;
  font-size: 8px;
  justify-content: space-between;
  left: 1.5vw;
  letter-spacing: .12em;
  position: absolute;
  right: 1.5vw;
  text-transform: uppercase;
  z-index: 2;
}

.projects-section,
.services-section { padding: 122px 1.5vw 145px; }

.section-intro {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  margin-bottom: 78px;
}
.section-label {
  font-size: 9px;
  letter-spacing: .14em;
  margin: 0;
  text-transform: uppercase;
}
.section-intro h2,
.services-heading h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 100px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .94;
  margin: 0;
}
.section-intro > p:last-child {
  align-self: end;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 310px;
}

.project-grid {
  display: grid;
  gap: 42px 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.project-card { min-width: 0; }
.project-card figure {
  aspect-ratio: 3 / 4;
  background: #d0d0cc;
  margin: 0;
  overflow: hidden;
}
.project-card figure img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
  width: 100%;
}
.project-card:hover figure img { transform: scale(1.025); }
.project-label { border-top: 1px solid var(--ink); padding-top: 10px; }
.project-label h3 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.project-label p {
  color: #62625e;
  font-size: 8px;
  letter-spacing: .1em;
  margin: 0;
  text-transform: uppercase;
}
.project-placeholder {
  align-items: flex-end;
  background: linear-gradient(145deg, #d4d4d0, #8a8a86);
  color: var(--white);
  display: flex;
  font-size: 9px;
  height: 100%;
  justify-content: flex-end;
  letter-spacing: .15em;
  padding: 14px;
}
.content-empty {
  border-top: 1px solid var(--ink);
  color: var(--mid);
  font-family: var(--serif);
  font-size: 28px;
  grid-column: 1 / -1;
  padding: 24px 0 160px;
}

.studio-section {
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: 100svh;
  padding: 124px 1.5vw 26px;
}
.studio-statement h2 {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 116px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .92;
  margin: 0;
}
.studio-copy {
  align-self: center;
  font-size: 14px;
  line-height: 1.62;
  max-width: 430px;
}
.studio-copy p { margin: 0 0 26px; }
.studio-registration {
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1.55;
  margin-top: 42px !important;
  text-transform: uppercase;
}
.studio-registration a {
  border-bottom: 1px solid rgba(255,255,255,.55);
  display: inline-flex;
  gap: 20px;
  padding-bottom: 7px;
}
.studio-registration a span { transition: transform 180ms ease; }
.studio-registration a:hover span { transform: translate(3px, -3px); }
.studio-meta {
  align-self: end;
  border-top: 1px solid rgba(255,255,255,.35);
  display: flex;
  font-size: 8px;
  grid-column: 1 / -1;
  justify-content: space-between;
  letter-spacing: .12em;
  padding-top: 14px;
  text-transform: uppercase;
}

.services-section {
  display: grid;
  gap: 8vw;
  grid-template-columns: .8fr 1.2fr;
}
.services-heading h2 { margin-top: 54px; }
.service-list { border-top: 1px solid var(--ink); }
.service-list article {
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 22px;
  grid-template-columns: 36px minmax(180px, .8fr) 1.2fr;
  padding: 25px 0 28px;
}
.service-list article > span { font-size: 8px; letter-spacing: .12em; }
.service-list h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 400;
  letter-spacing: -.04em;
  margin: 0;
}
.service-list p { font-size: 12px; line-height: 1.55; margin: 0; max-width: 430px; }

.contact-section {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 82svh;
  padding: 24px 1.5vw 42px;
}
.contact-top {
  display: flex;
  font-size: 8px;
  justify-content: space-between;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(68px, 10vw, 168px);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .82;
  margin: 9vh 0;
}
.contact-bottom { align-items: end; display: flex; justify-content: space-between; }
.contact-bottom a {
  border-bottom: 1px solid var(--white);
  display: flex;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 38px);
  justify-content: space-between;
  padding-bottom: 8px;
  width: min(520px, 42vw);
}
.contact-bottom p {
  font-size: 8px;
  letter-spacing: .12em;
  line-height: 1.6;
  margin: 0;
  text-align: right;
  text-transform: uppercase;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 125px;
  padding: 0 1.5vw;
}
.site-footer .site-brand { font-size: 28px; }
.site-footer p {
  font-size: 8px;
  letter-spacing: .12em;
  line-height: 1.7;
  margin: 0;
  text-transform: uppercase;
}
.site-footer p:last-child { justify-self: end; text-align: right; }

.not-found-page {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding: 34px 1.5vw 40px;
}
.not-found-page h1 {
  font-family: var(--serif);
  font-size: clamp(90px, 18vw, 280px);
  font-weight: 400;
  letter-spacing: -.08em;
  line-height: .75;
  margin: auto 0;
}
.not-found-page p { font-size: 13px; line-height: 1.5; max-width: 420px; }
.not-found-page > div > a { border-bottom: 1px solid var(--white); padding-bottom: 5px; width: fit-content; }

@media (max-width: 1050px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-intro { grid-template-columns: .65fr 1.65fr .9fr; }
  .studio-section { grid-template-columns: .65fr 1.65fr .9fr; }
  .services-section { gap: 5vw; }
}

@media (max-width: 720px) {
  .site-header { height: 68px; padding: 0 18px; }
  .site-brand, .menu-toggle { font-size: 28px; }
  .site-menu { padding: 0 18px 20px; }
  .menu-header { height: 68px; }
  .menu-close { font-size: 48px; }
  .menu-links { margin-top: 38px; }
  .menu-links a { font-size: clamp(48px, 16vw, 76px); }
  .menu-footer { align-items: flex-start; flex-direction: column; gap: 8px; }

  .hero-copy { left: 18px; right: 18px; top: 98px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero-wash { background: linear-gradient(180deg, rgba(0,0,0,.56) 0, rgba(0,0,0,.04) 54%, rgba(0,0,0,.42) 100%); }
  .hero-project-link { bottom: 67px; left: 18px; right: 18px; width: auto; }
  .hero-foot { left: 18px; right: 18px; }
  .hero-foot span:last-child { display: none; }

  .projects-section,
  .services-section { padding: 86px 18px 100px; }
  .section-intro { display: block; margin-bottom: 52px; }
  .section-intro h2 { margin: 36px 0 28px; }
  .section-intro > p:last-child { max-width: 430px; }
  .project-grid { display: block; }
  .project-card { margin-bottom: 48px; }
  .project-card figure { aspect-ratio: 4 / 5; }

  .studio-section {
    display: block;
    min-height: auto;
    padding: 88px 18px 28px;
  }
  .studio-statement h2 { margin: 44px 0 70px; }
  .studio-copy { margin-bottom: 100px; }
  .studio-meta { gap: 20px; overflow: hidden; }
  .studio-meta span:nth-child(2) { display: none; }

  .services-section { display: block; }
  .services-heading { margin-bottom: 68px; }
  .services-heading h2 { margin-top: 38px; }
  .service-list article {
    grid-template-columns: 30px 1fr;
  }
  .service-list article p { grid-column: 2; }

  .contact-section { min-height: 720px; padding: 22px 18px 36px; }
  .contact-section h2 { font-size: clamp(70px, 22vw, 112px); }
  .contact-bottom { align-items: flex-start; flex-direction: column; gap: 42px; }
  .contact-bottom a { width: 100%; }
  .contact-bottom p { text-align: left; }

  .site-footer {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 42px 18px;
  }
  .site-footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
