:root {
  --ink: #171714;
  --paper: #f1f0eb;
  --muted: #6f6e67;
  --line: #ceccc2;
  --accent: #255f58;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header { height: 76px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(241, 240, 235, .94); backdrop-filter: blur(14px); }
.brand { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
nav { display: flex; gap: 28px; }
nav a { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }

.hero { min-height: 82svh; padding: 150px 5vw 80px; display: flex; align-items: flex-end; position: relative; overflow: hidden; color: white; background: #222; }
.hero-slides, .hero-slides img, .hero-shade { position: absolute; inset: 0; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity 1s ease, transform 7s ease; }
.hero-slides img.active { opacity: 1; transform: scale(1); }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(7, 10, 10, .72) 0%, rgba(7, 10, 10, .32) 48%, rgba(7, 10, 10, .08) 75%), linear-gradient(0deg, rgba(5, 7, 7, .48), transparent 48%); }
.hero-copy { position: relative; z-index: 2; max-width: 920px; }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(3.6rem, 8vw, 8.4rem); line-height: .88; letter-spacing: -.055em; }
.intro { max-width: 690px; margin: 34px 0 28px; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,.84); }
.hero-link { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .17em; }
.hero-controls { position: absolute; z-index: 3; right: 4vw; bottom: 72px; display: flex; align-items: center; gap: 14px; }
.hero-controls button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; background: rgba(0,0,0,.14); color: white; cursor: pointer; }
.hero-controls span { min-width: 48px; text-align: center; font-size: 9px; letter-spacing: .16em; }
.hero-dots { position: absolute; z-index: 3; right: 4vw; bottom: 42px; display: flex; gap: 7px; }
.hero-dots button { width: 22px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s ease; }
.hero-dots button.active { background: white; }

.archive { padding: 100px 3vw; }
.archive-heading { display: block; }
.archive-heading h2 { margin: 0; font-size: clamp(3rem, 6vw, 6.5rem); line-height: .9; letter-spacing: -.045em; }
.filter-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 55px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-field { display: flex; flex-direction: column; gap: 8px; }
.filter-field span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
select { appearance: none; width: 100%; background-color: transparent; color: var(--ink); border: 1px solid #bbb9b1; border-radius: 2px; padding: 13px 38px 13px 13px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 11px) 52%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; cursor: pointer; }
.results-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.results-row p { margin: 0; }
.results-row button, .empty-state button { padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-bottom: 1px solid currentColor; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }

.masonry-grid { columns: 4; column-gap: 10px; }
.masonry-item { width: 100%; height: auto; display: block; break-inside: avoid; margin: 0 0 10px; padding: 0; border: 0; background: #d9d8d2; position: relative; cursor: zoom-in; overflow: hidden; }
.masonry-item img { width: 100%; height: auto; display: block; transition: transform .45s ease, filter .35s ease; }
.masonry-item:hover img { transform: scale(1.018); filter: saturate(1.05); }
.photo-meta { position: absolute; inset: auto 0 0; padding: 42px 13px 12px; color: white; background: linear-gradient(transparent, rgba(8, 10, 9, .72)); display: flex; align-items: end; justify-content: space-between; opacity: 0; transition: opacity .3s ease; text-align: left; }
.masonry-item:hover .photo-meta { opacity: 1; }
.photo-meta b { font-size: 10px; letter-spacing: .12em; }
.photo-meta small { font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.load-more { min-height: 130px; padding-top: 44px; display: flex; align-items: flex-start; justify-content: center; color: var(--muted); }
.load-more button { padding: 14px 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; transition: background .2s ease, color .2s ease; }
.load-more button:hover { background: var(--ink); color: var(--paper); }
.load-more p { margin: 0; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.empty-state { padding: 100px 0; text-align: center; color: var(--muted); }
.empty-state p { margin: 0 0 20px; }

.about { margin-top: 80px; padding: 110px 5vw; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); gap: clamp(50px, 8vw, 130px); align-items: center; border-top: 1px solid var(--line); background: #e6e4dd; }
.about-image { margin: 0; align-self: stretch; min-height: 680px; position: relative; overflow: hidden; background: #c8c8c0; }
.about-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.about-image figcaption { position: absolute; left: 18px; bottom: 16px; padding: 7px 9px; background: rgba(15,16,14,.72); color: white; font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
.about-copy h2 { margin: 0 0 36px; font-size: clamp(3.2rem, 5.7vw, 6.4rem); line-height: .92; letter-spacing: -.045em; }
.about-copy > p:not(.eyebrow) { max-width: 680px; margin: 0 0 20px; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; color: #494944; }
.about-details { margin: 42px 0 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-details div { padding: 18px 18px 18px 0; display: flex; flex-direction: column; gap: 9px; }
.about-details div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.about-details span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }
.about-details b { font-size: 11px; line-height: 1.45; }
.about-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
footer { min-height: 120px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
footer a { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
footer > div { display: flex; gap: 28px; }

.lightbox { position: fixed; z-index: 60; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 8, 8, .97); padding: 60px 90px; color: white; }
.lightbox-content { position: relative; width: min(86vw, 1500px); height: 82vh; display: flex; align-items: center; justify-content: center; }
.lightbox-content img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-content p { position: absolute; bottom: -36px; margin: 0; color: #b7b9b6; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.lightbox button { position: absolute; border: 0; background: none; color: white; cursor: pointer; }
.lightbox-close { right: 28px; top: 24px; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); font-size: 34px; }
.lightbox-arrow { z-index: 2; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.42) !important; border-radius: 50%; background: rgba(0,0,0,.24) !important; }
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 1100px) {
  .masonry-grid { columns: 3; }
  .about { grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr); gap: 50px; }
  .about-image { min-height: 610px; }
  .about-details { grid-template-columns: 1fr; }
  .about-details div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .site-header { height: 66px; padding: 0 18px; }
  nav { gap: 16px; }
  nav a:first-child { display: none; }
  .hero { min-height: 70svh; padding: 110px 20px 60px; }
  .hero-controls { right: 18px; bottom: 56px; }
  .hero-dots { right: 18px; bottom: 34px; }
  .hero-copy { padding-right: 20px; }
  .archive { padding: 70px 10px; }
  .archive-heading h2 { padding: 0 10px; }
  .filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 10px; }
  .results-row { padding: 0 10px; }
  .masonry-grid { columns: 2; column-gap: 6px; }
  .masonry-item { margin-bottom: 6px; }
  .photo-meta { display: none; }
  .about { margin-top: 60px; padding: 70px 20px; grid-template-columns: 1fr; gap: 42px; }
  .about-image { min-height: 440px; }
  .about-copy h2 { margin-bottom: 26px; }
  footer { padding: 30px 18px; gap: 18px; align-items: flex-start; flex-direction: column; }
  footer > div { gap: 18px; }
  .lightbox { padding: 60px 12px; }
  .lightbox-content { width: 100%; height: 75vh; }
  .lightbox-arrow { top: auto; bottom: 16px; transform: none; }
}

[hidden] { display: none !important; }
.lightbox-close { font-size: 30px; line-height: 1; }
