:root {
  --paper: #f5f1e8;
  --ink: #171615;
  --muted: #69645d;
  --line: #d8d1c4;
  --charcoal: #22201e;
  --sage: #7d8472;
  --rust: #9a4d2f;
  --white: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  line-height: 1.45;
}

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

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

.site-header {
  align-items: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 18px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  min-height: calc(100vh - 72px);
}

.hero-image {
  background: var(--charcoal);
  min-height: 560px;
  overflow: hidden;
}

.hero-image img {
  filter: grayscale(1) contrast(1.12);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-copy {
  align-self: end;
  border-left: 1px solid var(--line);
  padding: clamp(34px, 6vw, 82px);
}

.eyebrow {
  color: var(--rust);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2 {
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: clamp(4.2rem, 9vw, 9.6rem);
  max-width: 8ch;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 5.8rem);
}

.hero-copy p:not(.eyebrow),
.contact p,
.intro p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
  max-width: 32rem;
}

.button,
.filter,
.close {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  margin-top: 22px;
  padding: 13px 18px;
}

.intro {
  align-items: start;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  padding: clamp(34px, 6vw, 74px) clamp(18px, 4vw, 56px);
}

.profile {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 115px minmax(0, 1fr);
  max-width: 46rem;
}

.profile img {
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  filter: grayscale(0.25) contrast(1.04);
  object-fit: cover;
  width: 115px;
}

dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

dl div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

dt {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
}

dd {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.featured,
.gallery-section,
.contact {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.series-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

.series-card {
  border-top: 1px solid var(--ink);
  cursor: pointer;
  padding-top: 14px;
}

.series-card img {
  aspect-ratio: 4 / 5;
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
  width: 100%;
}

.series-card h3,
.photo-card figcaption {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
}

.series-card h3 {
  font-size: 0.86rem;
  margin: 12px 0 2px;
  text-transform: uppercase;
}

.series-card p {
  color: var(--muted);
  margin: 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.gallery-count {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin: 18px 0 0;
  text-transform: uppercase;
}

.filter {
  min-height: 36px;
  padding: 8px 12px;
}

.filter.is-active {
  background: var(--ink);
  color: var(--paper);
}

.gallery {
  align-items: start;
  display: grid;
  gap: 22px 18px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.photo-card {
  border-top: 1px solid var(--line);
  cursor: zoom-in;
  margin: 0;
  padding-top: 10px;
  width: 100%;
}

.photo-card img {
  aspect-ratio: 4 / 5;
  background: var(--line);
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
  transition: filter 160ms ease, transform 160ms ease;
  width: 100%;
}

.photo-card:hover img {
  filter: grayscale(0.25) contrast(1.04);
  transform: translateY(-2px);
}

.photo-card figcaption {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.25;
  margin-top: 8px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.contact {
  background: var(--charcoal);
  color: var(--white);
}

.contact p {
  color: #cbc5b9;
}

.contact a {
  border-bottom: 1px solid currentColor;
  color: var(--white);
}

.lightbox {
  background: #111;
  border: 0;
  color: var(--white);
  height: 100%;
  max-height: none;
  max-width: none;
  padding: 24px;
  width: 100%;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox figure {
  display: grid;
  gap: 16px;
  height: 100%;
  margin: 0;
  place-items: center;
}

.lightbox img {
  max-height: 86vh;
  object-fit: contain;
}

.lightbox figcaption {
  color: #d8d1c4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.close {
  border-color: var(--white);
  color: var(--white);
  height: 38px;
  position: fixed;
  right: 22px;
  top: 22px;
  width: 38px;
  z-index: 2;
}

@media (max-width: 960px) {
  .hero,
  .intro {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-left: 0;
  }

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    min-height: auto;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 0;
  }

  .hero-image {
    min-height: 58vh;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  dl,
  .series-grid {
    grid-template-columns: 1fr;
  }

  .profile {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .profile img {
    width: 92px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
