:root {
  --bg: #090909;
  --ink: #f4f4f1;
  --muted: #b7b7b1;
  --quiet: #8f8f89;
  --line: rgba(255, 255, 255, 0.16);
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 100% -10%, #1c1c1c 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked,
body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

::selection {
  background: #fff;
  color: #090909;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: #fff;
  color: #090909;
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

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

.wrap {
  width: min(var(--measure), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--quiet);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 9, 0.96);
  border-bottom-color: var(--line);
}

body.nav-open .site-header {
  background: #090909;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -7px;
}

.menu-toggle-lines::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 2.5rem 4vw;
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.hero h1 {
  margin: 0.6rem 0 1.2rem;
  font-size: clamp(4.5rem, 11vw, 9.5rem);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.lede,
.about-copy p,
.contact-lead,
.feature-note p:last-child {
  color: var(--muted);
  max-width: 36ch;
}

.lede {
  margin: 0;
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 0.35rem 0;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.btn .line {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}

.btn:hover .line,
.btn:focus-visible .line {
  width: 3.4rem;
}

.hero-portrait {
  width: min(100%, 460px);
  justify-self: end;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-portrait figcaption {
  margin: 0.7rem 0 0;
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
}

.hero-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}

.hero-meta p {
  margin: 0;
}

.work,
.about,
.contact {
  padding: clamp(5rem, 10vw, 8rem) 0;
  scroll-margin-top: 5.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.count {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--muted);
}

.work-note {
  margin: 0 0 3rem;
  color: var(--quiet);
  font-size: 0.92rem;
}

.feature,
.closer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(4rem, 9vw, 7.5rem);
}

.feature-note {
  position: sticky;
  bottom: 2rem;
}

.feature-note h3 {
  margin: 0.45rem 0 0.9rem;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.feature-note p:last-child {
  margin: 0;
}

.work-item {
  min-width: 0;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #141414;
}

.shot img {
  width: 100%;
  height: auto;
  transition: transform 0.8s ease;
}

.shot::after {
  content: "View";
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  color: #090909;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.035);
}

.shot:hover::after,
.shot:focus-visible::after {
  opacity: 1;
  transform: none;
}

.shot:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

.caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.caption strong {
  color: var(--ink);
  font-weight: 500;
}

.caption em {
  margin-left: auto;
  font-style: normal;
}

.flora,
.pair {
  display: grid;
  gap: 1.25rem 1.15rem;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.flora {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
}

.flora .work-item:nth-child(2) {
  margin-top: 11vh;
}

.flora .work-item:nth-child(3) {
  margin-top: 4vh;
}

.pull {
  margin: clamp(4rem, 8vw, 6.5rem) 0;
  max-width: 12em;
  padding: 0;
  border: 0;
}

.pull p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.pair {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(4rem, 9vw, 7.5rem);
}

.pair .work-item:last-child {
  margin-top: 16vh;
}

.closer {
  margin-bottom: 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-portrait img {
  width: min(100%, 460px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.about-copy p {
  margin: 0 0 1rem;
  font-size: 1.12rem;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.facts div {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.facts dd {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.contact-lead {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 1.35rem;
}

.form-field span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: #fff;
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-bottom-color: #fff;
}

::placeholder {
  color: #8a8a85;
  opacity: 1;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.to-top {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.to-top:hover {
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 1.25rem 1.5rem 1.4rem;
  background: #090909;
}

.lightbox[hidden] {
  display: none;
}

.lightbox:not([hidden]) {
  animation: fade 0.35s ease;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-top,
.lightbox-bottom,
.lightbox img {
  position: relative;
  z-index: 1;
}

.lightbox-top,
.lightbox-bottom,
.lightbox-controls,
.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-top p,
.lightbox-caption,
.text-btn {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(1100px, 100%);
  max-height: 100%;
  margin: auto;
  justify-self: center;
  object-fit: contain;
}

.lightbox-caption span:last-child {
  color: var(--quiet);
  margin-left: 0.75rem;
}

.text-btn {
  color: #fff;
}

.text-btn:hover,
.nav a:focus-visible,
.brand:focus-visible,
.btn:focus-visible,
.to-top:focus-visible,
.text-btn:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-copy,
.hero-portrait,
.hero-meta {
  animation: rise 0.9s ease both;
}

.hero-portrait {
  animation-delay: 0.12s;
}

.hero-meta {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .hero,
  .feature,
  .closer,
  .flora,
  .pair,
  .about-grid,
  .contact-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }

  .hero-portrait {
    width: min(100%, 420px);
    justify-self: start;
  }

  .hero-portrait figcaption {
    text-align: left;
  }

  .flora .work-item:nth-child(2),
  .flora .work-item:nth-child(3),
  .pair .work-item:last-child {
    margin-top: 0;
  }

  .feature-note {
    position: static;
  }

  .pair {
    margin-top: 1.25rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 6rem 2rem;
    background: #090909;
    transform: translateY(-101%);
    transition: transform 0.45s ease;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    font-family: var(--serif);
    font-size: clamp(3rem, 14vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    text-transform: none;
    color: #fff;
  }

  .nav a::after {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
