/* GLIDE design system: tokens.css
   Version 1.0, 2026-11-13. Faithful round: every value below is measured from the
   capture of glidedesign.com (material/styles.css, computed-type*.txt, boxes*.json)
   and the live page at 1440 and 390, then named. Load order: tokens.css, base.css,
   components.css. Naming: --gd-<group>-<name> for primitives, --<role> for
   semantics. Pages use semantic names only; a tone class re-points them. */

:root {
  /* ---------------------------------------------------------------------------
     COLOR PRIMITIVES
     Measured: styles.css :root --gd-color-black #0a0b0c, --gd-color-green #bfff00,
     --gd-color-lgray / porcelain-white #f1f4f4, --gd-color-lgreen #92ff8f and the
     five highlight fills set inline on quote marks (rgb 255 229 0, 195 198 255,
     72 244 255, 146 255 143, 255 182 248). Decided: keep all as measured; add two
     greys the site lacked so muted text and control lines reach AA.
     ------------------------------------------------------------------------- */
  --gd-ink: #0a0b0c;          /* measured, all text and the dark band */
  --gd-white: #ffffff;        /* measured, page and cards */
  --gd-mist: #f1f4f4;         /* measured, quote and resources band */
  --gd-lime: #bfff00;         /* measured, the accent: buttons, badges */
  --gd-mint: #92ff8f;         /* measured, stat cards and one highlight */
  --gd-ink-soft: #14191f;     /* measured --gd-color-bblack: solid button hover, raised dark */
  --gd-wash-dark: rgba(255, 255, 255, 0.1); /* hover wash on ink */
  --gd-mark-yellow: #ffe500;  /* measured highlight */
  --gd-mark-lilac: #c3c6ff;   /* measured highlight */
  --gd-mark-cyan: #48f4ff;    /* measured highlight */
  --gd-mark-mint: #92ff8f;    /* measured highlight */
  --gd-mark-pink: #ffb6f8;    /* measured highlight */
  --gd-grey-600: #6b6d6f;     /* decided: muted text; capture drew ink at about 60% */
  --gd-grey-500: #848586;     /* decided: ink at 50% made opaque, control lines */
  --gd-grey-250: #b1b1b1;     /* measured: darkest pixel of the live service ring and arrow, grey 177 */
  --gd-grey-300: #a9aaaa;     /* decided: white at 65% on ink, muted text on dark */
  --gd-line-light: rgba(10, 11, 12, 0.09); /* measured, hairline rows (:after opacity .09) */
  --gd-line-dark: rgba(255, 255, 255, 0.1);/* measured, footer rules */

  /* ---------------------------------------------------------------------------
     SEMANTIC COLOR ROLES (default tone: paper)
     Contrast, WCAG 2.1, computed with the relative-luminance formula:
       ink on white 19.70  | ink on mist 17.81 | ink on lime 16.43 | ink on mint 15.87
       ink on marks: yellow 15.44, lilac 12.05, cyan 14.69, mint 15.87, pink 12.47
       grey-600 on white 5.20 | on mist 4.70        (text, needs 4.5)
       grey-500 on white 3.70 | on mist 3.59 | on mint 3.53 (lines and icons, need 3)
       white on ink 19.70 | grey-300 on ink 8.46 | lime on ink 16.43
       lime on white 1.20: the accent is a fill, never text or a line on light.
     Large text threshold: 24 px regular or 18.66 px bold and up need 3:1.
     Hairlines (line-light 1.21, line-dark 1.25) are decorative separators only;
     no control relies on them.
     ------------------------------------------------------------------------- */
  --surface: var(--gd-white);
  --surface-raised: var(--gd-white);   /* cards */
  --text: var(--gd-ink);
  --text-muted: var(--gd-grey-600);
  --line: var(--gd-line-light);
  --line-control: var(--gd-grey-500);  /* outlines of tabs, ghost buttons */
  --line-ring: var(--gd-grey-250);     /* service arrow rings: decorative, the row text names the link */
  --accent: var(--gd-lime);
  --on-accent: var(--gd-ink);
  --stat-fill: var(--gd-mint);
  --link-underline: var(--gd-grey-500);        /* rest; capture drew ink 30% = 2.03:1, fixed */
  --link-underline-hover: var(--gd-ink);       /* sweep colour on light tones */
  --button-outline-text: var(--gd-ink);
  --button-solid-bg: var(--gd-ink);            /* Play Reel */
  --button-solid-text: var(--gd-white);
  --focus-ring-color: var(--gd-ink);           /* 19.7 on white, 17.8 on mist */
  /* wordmark: the site's file (site-logo.svg) is white; light tones invert it to
     ink, as the site does (body.light-mode header .logo img filter). */
  --wordmark-filter: invert(1);

  /* ---------------------------------------------------------------------------
     FOCUS RING
     The capture removes outlines (a,a:visited{outline:0}) and draws none. Applied
     fix: one ring token, 2 px solid plus 3 px offset, colour re-pointed per tone.
     ------------------------------------------------------------------------- */
  --focus-ring-width: 2px;
  --focus-ring-offset: 3px;

  /* ---------------------------------------------------------------------------
     TYPE FAMILIES AND WEIGHTS
     Measured: Larsseit 100, 300, 400, 500, 700 and Reckless Neue 100, self-hosted
     on glidedesign.com (base.css). Fallback stack is the site's own: arial.
     License: both are commercial faces (Larsseit by Type Dynamic, Reckless Neue
     by Displaay) licensed by the client; the files stay on their server.
     ------------------------------------------------------------------------- */
  --font-sans: Larsseit, arial, sans-serif;
  --font-serif: "Reckless Neue", Georgia, serif;  /* loaded by the site, unused on home */
  --weight-thin: 100;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /* ---------------------------------------------------------------------------
     TYPE SCALE (roles). Sizes are the site's own fluid clamp() formulas, so 1440
     and 390 land exactly on the measured values. Format: role, 1440 / 390, the
     site variable or class it replaces.
     ------------------------------------------------------------------------- */
  /* display-xl 147.75 / 55.33, replaces --gd--text-size-190 (.rating__title) */
  --type-display-xl: clamp(3.3756rem, 1.3126rem + 8.802vw, 11.875rem);
  /* display 74.95 / 46.41, replaces --gd--text-size-88 (h1, h2, footer call) */
  --type-display: clamp(2.875rem, 2.2379rem + 2.7184vw, 5.5rem);
  /* heading 57.30 / 38.27, replaces --gd--text-size-66 (.heading-3) */
  --type-heading: clamp(2.375rem, 1.9502rem + 1.8123vw, 4.125rem);
  /* lead 56.06 / 34.31, replaces --gd--body-size-66 (.lead-paragraph__text) */
  --type-lead: clamp(2.125rem, 1.6396rem + 2.0712vw, 4.125rem);
  /* list-xl 41.17 / 26.21, replaces --gd--text-size-48 (.services__list--item) */
  --type-list: clamp(1.625rem, 1.2913rem + 1.4239vw, 3rem);
  /* title 32.89 / 28, replaces --gd--body-size-36 and the 28 px phone override (h3.heading-5) */
  --type-title: clamp(1.75rem, 1.4733rem + 0.6472vw, 2.25rem);
  /* stat 96 / 66.42, replaces --gd--text-size-96 (.stats-item__title) */
  --type-stat: clamp(4.125rem, 3.4648rem + 2.8169vw, 6rem);
  /* nav 26 / 38 (phone menu panel is larger), measured .header-nav-menu > li > a */
  --type-nav: 1.625rem;
  --type-nav-panel: 2.375rem;
  /* button-lg 26 / 22, measured .ppc-video-play */
  --type-button-lg: clamp(1.375rem, 1.2821rem + 0.381vw, 1.625rem);
  /* kicker-lg 26 / 22, measured .rating__kicker */
  --type-kicker-lg: clamp(1.375rem, 1.2821rem + 0.381vw, 1.625rem);
  /* button 24 / 20, measured a.button (See All); footer nav 24 / 20 */
  --type-button: clamp(1.25rem, 1.1571rem + 0.381vw, 1.5rem);
  /* body 22.76 / 20.04, replaces --gd--text-size-24 (body default, light 300) */
  --type-body: clamp(1.25rem, 1.1893rem + 0.2589vw, 1.5rem);
  /* button-sm 22 fixed, measured header Let's Talk */
  --type-button-sm: 1.375rem;
  /* quote 19.38 / 18.02, replaces --gd--body-size-20 (quote text, stat text) */
  --type-quote: clamp(1.125rem, 1.0947rem + 0.1294vw, 1.25rem);
  /* kicker 18 fixed, measured .small-kicker; legal links 18 / 16 */
  --type-kicker: 1.125rem;
  --type-legal: clamp(1rem, 0.9536rem + 0.1905vw, 1.125rem);
  /* small 17.38 / 16.02, replaces --gd--body-size-18 (tabs, credits, address) */
  --type-small: clamp(1rem, 0.9697rem + 0.1294vw, 1.125rem);
  /* badge 15 / 13, measured .rating__logos--item--label */
  --type-badge: clamp(0.8125rem, 0.7661rem + 0.1905vw, 0.9375rem);
  /* micro 13 fixed, measured .logo-text (header tagline) */
  --type-micro: 0.8125rem;

  /* line heights, measured as ratios */
  --leading-display-xl: 0.9;   /* 132.98 / 147.75 */
  --leading-hero: 1.06;        /* .hero-homev2__content .heading-2 */
  --leading-display: 1.05;     /* h2 78.70 / 74.95 */
  --leading-heading: 1.1;      /* .heading-3 and services list */
  --leading-lead: 1.2;         /* 67.27 / 56.06 */
  --leading-title: 1.2;        /* 39.47 / 32.89 */
  --leading-body: 1.4;         /* 31.86 / 22.76 and quote text */
  --leading-tight: 1.1;        /* buttons, badges, kicker */
  --leading-stat: 1;

  /* tracking, measured as em */
  --tracking-display: -0.04em; /* h1, h2, display-xl */
  --tracking-tight: -0.03em;   /* lead, list, title, stat, buttons, kickers, quotes */
  --tracking-body: -0.015em;   /* body 300 */

  /* measure: reading text sits in a 939 px indent column at 1440 (lead); quotes at
     303 px cards. Running copy, when it appears, caps at 34em, about 70 characters. */
  --measure: 34em;

  /* ---------------------------------------------------------------------------
     SPACING. Measured: the site's own --space-* clamp() scale; each step lands on
     its name at 1440 and on the measured phone value at 390.
     ------------------------------------------------------------------------- */
  --space-6: 0.375rem;
  --space-16: 1rem;
  --space-20: clamp(1rem, 0.6701rem + 0.6873vw, 1.25rem);
  --space-24: clamp(1.25rem, 0.9201rem + 0.6873vw, 1.5rem);
  --space-30: clamp(1.5rem, 2vw + 1rem, 1.875rem);
  --space-36: clamp(1.875rem, 3vw + 1rem, 2.25rem);
  --space-48: clamp(2.25rem, 2vw + 1.75rem, 3rem);       /* 48 / 36 */
  --space-72: clamp(2.75rem, 3vw + 2rem, 4.5rem);        /* 72 / 44 */
  --space-96: clamp(3.25rem, 5vw + 2rem, 6rem);          /* 96 / 52 */
  --space-128: clamp(4rem, 8vw + 2rem, 8rem);            /* 128 / 64 */
  --space-156: clamp(4.5rem, 12vw + 1.5rem, 9.75rem);    /* 156 / 72 */
  --space-200: clamp(5.25rem, 15vw + 1.5rem, 12.5rem);   /* 200 / 84 */
  --space-236: clamp(6.125rem, 20vw + 1rem, 14.75rem);   /* 236 / 98 */

  /* ---------------------------------------------------------------------------
     CONTAINER AND GRID. Measured: .wrapper{width:87%;max-width:1260px} so the
     gutter is 6.5% (93.6 at 1440, 25.35 at 390); .ctn-1040 narrows to 1040; the
     indent column starts 314 px in (25% of 1253) at 1440 and collapses at 390;
     the resources column is 613 px wide and centred.
     ------------------------------------------------------------------------- */
  --container-width: 87%;
  --container-max: 1260px;
  --container-narrow: 1040px;
  --container-column: 613px;
  --indent: 25%;
  --grid-gap: 36px;          /* work grid column gap, measured */

  /* breakpoints (named, used in media queries as literals):
     phone up to 767, tablet 768 to 1023, desktop 1024 and up, wide 1440. */

  /* ---------------------------------------------------------------------------
     RADII, RULES, SHADOWS. Measured; the site uses these and no others.
     ------------------------------------------------------------------------- */
  --radius-pill: 200px;      /* buttons, badges, tabs */
  --radius-card: 6px;        /* quote and stat cards */
  --radius-round: 50%;       /* arrow rings, social links */
  --rule: 1px;               /* every rule on the site is 1 px */
  --shadow-card: 0 4px 10px -6px rgba(0, 0, 0, 0.12);
  --shadow-menu: 0 12px 30px -12px rgba(0, 0, 0, 0.25); /* decided: submenu panel, the one addition */

  /* ---------------------------------------------------------------------------
     MOTION. Measured: transition .3s ease-in-out (buttons, header), .33s linear
     (colour), .5s (tab pill), .4s ease-in-out (image zoom).
     Signature one: the button arrow. On hover the label slides right and an
     arrow enters from the left (padding 10 34 12 to 10 45 12 23).
     Signature two: the link underline sweep, a 1 px rule that wipes to a new
     colour from the left on hover.
     Under prefers-reduced-motion both become instant colour changes, the hero
     reel does not autoplay, and the quote strip does not drift (base.css).
     ------------------------------------------------------------------------- */
  --duration-fast: 0.3s;
  --duration-colour: 0.33s;
  --duration-slide: 0.5s;
  --duration-zoom: 0.4s;
  --ease-standard: ease-in-out;
  --ease-linear: linear;

  /* ---------------------------------------------------------------------------
     TARGETS. 44 px minimum on anything tappable at 390 (decided).
     ------------------------------------------------------------------------- */
  --target-min: 44px;
}

