/* Wild Rapha design tokens. Source: Brand Book (vault), 2026-12-06.
   Import in every page: <link rel="stylesheet" href="/brand/tokens.css"> */

@font-face{font-family:"League Spartan";src:url("fonts/LeagueSpartan-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"League Spartan";src:url("fonts/LeagueSpartan-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"League Spartan";src:url("fonts/LeagueSpartan-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"League Spartan";src:url("fonts/LeagueSpartan-Light.woff2") format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Martian Mono";src:url("fonts/MartianMono-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Martian Mono";src:url("fonts/MartianMono-Medium.woff2") format("woff2");font-weight:500;font-display:swap}

:root{
  /* Colour (Brand Book) */
  --black:#1A1A1A;
  --cream:#F0EAE0;
  --tan:#A79270;
  --yellow:#F5C064;
  --orange:#D87833;   /* emphasis + primary CTA */
  --teal:#3C6D6D;
  --navy:#1B2A41;
  /* Derived */
  --paper-2:#E6DED2;            /* alternate cream section */
  --ink-soft:#4A433C;           /* body text on cream */
  --line:rgba(26,26,26,.14);
  --line-on-dark:rgba(240,234,224,.16);
  --orange-hover:#C2672A;

  /* Type: jobs from the Brand Book */
  --font-display:"League Spartan",system-ui,sans-serif;              /* attention, hooks, big statements */
  --font-body:"Helvetica Neue",Helvetica,Inter,Arial,sans-serif;     /* clarity */
  --font-mono:"Martian Mono",ui-monospace,monospace;                 /* structure: numbers, labels, weeks */

  /* Type scale (fluid) */
  --t-hero:clamp(52px,9.5vw,152px);
  --t-h2:clamp(38px,5.6vw,88px);
  --t-h3:clamp(24px,2.4vw,34px);
  --t-lead:clamp(18px,1.5vw,21px);
  --t-body:17px;
  --t-label:11.5px;

  /* Space */
  --gutter:clamp(20px,4vw,56px);
  --section:clamp(88px,12vw,168px);
  --maxw:1320px;

  /* Shape + motion */
  --radius:3px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --t-fast:200ms;
  --t-reveal:650ms;
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
