:root {
  --black: #050505;
  --white: #f7f5f0;
  --muted: #a8a8a8;
  --line: #242424;
  --soft: #e7e4dc;
  --max: 1680px;
  --page-gutter: clamp(32px, 4.2vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

button {
  font: inherit;
}

.menu-toggle {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 18px clamp(16px, 3vw, 48px);
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  font-size: 11px;
  line-height: 1;
}

.nav-categories,
.nav-pages {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.nav-pages {
  margin-left: clamp(24px, 4vw, 76px);
}

.site-header a {
  transition: opacity 220ms ease;
}

.site-header a:hover {
  opacity: 0.56;
}

main {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 51px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) clamp(16px, 3vw, 48px) 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: visible;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-mosaic-item {
  position: absolute;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.hero-mosaic-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
}

.hero-mosaic .item-1 {
  right: clamp(18px, 6vw, 110px);
  top: clamp(170px, 22vh, 260px);
  width: min(34vw, 520px);
  height: min(58vh, 720px);
}

.hero-mosaic .item-2 {
  left: clamp(16px, 4vw, 68px);
  bottom: clamp(36px, 5vw, 84px);
  width: min(16vw, 245px);
  height: min(24vh, 310px);
}

.hero-mosaic .item-3 {
  left: clamp(300px, 27vw, 470px);
  bottom: clamp(22px, 3.8vw, 62px);
  width: min(21vw, 330px);
  height: min(18vh, 235px);
}

.hero-mosaic .item-4 {
  right: clamp(330px, 31vw, 520px);
  bottom: clamp(60px, 7vw, 118px);
  width: min(13vw, 210px);
  height: min(28vh, 350px);
}

.hero-mosaic .item-5 {
  right: clamp(20px, 2.8vw, 46px);
  bottom: clamp(40px, 5vw, 90px);
  width: min(15vw, 250px);
  height: min(21vh, 270px);
}

.hero-mosaic .item-6 {
  left: clamp(520px, 48vw, 760px);
  top: clamp(92px, 12vh, 150px);
  width: min(12vw, 190px);
  height: min(17vh, 220px);
}

.hero-mosaic .item-7,
.hero-mosaic .item-8 {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  transform: translateY(-4vh);
}

.hero-copy p,
.section-kicker,
.page-title p,
.project-hero p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, 1.1vw, 15px);
  line-height: 1.15;
}

.hero h1,
.intro-grid h2,
.page-title h1,
.project-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(62px, 13.7vw, 250px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0;
}

.intro-grid,
.split-section,
.about-grid,
.contact-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 12vw, 190px) clamp(16px, 3vw, 48px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(20px, 4vw, 72px);
  border-top: 1px solid var(--line);
}

.intro-grid h2 {
  grid-column: 1 / -1;
}

.large-copy {
  grid-column: 2;
  max-width: 720px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(20px, 3vw, 54px);
  line-height: 1.16;
}

.project-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px) clamp(76px, 12vw, 190px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
}

.project-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px) clamp(76px, 11vw, 170px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
}

.project-card {
  min-width: 0;
}

.project-card.wide {
  grid-column: span 1;
}

.project-card figure {
  margin: 0;
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
  transition: transform 700ms ease, opacity 400ms ease;
}

.soft-load {
  opacity: 0;
  transition: opacity 520ms ease, transform 700ms ease;
}

.soft-load.is-loaded {
  opacity: 1;
}

.project-card:hover img {
  transform: none;
  opacity: 0.86;
}

.project-card:hover img.soft-load.is-loaded {
  opacity: 0.86;
}

.project-card figcaption {
  order: -1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  min-height: 62px;
  padding-top: 11px;
  font-size: 11px;
  line-height: 1.05;
}

.project-card strong {
  overflow-wrap: anywhere;
}

.project-card em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid var(--line);
}

.split-section h2 {
  margin: 10px 0 0;
  font-size: clamp(42px, 7vw, 112px);
  line-height: 0.88;
}

