/* SHARED FOUNDATION — identical on every site. Never override in a brand theme. */
:root{
  /* Breakpoints (reference values; CSS media queries use the literal px): sm 640 · md 860 · lg 1120 */
  --bp-sm:640px; /* @kind other */
  --bp-md:860px; /* @kind other */
  --bp-lg:1120px; /* @kind other */

  /* Grid */
  --container-max:1160px;
  --container-narrow:720px;
  --space-gutter:clamp(20px, 4vw, 40px);
  --grid-col-min:260px;
  --grid-col-min-wide:320px;

  /* Type sizes (scale feel is themed via --type-scale on headings) */
  --font-size-xs:0.75rem;
  --font-size-sm:0.875rem;
  --font-size-md:1rem;
  --font-size-lg:1.125rem;
  --font-size-xl:1.375rem;
  --font-size-2xl:1.75rem;
  --font-size-3xl:2.25rem;
  --font-size-4xl:3rem;
  --font-weight-body:400;
  --font-weight-medium:500;
  --font-weight-strong:600;
  --line-height-tight:1.12;
  --line-height-snug:1.3;
  --line-height-ui:1.4;

  /* Component dimensions (structure) */
  --size-icon-sm:16px;
  --size-icon-md:20px;
  --size-icon-lg:24px;
  --size-badge:24px;
  --size-dot:6px;
  --size-checkbox:20px;
  --size-avatar:32px;
  --size-marker:32px;
  --size-tile:36px;
  --size-empty-icon:40px;
  --size-nav-item:40px;
  --size-segment:36px;
  --size-sidebar:232px;
  --size-panel:420px;
  --size-modal-md:480px;
  --size-modal-lg:640px;
  --size-banner:720px;
  --size-prose:560px;
  --size-section-head:640px;
  --size-measure:68ch;
  --size-textarea:96px;

  /* Lines, focus, blur, layers */
  --border-width:1px;
  --border-width-strong:2px;
  --border-width-check:1.5px;
  --focus-width:3px;
  --focus-offset:2px;
  --blur-nav:10px;
  --z-nav:50; /* @kind other */
  --z-banner:900; /* @kind other */
  --z-overlay:1000; /* @kind other */

  /* Motion (behaviour = shared) */
  --duration-fast:120ms; /* @kind other */
  --duration-base:180ms; /* @kind other */
  --duration-slow:280ms; /* @kind other */
  --ease-standard:cubic-bezier(.2,0,0,1); /* @kind other */
  --ease-exit:cubic-bezier(.4,0,1,1); /* @kind other */
  --rise-distance:8px;
  --press-distance:1px;

  /* Semantic status colours — shared so meaning never changes between brands */
  --color-success:#1D7A4C; --color-success-subtle:#E7F4EC; --color-success-text:#155C39;
  --color-warning:#9A6200; --color-warning-subtle:#FBF1DE; --color-warning-text:#6F4700;
  --color-danger:#B42318;  --color-danger-subtle:#FDECEA;  --color-danger-text:#8A1A12;
  --color-info:#3F5872;    --color-info-subtle:#EDF1F5;    --color-info-text:#2E4257;
  --radius-full:999px;
}
@media (prefers-reduced-motion: reduce){:root{--duration-fast:0ms; /* @kind other */ --duration-base:0ms; /* @kind other */ --duration-slow:0ms; /* @kind other */ --rise-distance:0px}}
