/* ============================================================
   THE SOLO VIDEO PIPELINE — site base
   Direction: "The Spec Sheet" — warm technical paper, ink,
   one signal orange. Flat. Print-like. Receipts-based.
   Tokens from the design system (design-tokens.css), trimmed
   to what the site uses. Fonts self-hosted (OFL).
   ============================================================ */

/* ---------- fonts (Archivo is a variable font: one file, 100–900) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/archivo-var-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plexmono-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/plexmono-500-latin.woff2) format('woff2');
}

:root {
  /* color / ground */
  --ground:        #F2EEE6;
  --panel:         #FBF9F4;
  --panel-tint:    #EAE4D8;
  /* color / ink */
  --ink:           #191714;
  --muted:         #5D584E;
  --faint:         #8A857A;
  /* color / lines */
  --line:          #191714;
  --line-soft:     #D9D3C6;
  /* color / accent (exactly one) */
  --accent:        #E8500F;
  --on-accent:     #FBF9F4;
  /* semantic */
  --err:           #A3402E;
  /* type */
  --font-display:  'Archivo', 'Helvetica Neue', sans-serif;
  --font-mono:     'IBM Plex Mono', 'SFMono-Regular', monospace;
  --w-black:       900;
  --w-heavy:       800;
  --w-bold:        700;
  --w-medium:      500;
  --w-regular:     400;
  --track-tight:  -0.02em;
  --track-label:   0.08em;
  /* type scale */
  --text-display:  clamp(38px, 6.2vw, 64px);
  --text-h2:       28px;
  --text-body:     17px;
  --text-small:    14px;
  --text-data:     15px;
  --text-label:    12px;
  /* spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  /* radii — flat system, corners are sharp */
  --radius-1:      2px;
  /* rules */
  --rule-hair:     1px solid var(--line-soft);
  --rule-ink:      1px solid var(--line);
  --rule-frame:    3px solid var(--line);
  /* motion */
  --dur-tick:      150ms;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; box-sizing: border-box; }
html { height: 100%; }
body {
  min-height: 100%;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* mono machine text */
.label {
  font: var(--w-medium) var(--text-label)/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--faint);
}

/* the accent tick — the brand's underline */
.tick { width: 48px; height: 8px; background: var(--accent); }

/* wordmark lockup with registration ticks (TL + BR) */
.lock { position: relative; display: inline-block; padding: 18px 26px; }
.lock .tl { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-left: 3px solid var(--accent); border-top: 3px solid var(--accent); }
.lock .br { position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); }
.lock .wm { font: var(--w-heavy) 21px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); }

/* shared footer */
footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5);
  padding: var(--s-5); border-top: var(--rule-hair);
  font: var(--w-regular) 12px/1.4 var(--font-mono); color: var(--faint);
}
footer a { color: var(--faint); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: var(--s-8) var(--s-5) var(--s-9); }
.legal h1 { font: var(--w-heavy) 34px/1.1 var(--font-display); letter-spacing: var(--track-tight); margin: var(--s-4) 0 var(--s-2); }
.legal .sub { color: var(--muted); font-size: var(--text-small); }
.legal h2 { font: var(--w-bold) 20px/1.25 var(--font-display); margin: var(--s-7) 0 var(--s-3); padding-top: var(--s-4); border-top: var(--rule-hair); }
.legal h3 { font: var(--w-bold) 17px/1.3 var(--font-display); margin: var(--s-5) 0 var(--s-2); }
.legal p, .legal li { color: var(--muted); margin-bottom: var(--s-3); }
.legal ul { padding-left: 22px; margin-bottom: var(--s-4); }
.legal code { font: var(--w-medium) 14px/1 var(--font-mono); color: var(--ink); }
.legal .home { display: inline-block; margin-top: var(--s-7); font: var(--w-medium) var(--text-label)/1 var(--font-mono); text-transform: uppercase; letter-spacing: var(--track-label); }