.category-list,
.contact-list {
  display: grid;
}

.category-link,
.contact-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.category-link:last-child,
.contact-list a:last-child {
  border-bottom: 1px solid var(--line);
}

.category-link strong {
  font-size: clamp(28px, 5vw, 86px);
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.category-link span,
.category-link em,
.contact-list span {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.contact-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 140px) var(--page-gutter) clamp(76px, 9vw, 150px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.contact-band-heading {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-band-heading h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
}

.contact-band a {
  font-size: clamp(30px, 7vw, 124px);
  line-height: 0.85;
  overflow-wrap: anywhere;
}

.home-contact-links {
  display: grid;
  gap: 0;
  justify-items: start;
  text-align: left;
  border-top: 1px solid var(--line);
}

.contact-band .home-contact-links a {
  width: 100%;
  padding: clamp(18px, 2vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(86px, 0.18fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 34px);
  align-items: baseline;
  font-size: clamp(18px, 2.25vw, 42px);
  line-height: 1;
}

.home-contact-links span {
  color: var(--muted);
  font-size: clamp(9px, 0.75vw, 13px);
  font-weight: 400;
  line-height: 1.1;
}

.page-title,
.project-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 11vw, 160px) clamp(16px, 3vw, 48px) clamp(38px, 7vw, 110px);
}

.page-title h1 {
  overflow-wrap: anywhere;
}

.category-title h1 {
  font-size: clamp(27px, 4.56vw, 94px);
  line-height: 0.82;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (min-width: 1776px) {
  .category-title {
    max-width: 1584px;
    padding-right: 0;
    padding-left: 0;
  }
}

.about-title h1,
.contact-title h1 {
  max-width: 1360px;
  font-size: clamp(48px, 9vw, 166px);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.project-hero h1 {
  max-width: none;
  width: 100%;
  font-size: var(--fit-title-size, clamp(36px, 7vw, 125px));
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.back-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  pointer-events: auto;
  transition: color 180ms ease, opacity 180ms ease;
}

.back-link:hover {
  color: var(--black);
  opacity: 1;
}

.gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px);
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(18, minmax(0, 1fr));
  column-gap: clamp(28px, 3.4vw, 74px);
  row-gap: clamp(54px, 8vw, 150px);
  align-items: start;
}

.gallery-item {
  position: relative;
  grid-column: span 5;
  padding: 0;
  background: transparent;
  color: var(--white);
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item.is-landscape {
  grid-column: span 8;
}

.gallery-item.is-landscape:nth-child(4n + 1) {
  grid-column: span 10;
}

.gallery-item.is-landscape:nth-child(6n + 3) {
  grid-column: span 12;
}

.gallery-item.is-portrait {
  grid-column: span 5;
}

.gallery-item.is-portrait:nth-child(5n + 2) {
  grid-column: span 6;
}

.gallery-item.is-portrait:nth-child(7n + 4) {
  grid-column: span 4;
}

.gallery-item.is-square {
  grid-column: span 6;
}

.gallery-item:not(.is-landscape):not(.is-portrait):not(.is-square):nth-child(5n + 1) {
  grid-column: span 8;
}

.gallery-item:not(.is-landscape):not(.is-portrait):not(.is-square):nth-child(5n + 2) {
  grid-column: span 6;
}

.gallery-item:nth-child(6n + 2) {
  margin-top: clamp(24px, 4vw, 78px);
}

.gallery-item:nth-child(6n + 4) {
  margin-top: clamp(42px, 6vw, 112px);
}

.gallery-item:nth-child(6n + 5) {
  margin-top: clamp(12px, 2.5vw, 48px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 700ms ease, opacity 400ms ease;
}

.gallery-item:hover img {
  transform: none;
  opacity: 0.88;
}

.gallery-item:hover img.soft-load.is-loaded {
  opacity: 0.88;
}

.gallery-item span {
  position: absolute;
  left: clamp(10px, 0.8vw, 16px);
  bottom: clamp(10px, 0.8vw, 16px);
  z-index: 2;
  display: block;
  margin: 0;
  color: #050505;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: none;
  pointer-events: none;
}

.project-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) clamp(16px, 3vw, 48px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.project-nav a {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 7vw, 120px);
  border-top: 1px solid var(--line);
}

.about-grid p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(24px, 4vw, 70px);
  line-height: 0.98;
}

.about-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-grid li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2vw, 34px);
  line-height: 1;
}

