/* Scroll Story Kit tokens. Colour, type, space and shape that every section reads (--sk-*).
   Link this file first. Change a value here and every section follows.
   Light by default, dark when the system asks for it, and data-theme="light" or "dark" on <html> forces one.
   Sundry Mill, Scroll Story Kit 1.0, 29 Nov 2026. */
:root {
  color-scheme: light;
  /* colour */
  --sk-paper: #F5F1EA;      /* page background */
  --sk-surface: #FFFDF8;    /* cards and panels */
  --sk-sunk: #EAE4D9;       /* wells, tracks, placeholder fills */
  --sk-ink: #1C1A17;        /* text */
  --sk-ink-2: #59544B;      /* quiet text (6.9:1 on paper) */
  --sk-line: #D8D0C2;       /* hairlines and borders (decorative) */
  --sk-line-strong: #8C8476;/* borders on controls (3.4:1 on paper) */
  --sk-accent: #D4552C;     /* brand fills, big shapes */
  --sk-accent-text: #A63D17;/* accent as text (5.6:1 on paper) */
  --sk-on-accent: #FFFFFF;  /* text on accent fills at 19px bold or larger (3.7:1); use --sk-ink below that */
  --sk-accent-2: #1F6B66;   /* second colour: teal */
  --sk-accent-3: #E3A93C;   /* third colour: ochre */
  --sk-accent-4: #6B5BA8;   /* fourth colour: dusk violet */
  --sk-good: #2F7A4A;
  --sk-focus: #1F6B66;
  --sk-shadow: 0 24px 48px -28px rgba(40, 30, 20, .45);
  --sk-shadow-sm: 0 10px 24px -16px rgba(40, 30, 20, .4);

  /* type: system faces, nothing to download. Swap in your own families here. */
  --sk-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sk-font-display: var(--sk-font);
  --sk-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --sk-weight-display: 800;
  --sk-track-display: -0.035em;
  --sk-size-hero: clamp(2.6rem, 1.2rem + 6.2vw, 6rem);
  --sk-size-h2: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  --sk-size-h3: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  --sk-size-lead: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --sk-size-body: 1.0625rem;
  --sk-size-small: .875rem;
  --sk-size-kicker: .8125rem;

  /* space and shape */
  --sk-max: 1160px;          /* content width */
  --sk-gutter: clamp(16px, 4vw, 40px);
  --sk-pad: clamp(72px, 11vw, 144px); /* section padding top and bottom */
  --sk-gap: clamp(16px, 2.4vw, 28px);
  --sk-radius: 22px;
  --sk-radius-sm: 12px;
  --sk-pin: 300vh;           /* default scroll length of a pinned section; sections set their own */

  /* motion: scroll driven work has no durations; these are for the small state changes between steps */
  --sk-ease: cubic-bezier(.22, .8, .24, 1);
  --sk-step: 420ms;          /* duration of the small changes between steps (the step index itself is --sk-step-i) */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --sk-paper: #15140F; --sk-surface: #201E19; --sk-sunk: #0D0C09;
    --sk-ink: #F3EEE4; --sk-ink-2: #B8B0A2; --sk-line: #36322B; --sk-line-strong: #7D7568;
    --sk-accent: #F2774C; --sk-accent-text: #FF9C78; --sk-on-accent: #1A0D06;
    --sk-accent-2: #4DB3A8; --sk-accent-3: #EDBE5E; --sk-accent-4: #A497E0;
    --sk-good: #67C98A; --sk-focus: #7FD3C9;
    --sk-shadow: 0 24px 48px -24px rgba(0, 0, 0, .75); --sk-shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --sk-paper: #15140F; --sk-surface: #201E19; --sk-sunk: #0D0C09;
  --sk-ink: #F3EEE4; --sk-ink-2: #B8B0A2; --sk-line: #36322B; --sk-line-strong: #7D7568;
  --sk-accent: #F2774C; --sk-accent-text: #FF9C78; --sk-on-accent: #1A0D06;
  --sk-accent-2: #4DB3A8; --sk-accent-3: #EDBE5E; --sk-accent-4: #A497E0;
  --sk-good: #67C98A; --sk-focus: #7FD3C9;
  --sk-shadow: 0 24px 48px -24px rgba(0, 0, 0, .75); --sk-shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, .7);
}
