:root {
  --bg: #0b0c0b;
  --surface: #141614;
  --text: #ecebe6;
  --muted: #8d8f88;
  --line: #262826;
  --accent: #c9a96e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  background: rgba(11, 12, 11, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo small { color: var(--muted); font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; margin-left: 8px; }
.nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav a {
  text-decoration: none; color: var(--muted);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  height: 82vh; min-height: 420px;
  background: #141614 center 35% / cover no-repeat;
}
.intro { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 0; }
.eyebrow { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 18px; }
.intro h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.01em;
}
.intro p { color: #bdbcb5; max-width: 520px; margin-top: 22px; font-size: 1.05rem; }
.btn {
  display: inline-block; margin-top: 32px;
  padding: 13px 26px; border: 1px solid var(--text);
  text-decoration: none; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--text); color: var(--bg); }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2, .page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1;
}
.link-arrow { color: var(--muted); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.link-arrow:hover { color: var(--text); }
.page-intro { color: var(--muted); max-width: 560px; margin-top: 14px; }

/* ---------- Photo grid (masonry) ---------- */
.grid { columns: 3 320px; column-gap: 20px; }
.grid.featured { columns: 3 280px; }
.tile { break-inside: avoid; margin-bottom: 28px; }
.tile-btn {
  display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in;
  overflow: hidden;
}
.tile-btn img, .tile-btn .placeholder { width: 100%; transition: transform .6s ease, opacity .3s; }
.tile-btn:hover img, .tile-btn:hover .placeholder { transform: scale(1.02); }
.tile-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tile figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 0.85rem; }
.tile figcaption .p { color: var(--muted); text-align: right; }

.placeholder {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.placeholder span { color: #5d605a; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 40px; }
.filter {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 8px 18px; font: inherit; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.active { color: var(--bg); background: var(--text); border-color: var(--text); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.about .portrait { aspect-ratio: 4 / 5; background: var(--surface); }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: #c5c4bd; margin-top: 18px; max-width: 60ch; }
.about-text p:first-of-type { margin-top: 24px; }
.facts { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.facts li span:first-child { color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }

/* ---------- Quote band ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band blockquote {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.35; color: #d8d7d0;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.8rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: #050605;
  display: grid; grid-template-rows: 1fr auto;
}
.lightbox[hidden] { display: none; }
.lb-stage { display: flex; align-items: center; justify-content: center; padding: 64px 72px 16px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-ph { width: min(70vw, 900px); aspect-ratio: 3 / 2; background: var(--surface); }
.lb-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 24px 24px; }
.lb-title { font-family: var(--serif); font-size: 1.15rem; }
.lb-place, .lb-count { color: var(--muted); font-size: 0.85rem; }
.lb-place { margin-left: 12px; }
.lb-btn {
  position: absolute; background: none; border: 0; color: var(--text);
  font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 14px; opacity: .7;
}
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px var(--gutter); }
  .logo small { display: none; }
  .hero { height: 62vh; min-height: 320px; }
  .about { grid-template-columns: 1fr; }
  .grid, .grid.featured { columns: 1; }
  .lb-stage { padding: 56px 8px 8px; }
  .lb-ph { width: 92vw; }
  .lb-prev, .lb-next { top: auto; bottom: 64px; transform: none; }
}