.contact-list {
  padding-top: 0;
}

.contact-list a {
  grid-template-columns: 160px minmax(0, 1fr);
  font-size: clamp(26px, 5vw, 92px);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  border: 0;
}

.lightbox::backdrop {
  background: var(--black);
}

.lightbox img {
  width: 100%;
  height: 100vh;
  object-fit: contain;
  padding: clamp(44px, 6vw, 82px);
}

.lightbox button {
  position: fixed;
  z-index: 4;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  padding: 10px 13px;
  font-size: 11px;
}

.lightbox-arrow {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 20px;
}

.lightbox-arrow.left {
  left: 18px;
}

.lightbox-arrow.right {
  right: 18px;
}

.lightbox p {
  position: fixed;
  left: 18px;
  bottom: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-mosaic .item-1 {
    right: 16px;
    width: min(58vw, 420px);
    height: 46vh;
  }

  .hero-mosaic .item-2 {
    width: min(24vw, 220px);
    height: min(22vh, 260px);
  }

  .hero-mosaic .item-3,
  .hero-mosaic .item-4,
  .hero-mosaic .item-5,
  .hero-mosaic .item-6 {
    display: none;
  }

  .intro-grid,
  .split-section,
  .about-grid,
  .project-hero {
    grid-template-columns: 1fr;
  }

  .large-copy {
    grid-column: auto;
  }

  .project-strip,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.wide {
    grid-column: span 1;
  }

  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 72px;
  }

  .gallery-item,
  .gallery-item:nth-child(5n + 1),
  .gallery-item:nth-child(5n + 2),
  .gallery-item.is-portrait,
  .gallery-item.is-portrait:nth-child(5n + 2),
  .gallery-item.is-portrait:nth-child(7n + 4),
  .gallery-item.is-square {
    grid-column: span 5;
  }

  .gallery-item.is-landscape,
  .gallery-item.is-landscape:nth-child(4n + 1),
  .gallery-item.is-landscape:nth-child(6n + 3) {
    grid-column: span 7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soft-load {
    transition: none;
  }
}

@media (max-width: 620px) {
  .hero h1,
  .intro-grid h2,
  .page-title h1,
  .project-hero h1 {
    font-size: var(--fit-title-size, clamp(48px, 18vw, 86px));
    line-height: 0.82;
  }

  .project-hero h1 {
    font-size: var(--fit-title-size, clamp(34px, 12.6vw, 60px));
  }

  .contact-title h1 {
    font-size: clamp(34px, 12.6vw, 60px);
    line-height: 0.92;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: clamp(48px, 12vw, 76px);
  }

  .hero-copy {
    transform: none;
    margin-top: clamp(60px, 16vw, 96px);
  }

  .hero-mosaic {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
  }

  .hero-mosaic-item,
  .hero-mosaic .item-1,
  .hero-mosaic .item-2,
  .hero-mosaic .item-3,
  .hero-mosaic .item-4,
  .hero-mosaic .item-5,
  .hero-mosaic .item-6 {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .hero-mosaic .item-1 {
    grid-column: span 2;
    aspect-ratio: auto;
  }

  .hero-mosaic .item-5,
  .hero-mosaic .item-6 {
    display: none;
  }

  .project-strip,
  .project-grid,
  .gallery {
    grid-template-columns: 1fr;
    row-gap: 56px;
  }

  .gallery-item,
  .gallery-item:nth-child(5n + 1),
  .gallery-item:nth-child(5n + 2),
  .gallery-item.is-landscape,
  .gallery-item.is-landscape:nth-child(4n + 1),
  .gallery-item.is-landscape:nth-child(6n + 3),
  .gallery-item.is-portrait,
  .gallery-item.is-portrait:nth-child(5n + 2),
  .gallery-item.is-portrait:nth-child(7n + 4),
  .gallery-item.is-square {
    grid-column: auto;
    margin-top: 0;
  }

  .category-link,
  .contact-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-band,
  .project-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }
}

