:root {
  color-scheme: dark light;
  --black: #090909;
  --black-2: #111111;
  --paper: #f2eee6;
  --paper-2: #e9e3d9;
  --ink: #151515;
  --muted: #6c675f;
  --red: #f21d0a;
  --red-deep: #a91910;
  --line-dark: #2a2927;
  --line-light: #cec7bb;
  --cream: #f7f2e9;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--red-deep); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  padding: 10px 14px; background: var(--red); color: #fff; font-weight: 800;
}
.skip-link:focus { left: 12px; top: 12px; }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.site-header {
  background: var(--black);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  min-height: 86px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 13px;
  color: var(--cream); text-decoration: none;
}
.brand-mark {
  width: 48px; height: 48px; object-fit: contain;
  background: var(--cream); padding: 3px;
}
.brand-text {
  font-weight: 850; letter-spacing: .055em; text-transform: uppercase; font-size: .82rem;
}
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 21px; }
.nav-links a {
  color: #bdb8b0; text-decoration: none; font-size: .72rem; font-weight: 820;
  letter-spacing: .12em; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }

.hero {
  min-height: 670px;
  background: var(--black);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0 0 0 auto; width: 60%;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(9,9,9,.48) 38%, rgba(9,9,9,.08) 100%),
    url("/assets/images/moon.jpg") center right / cover no-repeat;
  opacity: .62;
  pointer-events: none;
}
.hero-inner {
  min-height: 670px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 72px; align-items: center;
  padding: 86px 0 92px;
}
.hero-copy { max-width: 760px; }
.eyebrow, .folio, .meta-label {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase; letter-spacing: .12em; font-size: .74rem;
}
.eyebrow { color: var(--red); font-weight: 850; margin-bottom: 22px; }
.folio { color: #9f9a92; }
h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; letter-spacing: -.035em;
}
h1 {
  margin: 0; max-width: 790px;
  font-size: clamp(3.25rem, 7.3vw, 6.8rem); line-height: .94;
}
.hero-intro {
  max-width: 610px; margin: 28px 0 0;
  color: #c8c2b9; font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.hero-note {
  align-self: end; justify-self: end; width: min(350px, 100%);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid #3a3734;
  padding: 18px 0;
}
.hero-note dl { margin: 0; display: grid; grid-template-columns: 100px 1fr; gap: 9px 16px; }
.hero-note dt {
  color: #8f8a82;
  font: 750 .68rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase; letter-spacing: .10em;
}
.hero-note dd { margin: 0; color: #e5dfd6; font-size: .9rem; }

main { background: var(--paper); }
.section { padding: 80px 0; border-bottom: 1px solid var(--line-light); }
.section-grid { display: grid; grid-template-columns: .64fr 1.36fr; gap: 74px; }
.section-label {
  margin: 6px 0 0;
  color: var(--red-deep);
  font: 850 .73rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .13em; text-transform: uppercase;
}
h2 { margin: 0; font-size: clamp(2.05rem, 4vw, 3.55rem); line-height: 1.04; }
h3 { line-height: 1.28; }
.copy { max-width: 750px; margin: 0; color: var(--muted); font-size: 1.055rem; }
.copy + .copy { margin-top: 19px; }
.lede { color: var(--ink); font-size: 1.16rem; }

.rule { width: 84px; height: 3px; background: var(--red); margin: 28px 0; }

.record-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light);
}
.record {
  min-height: 210px; padding: 25px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background:
    linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)),
    var(--paper);
}
.record .ref {
  display: block; margin-bottom: 22px; color: var(--red-deep);
  font: 800 .73rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em; text-transform: uppercase;
}
.record h3 { margin: 0 0 9px; font-size: 1.08rem; }
.record p { margin: 0; color: var(--muted); font-size: .95rem; }

.stat {
  margin-top: 34px; padding: 30px 0;
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line-light);
  display: grid; grid-template-columns: minmax(160px,.7fr) 1.3fr; gap: 34px; align-items: end;
}
.stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 400; letter-spacing: -.06em; line-height: .8;
}
.stat p { margin: 0; color: var(--muted); }

.timeline { margin-top: 34px; border-top: 1px solid var(--line-light); }
.timeline-item {
  display: grid; grid-template-columns: 135px 1fr; gap: 30px;
  padding: 25px 0; border-bottom: 1px solid var(--line-light);
}
.timeline-item time {
  color: var(--red-deep);
  font: 800 .82rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.timeline-item h3 { margin: 0 0 6px; font-size: 1rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .95rem; }

.redaction {
  display: inline-block; padding: 0 .35em;
  background: var(--ink); color: var(--ink);
  border-radius: 1px; user-select: none;
}

.callout {
  margin-top: 32px; padding: 22px 24px;
  background: var(--black); color: #d2ccc3;
  border-left: 4px solid var(--red);
}
.callout strong { color: #fff; }
.callout a { color: #fff; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 31px; }
.button {
  display: inline-block; padding: 12px 17px;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.button.light { background: transparent; color: var(--ink); }

.page-hero {
  padding: 78px 0 72px;
  border-bottom: 1px solid var(--line-light);
}
.page-hero h1 { color: var(--ink); font-size: clamp(3rem, 6.7vw, 5.9rem); }
.page-hero .eyebrow { color: var(--red-deep); }
.page-hero .hero-intro { color: var(--muted); max-width: 780px; }

.identity-panel {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center;
  margin-top: 32px; padding: 26px;
  background: var(--black); color: var(--cream);
}
.identity-panel img {
  width: 120px; height: 120px; object-fit: contain;
  background: #fff; padding: 5px;
}
.identity-panel p { margin: 0; color: #c8c2b9; }
.identity-panel strong { color: #fff; }
.identity-panel a { color: #fff; }

.prose { max-width: 790px; }
.prose h2 { margin-top: 46px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }

.contact-sheet {
  margin-top: 34px;
  border: 1px solid var(--line-light);
  background: var(--paper-2);
  padding: 28px;
}
.contact-sheet .meta-label { color: var(--red-deep); }
.contact-sheet address { font-style: normal; margin-top: 16px; font-size: 1.15rem; }

.site-footer { background: var(--black); color: #918c85; }
.footer {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  padding: 30px 0 40px; font-size: .82rem;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer a { color: #c8c2b9; }

@media (max-width: 880px) {
  .nav { align-items: flex-start; padding: 20px 0; }
  .hero::after { width: 100%; opacity: .35; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 72px 0; gap: 52px; }
  .hero-note { justify-self: start; }
  .section-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 650px) {
  .shell { padding: 0 20px; }
  .nav { display: block; }
  .nav-links { justify-content: flex-start; margin-top: 17px; gap: 10px 16px; }
  h1 { font-size: 3.35rem; }
  .record-grid { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .identity-panel { grid-template-columns: 78px 1fr; gap: 18px; }
  .identity-panel img { width: 78px; height: 78px; }
  .footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
