/* Brand kit v1.0 · Penpot version 'brand-kit-v1.0' · 2026-11-17
   web/web.css — builds on ../core/brand.css and never redefines its tokens.
   Load order: <link rel="stylesheet" href="core/brand.css"> then <link rel="stylesheet" href="web/web.css">.

   Breakpoints (mobile first; custom properties cannot be used inside media queries, so use these literal values):
     sm  min-width: 600px   two-column grids start
     md  min-width: 900px   full navigation; below 900px the nav folds into the burger
     lg  min-width: 1240px  content reaches its 1240px maximum
*/
/* web-tokens.css: the token blocks of the brand kit's web/web.css, copied by tools/brand_sync.py.
   Do not edit: change Penpot, export a new kit, run the script. */

:root {
  /* Breakpoints and containers (Penpot core: bp.*, container.*) */
  --bp-sm: 600px; /* bp.sm */
  --bp-md: 900px; /* bp.md */
  --bp-lg: 1240px; /* bp.lg */
  --container-max: 1240px; /* container.max */
  --container-gutter-sm: 20px; /* container.gutter.sm */
  --container-gutter-lg: 28px; /* container.gutter.lg */
  --container-gutter: var(--container-gutter-sm);
  --space-section: var(--space-section-sm);

  /* Fluid type scale: mobile size at 375px to desktop size at 1240px (Penpot type.mobile.* -> type.web.*) */
  --fluid-display: clamp(42px, 23.792px + 4.8555vw, 84px); /* type.mobile.display 42px -> type.web.display 84px */
  --fluid-h1: clamp(32px, 22.462px + 2.5434vw, 54px); /* type.mobile.h1 32px -> type.web.h1 54px */
  --fluid-h2: clamp(28px, 21.064px + 1.8497vw, 44px); /* type.mobile.h2 28px -> type.web.h2 44px */
  --fluid-h3: clamp(26px, 23.399px + 0.6936vw, 32px); /* type.mobile.h3 26px -> type.web.h3 32px */
  --fluid-h4: clamp(21px, 19.699px + 0.3468vw, 24px); /* type.mobile.h4 21px -> type.web.h4 24px */
  --fluid-h5: clamp(19px, 17.699px + 0.3468vw, 22px); /* type.mobile.h5 19px -> type.web.h5 22px */
  --fluid-lead: clamp(17px, 15.699px + 0.3468vw, 20px); /* type.mobile.lead 17px -> type.web.lead 20px */
  --fluid-body: clamp(16px, 15.566px + 0.1156vw, 17px); /* type.mobile.body 16px -> type.web.body 17px */
  --fluid-caption: clamp(13px, 12.566px + 0.1156vw, 14px); /* type.mobile.caption 13px -> type.web.caption 14px */
  --fluid-headline: var(--fluid-h2); --fluid-subhead: var(--fluid-lead);

  /* Motion (Penpot core: motion.*; easing recorded on Foundations, not a Penpot token type) */
  --motion-duration-fast: 150ms; /* motion.duration.fast */
  --motion-duration-base: 250ms; /* motion.duration.base */
  --motion-duration-slow: 450ms; /* motion.duration.slow */
  --motion-duration-enter: 800ms; /* motion.duration.enter */
  --motion-stagger: 75ms; /* motion.stagger */
  --motion-distance-drop: 18px; /* motion.distance.drop */
  --motion-distance-lift: 10px; /* motion.distance.lift */
  --motion-ease-out: cubic-bezier(.2,.7,.1,1);
  --transition-fast: var(--motion-duration-fast) var(--motion-ease-out);
  --transition-base: var(--motion-duration-base) var(--motion-ease-out);

  /* Focus ring (Penpot core: focus.width, focus.offset; colour = border.focus) */
  --focus-width: 2px; /* focus.width */
  --focus-offset: 2px; /* focus.offset */
  --focus-ring: var(--focus-width) solid var(--color-border-focus);

  /* Z-index scale (web only) */
  --z-base: 0; --z-header: 100; --z-floating: 200; --z-overlay: 300; --z-toast: 400;
  --checkbox-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EEEEEB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

@media (min-width: 600px) { :root { --space-section: var(--space-section-md); } }
@media (min-width: 900px) { :root { --container-gutter: var(--container-gutter-lg); --space-section: var(--space-section-lg); } }

@media (prefers-reduced-motion: reduce) {
  :root { --motion-duration-fast: 0ms; --motion-duration-base: 0ms; --motion-duration-slow: 0ms; --motion-duration-enter: 0ms; --motion-stagger: 0ms; --motion-distance-drop: 0px; --motion-distance-lift: 0px; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
