:root {
  color-scheme: dark;
  --bg: #080907;
  --surface: #11140f;
  --ink: #f4efe4;
  --muted: #b7ad9d;
  --line: rgba(244, 239, 228, 0.14);
  --gold: #c2a26a;
  --sage: #7c8763;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.shell {
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 24px;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
}

.site-header {
  border-width: 0 0 1px;
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 9, 7, 0.82);
}

.site-header .shell,
.site-footer .shell {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 72px;
}

.brand,
.label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
}

.nav a:hover {
  color: var(--gold);
}

.hero {
  align-items: end;
  display: grid;
  min-height: 74svh;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.58;
  position: absolute;
  width: 100%;
}

.hero::after {
  background: linear-gradient(0deg, var(--bg), transparent 55%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-content {
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.display {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  line-height: 1.25;
  max-width: 720px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 84px 0;
}

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

.section h1,
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 18px;
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stat strong {
  color: var(--gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
}

.prose {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 760px;
}

.photo-grid {
  columns: 280px;
  column-gap: 18px;
}

.photo-grid a,
.photo-grid figure {
  break-inside: avoid;
  display: block;
  margin: 0 0 18px;
}

.photo-grid img {
  width: 100%;
}

.site-footer {
  border-width: 1px 0 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header .shell,
  .site-footer .shell,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 12px;
  }
}

[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 100; padding: 12px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
.language-switch { color: var(--muted); font-size: 12px; white-space: nowrap; }
.language-switch [aria-current] { color: var(--gold); font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-bottom: 28px; }
.filters label { color: var(--muted); display: grid; gap: 6px; font-size: 13px; }
.filters select, .filters button { border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--surface); padding: 10px 14px; font: inherit; }
.filters button { cursor: pointer; }
.photo-grid [data-photo] { cursor: zoom-in; }
.lightbox { background: rgba(8, 9, 7, .98); border: 1px solid var(--line); color: var(--ink); height: 100%; max-height: none; max-width: none; padding: 60px 70px; width: 100%; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; margin: 0; gap: 12px; }
.lightbox img { max-height: calc(100% - 38px); max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: var(--muted); text-align: center; }
.lightbox button { position: absolute; background: transparent; border: 0; color: var(--ink); cursor: pointer; font-size: 42px; line-height: 1; padding: 8px; }
.lightbox-close { right: 20px; top: 12px; }
.lightbox-prev { left: 12px; top: 48%; }
.lightbox-next { right: 12px; top: 48%; }
.atlas-map { background: #111713; border: 1px solid var(--line); margin: 24px 0 36px; overflow: hidden; }
.atlas-map svg { display: block; width: 100%; }
.atlas-land { fill: #303b31; stroke: #111713; stroke-width: .5; }
.atlas-active path { fill: var(--gold); stroke: #111713; stroke-width: .7; }
.atlas-active:hover path, .atlas-active:focus path { fill: #f0d3a1; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 720px) { .lightbox { padding: 60px 44px; } .site-header .shell { gap: 12px; padding-top: 14px; padding-bottom: 14px; } }

.gallery-pagination { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.gallery-pagination button { cursor: pointer; color: inherit; border: 1px solid currentColor; background: transparent; padding: .5rem .8rem; }

.video-card .label { display: block; margin-bottom: 12px; }
.video-dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--line); width: min(1100px, 95vw); max-height: 95svh; padding: 24px; }
.video-dialog::backdrop { background: rgba(0, 0, 0, .88); }
.video-dialog h2 { font-size: 24px; margin: 0 40px 20px 0; }
.video-dialog [data-video-close] { position: absolute; top: 8px; right: 12px; background: transparent; border: 0; color: var(--ink); font-size: 32px; cursor: pointer; }
.video-dialog video, .video-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 75svh; border: 0; background: #000; }
