:root {
  --ink: #000000;
  --canvas: #ffffff;
  --gray: #cecece;
  --pad: 14px;
  --gap: 7px;
  --font: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.0150em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: var(--pad);
  color: var(--canvas);
  mix-blend-mode: difference;
}

.header .brand {
  margin-right: 37px;
}

.header .nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
}

.header a {
  transition: opacity 0.4s ease;
}

/* ---- Hero ---- */
.hero {
  width: 100%;
  height: 880px;
  max-height: 100vh;
}

/* ---- Section spacing ---- */
.work-intro {
  padding: 50px var(--pad) 0;
}

.work-intro .label {
  color: var(--gray);
  margin-bottom: 32px;
}

.work-list p {
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---- Gallery ---- */
.gallery {
  padding: 50px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.row {
  display: flex;
  gap: var(--gap);
}

.row.duo > div {
  flex: 1;
  aspect-ratio: 703 / 878;
}

.row.wide > div {
  width: 100%;
  aspect-ratio: 1412 / 605;
}

.mosaic {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
}

.mosaic .tall {
  flex: 820;
  aspect-ratio: 820 / 1093;
}

.mosaic .stack {
  flex: 585;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.mosaic .stack > div {
  flex: 1;
}

/* ---- Information ---- */
.info {
  padding: 50px var(--pad) 0;
}

.info .bio {
  max-width: 522px;
  margin-bottom: 32px;
}

.info .contact a {
  display: block;
  margin-bottom: 6px;
  transition: opacity 0.4s ease;
}

/* ---- Footer ---- */
.footer {
  margin-top: 50px;
  padding: 14px;
  border-top: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .copyright {
  color: var(--gray);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero {
    height: 70vh;
  }
  .mosaic {
    flex-direction: column;
  }
  .mosaic .stack {
    flex-direction: row;
  }
  .mosaic .stack > div {
    aspect-ratio: 585 / 390;
  }
}

@media (max-width: 600px) {
  .header .brand {
    margin-right: 18px;
  }
  .header .nav {
    gap: 16px;
  }
  .row.duo {
    flex-direction: column;
  }
  .mosaic .stack {
    flex-direction: column;
  }
}
