/* ============================================================
   slashdothash.tech — design tokens
   Direction: technical broadsheet. Paper ground, near-black ink,
   one signal accent. Hard rules, exposed grid, mono data labels.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
}

:root {
  /* ---- Palette ---- */
  --paper:      #f2f1ec;
  --paper-2:    #e8e7e0;
  --paper-3:    #dcdbd2;
  --ink:        #0c0c0d;
  --ink-2:      #333436;
  --muted:      #6e706c;
  --muted-2:    #8b8d87;
  --rule:       #d2d1c8;
  --rule-2:     #bcbbb1;
  --rule-ink:   #2a2b2c;
  --signal:     #ff4a1c;
  --signal-in:  #ff6a42;
  --bone:       #f2f1ec;
  --white:      #fcfcf8;
  --good:       #1f7a4d;

  /* ---- Type ---- */
  --display: "Archivo", "Archivo Expanded", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas,
    monospace;

  --t-display: clamp(2.9rem, 8.4vw, 7.6rem);
  --t-h1:      clamp(2.35rem, 5.4vw, 4.4rem);
  --t-h2:      clamp(1.75rem, 3.4vw, 2.9rem);
  --t-h3:      clamp(1.1rem, 1.55vw, 1.32rem);
  --t-body:    1.125rem;
  --t-small:   0.875rem;
  --t-mono:    0.75rem;
  --t-mono-sm: 0.6875rem;

  --leading: 1.62;
  --tracking-tight: -0.035em;
  --tracking-mono: 0.12em;

  /* ---- Layout ---- */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 64px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;
  --sp-32: 128px;
  --radius: 2px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 240ms;
  --dur-fast: 140ms;
  --dur-slow: 560ms;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--signal); color: var(--ink); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--rule-2); border: 3px solid var(--paper-2); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.mono {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 600;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
