:root {
  color-scheme: dark;
  --base: #101010;
  --panel: #161614;
  --text: #f3ede1;
  --muted: #c2bab0;
  --gold: #e9aa62;
  --gold-light: #f8c78c;
  --rule: #36312a;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
  --display: Impact, Haettenschweiler, "Arial Narrow", "Arial Black", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--text); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.wrap { width: min(100% - clamp(2.5rem, 10vw, 10rem), 82.5rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; padding: .7rem 1rem; background: var(--text); color: var(--base); transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 1; border-bottom: 1px solid #c6a47831; background: #11100f; }
.masthead-inner { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: .55rem; text-decoration: none; text-transform: uppercase; font: 400 1.4rem/1 var(--display); letter-spacing: .045em; }
.brand span:last-child { color: var(--gold); }
.masthead nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.5rem); }
.masthead nav a, footer a { font-size: .95rem; color: var(--muted); text-decoration: none; }
.masthead nav a:hover, footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .35em; }

.hero { position: relative; isolation: isolate; display: grid; overflow: clip; min-height: clamp(34rem, 45vw, 46rem); border-bottom: 1px solid #594433; background: #0e0e0e; }
.hero-picture, .hero::after { position: absolute; inset: 0; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::after {
  content: "";
  z-index: 0;
  background:
    linear-gradient(90deg, #0e0e0eab 0%, #0e0e0e73 30%, #11100f25 52%, transparent 74%),
    linear-gradient(0deg, #100f0de0 0%, transparent 33%);
}
.hero-inner { z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-block: 4.05rem 4.9rem; position: relative; }
.hero-copy { min-width: 0; max-width: max-content; }
.label { color: var(--gold); text-transform: uppercase; font: 600 .875rem/1.3 var(--mono); letter-spacing: .115em; }
.release { display: flex; align-items: center; gap: .8rem; margin-bottom: .65rem; }
.release::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }
h1 { width: clamp(20rem, 42vw, 38rem); max-width: 100%; }
h1 img { width: 100%; height: auto; filter: drop-shadow(0 3px 10px #080604dc); }
.hero-description { font-size: clamp(1.05rem, 1.65vw, 1.35rem); max-width: 25rem; margin-top: .9rem; color: #e2d7c9; }
.action { display: inline-block; margin-top: 1.75rem; padding: .8rem 1.2rem; min-height: 2.9rem; color: #1a1109; background: var(--gold); font-weight: 750; text-decoration: none; }
.action:hover { background: var(--gold-light); }
.location { position: absolute; inset: auto 0 1.45rem auto; display: flex; align-items: center; gap: .65rem; font: .875rem/1.25 var(--mono); color: #eee1d1; }
.location-rule { width: 1.3rem; height: 1px; background: var(--gold); }

.captures { padding-block: clamp(3rem, 7vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.section-heading h2, .about h2 { margin-top: .4rem; font: 400 clamp(2.65rem, 5.2vw, 5.15rem)/1 var(--display); text-transform: uppercase; letter-spacing: .022em; }
.section-heading > p { color: var(--muted); font-size: 1rem; padding-bottom: .15rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(10rem, 14vw, 14rem); gap: .7rem; }
.capture { position: relative; isolation: isolate; display: grid; align-items: end; border: 1px solid #484038; background: var(--panel); overflow: hidden; text-decoration: none; }
.capture.featured { grid-row: span 2; }
.capture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.capture.featured img { object-position: 57% 50%; }
.capture.station img { object-position: 63% 51%; }
.capture::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, #0c0b0aee, #0e0d0b00 58%); pointer-events: none; }
.capture:hover img, .capture:focus-visible img { transform: scale(1.04); }
.capture:hover { border-color: var(--gold); }
.capture-name { z-index: 1; color: var(--text); font-weight: 650; line-height: 1.25; padding: 1.05rem 2.5rem 1rem .9rem; }
.featured .capture-name { padding-left: 1.15rem; font-size: 1.15rem; }
.expand { position: absolute; z-index: 1; right: .85rem; bottom: 1rem; width: .95rem; height: .95rem; color: var(--gold-light); }
.expand::before, .expand::after { content: ""; position: absolute; width: .37rem; height: .37rem; }
.expand::before { inset: 0 0 auto auto; border-top: 1px solid; border-right: 1px solid; }
.expand::after { inset: auto auto 0 0; border-bottom: 1px solid; border-left: 1px solid; }

.about { background: linear-gradient(120deg, #1f1813, #151412 64%); border-block: 1px solid var(--rule); padding-block: clamp(3rem, 7vw, 5.5rem); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.about-copy { max-width: 35rem; align-self: end; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.about-copy p + p { margin-top: .85rem; }
.about-copy .about-status { margin-top: 1.3rem; font: 600 .875rem/1.4 var(--mono); letter-spacing: .065em; text-transform: uppercase; color: var(--gold); }
footer { padding-block: 1.55rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
footer p { text-transform: uppercase; color: var(--muted); font: .875rem/1.65 var(--mono); letter-spacing: .07em; }

.viewer { color: var(--text); background: #161412; border: 1px solid #655449; width: min(94vw, 78rem); max-width: none; max-height: 95dvh; padding: 0; }
.viewer::backdrop { background: #050505e8; }
.viewer-body { padding: clamp(.6rem, 2vw, 1.2rem); }
.viewer button { padding: .45rem .75rem; min-height: 2.75rem; background: transparent; border: 1px solid #6b5948; color: var(--text); font: inherit; cursor: pointer; }
.viewer button:hover { border-color: var(--gold); color: var(--gold-light); }
.viewer .close { display: flex; margin: 0 0 .6rem auto; gap: .55rem; align-items: center; }
.close span { line-height: 1; font-size: 1.4rem; }
.viewer img { width: 100%; height: min(70dvh, 58vw); object-fit: contain; background: #0c0b0a; }
.viewer-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; margin-top: .7rem; }
.viewer-controls p { text-align: center; line-height: 1.25; }

@media (max-width: 880px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(10rem, 24vw, 14rem); }
  .capture.featured { grid-column: span 2; grid-row: auto; aspect-ratio: 16/8; }
  .gallery { grid-template-rows: auto; }
}
@media (max-width: 600px) {
  .masthead-inner { min-height: 3.9rem; }
  .brand { font-size: 1.05rem; display: grid; grid-template-columns: 1fr; gap: .12rem; }
  .masthead nav a { font-size: .875rem; }
  .hero { min-height: 0; }
  .hero-picture { bottom: auto; height: clamp(15rem, 67vw, 24rem); }
  .hero-picture img { object-position: center; }
  .hero::after {
    bottom: auto;
    height: clamp(15rem, 67vw, 24rem);
    background: linear-gradient(0deg, #0e0e0e 0%, #0e0e0e50 30%, transparent 68%);
  }
  .hero-inner { padding-block: clamp(13rem, 60vw, 21rem) 4.4rem; }
  h1 { width: min(100%, 23rem); }
  .location { left: 0; right: auto; bottom: 1.3rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .8rem; }
  .wide-only { display: none; }
  .gallery { grid-auto-rows: clamp(8.5rem, 30vw, 11rem); gap: .5rem; }
  .capture-name, .featured .capture-name { padding: .6rem 1.6rem .62rem .6rem; font-size: .9rem; }
  .expand { right: .5rem; bottom: .65rem; }
  .about-inner { grid-template-columns: 1fr; }
  .viewer img { height: min(63dvh, 90vw); }
  .viewer-controls button { padding-inline: .45rem; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .capture img { transition: none; }
}
