:root {
  color-scheme: light dark;
  --ink: #191b21;
  --paper: #eeeef1;
  --card: #ffffff;
  --line: #d4d6dc;
  --muted: #545862;
  --accent: #b26a12;
  --accent-2: #1f7a6b;
  --good: #2e7d46;
  --stop: #b83b2b;
  --dark: #0b0d12;
  --hero-ink: #f3efe7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9ecf2;
    --paper: #0a0c11;
    --card: #12151c;
    --line: #262a33;
    --muted: #a2a8b4;
    --accent: #f0b45e;
    --accent-2: #5fd6c4;
    --good: #62c982;
    --stop: #e5654e;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: inherit; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: #ffcf8a; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(240, 180, 94, 0.16) 1.5px, transparent 1.7px) 0 0 / 26px 26px,
    linear-gradient(158deg, #201607 0%, #0d0f14 56%, #090b11 100%);
}
.hero .nav-links a { color: var(--hero-ink); }
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(62vh, 620px);
  max-width: 820px;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 84px;
}
.eyebrow { margin: 0 0 12px; color: #f0b45e; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 820px; margin: 0; font-size: 6rem; font-weight: 850; }
.hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 24px 0 0; color: #e2d9c9; font-size: 1.32rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: #d6c9b3;
  font-size: 0.88rem;
  font-weight: 700;
}

.band { padding: 84px 0; }
.band.paper { background: var(--card); }
.band.dark { background: var(--dark); color: #f2efe7; }
.band.callout { background: #24190a; color: #f2efe7; }
@media (prefers-color-scheme: dark) { .band.paper { background: #0e1117; } }

.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: 3.3rem; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.dark .section-heading p, .callout .section-heading p { color: #ccc0ab; }

.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
figure { margin: 0; }
.shot-grid figure svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(10, 8, 4, 0.22); background: #12100b; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3a3323; border-left: 1px solid #3a3323; }
.capability { min-height: 210px; padding: 28px; border-right: 1px solid #3a3323; border-bottom: 1px solid #3a3323; }
.capability strong { display: block; margin-bottom: 10px; color: #f0b45e; font-size: 1.08rem; }
.capability p { margin: 0; color: #d7cdbd; }

.target-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.target-list .target { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.target .name { flex: 1 1 auto; font-weight: 700; }
.target .lufs { flex: 0 0 auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: var(--accent); }
.target .peak { flex: 0 0 auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); font-size: 0.92rem; }

.callout-body { max-width: 860px; }
.callout-body p { margin: 0 0 14px; color: #e3d8c6; font-size: 1.12rem; }
.callout-body p:last-child { margin-bottom: 0; }
.callout-body strong { color: #ffcf8a; }

.document-header { background: var(--dark); color: #f2efe7; }
.document-header .site-nav { border-bottom: 1px solid #2c261a; }
.document-header .nav-links a { color: #f2efe7; }
.document-title { padding: 68px 0 78px; }
.document-title h1 { max-width: 900px; font-size: 5rem; }
.document-title p { max-width: 780px; margin: 18px 0 0; color: #cec2ad; }
.document { max-width: 860px; padding: 66px 0 96px; }
.document section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.document h2 { margin: 0 0 12px; font-size: 1.5rem; }
.document p, .document ul { margin: 0 0 14px; }
.document li + li { margin-top: 8px; }

.support-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; border-top: 1px solid var(--line); }
.support-index section { min-height: 200px; }
.contact-link { display: inline-block; padding: 12px 16px; border: 2px solid var(--accent); border-radius: 6px; background: var(--accent); color: #ffffff; font-weight: 800; text-decoration: none; }
.contact-link:hover { background: var(--accent-2); border-color: var(--accent-2); color: #ffffff; }

footer { padding: 34px 0; background: #05070b; color: #a6a094; font-size: 0.85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; }
footer a { color: #e3d8c6; }

@media (max-width: 1100px) {
  h1 { font-size: 5rem; }
  .section-heading h2 { font-size: 2.8rem; }
  .document-title h1 { font-size: 4.2rem; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .site-nav { min-height: 64px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.78rem; }
  .hero-copy { min-height: 0; padding: 48px 0 60px; }
  h1 { font-size: 2.7rem; }
  .hero-copy > p:not(.eyebrow) { font-size: 1.05rem; }
  .section-heading h2 { font-size: 2.1rem; }
  .document-title h1 { font-size: 2.7rem; }
  .band { padding: 60px 0; }
  .shot-grid, .capability-grid, .target-list, .support-index { grid-template-columns: 1fr; }
  .capability-grid { border-left: 0; }
  .capability { min-height: 0; border-left: 1px solid #3a3323; }
  footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
