:root {
  --ink: #fbf8f7;
  --paper: #0b1114;
  --line: rgba(251, 248, 247, .24);
  --muted: #727b86;
  --minimal-font: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--minimal-font);
  font-weight: 300;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  min-height: 94px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand {
  font-family: var(--minimal-font);
  font-size: clamp(21px, 2.1vw, 32px);
  letter-spacing: -.035em;
}
nav {
  display: flex;
  gap: 38px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  border-bottom: 1px solid currentColor;
  transition: right .25s ease;
}
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.menu-button {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-button span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: currentColor;
}
.menu-button span:nth-child(1) { top: 14px; }
.menu-button span:nth-child(2) { top: 21px; }
.menu-button span:nth-child(3) { top: 28px; }

.hero {
  padding: 8vh 4vw 12vh;
  position: relative;
  overflow: hidden;
}
.hero-heading { margin-bottom: 4vh; }
.hero h1, .bio h2 {
  margin: 0;
  font-family: var(--minimal-font);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.04em;
}
.hero h1 {
  font-size: clamp(54px, 7vw, 128px);
  text-align: center;
}
.hero-carousel { width: 100%; position: relative; }
.hero-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.hero-viewport::-webkit-scrollbar { display: none; }
.hero-track {
  display: flex;
  width: max-content;
  padding-inline: 13vw;
}
.hero-slide {
  flex: 0 0 auto;
  height: clamp(280px, 40vw, 520px);
  scroll-snap-align: center;
  overflow: hidden;
  background: var(--paper);
}
.hero-slide img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
}
.hero-controls { position: absolute; inset: 0; pointer-events: none; }
.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 1;
  -webkit-text-stroke: 1px #000;
  text-shadow: 0 0 2px #000;
}
.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }
.carousel-button:hover, .carousel-button:focus-visible { transform: translateY(-50%) scale(1.08); }

.section-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .18em;
  font-weight: 500;
}
.portfolio { padding: 110px 4vw 130px; }
.collections { padding-top: 70px; }
.collection { border-top: 1px solid var(--line); }
.collection:last-child { border-bottom: 1px solid var(--line); }
.collection-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 9% 1fr auto 35px;
  align-items: center;
  gap: 20px;
  padding: 29px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.collection-trigger > span:first-child, .collection-count {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.collection-title {
  font-family: var(--minimal-font);
  font-size: clamp(40px, 5vw, 78px);
  line-height: 1;
}
.arrow {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.arrow.open::before {
  left: 4px;
  top: 0;
  width: 9px;
  height: 9px;
  background: transparent;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.collection-panel {
  display: grid;
  grid-template-rows: 0fr;
}
.collection-panel > * { overflow: hidden; }
.collection.is-open .collection-panel { grid-template-rows: 1fr; }
.gallery-grid {
  columns: 3 280px;
  column-gap: 14px;
  padding-bottom: 50px;
}
.gallery-photo {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: var(--paper);
  cursor: zoom-in;
  break-inside: avoid;
  overflow: hidden;
}
.gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease;
}
.gallery-photo:hover img { transform: scale(1.025); }

.bio {
  padding: 100px 4vw 120px;
  border-top: 1px solid var(--line);
}
.bio-space {
  min-height: 260px;
  padding: 72px 0 0;
}
.bio h2 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: clamp(38px, 4vw, 60px);
  line-height: .98;
  letter-spacing: -.035em;
}
.bio-text {
  max-width: 650px;
}
.bio-text p {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.45;
}
.bio-text p + p {
  margin-top: 1.25em;
}
.bio-space {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 128px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.bio-portrait {
  width: 100%;
  max-width: 400px;
  margin: 0;
  justify-self: end;
}
.bio-headshot {
  display: block;
  width: 100%;
  height: auto;
}
.bio-copy {
  padding-top: clamp(4px, 1vw, 16px);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 110px 4vw 120px;
  border-top: 1px solid var(--line);
}
.contact-heading { display: block; align-self: start; text-align: left; }
.contact-details {
  display: grid;
  gap: 0;
  margin: 48px 0 0;
}
.contact-detail {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail span {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-detail strong {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 18px;
}
form label {
  display: grid;
  gap: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
form label.full, .form-status { grid-column: 1 / -1; }
input, textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 10px 0 15px;
  color: var(--ink);
  outline: none;
  resize: none;
  font-family: var(--minimal-font);
  font-size: 20px;
}
input:focus, textarea:focus { border-color: var(--ink); }
form button {
  grid-column: 2;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 16px 30px;
  justify-self: end;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}
form button:hover { background: transparent; color: var(--ink); }
form button:disabled { cursor: wait; opacity: .65; }
.netlify-honeypot { position: absolute; left: -9999px; }
.form-status { margin: -12px 0 0; min-height: 18px; font-size: 12px; }

footer {
  padding: 70px 4vw 38px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-family: var(--minimal-font);
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -.05em;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.footer-meta a { padding-bottom: 5px; border-bottom: 1px solid currentColor; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 32px;
  border: 0;
  background: rgba(11, 17, 20, .98);
  color: var(--ink);
}
.lightbox[open] {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  grid-template-rows: 45px 1fr 30px;
  align-items: center;
}
.lightbox::backdrop { background: rgba(11, 17, 20, .94); }
.lightbox img {
  grid-column: 2;
  grid-row: 1 / 4;
  max-width: 100%;
  max-height: calc(100vh - 64px);
  justify-self: center;
  object-fit: contain;
}
.lightbox button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.lightbox-close {
  grid-column: 3;
  grid-row: 1;
  z-index: 1;
  align-self: start;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
}
.lightbox-nav { font-size: 30px; z-index: 1; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox-count {
  grid-column: 2;
  grid-row: 3;
  z-index: 1;
  justify-self: center;
  font-size: 10px;
  letter-spacing: .14em;
}

@media (max-width: 760px) {
  .site-header { min-height: 76px; }
  .brand { font-size: 22px; }
  .menu-button { display: block; }
  nav {
    display: none;
    position: absolute;
    left: 0;
    top: 76px;
    width: 100%;
    padding: 40px 4vw;
    flex-direction: column;
    gap: 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  nav.open { display: flex; }
  .hero { min-height: 50vh; padding: 56px 4vw 48px; }
  .hero h1 { font-size: clamp(48px, 14vw, 82px); }
  .carousel-button { width: 38px; height: 38px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .portfolio { padding-top: 64px; padding-bottom: 72px; }
  .collections { padding-top: 24px; }
  .collections .collection:first-child { border-top: 0; }
  .collection-trigger { grid-template-columns: 32px 1fr 25px; padding: 24px 0; }
  .collection-count { display: none; }
  .collection-title { font-size: 42px; }
  .gallery-grid { columns: 2 140px; }
  .bio { padding-top: 64px; padding-bottom: 72px; }
  .bio-space { min-height: 200px; padding: 48px 0 0; grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .bio-portrait { max-width: 300px; justify-self: center; }
  .bio h2 { font-size: clamp(38px, 12vw, 52px); }
  .contact { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  form { padding-top: 20px; grid-template-columns: 1fr; }
  form label, form label.full, form button { grid-column: 1; }
  .lightbox { padding: 12px; }
  .lightbox[open] { grid-template-columns: 42px 1fr 42px; }
  .lightbox img { max-height: calc(100vh - 24px); }
  footer { padding-top: 54px; }
  .footer-meta { line-height: 1.6; }
}

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