/* The Branded House v3 - "The Proof". Design tokens (primitive -> semantic -> component).
   Palette (David, 2026-12-04): two neutrals + one ink accent.
     --ink    #16181B  press black: body text, rules, the 3D hoodie
     --paper  #F6F6F3  cool press white: never cream, never pure #fff for the page
     --accent #D6006F  process magenta: the primary CTA, the OK-to-print stamp, ONE image treatment. Nothing else.
   CMY process inks live ONLY inside proof devices (colour bar, seal) and division chips - never as UI colour.
   AA (checked): accent/paper 4.74 · paper/accent 5.14 · ink/paper 16.4 · muted/paper 4.79.

   COMPOSITION CONTRACT (nextlevel Stage 2.5) - every section is held to it:
   - display reaches 88-160px at 1440 (--fs-display); hero:body >= 6:1
   - no 1fr 1fr content split: 7fr 5fr, 2fr 1fr, 1fr 1.618fr
   - no repeat(auto-fit, minmax()) card grid
   - >= 3 measures: full-bleed, --w-wide 1400px, --w-text 64ch; at least one section escapes the container
   - section padding >= 12vh; hero >= 85vh */

:root {
  /* primitives */
  --ink-900: #16181B;
  --ink-700: #2E3135;
  --ink-500: #6B6D70;   /* muted text, 4.79:1 on paper */
  --paper-0: #FFFFFF;   /* card stock only, never the page */
  --paper-50: #F6F6F3;  /* the page */
  --paper-100: #ECECE7; /* sunk surfaces */
  --paper-200: #DEDED8; /* wells, inputs */
  --magenta-600: #D6006F;
  --magenta-700: #B0005B; /* hover / pressed */
  --magenta-100: #FBE3EF; /* the one wash */
  --proc-c: #00A0E3; --proc-m: #E5007E; --proc-y: #FFE600; --proc-k: #16181B; /* proof devices only */

  /* semantic */
  --bg: var(--paper-50);
  --bg-sunk: var(--paper-100);
  --card: var(--paper-0);
  --fg: var(--ink-900);
  --fg-muted: var(--ink-500);
  --line: rgba(22, 24, 27, .12);
  --line-strong: rgba(22, 24, 27, .24);
  --accent: var(--magenta-600);
  --accent-hover: var(--magenta-700);
  --accent-wash: var(--magenta-100);
  --on-accent: #FFFFFF;
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink-900);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .8);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 50px -20px rgba(22,24,27,.28);
  --ok: #0E7A3E; --warn: #8A5A00; --bad: #B42318; /* status only, always with a label */

  /* type: Anybody (display, variable width) + Hanken Grotesk (body) */
  --font-display: "Anybody", "Arial Black", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --wdth-display: 132;          /* font-stretch % for headlines; animates 72 -> 132 on the stamp */
  --fs-display: clamp(3.4rem, 9.4vw, 9.5rem);  /* 152px @1440 - hero */
  --fs-xxl: clamp(2.8rem, 7vw, 7rem);          /* section statements, 100px @1440 */
  --fs-xl: clamp(2.1rem, 4.2vw, 4.2rem);
  --fs-lg: clamp(1.5rem, 2.4vw, 2.2rem);
  --fs-md: 1.25rem;
  --fs-body: 1.0625rem;   /* 17px: display:body = 8.9:1 */
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --track-display: -0.025em;
  --lh-display: .86;

  /* layout */
  --gutter: clamp(16px, 4vw, 64px);
  --w-wide: 1400px;
  --w-text: 64ch;
  --section-y: max(12vh, 96px);
  --radius-s: 6px;     /* inputs, pills */
  --radius-m: 14px;    /* cards */
  --radius-l: 28px;    /* the stage, glass panels */

  /* motion: one hand for the whole site */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;
}

@media (max-width: 760px) {
  :root { --section-y: max(10vh, 72px); --fs-body: 1rem; }
}
