:root {
  color-scheme: light;
  --ink: #11110f;
  --paper: #f4f0e7;
  --card: #fffdf7;
  --line: #bdb6aa;
  --muted: #655f57;
  --red: #d83a18;
  --blue: #184d8b;
  --yellow: #ffd447;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); font: 17px/1.55 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .18em; }
.skip { position: fixed; left: 12px; top: -100px; z-index: 20; padding: 12px 16px; background: var(--ink); color: white; }
.skip:focus { top: 12px; }
.hero, .featured-audit, main, footer { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.hero { padding: clamp(48px, 8vw, 100px) 0 38px; }
.kicker, .section-number { margin: 0 0 14px; color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
h1 { max-width: 1050px; margin: 0; font: 900 clamp(3.1rem, 9vw, 8.3rem)/.84 Arial, Helvetica, sans-serif; letter-spacing: -.075em; }
.intro { max-width: 800px; margin: 32px 0 20px; font: 700 clamp(1.3rem, 2.5vw, 2rem)/1.2 Georgia, serif; }
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin-top: 30px; border: 2px solid var(--ink); }
.counts div { padding: 16px; }
.counts div + div { border-left: 2px solid var(--ink); }
.counts strong, .counts span { display: block; }
.counts strong { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; }
.counts span { margin-top: 5px; font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.jump { position: sticky; top: 0; z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 10px max(16px, calc((100vw - 1240px) / 2)); background: var(--ink); color: white; }
.jump a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #545451; text-decoration: none; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
main { padding: 24px 0 70px; }
section { margin-top: 24px; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); background: var(--card); }
.featured-audit { margin-top: 0; margin-bottom: 24px; border: 3px solid var(--ink); }
.audit-intro { max-width: 780px; font-size: 1.15rem; font-weight: 700; }
.audit-viewer { display: block; width: 100%; height: min(78vh, 900px); min-height: 620px; margin-top: 24px; border: 2px solid var(--ink); background: white; }
h2 { margin: 0 0 18px; font: 900 clamp(2.2rem, 5vw, 4.6rem)/.95 Arial, Helvetica, sans-serif; letter-spacing: -.045em; }
h3 { margin: 0; font-size: 1.1rem; }
.start p, .start li, .documents > p { max-width: 780px; }
.start ul { padding-left: 22px; }
.sample-list a { font-weight: 800; }
.file-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.file-links a, .supporting a { display: inline-block; padding: 12px 14px; border: 2px solid var(--ink); font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-decoration: none; }
.file-links a:hover, .file-links a:focus-visible, .supporting a:hover, .supporting a:focus-visible { background: var(--ink); color: white; }
.shot-list { display: grid; gap: 28px; }
.shot { border: 1px solid var(--line); background: white; }
.shot-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.shot-head strong, .shot-head span { display: block; }
.shot-head strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.shot-head span { margin-top: 3px; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.shot-head a { flex: 0 0 auto; font-size: .72rem; font-weight: 900; }
.image-link { display: block; background: #ece9e2; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; }
.hash { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font: .68rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.document { margin-top: 28px; border: 1px solid var(--line); }
.document-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); }
.document-head a { flex: 0 0 auto; font-size: .72rem; font-weight: 900; }
pre { max-height: 70vh; margin: 0; padding: 18px; overflow: auto; background: #181817; color: #f8f4e8; white-space: pre-wrap; overflow-wrap: anywhere; font: .82rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.supporting { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.supporting p { margin-top: 8px; }
.supporting a { margin: 6px 4px 0 0; }
video { display: block; width: 100%; background: #111; }
.contact > a { font: 700 clamp(1.1rem, 3vw, 2rem)/1.2 Georgia, serif; overflow-wrap: anywhere; }
.load-error { padding: 16px; border: 3px solid var(--red); background: white; font-weight: 800; }
footer { padding: 24px 0 50px; font-size: .75rem; font-weight: 900; }

@media (max-width: 650px) {
  .hero, .featured-audit, main, footer { width: min(100% - 20px, 1240px); }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(3rem, 18vw, 5.3rem); }
  .counts { grid-template-columns: 1fr; }
  .counts div + div { border-left: 0; border-top: 2px solid var(--ink); }
  section { padding: 22px 14px; }
  .audit-viewer { height: 72vh; min-height: 480px; }
  .shot-head, .document-head { align-items: flex-start; flex-direction: column; }
  pre { max-height: 62vh; }
}

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