:root {
  --ink: #161616;
  --muted: #5e5e5e;
  --line: #e4e4e4;
  --paper: #ffffff;
  --wash: #f3f2f0;
  --header-h: 108px;
  --charcoal: #231f20;
  --warm: #f3f0eb;
  --sans: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(18px, 3.2vw, 48px);
  --measure: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--pad);
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-img {
  height: 78px;
  width: auto;
  max-width: none;
  display: block;
}

@media (max-width: 899px) {
  :root {
    --header-h: 72px;
  }

  .logo-img {
    height: 48px;
  }
}

.logo-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  color: inherit;
}

.logo-mark {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.16em;
}

.logo-bar {
  font-weight: 400;
  padding: 0 0.02em;
}

.logo-words {
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-menu .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(40deg);
}

.site-header.is-menu .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-40deg);
}

.nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  color: var(--ink);
  flex-direction: column;
  padding: 12px var(--pad) 40px;
  overflow: auto;
}

.site-header.is-menu .nav {
  display: flex;
}

.nav-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  border-bottom: 1px solid var(--line);
}

.nav-parent,
.nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.plus {
  width: 12px;
  height: 12px;
  position: relative;
  flex: none;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 0;
  top: 5px;
  width: 12px;
  height: 1px;
}

.plus::after {
  transform: rotate(90deg);
}

.has-sub.is-open .plus::after {
  opacity: 0;
}

.submenu {
  display: none;
  padding: 0 0 14px 2px;
}

.has-sub.is-open .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    inset: auto;
    background: transparent;
    color: inherit;
    padding: 0;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .nav-list > li {
    border: 0;
  }

  .nav-parent,
  .nav-list > li > a {
    min-height: 0;
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .plus {
    display: none;
  }

  .has-sub {
    position: relative;
  }

  .has-sub::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 18px;
  }

  .submenu {
    display: block;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 196px;
    padding: 12px 0;
    background: #fff;
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu,
  .has-sub.is-open .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .submenu a {
    padding: 8px 22px;
    color: var(--ink);
    white-space: nowrap;
  }

  .submenu a:hover {
    color: var(--muted);
  }
}

