:root {
  --paper: #f3efe8;
  --ink: #1c1916;
  --muted: #6d655c;
  --line: #ddd4c8;
  --rust: #8d4b32;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 38rem;
  --pad: clamp(1.1rem, 3vw, 2.4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

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

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.site-header,
.site-footer,
.intro,
.about {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.mark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.intro {
  max-width: 46rem;
  padding-top: clamp(2.5rem, 8vw, 6rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.lede {
  max-width: var(--measure);
  margin: 1.4rem 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero,
.grid {
  padding: 0 var(--pad) 0.5rem;
}

.shot {
  margin: 0;
}

.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  color: inherit;
  text-align: left;
}

.shot img {
  width: 100%;
  height: auto;
  background: #e4ddd3;
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.shot figcaption b {
  font-weight: 550;
  color: var(--ink);
}

.hero { margin-bottom: 2.5rem; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 3rem;
}

.wide { grid-column: 1 / -1; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer a { color: var(--ink); }

.about {
  display: grid;
  gap: 2rem;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: 4rem;
}

.about-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  margin-bottom: 1rem;
}

.about-copy p {
  max-width: 36rem;
  margin: 0 0 1rem;
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  width: min(100%, 38rem);
}

body.viewer-open { overflow: hidden; }

.viewer {
  position: fixed;
  inset: 0;
  z-index: 20;
  margin: 0;
  display: none;
  background: #141210;
  color: #f6f1ea;
}

.viewer[open] { display: grid; place-items: center; }

.viewer img {
  max-width: min(92vw, 1400px);
  max-height: 82vh;
  width: auto;
  height: auto;
}

.viewer figcaption {
  position: absolute;
  left: var(--pad);
  bottom: 1.2rem;
  font-size: 0.9rem;
}

.viewer-close,
.viewer-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #f6f1ea;
  cursor: pointer;
  font: inherit;
}

.viewer-close {
  top: 0.8rem;
  right: 0.8rem;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.4rem 0.6rem;
}

.viewer-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 0.5rem 0.8rem;
}

.viewer-prev { left: 0.2rem; }
.viewer-next { right: 0.2rem; }

@media (min-width: 800px) {
  .grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem 1.6rem;
    align-items: start;
  }

  .grid .shot:nth-child(3) { margin-top: 12vh; }
  .grid .shot:nth-child(4) { margin-top: 4vh; }

  .about {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .site-header { align-items: center; }
  h1 { font-size: 3.1rem; }
}
