/* Designsesh design tokens — Pass A + B (consolidated).
   Source: design-system/DESIGN-SYSTEM.md. Loads BEFORE style.css on every page.
   Legacy names (--paper, --ink, --red, --line, --gutter, --case-*) remain as aliases in style.css. */
:root{
  /* Colour */
  /* Colour tiers (Pass B: D2-D6) */
  --color-ink:#24231f;
  --color-accent:#c72b32;
  --color-text-strong:#5f5a4f;--color-text-muted:#6b6860;--color-text-subtle:#73736c;--color-text-disabled:#949489;
  --color-line:#e3e0d9;--color-line-strong:#cfcabd;
  --color-surface-1:#faf9f5;--color-surface-2:#f4f2ed;
  --color-canvas:#fff;
  --color-on-accent:#fff;
  --color-on-media:#fff;
  /* Ink + accent */
  
  
  /* Text greys */
  /* Lines */
  /* Surfaces */
  /* On-media / footer */
  --color-footer-night:#172026;
  --color-media-fallback:#17232b;
  --color-on-media-line:#ffffff35;
  --color-on-media-muted:#ffffffc7;
  --color-surface-glass-bar:#ffffffee;
  /* Project palette aliases (set per page on <body> as --case-accent / --case-tint) */
  /* Typography */
  --font-sans:Arial,Helvetica,sans-serif;
  --font-wordmark:'Pottery Gifts',Arial,sans-serif;
  --font-quote:Baskerville,"Times New Roman",serif;
  --weight-regular:400;
  --tracking-heading:-.055em;--tracking-display-tight:-.06em;--tracking-display-tighter:-.065em;--tracking-title:-.04em;--tracking-snug:-.025em;--tracking-caps:.1em;--tracking-wordmark:-.035em;
  --leading-display:1.04;--leading-title:1.12;--leading-ui:1.5;--leading-body:1.7;--leading-reading:1.8;
  --text-micro:9px;--text-caption:10px;--text-xs:11px;--text-sm:12px;--text-nav:13px;--text-body-sm:14px;--text-body:15px;--text-body-lg:17px;--text-lead:21px;--text-title-sm:24px;--text-title:28px;--text-section-fixed:32px;
  --text-section:clamp(30px,3.2vw,49px);--text-page:clamp(40px,4.6vw,72px);--text-case-title:clamp(42px,4.6vw,64px);--text-display:clamp(64px,8vw,120px);--text-wordmark-footer:clamp(62px,9vw,145px);--text-quote:clamp(28px,3.2vw,44px);
  /* Spacing (4px grid) */
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--space-24:96px;
  --grid-gap:28px;--gutter-compact:16px;--hero-reserve:70svh;
  /* Layout */
  --header-height:100px;--content-max:1760px;--reading-max:700px;--article-heading-max:920px;--footer-bounce-offset-base:120px;
  /* Radius */
  --radius-xs:3px;--radius-sm:4px;--radius-md:8px;--radius-xl:12px;--radius-pill:999px;--radius-round:50%;--radius-icon:24%;
  /* Elevation + glass */
  --shadow-device:drop-shadow(0 12px 18px #0003);--shadow-device-lg:drop-shadow(0 20px 25px #0002);--shadow-window:0 20px 45px #24231f16;--shadow-paper:0 8px 20px #25252115;--shadow-control:0 4px 15px #0002;
  --shadow-header:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -1px 0 rgba(36,35,31,.08),0 5px 20px rgba(36,35,31,.04);
  --glass-header-filter:blur(20px) saturate(135%);--glass-bar-filter:blur(12px);
  /* Motion */
  --duration-instant:120ms;--duration-fast:180ms;--duration-base:200ms;--duration-medium:240ms;--duration-slow:350ms;--duration-slower:450ms;--duration-ambient:900ms;
  --ease-standard:ease;--ease-out-soft:cubic-bezier(.2,.7,.2,1);--zoom-subtle:1.015;--zoom-device:1.025;
}
@media(max-width:600px){:root{--header-height:90px}}
body{--project-accent:var(--case-accent);--project-tint:var(--case-tint)}

/* Project audit motion, 27 October 2026; used below project entrances only. */
:root{--motion-ease-out:cubic-bezier(.16,1,.3,1);--motion-ease-inout:cubic-bezier(.65,0,.35,1);--motion-fast:240ms;--motion-base:600ms;--motion-slow:1100ms;--motion-stagger:80ms;--reveal-distance:28px;--parallax-max:12%}