.hero {
  --hero-gap-x: 56px;
  --hero-gap-y: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: calc(var(--header-h) + var(--hero-gap-y)) var(--hero-gap-x) var(--hero-gap-y);
  height: calc(100vh - var(--header-h) - (var(--hero-gap-y) * 2));
  height: calc(100dvh - var(--header-h) - (var(--hero-gap-y) * 2));
  background: #fff;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-frame {
  position: relative;
  flex: none;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-frame .hero-slide img {
  object-fit: contain;
  background: #fff;
}

@media (max-width: 768px) {
  .hero {
    --hero-gap-x: 18px;
    --hero-gap-y: 18px;
  }
}

.hero-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  box-shadow: 0 2px 10px rgba(35, 31, 32, 0.22);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero-nav svg {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  background: #fff;
}

@media (max-width: 899px) {
  .hero-nav {
    width: 44px;
    height: 44px;
  }

  .hero-nav svg {
    width: 20px;
    height: 20px;
  }
}

.page {
  padding: calc(var(--header-h) + 48px) var(--pad) 72px;
}

body.home:not(.has-hero) .page {
  min-height: calc(100dvh - 88px);
}

.page-intro {
  margin: 0 0 28px;
}

.page-intro h1,
.project-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow a {
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.frame {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--wash);
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.card:hover .frame img,
.card:focus-visible .frame img {
  opacity: 0.88;
}

.card .name {
  display: block;
  margin: 12px 0 22px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3a3a3a;
}

@media (min-width: 700px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.stack {
  max-width: var(--measure);
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vw, 76px);
}

.stack figure {
  margin: 0;
}

.stack button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.stack img {
  width: 100%;
  height: auto;
  display: block;
}

.project-show {
  margin: 20px 0 8px;
}

.project-stage {
  position: relative;
  overflow: hidden;
  background: #fff;
  touch-action: pan-y;
}

.project-stage .hero-slide img {
  object-fit: contain;
  background: #fff;
}

.slide-count {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.no-js .project-show {
  display: none;
}

@media (min-width: 900px) {
  .project-show {
    margin-left: 16px;
    margin-right: 16px;
  }
}

.pager {
  max-width: var(--measure);
  margin: clamp(48px, 8vw, 88px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.pager a {
  text-decoration: none;
  max-width: 46%;
}

.pager .next {
  margin-left: auto;
  text-align: right;
}

.pager span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.pager strong {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1180px;
}

.about-copy h1 {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 18px;
  max-width: 38em;
  color: #2c2c2c;
  font-size: 15.5px;
  line-height: 1.8;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  height: min(68vh, 560px);
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.portrait figcaption {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: stretch;
  }

  .portrait {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .portrait img {
    flex: 1 1 0;
    width: 100%;
    height: 1px;
    min-height: 0;
    max-width: none;
    object-fit: cover;
    object-position: center 30%;
  }

  .portrait figcaption {
    flex: none;
  }
}

.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1100px;
}

.contact-copy {
  width: 100%;
  max-width: 560px;
}

.contact-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

.contact-mark img {
  width: min(200px, 62vw);
  height: auto;
  display: block;
}

@media (min-width: 900px) {
  .contact-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
  }

  .contact-copy {
    flex: 1 1 460px;
    max-width: 520px;
  }

  .contact-mark {
    order: 0;
    flex: 0 0 360px;
  }

  .contact-mark img {
    width: 340px;
  }
}

.contact-copy h1 {
  margin: 0 0 28px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.email-link {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.inquiry {
  margin-top: 48px;
  display: grid;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 0;
  background: transparent;
  padding: 10px 0 12px;
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

.send {
  justify-self: start;
  margin-top: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--ink);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
}

.send:hover {
  background: var(--ink);
  color: #fff;
}

.send:disabled {
  opacity: 0.5;
  cursor: progress;
}

.form-error {
  margin: 0;
  color: #8a2a2a;
  font-size: 14px;
}

.thanks h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.thanks p {
  margin: 0;
  max-width: 36em;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

dialog.lightbox {
  width: min(1400px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

dialog.lightbox::backdrop {
  background: rgba(12, 12, 12, 0.9);
}

dialog.lightbox img {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -36px;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}

.site-footer {
  background: var(--warm);
  color: var(--charcoal);
  padding: 56px var(--pad) 28px;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.footer-top,
.footer-base {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.footer-brand img {
  height: 72px;
  width: auto;
  display: block;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.footer-lead {
  margin: 0 0 18px;
  max-width: 28em;
  font-size: 13px;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: #4a4744;
}

.footer-email {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  color: var(--charcoal);
}

.subscribe {
  margin: 0;
  max-width: 360px;
}

.subscribe-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--charcoal);
}

.subscribe-row input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  outline: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.subscribe-row input::placeholder {
  color: #8a847c;
}

.subscribe-row button {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.subscribe-row button svg {
  width: 20px;
  height: 20px;
  display: block;
}

.subscribe-row button:hover,
.subscribe-row button:focus-visible {
  transform: translateX(3px);
}

.subscribe .form-error {
  margin-top: 10px;
}

.subscribe-thanks {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-variant: small-caps;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e0dbd4;
}

.footer-base p {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d6862;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--charcoal);
  border-radius: 50%;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--charcoal);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: minmax(140px, 0.7fr) minmax(240px, 1.2fr) minmax(200px, 0.9fr);
    gap: 48px;
  }

  .footer-brand img {
    height: 96px;
  }
}

.empty-note {
  margin: 12px 0 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 14px;
}

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

  .hero,
  .hero-slide,
  .frame img,
  .menu-toggle span,
  .submenu {
    transition: none;
  }
}
