:root {
  --sky: #071018;
  --sky-2: #101a24;
  --card: #13202c;
  --ink: #e8eef3;
  --muted: #9aafbf;
  --line: rgba(186, 214, 232, 0.16);
  --horizon: #8ecae6;
  --land: #d7b07a;
  --red: #e23b3b;
  --max: 1120px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(142, 202, 230, 0.16), transparent 60%),
    var(--sky);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a { color: var(--horizon); }
a:hover { color: #fff; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: #071018;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}
.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(7, 16, 24, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.brand img {
  width: auto;
  height: 44px;
  max-width: 70vw;
  background: transparent;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

.site-nav,
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.site-nav a,
.subnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"],
.subnav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--horizon);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 16, 24, 0.94) 0%, rgba(7, 16, 24, 0.2) 55%, rgba(7, 16, 24, 0.35) 100%);
}
.hero-copy,
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.hero-copy {
  position: relative;
  padding: 4rem 0 2.2rem;
}
.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--land);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.15rem; max-width: 62ch; color: #d5e2ec; }

.wrap { padding: 2.5rem 0 1rem; }
.wrap + .wrap { padding-top: 0.5rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 1.5rem 0 0;
}
.stats div { background: rgba(7, 16, 24, 0.72); padding: 0.9rem 1rem; }
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}
.stats span { color: var(--muted); font-size: 0.88rem; }

.grid-2, .grid-3, .gallery {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: 1.2fr 0.8fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery { grid-template-columns: repeat(3, 1fr); }

.card, .panel, .shot, .film {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.card { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card div, .panel { padding: 1rem 1.1rem 1.2rem; }
.card h2 { color: var(--ink); }
.card p, .panel p { color: #d5e2ec; margin: 0.3rem 0 0; }
.kicker { color: var(--red); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }

.panel.flat { background: transparent; border: 0; padding: 0; }
blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--land);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
}
.note {
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 550; width: 42%; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline time { color: var(--land); font-variant-numeric: tabular-nums; }

.shot {
  padding: 0;
  cursor: zoom-in;
  color: inherit;
  text-align: left;
  font: inherit;
}
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shot span {
  display: block;
  padding: 0.55rem 0.7rem 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.video-gate {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: white;
  text-align: left;
  background: #000 center/cover no-repeat;
}
.video-gate img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: 0.72; }
.play-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.15rem;
}
.play-label strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
}
.play-label strong::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.play-label small { color: #d5e2ec; }
.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #000;
}
.film figcaption, .shot-caption { padding: 0.7rem 0.9rem 0.9rem; color: var(--muted); }

.site-footer {
  margin-top: 2rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap { padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: space-between; }
.site-footer nav { display: flex; gap: 0.9rem; }

dialog {
  width: min(1000px, calc(100% - 2rem));
  border: 0;
  padding: 0;
  background: #000;
  color: white;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.82); }
dialog img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
dialog figcaption { padding: 0.7rem 1rem 1rem; }
.dialog-bar { display: flex; justify-content: flex-end; gap: 0.4rem; padding: 0.5rem; }
.dialog-bar button, .text-link {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

.legal h2 { margin-top: 1.6rem; }
.legal p, .legal li { max-width: 72ch; }

@media (max-width: 860px) {
  .stats, .grid-2, .grid-3, .gallery { grid-template-columns: 1fr 1fr; }
  .nav-button { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.8rem 1.2rem 1rem;
    background: rgba(7, 16, 24, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:focus-visible ~ .nav-button { outline: 2px solid var(--horizon); }
}

@media (max-width: 560px) {
  .stats, .grid-2, .grid-3, .gallery, .timeline li { grid-template-columns: 1fr; }
}

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

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