/* -----------------------------------------------------------------------------
   TONES. A band takes one tone class; the tone re-points the semantic names.
   Allowed neighbours: paper next to mist, mist next to ink, paper next to ink.
   Not allowed: mist next to mist across a section break without a hairline, as
   the change of band then disappears (the capture runs quotes into resources on
   one mist field, so those two share one band).
   ----------------------------------------------------------------------------- */
.tone-paper {
  --surface: var(--gd-white);
  --text: var(--gd-ink);
  --text-muted: var(--gd-grey-600);
  --line: var(--gd-line-light);
  --line-control: var(--gd-grey-500);
  --focus-ring-color: var(--gd-ink);
  --link-underline-hover: var(--gd-ink);
  background-color: var(--surface);
  color: var(--text);
}
.tone-mist {
  --surface: var(--gd-mist);
  --text: var(--gd-ink);
  --text-muted: var(--gd-grey-600);
  --line: var(--gd-line-light);
  --line-control: var(--gd-grey-500);
  --focus-ring-color: var(--gd-ink);
  --link-underline-hover: var(--gd-ink);
  background-color: var(--surface);
  color: var(--text);
}
.tone-ink {
  --surface: var(--gd-ink);
  --surface-raised: var(--gd-ink-soft);
  --text: var(--gd-white);
  --text-muted: var(--gd-grey-300);     /* 8.46 on ink; capture drew white 50% = 5.33 */
  --line: var(--gd-line-dark);
  --line-control: var(--gd-grey-300);
  --focus-ring-color: var(--gd-lime);   /* 16.43 on ink */
  --link-underline: var(--gd-grey-300);
  --link-underline-hover: var(--gd-lime);
  --button-outline-text: var(--gd-white);
  --wordmark-filter: none;
  background-color: var(--surface);
  color: var(--text);
}
