/* Le Micro Sartois — Design Tokens 2026
 * Version: 1.0.0 | Owner: public/assets/lms-design-tokens.css
 *
 * Original system inspired by principles of restrained editorial design:
 * neutral surfaces, readable typography, ample spacing, understated motion.
 * OpenAI Sans is a brand-specific font. DM Sans (OFL) reproduces the
 * public typography proportions without redistributing proprietary assets.
 *
 * How to customize:
 * 1. Set the neutral values in the design kit.
 * 2. Use --lms-ds-* variables for new components.
 * 3. Brand color comes from --accent (admin-controlled design kit).
 *    Never assign a literal orange here: changes must flow to the entire UI.
 * 4. For text/buttons we blend the actual accent with readable text color;
 *    this prevents a bright user-selected accent from harming contrast.
 * 5. The site uses one black background, one light text and one kit accent.
 * 6. --lms-ds-content constrains editorial content; do not override
 *    full-bleed media, feeds, interactive maps, or user-uploaded imagery.
 */
/* DM Sans: SIL Open Font License, copied from google/fonts/ofl/dmsans.
 * Served from this domain; no external Google Fonts request or CSP allowance.
 * See public/assets/fonts/OFL-DMSans.txt for the license. */
@font-face{
  font-family:"DM Sans";
  src:url("fonts/DMSans-Variable.woff2") format("woff2");
  font-weight:100 1000;
  font-style:normal;
  font-display:swap;
}
:root {
  color-scheme:dark;
  --lms-ds-font:var(--lms-kit-font,"DM Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif);
  --lms-ds-font-size:var(--lms-kit-size-body,17px);
  --lms-ds-text-xs:13px;
  --lms-ds-text-sm:14px;
  --lms-ds-text-md:16px;
  --lms-ds-text-lg:18px;
  --lms-ds-text-lead:var(--lms-kit-size-lead,18px);
  --lms-ds-card-title:var(--lms-kit-size-card,18px);
  --lms-ds-nav-size:var(--lms-kit-size-nav,14px);
  --lms-ds-button-size:var(--lms-kit-size-button,15px);
  --lms-ds-body-leading:var(--lms-kit-line-height,1.65);
  --lms-ds-body-weight:var(--lms-kit-weight-body,400);
  --lms-ds-label-weight:var(--lms-kit-weight-label,500);
  --lms-ds-heading-1:var(--lms-kit-h1,clamp(30px,4vw,48px));
  --lms-ds-heading-2:var(--lms-kit-h2,clamp(24px,2.7vw,32px));
  --lms-ds-heading-3:var(--lms-kit-h3,clamp(20px,2.1vw,24px));
  --lms-ds-leading:var(--lms-kit-line-height,1.65);
  --lms-ds-leading-heading:var(--lms-kit-heading-line-height,1.16);
  --lms-ds-weight-body:var(--lms-kit-weight-body,400);
  --lms-ds-weight-title:var(--lms-kit-weight-title,700);
  --lms-ds-letter-heading:var(--lms-kit-letter-spacing,-.03em);
  --lms-ds-letter-body:-.01em;
  --lms-ds-weight-nav:var(--lms-kit-weight-nav,500);
  --lms-ds-weight-card:var(--lms-kit-weight-card,500);
  --lms-ds-leading-display:1.16;
  --lms-ds-leading-lead:1.32;
  --lms-ds-content:1200px;
  --lms-ds-reading:72ch;
  --lms-ds-gutter:clamp(16px,calc(3.2vw * var(--lms-kit-spacing-scale,1)),calc(48px * var(--lms-kit-spacing-scale,1)));
  --lms-ds-space-1:calc(4px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-2:calc(8px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-3:calc(12px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-4:calc(16px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-5:calc(24px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-6:calc(32px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-7:calc(48px * var(--lms-kit-spacing-scale,1));
  --lms-ds-space-8:calc(64px * var(--lms-kit-spacing-scale,1));
  --lms-ds-section:clamp(38px,6vw,88px);
  --lms-ds-radius-sm:var(--lms-kit-radius-sm,10px);
  --lms-ds-radius-md:var(--lms-kit-radius-md,16px);
  --lms-ds-radius-lg:var(--lms-kit-radius-lg,22px);
  --lms-ds-radius-pill:var(--lms-kit-radius-button,999px);
  --lms-ds-motion-fast:150ms;
  --lms-ds-motion:220ms;
  --lms-ds-motion-ease:cubic-bezier(.2,.7,.2,1);
  /* Brand kit is authoritative: dynamic theme_css sets --accent. */
  --lms-ds-brand:var(--accent);
  --lms-ds-accent:var(--lms-ds-brand);
  /* Accessible UI color computed from the current kit accent, not hardcoded. */
  --lms-ds-action:var(--accent);
  --lms-ds-action-hover:var(--accent-hover,var(--accent));
  --lms-ds-action-text:var(--accent-text,var(--lms-ds-ink));
  --lms-ds-action-on:var(--accent-contrast,#000000);
  --lms-ds-accent-soft:color-mix(in srgb,var(--lms-ds-accent) 9%,var(--lms-ds-paper));
  --lms-ds-accent-line:color-mix(in srgb,var(--lms-ds-accent) 35%,var(--lms-ds-line));
  --lms-ds-bg:var(--lms-kit-bg,#111111);
  --lms-ds-paper:var(--lms-kit-paper,color-mix(in srgb,var(--lms-ds-bg) 93%,var(--lms-ds-ink)));
  --lms-ds-muted-surface:var(--lms-kit-soft,color-mix(in srgb,var(--lms-ds-bg) 88%,var(--lms-ds-ink)));
  --lms-ds-ink:var(--lms-kit-ink,#f5f5f3);
  --lms-ds-ink-soft:var(--lms-kit-muted,color-mix(in srgb,var(--lms-ds-ink) 68%,var(--lms-ds-bg)));
  --lms-ds-line:var(--lms-kit-line,color-mix(in srgb,var(--lms-ds-ink) 23%,var(--lms-ds-bg)));
  --lms-ds-outline:var(--lms-ds-action-text);
  --lms-ds-shadow:var(--lms-kit-shadow,0 3px 18px rgba(20,27,22,.045));
  --lms-ds-shadow-hover:var(--lms-kit-shadow-hover,0 12px 34px rgba(20,27,22,.09));
  --lms-ds-overlay:rgba(17,20,18,.62);
}
@media (prefers-reduced-motion:reduce) {
  :root{--lms-ds-motion-fast:0ms;--lms-ds-motion:0ms}
}
