/* Prostman · LAUT — design tokens
 * theme: custom · vibe: "gold poster, navy slabs, loud type, sober print"
 * axes: mid (gold paper, L 82 %) / display-condensed-bold / warm (gold, h 81)
 * Brand anchors: navy-black #111929 · gold #FDB702 · light gold #F9DA6E · foam #FCF7ED · outline navy #021531
 */

@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* ── Brand anchors (OKLCH of the icon palette) ─────────────── */
  --color-gold:        oklch(82.3% 0.170 80.7);   /* #FDB702 — the paper */
  --color-gold-light:  oklch(89.3% 0.132 93.6);   /* #F9DA6E */
  --color-navy:        oklch(21.4% 0.034 263.5);  /* #111929 — ink + slabs */
  --color-navy-deep:   oklch(19.9% 0.062 256.5);  /* #021531 — the icon outline */
  --color-foam:        oklch(97.7% 0.014 84.6);   /* #FCF7ED — text on navy */

  /* ── Derived steps (tinted toward the anchors) ─────────────── */
  --color-ink-2:       oklch(34% 0.040 263);      /* secondary text on gold · 6.7:1 */
  --color-foam-2:      oklch(84% 0.030 85);       /* secondary text on navy · 10.8:1 */
  --color-navy-2:      oklch(27% 0.040 263);      /* one step up on navy */
  --color-navy-rule:   oklch(40% 0.045 263);      /* hairlines on navy */

  /* ── HTTP methods & status (set on navy chips; all ≥ 6.6:1) ── */
  --color-get:         oklch(80% 0.17 150);
  --color-post:        oklch(78% 0.15 60);
  --color-put:         oklch(75% 0.12 245);
  --color-delete:      oklch(72% 0.16 25);
  --color-ok:          var(--color-get);

  /* ── Semantic roles ────────────────────────────────────────── */
  --color-paper:       var(--color-gold);
  --color-ink:         var(--color-navy);
  --color-slab:        var(--color-navy);
  --color-accent:      var(--color-gold);
  --color-accent-ink:  var(--color-navy);        /* text on any gold fill · 10:1 */
  --color-focus-on-gold: var(--color-navy-deep);
  --color-focus-on-navy: var(--color-gold-light);

  /* ── Type ──────────────────────────────────────────────────── */
  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --font-body:    "Schibsted Grotesk", ui-sans-serif, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* five sizes, perfect-fifth-ish steps, fluid at the top */
  --text-display:   clamp(3.25rem, 20vw, 9rem);     /* hero + the loudest declaration */
  --text-display-s: clamp(2.75rem, 9vw, 6.5rem);    /* declarations */
  --text-xl:        clamp(1.625rem, 2.2vw + 0.9rem, 2.5rem); /* sub-declarations, OS names */
  --text-md:        clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem); /* body + explanations */
  --text-sm:        0.875rem;                          /* meta, captions, code */

  --leading-caps:  1.02;
  --leading-body:  1.55;

  /* ── Space (4-pt) ──────────────────────────────────────────── */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --page-gutter: clamp(1rem, 4vw, 3.5rem);
  --page-max:    90rem;
  --overlap:     clamp(3rem, 12vw, 13rem);  /* hero shot reaching into the first slab */

  /* ── Rules ─────────────────────────────────────────────────── */
  --rule-hair:  1px;
  --rule-slab:  4px;

  /* ── Radius (poster: none) ─────────────────────────────────── */
  --radius-none: 0;
  --radius-chip: 2px;

  /* ── Motion ────────────────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro:   100ms;
  --dur-short:   160ms;   /* Manifesto scale ≈ 0.7× */
  --dur-long:    420ms;
  --dur-marquee: 32s;

  /* ── Z scale ───────────────────────────────────────────────── */
  --z-base:     1;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
}
