:root {
  color-scheme: dark;
  --bg: #111214;
  --bg-raised: #191a1d;
  --line: #2a2b2f;
  --text: #e9e6df;
  --muted: #9c988f;
  --accent: #cda86c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }

.eyebrow {
  display: block;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lede { font-size: 1.2rem; color: #d5d1c8; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--text); color: var(--bg); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.home .site-header {
  position: absolute; left: 0; right: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 14, .55), transparent);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.25rem; text-decoration: none; white-space: nowrap;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: clamp(14px, 3vw, 32px); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.nav a { text-decoration: none; color: #cfcbc2; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 16, .85) 0%, rgba(12, 12, 16, .15) 45%, rgba(12, 12, 16, .25) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 10vh, 110px); }
.hero h1 { max-width: 14ch; }
.hero p { max-width: 46ch; font-size: 1.15rem; color: #dcd8cf; }

.btn {
  display: inline-block; padding: 13px 26px; border: 1px solid var(--accent);
  color: var(--text); text-decoration: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); color: #17140f; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.ghost { border-color: rgba(233, 230, 223, .4); }
.btn.ghost:hover { background: var(--text); color: var(--bg); }

/* Sections */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin: 0; }

.page-head { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head p { max-width: 60ch; }

/* Photo grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.photo { margin: 0; }
.photo a { display: block; overflow: hidden; background: var(--bg-raised); text-decoration: none; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.photo a:hover img { transform: scale(1.03); }
.photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px 0; font-size: .9rem; }
.photo figcaption span:last-child { color: var(--muted); text-align: right; }

.series { margin-bottom: clamp(56px, 8vw, 96px); }
.series > p { max-width: 62ch; color: var(--muted); margin-bottom: 28px; }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 34px 28px; }
.card .num { font-family: var(--serif); color: var(--accent); font-size: 1rem; display: block; margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }

/* Quote */
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; max-width: 28ch; margin: 0 auto; text-align: center; }
.quote cite { display: block; margin-top: 20px; font: normal .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-clean li:first-child { border-top: 1px solid var(--line); }

dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 0; }
dl.details dt { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
dl.details dd { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100vh; height: 100dvh; background: rgba(8, 8, 10, .96); color: var(--text);
}
.lightbox::backdrop { background: rgba(8, 8, 10, .9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 56px 64px 0; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox figcaption { text-align: center; padding: 18px 16px 26px; font-family: var(--serif); font-size: 1.1rem; }
.lightbox figcaption small { display: block; font: .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.lb-btn {
  position: absolute; background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 2rem; line-height: 1; width: 52px; height: 52px; display: grid; place-items: center; opacity: .75;
}
.lb-btn:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* 404 */
.notfound { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.notfound img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.notfound .wrap { position: relative; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .split img { aspect-ratio: 3 / 2; }
  .site-header .wrap { justify-content: center; padding-top: 14px; padding-bottom: 12px; gap: 8px 16px; }
  .nav { font-size: .72rem; letter-spacing: .12em; }
  .lightbox figure { padding: 56px 12px 0; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lightbox figcaption { padding-left: 60px; padding-right: 60px; }
}

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