/* Skylark press kit. Direction B, glass cockpit (DESIGN.md). The token table
   is repeated because this page does not load styles.css; every value below
   comes from that table and nothing is invented inline. Mono is the default;
   prose is used only on the real paragraphs (the story, the facts, the
   captions). Flat, opaque, hairline-separated, amber and green only. */
:root {
  --bg: #04060a; --bg-sunk: #070a0f; --bg-raise: #0b0f16;
  --line: #131a24; --line-strong: #1d2735;
  --text: #eaf0f7; --text-dim: #aab6c6; --muted: #5d6b7d;
  --accent: #f5a524; --live: #35d07f; --alert: #ff5c5c; --neutral: #8f9dae;
  --r: 4px; --r-sm: 2px;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  --font-prose: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --fs-micro: 9.5px; --fs-xs: 11.5px; --fs-sm: 12px; --fs-md: 12.5px; --fs-base: 13.5px;
  --fs-num: 22px; --fs-num-sm: 17px;
  --sp-1: 4px; --sp-2: 6px; --sp-3: 8px; --sp-4: 10px; --sp-5: 12px; --sp-6: 16px; --sp-7: 20px; --sp-8: 28px;
  --t-fast: 120ms; --t-base: 180ms; --ease: cubic-bezier(.2,.7,.3,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-mono); font-size: var(--fs-base); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
.micro { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.skip { position: absolute; left: -9999px; top: var(--sp-3); background: var(--accent); color: var(--bg); padding: var(--sp-3) var(--sp-5); border-radius: var(--r); z-index: 10; }
.skip:focus { left: var(--sp-3); }

.top {
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--line);
  padding-top: max(var(--sp-5), env(safe-area-inset-top));
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--text); }
.brand img { display: block; }
.wordmark { width: 104px; height: auto; }
.top-nav { display: flex; gap: var(--sp-7); }
.top-nav a { text-decoration: none; color: var(--text-dim); font-size: var(--fs-md); }
.top-nav a:hover { color: var(--text); }
@media (max-width: 640px) { .top-nav { display: none; } }

main { max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-6); }
section { padding: var(--sp-8) 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-7); }
h1 { font-size: var(--fs-num); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h2 { font-size: var(--fs-num-sm); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h3 { font-size: var(--fs-base); font-weight: 700; }
.prose { font-family: var(--font-prose); font-size: var(--fs-base); color: var(--text-dim); max-width: 64ch; }
.prose + .prose { margin-top: var(--sp-5); }
.prose strong { color: var(--text); font-weight: 600; }
.lede { font-family: var(--font-prose); color: var(--text-dim); max-width: 60ch; }
.note { font-size: var(--fs-xs); color: var(--muted); }
.gap-top { margin-top: var(--sp-5); }
.gap-top-lg { margin-top: var(--sp-8); }

/* facts: one hairline per row, the numeral or claim is the loudest thing */
.facts { display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: var(--sp-6); padding: var(--sp-5) 0; border-top: 1px solid var(--line); align-items: baseline; }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { font-size: var(--fs-num-sm); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.fact dd { margin: 0; font-family: var(--font-prose); color: var(--text-dim); }
.fact dt.live { color: var(--live); }
.fact dt.accent { color: var(--accent); }
@media (max-width: 560px) { .fact { grid-template-columns: 1fr; gap: var(--sp-1); } }

/* quotable lines: bordered because each is a control the reader selects */
.quotes { display: grid; gap: var(--sp-5); }
.quote { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg-raise); padding: var(--sp-5) var(--sp-6); display: grid; gap: var(--sp-2); }
.quote p { font-family: var(--font-prose); color: var(--text); }
.quote .micro { color: var(--muted); }

/* asset tables */
.assets { width: 100%; border-collapse: collapse; }
.assets th, .assets td { text-align: left; padding: var(--sp-4) var(--sp-3) var(--sp-4) 0; border-top: 1px solid var(--line); vertical-align: top; font-size: var(--fs-md); }
.assets th { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.assets tr:last-child td { border-bottom: 1px solid var(--line); }
.assets td.dim { color: var(--text-dim); }
.assets .num { font-variant-numeric: tabular-nums; }

/* screenshots */
.shots { list-style: none; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shot { display: grid; gap: var(--sp-3); border-top: 1px solid var(--line); padding-top: var(--sp-4); }
.shot a { display: block; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); }
.shot figcaption { font-size: var(--fs-xs); color: var(--text-dim); font-family: var(--font-prose); }
.shot .micro { display: block; }

/* logo row */
.logos { list-style: none; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.logo { display: grid; gap: var(--sp-3); border-top: 1px solid var(--line); padding-top: var(--sp-4); }
.logo-well { display: grid; place-items: center; height: 120px; background: var(--bg-sunk); border-radius: var(--r); border: 1px solid var(--line); }
.logo-well img { max-width: 72%; max-height: 72%; height: auto; }
.logo-well.on-light { background: var(--text); }
.logo dd { margin: 0; font-size: var(--fs-xs); color: var(--muted); }

/* colour swatches */
.swatches { list-style: none; padding: 0; display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.swatch { display: grid; gap: var(--sp-2); font-size: var(--fs-xs); }
.swatch i { display: block; height: 40px; border-radius: var(--r); border: 1px solid var(--line-strong); }
.swatch b { color: var(--text); font-weight: 700; }
.swatch span { color: var(--muted); }

/* contact and boilerplate */
.two { display: grid; gap: var(--sp-8); }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; } }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--sp-3) var(--sp-6); }
.contact dt { color: var(--muted); font-size: var(--fs-xs); }
.contact dd { margin: 0; }

.foot { max-width: 1120px; margin: 0 auto; padding: var(--sp-8) var(--sp-6) max(var(--sp-8), env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: var(--sp-5); color: var(--muted); font-size: var(--fs-xs); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-7); }
.foot nav a { text-decoration: none; color: var(--text-dim); }
.foot nav a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (prefers-contrast: more) { :root { --line: #1d2735; --muted: #8f9dae; } }
