/* GLIDE design system: tokens
   Version 1.0, 2026-12-02. Plain CSS custom properties, no build step.
   Every value was measured from the capture of the live home page
   (the digest's color, type and :root tables, the band markup, the stylesheets).
   "Measured" says what the live page uses; "Decided" says what this file did with it. */

:root {
  /* ---------- Color ----------
     Measured: three flat fills cover the page: white (51.5 %), near black #0A0B0C (22.4 %),
     off white #F1F4F4 (16.6 %). One accent, lime #BFFF00, on the announcement bar,
     primary buttons, the reel button and the "We guarantee results." highlight.
     Text is near black or white, softened by opacity (60, 70, 75, 80 % and so on).
     Decided: keep every value exactly; name them by role; write the opacity steps as tokens
     so a page never invents its own. Ratios are against the surface they sit on. */

  /* Surfaces */
  --color-paper: #ffffff;          /* main surface */
  --color-paper-2: #f1f4f4;        /* second light surface: "How we work", "Clients" */
  --color-ink: #0a0b0c;            /* text on light, and the dark surface (reel, snapshot, call to action, footer) */
  --color-black: #000000;          /* behind the showreel picture only */

  /* Accent */
  --color-accent: #bfff00;         /* lime. Ink on lime 16.6:1. Never text on white (1.2:1) */
  --color-accent-hover: #b5b5b5;   /* measured hover of the lime button: the platform's gray step 400 (oklch 78.1 % 0 0). Ink on it 9.6:1 */
  --color-on-accent: #0a0b0c;

  /* Text on light (ink at an opacity, as the live page writes it) */
  --color-text: #0a0b0c;                       /* 19.8:1 on paper, 18.2:1 on paper-2 */
  --color-text-80: rgb(10 11 12 / 0.8);        /* point-of-view paragraph. about 12:1 on paper */
  --color-text-75: rgb(10 11 12 / 0.75);       /* intros, step text. about 10:1 on paper, 9:1 on paper-2 */
  --color-text-70: rgb(10 11 12 / 0.7);        /* row descriptions, small print. about 7.5:1 on paper */
  --color-text-60: rgb(10 11 12 / 0.6);        /* mono eyebrows, client tags, team roles. 5.3:1 on paper, 4.8:1 on paper-2 */
  --color-text-50: rgb(10 11 12 / 0.5);        /* mono index numbers 01 to 04. 3.7:1 on paper, 3.4:1 on paper-2: under 4.5:1, kept as the live page has it (see the report) */
  --color-text-40: rgb(10 11 12 / 0.4);        /* the dot between service tags, decoration only */

  /* Text on dark */
  --color-text-inverse: #ffffff;               /* 19.8:1 on ink */
  --color-text-inverse-85: rgb(255 255 255 / 0.85); /* award chips. about 14:1 */
  --color-text-inverse-75: rgb(255 255 255 / 0.75); /* intros on dark. about 11:1 */
  --color-text-inverse-70: rgb(255 255 255 / 0.7);  /* address, score labels. about 10:1 */
  --color-text-inverse-60: rgb(255 255 255 / 0.6);  /* eyebrows on dark, legal line. 7.4:1 */
  --color-text-inverse-50: rgb(255 255 255 / 0.5);  /* footer column labels, "/100". 5.0:1 */
  --color-text-inverse-45: rgb(255 255 255 / 0.45); /* input placeholder. 4.0:1 */

  /* Lines */
  --color-line: rgb(10 11 12 / 0.15);          /* hairlines between rows on light */
  --color-line-strong: #0a0b0c;                /* the full-ink rule above steps and results */
  --color-line-chip: rgb(10 11 12 / 0.2);      /* chip and client-card outlines */
  --color-line-control: rgb(10 11 12 / 0.25); /* round arrow buttons and filter pills at rest. 1.6:1, see the report */
  --color-line-underline: rgb(10 11 12 / 0.3); /* text-link underline at rest */
  --color-line-inverse: rgb(255 255 255 / 0.15);  /* hairlines on dark */
  --color-line-inverse-chip: rgb(255 255 255 / 0.2); /* chips and social circles on dark */
  --color-line-inverse-field: rgb(255 255 255 / 0.25); /* the website field on dark */
  --color-line-inverse-strong: rgb(255 255 255 / 0.3); /* close button on the reel */
  --color-track-inverse: rgb(255 255 255 / 0.12);     /* score bar track */

  /* Focus: the live page rings focus in ink on light and in lime on dark */
  --color-focus: #0a0b0c;
  --color-focus-inverse: #bfff00;

  /* ---------- Type ----------
     Measured: Larsseit (400, 500, 700) for everything set in words; Instrument Serif italic 400
     for the single word each big heading turns ("obvious", "owned", "count", "spin"...), at 1.08 em
     of the heading; IBM Plex Mono 500, uppercase and widely spaced, for eyebrows, numbers and tags.
     The stylesheets also load Larsseit 100 and 300, Outfit and Reckless Neue; the home page never
     paints them, so this system does not load them.
     Decided: sizes are the measured ones, named as roles; each role that changes with the screen
     says its phone size here and is raised at the breakpoints below (640, 768, 1280), the same
     ones the live page uses. */
  --font-sans: "Larsseit", arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /* Display: the hero headline and the closing call to action. Measured 52 / 80 / 104 / 128 px */
  --size-display: 3.25rem;
  --leading-display: 0.95;
  --tracking-display: -0.05em;
  /* Section heading (h2). Measured 40 / 68 / 84 px */
  --size-h2: 2.5rem;
  --leading-h2: 0.98;
  --tracking-h2: -0.045em;
  /* Footer statement. Measured 40 / 72 px */
  --size-statement: 2.5rem;
  /* The serif word inside a heading, relative to the heading */
  --size-serif-turn: 1.08em;
  --tracking-serif-turn: -0.01em;
  /* Discipline words BRAND / WEB / SEARCH. Measured 72 / 112 / 160 / 200 px */
  --size-mega: 4.5rem;
  --leading-mega: 0.85;
  --tracking-mega: -0.06em;
  /* Result figures. Measured 60 / 88 px */
  --size-stat: 3.75rem;
  --leading-stat: 0.9;
  --tracking-stat: -0.055em;
  /* Trust score figure. Measured 80 / 104 px */
  --size-score: 5rem;
  --tracking-score: -0.06em;
  /* Pull quote, serif italic. Measured 48 / 96 / 120 px */
  --size-quote: 3rem;
  --tracking-quote: -0.02em;
  /* Row title (industries). Measured 32 / 52 px */
  --size-row-title: 2rem;
  /* Step title (h3). Measured 32 / 40 px */
  --size-h3: 2rem;
  --tracking-title: -0.04em;
  /* Guarantee line. Measured 28 / 40 px */
  --size-h4: 1.75rem;
  /* Client name. Measured 24 / 30 px */
  --size-card-title: 1.5rem;
  --leading-card-title: 1.08;
  --tracking-card-title: -0.035em;
  /* Person name, score values. Measured 20 px */
  --size-name: 1.25rem;
  --tracking-name: -0.03em;

  /* Running text */
  --size-lead: 1.1875rem;       /* hero paragraph. Measured 19 / 24 px */
  --leading-lead: 1.5;
  --size-pov: 1.25rem;          /* point-of-view paragraph. Measured 20 / 28 px */
  --leading-pov: 1.5;
  --size-intro: 1.125rem;       /* section intros, guarantee link, call-to-action text. Measured 18 / 22 px */
  --leading-intro: 1.5;
  --size-row-text: 1.0625rem;   /* industry row description. Measured 17 / 20 px */
  --size-stat-label: 1.125rem;  /* result label. Measured 18 / 20 px */
  --size-contact: 1.25rem;      /* footer address and phone. Measured 20 px */
  --size-nav: 1.125rem;         /* main menu. Measured 18 px */
  --size-menu-item: 1.0625rem;  /* dropdown items, footer links, step text, buttons. Measured 17 px */
  --size-menu-item-mobile: 1.1875rem; /* phone menu sub-items. Measured in the menu script: 19 px */
  --size-menu-mobile: 2rem;     /* phone menu top items. Measured in the menu script: 32 px */
  --size-button-lg: 1.125rem;   /* the larger buttons on dark. Measured 18 px */
  --size-body: 1rem;            /* small text, filters, announcement. Measured 16 px */
  --size-announce-mobile: 0.875rem; /* announcement under 748 px. Measured 14 px */
  --size-chip: 0.9375rem;       /* proof chips. Measured 15 px */
  --size-chip-sm: 0.875rem;     /* award chips. Measured 14 px */
  --size-legal: 0.8125rem;      /* copyright and legal links. Measured 13 px */
  --leading-body: 1.5;
  --leading-snug: 1.375;
  --leading-tight: 1.25;
  --tracking-ui: -0.01em;

  /* Mono labels */
  --size-eyebrow: 0.75rem;      /* eyebrows. Measured 12 / 13 px, tracking 0.14em, uppercase */
  --tracking-eyebrow: 0.14em;
  --size-index: 0.8125rem;      /* 01, 02... Measured 13 px, tracking 0.08em */
  --tracking-index: 0.08em;
  --size-tag: 0.8125rem;        /* service tags. Measured 13 / 15 px, tracking 0.12em */
  --tracking-tag: 0.12em;
  --size-role: 0.6875rem;       /* team roles, header strapline. Measured 11 px */
  --size-strap-sm: 0.625rem;    /* header strapline under 1004 px. Measured 10 px */

  /* ---------- Space ----------
     Measured: a 4 px step (the live page's spacing unit is 0.25rem). Bands are padded
     96 px on phones and 160 px from 768 px; the hero 56 / 96 top and 80 / 128 bottom.
     Decided: name the steps the page uses. */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-36: 9rem;
  --space-40: 10rem;
  --band-pad: 6rem;             /* 96 px, 160 px from 768 px */

  /* ---------- Container and grid ----------
     Measured: content runs 1520 px wide inside 32 px gutters (max 1584 px) from 768 px,
     20 px gutters on phones; a 12-column grid with 32 to 40 px gaps. The header runs wider
     (max 1920 px, 36 px gutters from 1004 px). */
  --container-max: 1584px;
  --container-max-sm: 1560px;
  --gutter: 20px;
  --gutter-md: 32px;
  --header-max: 1920px;
  --grid-gap: 2rem;

  /* ---------- Shape ---------- */
  --radius-pill: 9999px;        /* every button, chip, filter, field */
  --radius-card: 10px;          /* reel frame, snapshot panel, score card */
  --radius-item: 6px;           /* dropdown item hover */
  --border-width: 1px;
  --bar-height: 6px;            /* score bar */

  /* ---------- Motion ----------
     Measured: buttons change color over 250 ms; rows slide 4 px on hover over 300 ms;
     the reel picture scales 1.16 to 1.19 over 700 ms. Easing is the platform default. */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-button: 250ms;
  --dur-move: 300ms;
  --dur-slow: 700ms;
}

@media (min-width: 640px) {
  :root {
    --size-display: 5rem;
    --size-mega: 7rem;
  }
}

@media (min-width: 768px) {
  :root {
    --size-display: 6.5rem;
    --size-h2: 4.25rem;
    --size-statement: 4.5rem;
    --size-mega: 10rem;
    --size-stat: 5.5rem;
    --size-score: 6.5rem;
    --size-quote: 6rem;
    --size-row-title: 3.25rem;
    --size-h3: 2.5rem;
    --size-h4: 2.5rem;
    --size-card-title: 1.875rem;
    --size-lead: 1.5rem;
    --leading-lead: 1.42;
    --size-pov: 1.75rem;
    --leading-pov: 1.45;
    --size-intro: 1.375rem;
    --leading-intro: 1.45;
    --size-row-text: 1.25rem;
    --size-stat-label: 1.25rem;
    --size-eyebrow: 0.8125rem;
    --size-tag: 0.9375rem;
    --band-pad: 10rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --size-display: 8rem;
    --size-h2: 5.25rem;
    --size-mega: 12.5rem;
    --size-quote: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-button: 0ms;
    --dur-move: 0ms;
    --dur-slow: 0ms;
  }
}