/* Editorial light portfolio skin */
body {
  background: #141414;
  color: #050505;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  text-transform: none;
}

.site-header,
main {
  position: relative;
  z-index: 1;
  width: min(100vw, 2400px);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  background: #f7f7f4;
  color: #050505;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 74px;
  padding: 14px var(--page-gutter) 12px;
  border: 0;
  border-bottom: 1px solid #e6e6e2;
  border-radius: 34px 34px 0 0;
}

.brand {
  align-self: end;
  font-size: clamp(20px, 1.8vw, 34px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1px;
}

.portfolio-label {
  position: absolute;
  right: var(--page-gutter);
  top: 13px;
  color: #9b9b9b;
  font-size: clamp(30px, 3vw, 56px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -2px;
  pointer-events: none;
}

.site-header nav {
  position: absolute;
  right: var(--page-gutter);
  bottom: 12px;
  display: flex;
  gap: 18px;
  max-width: min(920px, 62vw);
  justify-content: flex-end;
  color: #050505;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

main {
  min-height: calc(100vh - 108px);
  margin-bottom: 22px;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}

.project-card figure {
  display: grid;
  grid-template-rows: auto auto;
  margin: 0;
}

.project-card figcaption {
  order: -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 44px;
  padding: 0 0 8px;
  color: #050505;
  text-align: right;
  font-size: 10px;
  line-height: 1;
}

.project-card figcaption span {
  display: none;
}

.project-card strong {
  color: #050505;
  font-size: clamp(12px, 0.95vw, 17px);
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.project-card em {
  grid-column: auto;
  color: #aaa;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
  transition: transform 550ms ease, opacity 300ms ease;
}

.home-board .project-card:nth-child(4n + 2) img {
  aspect-ratio: auto;
}

.home-board .project-card:nth-child(4n + 3) img {
  aspect-ratio: auto;
}

.home-board .project-card:nth-child(4n + 4) img {
  aspect-ratio: auto;
}

.home-board .project-card:nth-child(8n + 5) {
  margin-top: 0;
}

.home-board .project-card:nth-child(8n + 6) {
  margin-top: 0;
}

.home-board .project-card:nth-child(8n + 7) {
  margin-top: 0;
}

.split-section,
.intro-grid,
.about-grid,
.contact-list,
.contact-band,
.page-title,
.project-hero,
.project-grid,
.gallery,
.project-nav {
  max-width: none;
  color: #050505;
}

.split-section {
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(70px, 8vw, 140px) var(--page-gutter);
  border-top: 1px solid #e6e6e2;
}

.split-section h2,
.contact-band-heading h2,
.page-title h1,
.project-hero h1,
.about-title h1,
.contact-title h1 {
  color: #050505;
  font-weight: 800;
  letter-spacing: -2px;
}

.section-kicker,
.page-title p,
.project-hero p,
.contact-band p,
.back-link {
  color: #999;
}

.category-list {
  display: grid;
}

.category-link {
  border-top: 1px solid #e6e6e2;
}

.category-link:last-child {
  border-bottom: 1px solid #e6e6e2;
}

.category-link strong {
  color: #050505;
  font-size: clamp(28px, 4vw, 74px);
  letter-spacing: -1px;
}

.category-link span,
.category-link em {
  color: #999;
}

.page-title {
  padding: clamp(30px, 3.6vw, 58px) var(--page-gutter) clamp(30px, 3.8vw, 62px);
}

.contact-title h1 {
  max-width: 1040px;
  font-size: clamp(34px, 6.3vw, 116px);
  line-height: 0.9;
}

.contact-list {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.contact-list a {
  font-size: clamp(16px, 3vw, 55px);
  line-height: 1;
}

.project-hero {
  padding: clamp(30px, 3.6vw, 58px) var(--page-gutter) clamp(34px, 4vw, 66px);
}

.home-board,
.project-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.home-board {
  gap: clamp(72px, 10vh, 150px) clamp(36px, 4.6vw, 92px);
  padding: 22px var(--page-gutter) clamp(120px, 12vw, 210px);
}

.project-grid {
  gap: clamp(72px, 9vh, 140px) clamp(36px, 4.6vw, 92px);
  padding: 0 var(--page-gutter) clamp(110px, 10vw, 180px);
}

.home-board .project-card,
.project-grid .project-card {
  grid-column: span 3;
  min-width: 0;
  color: #050505;
}

.home-board .project-card.is-landscape,
.project-grid .project-card.is-landscape {
  grid-column: span 5;
}

.home-board .project-card.is-landscape:nth-child(4n + 1),
.project-grid .project-card.is-landscape:nth-child(4n + 1) {
  grid-column: span 6;
}

.home-board .project-card.is-landscape:nth-child(7n + 3),
.project-grid .project-card.is-landscape:nth-child(7n + 3) {
  grid-column: span 4;
}

.home-board .project-card.is-portrait,
.project-grid .project-card.is-portrait {
  grid-column: span 3;
}

.home-board .project-card.is-portrait:nth-child(5n + 2),
.project-grid .project-card.is-portrait:nth-child(5n + 2) {
  grid-column: span 4;
}

.home-board .project-card.is-square,
.project-grid .project-card.is-square {
  grid-column: span 4;
}

.home-board .project-card figure,
.project-grid .project-card figure {
  display: grid;
}

.home-board .project-card figcaption,
.project-grid .project-card figcaption {
  min-height: 44px;
  padding: 0 0 8px;
  text-align: right;
}

.home-board .project-card strong,
.project-grid .project-card strong {
  font-size: clamp(12px, 0.95vw, 17px);
  text-transform: uppercase;
}

.home-board .project-card em,
.project-grid .project-card em {
  font-size: 10px;
}

.gallery {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.project-nav {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.gallery-single + .project-nav {
  margin-top: clamp(72px, 9vw, 180px);
}

.project-grid .project-card img {
  aspect-ratio: auto;
}

.project-grid .project-card:nth-child(3n + 1) img {
  aspect-ratio: auto;
}

.project-grid .project-card:nth-child(4n + 2) img {
  aspect-ratio: auto;
}

.project-grid-still-life {
  grid-auto-flow: row;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(36px, 4.6vw, 92px);
  row-gap: clamp(84px, 9vw, 148px);
}

.project-grid-still-life .project-card,
.project-grid-still-life .project-card.is-landscape,
.project-grid-still-life .project-card.is-landscape:nth-child(4n + 1),
.project-grid-still-life .project-card.is-landscape:nth-child(7n + 3),
.project-grid-still-life .project-card.is-portrait,
.project-grid-still-life .project-card.is-portrait:nth-child(5n + 2),
.project-grid-still-life .project-card.is-square {
  grid-column: span 4;
  align-self: start;
  margin-top: 0;
}

.project-grid-still-life .project-card:nth-child(12n + 1),
.project-grid-still-life .project-card:nth-child(12n + 6),
.project-grid-still-life .project-card:nth-child(12n + 8) {
  grid-column: span 5;
}

.project-grid-still-life .project-card:nth-child(12n + 2),
.project-grid-still-life .project-card:nth-child(12n + 5),
.project-grid-still-life .project-card:nth-child(12n + 7),
.project-grid-still-life .project-card:nth-child(12n + 11) {
  grid-column: span 3;
}

.project-grid-still-life .project-card figure {
  align-content: start;
}

.project-grid-still-life .project-card figcaption {
  height: clamp(48px, 3.2vw, 58px);
  min-height: 0;
  padding: 0 0 10px;
}

.gallery-item {
  background: transparent;
}

.project-nav {
  border-top: 1px solid #e6e6e2;
}

.about-grid,
.contact-list,
.contact-band {
  border-top-color: #e6e6e2;
}

.about-grid p,
.large-copy,
.contact-band-heading h2,
.contact-band a,
.contact-list a {
  color: #050505;
}

.about-grid ul,
.about-grid li {
  border-color: #e6e6e2;
}

.contact-list a {
  border-top: 1px solid #e6e6e2;
}

.contact-list a:last-child {
  border-bottom: 1px solid #e6e6e2;
}

.home-contact-links {
  border-top: 1px solid #e6e6e2;
}

.contact-band .home-contact-links a {
  border-bottom: 1px solid #e6e6e2;
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 24px;
  }

  .site-header,
  main {
    width: 100vw;
  }

  .site-header {
    min-height: 104px;
    padding: 14px var(--page-gutter) 12px;
  }

  .portfolio-label {
    position: static;
    justify-self: end;
  }

  .site-header nav {
    left: var(--page-gutter);
    right: var(--page-gutter);
    bottom: 12px;
    max-width: none;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .home-board,
  .project-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 72px 28px;
  }

  .home-board .project-card,
  .project-grid .project-card,
  .home-board .project-card.is-portrait,
  .project-grid .project-card.is-portrait,
  .home-board .project-card.is-square,
  .project-grid .project-card.is-square {
    grid-column: span 3;
  }

  .home-board .project-card.is-landscape,
  .project-grid .project-card.is-landscape,
  .home-board .project-card.is-landscape:nth-child(4n + 1),
  .project-grid .project-card.is-landscape:nth-child(4n + 1),
  .home-board .project-card.is-landscape:nth-child(7n + 3),
  .project-grid .project-card.is-landscape:nth-child(7n + 3) {
    grid-column: span 6;
  }

  .project-grid-still-life {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .project-grid-still-life .project-card {
    grid-column: span 3;
    margin-top: 0;
  }

  .project-grid-still-life .project-card:nth-child(-n + 6) {
    grid-column: span 3;
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 16px;
  }

  .site-header,
  main {
    width: 100vw;
  }

  .site-header {
    top: 0;
    border-radius: 24px 24px 0 0;
  }

  main {
    border-radius: 0 0 24px 24px;
  }

  .brand {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .home-board,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .home-board .project-card,
  .project-grid .project-card,
  .home-board .project-card.is-landscape,
  .project-grid .project-card.is-landscape,
  .home-board .project-card.is-landscape:nth-child(4n + 1),
  .project-grid .project-card.is-landscape:nth-child(4n + 1),
  .home-board .project-card.is-landscape:nth-child(7n + 3),
  .project-grid .project-card.is-landscape:nth-child(7n + 3),
  .home-board .project-card.is-portrait,
  .project-grid .project-card.is-portrait,
  .home-board .project-card.is-portrait:nth-child(5n + 2),
  .project-grid .project-card.is-portrait:nth-child(5n + 2),
  .home-board .project-card.is-square,
  .project-grid .project-card.is-square {
    grid-column: auto;
  }

  .project-grid-still-life .project-card:nth-child(-n + 6) {
    grid-column: auto;
  }

  .project-grid-still-life .project-card {
    grid-column: auto;
    margin-top: 0;
  }

  .split-section,
  .page-title,
  .about-grid,
  .contact-list,
  .contact-band,
  .project-hero,
  .gallery,
  .project-nav {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

@media (max-width: 760px) {
  html,
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 16px;
    align-items: start;
    min-height: 0;
    padding: 14px var(--page-gutter) 12px;
    border-radius: 24px 24px 0 0;
  }

  .brand {
    align-self: start;
    font-size: 22px;
    line-height: 0.95;
    letter-spacing: -0.5px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 34px;
    height: 28px;
    padding: 0;
    margin: -3px 0 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    border: 0;
    background: transparent;
    color: #050505;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

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

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

  .site-header nav {
    position: static;
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, margin-top 180ms ease,
      visibility 0ms linear 220ms;
    margin-top: 0;
    font-size: 9px;
    line-height: 1;
  }

  .nav-categories,
  .nav-pages {
    display: grid;
    gap: 12px;
  }

  .nav-pages {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid #e6e6e2;
  }

  .site-header.is-menu-open nav {
    max-height: 320px;
    margin-top: 18px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0ms;
  }

  main {
    min-height: auto;
    margin-bottom: 12px;
    border-radius: 0;
  }

  .hero {
    padding: 30px var(--page-gutter) 64px;
  }

  .hero-copy {
    margin-top: 28px;
  }

  .split-section,
  .page-title,
  .project-hero,
  .about-grid,
  .contact-list,
  .contact-band,
  .gallery,
  .project-nav {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .page-title,
  .project-hero {
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .page-title h1,
  .hero h1,
  .intro-grid h2 {
    max-width: 100%;
    font-size: clamp(38px, 14.5vw, 62px);
    line-height: 0.9;
    letter-spacing: -1px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .category-title h1 {
    font-size: clamp(34px, 13.5vw, 58px);
    line-height: 0.9;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .project-hero h1 {
    max-width: 100%;
    font-size: var(--fit-title-size, clamp(36px, 12.5vw, 56px));
    line-height: 0.9;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-hero p {
    justify-self: start;
    align-self: start;
  }

  .home-board,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .home-board .project-card,
  .project-grid .project-card,
  .home-board .project-card.is-landscape,
  .project-grid .project-card.is-landscape,
  .home-board .project-card.is-portrait,
  .project-grid .project-card.is-portrait,
  .home-board .project-card.is-square,
  .project-grid .project-card.is-square,
  .project-grid-still-life .project-card:nth-child(-n + 6) {
    grid-column: auto;
  }

  .project-grid-still-life .project-card {
    grid-column: auto;
    margin-top: 0;
  }

  .project-card figcaption {
    min-height: 0;
    padding-bottom: 8px;
    text-align: left;
  }

  .project-card strong {
    font-size: 12px;
  }

  .project-card em {
    font-size: 9px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .gallery-single + .project-nav {
    margin-top: 32px;
  }

  .gallery-item span {
    left: 8px;
    bottom: 8px;
    font-size: 9px;
  }

  .contact-title h1 {
    max-width: 100%;
    font-size: clamp(34px, 11.5vw, 52px);
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-list {
    padding-top: 0;
  }

  .contact-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
    font-size: clamp(18px, 6vw, 26px);
    line-height: 1.05;
  }

  .contact-list span {
    font-size: 9px;
  }

  .contact-band a {
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1;
    white-space: normal;
  }

  .contact-band .home-contact-links a {
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: clamp(19px, 6.4vw, 28px);
    line-height: 1.02;
  }

  .home-contact-links span {
    font-size: 9px;
  }

  .project-nav {
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .project-nav a {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 0 12px;
  }

  .site-header nav,
  .nav-categories,
  .nav-pages {
    gap: 9px 12px;
  }

  .site-header nav {
    font-size: 8.5px;
  }

  .brand {
    font-size: 21px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .project-grid-still-life .project-card:nth-child(n) {
    grid-column: span 3;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .project-grid-still-life .project-card:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .project-grid-still-life .project-card figcaption {
    height: auto;
  }
}
