/* ==========================================================================
   Provenio Partners – base.css (every page)
   Self-hosted fonts, design tokens and base type.
   Every part (header.css, home.css, footer.css …) takes its sizes, weights,
   radii, underline and motion from the tokens below. Do not hard-code these values
   in a part file; add a token here instead, so the whole site stays consistent.

   Contents: 1. FONTS  2. TOKENS  3. BOX MODEL  4. BASE TYPE  5. UNDERLINE  6. FOCUS RING

   Naming
   - Classes:   ppt-<part>-<element>          e.g. ppt-header-menu, ppt-hero-title
                ppt-<part>-<element>-<variant> e.g. ppt-brand-chip-people
   - States:    is-<state>                    e.g. is-active, is-visible, is-header-stuck (on <body>)
   - Tokens:    --ppt-<group>-<name>          e.g. --ppt-radius-button, --ppt-text-sm
   ========================================================================== */

/* ==========================================================================
   1. FONTS  latin subsets, font-display: swap
   ========================================================================== */
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400 500;font-display:swap;src:url('../fonts/eb-garamond-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/eb-garamond-latin-400-italic.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/inter-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600 700;font-display:swap;src:url('../fonts/space-grotesk-latin-wght-normal.woff2') format('woff2')}

/* ==========================================================================
   2. TOKENS  colour, type, radius, underline, layout, motion
   ========================================================================== */
:root{
  /* colour: client palette */
  --ppt-black:#0A0A0A;
  --ppt-blue:#1035AE;
  --ppt-blue-deep:#0C2A8C;
  --ppt-grey:#F7F7F7;
  --ppt-white:#FFFFFF;
  --ppt-text:rgba(10,10,10,.70);
  --ppt-muted:rgba(10,10,10,.60);
  --ppt-line:rgba(10,10,10,.08);
  --ppt-line-strong:rgba(10,10,10,.16);
  --ppt-glass:rgba(255,255,255,.86);
  --ppt-backdrop:rgba(10,10,10,.28);
  /* colour: brand chips and cards */
  --ppt-people-navy:#0D2461; --ppt-people-cyan:#00AEEF; --ppt-people-cyan-ink:#0097D6; --ppt-people-pearl:#F0F7FF; --ppt-people-line:#D5E3F5;
  --ppt-ai-bg:#060C1F; --ppt-ai-navy:#0F1E5C; --ppt-ai-blue:#2B5CE6; --ppt-ai-cyan:#06B6D4;
  --ppt-people-label:#0077A8; --ppt-people-navy-deep:#091A4A;
  --ppt-ai-midnight:#0A1330; --ppt-ai-blue-deep:#1F4BCB; --ppt-ai-mist:#EEF1F8; --ppt-ai-mist-line:#D3DAEA;

  /* type: families */
  --ppt-serif:'EB Garamond',Georgia,'Times New Roman',serif;
  --ppt-sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ppt-people-font:'Plus Jakarta Sans',system-ui,sans-serif;
  --ppt-ai-font:'Space Grotesk',system-ui,sans-serif;
  /* type: sizes (one scale for the whole site) */
  --ppt-text-xs:12.5px;                         /* eyebrow labels, small print */
  --ppt-text-sm:13.5px;                         /* menu links, buttons */
  --ppt-text-base:15px;                         /* body copy, phone menu links, brand chips */
  --ppt-text-lead:clamp(1rem,1.2vw,1.125rem);   /* intro paragraphs */
  --ppt-text-h3:clamp(1.2rem,1.05rem + .6vw,1.5rem);
  --ppt-text-h2:clamp(2rem,3.7vw,3.3rem);
  --ppt-text-h1:clamp(2.35rem,5.6vw,5.1rem);
  --ppt-text-label:11.5px;                      /* small labels on brand covers */
  --ppt-text-ui:14px;                           /* provenio ai button */
  --ppt-text-card:14.5px;                       /* brand card body copy */
  --ppt-text-card-lede:clamp(1.1rem,1.5vw,1.25rem);
  --ppt-text-stat:clamp(1.45rem,2.1vw,1.8rem);
  --ppt-text-brand-name:clamp(1.9rem,3vw,2.6rem);
  /* type: weights */
  --ppt-weight-regular:400;
  --ppt-weight-medium:500;
  --ppt-weight-semibold:600;
  --ppt-weight-bold:700;
  /* type: line heights */
  --ppt-leading-display:1.02;
  --ppt-leading-heading:1.06;
  --ppt-leading-ui:1.3;
  --ppt-leading-body:1.65;
  --ppt-leading-solid:1;        /* single-line labels, numbers, pills */
  --ppt-leading-tight:1.04;     /* section titles */
  --ppt-leading-lede:1.32;      /* brand card ledes */
  --ppt-leading-caption:1.4;    /* stat labels */
  --ppt-leading-label:1.5;      /* brand cover labels */
  --ppt-leading-card:1.7;       /* brand card body copy */

  /* shape: radii */
  --ppt-radius-line:2px;       /* thin bars: menu-toggle lines, headline underline */
  --ppt-radius-focus:6px;      /* focus rings, logo */
  --ppt-radius-item:10px;      /* phone menu rows, menu toggle */
  --ppt-radius-button:12px;    /* every button */
  --ppt-radius-panel:16px;     /* header bar, phone menu panel */
  --ppt-radius-pill:999px;     /* eyebrows, chips, contact pill */
  --ppt-radius-cover:22px;     /* brand card covers */
  --ppt-radius-card-small:20px;/* brand cards on phones */
  --ppt-radius-card:26px;      /* brand cards */
  --ppt-people-radius-button:8px;  /* provenio people's own button shape */
  --ppt-ai-radius-button:10px;     /* provenio ai's own button shape */
  /* shape: controls */
  --ppt-control-height:44px;
  --ppt-control-height-touch:48px;

  /* underline: one style everywhere (blue, drawn from the left).
     Links and menu items use the thin size; the headline accent uses the display size. */
  --ppt-underline-color:var(--ppt-blue);
  --ppt-underline-size:1px;
  --ppt-underline-size-display:.045em;
  --ppt-underline-speed:.3s;

  /* focus */
  --ppt-focus:2px solid var(--ppt-blue);

  /* layout */
  --ppt-container:1200px;
  --ppt-gutter:40px;

  /* motion */
  --ppt-ease:cubic-bezier(.22,1,.36,1);
  --ppt-speed-fast:.2s;
  --ppt-speed:.3s;
  --ppt-speed-slow:.4s;
  --ppt-speed-reveal:.9s;      /* scroll reveals */
  --ppt-speed-words:1.05s;     /* section title words */
  --ppt-speed-count:1.4s;      /* stat count-up */
  --ppt-speed-flow:1.8s;       /* provenio ai cover dashes */
  --ppt-speed-bob:8s;          /* provenio people cover cards */
  --ppt-speed-drift:14s;       /* provenio ai cover glow */
}
@media (max-width:600px){ :root{--ppt-gutter:20px;--ppt-text-h1:min(2.4rem,9.8vw)} }

/* ==========================================================================
   3. BOX MODEL  Neve uses the same; stated so our parts never depend on it
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}

/* ==========================================================================
   4. BASE TYPE  Neve's own font settings stay empty, these apply
   ========================================================================== */
body{font-family:var(--ppt-sans)}
h1,h2,h3,h4,h5,h6{font-family:var(--ppt-serif);font-weight:var(--ppt-weight-regular)}

/* ==========================================================================
   5. UNDERLINE  .ppt-underline: draws in on hover / when active (menu links, text links)
   ========================================================================== */
.ppt-underline{position:relative}
.ppt-underline::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--ppt-underline-size);background:var(--ppt-underline-color);transform:scaleX(0);transform-origin:left;transition:transform var(--ppt-underline-speed) var(--ppt-ease)}
.ppt-underline:hover::after,
.ppt-underline.is-active::after{transform:scaleX(1)}

/* ==========================================================================
   6. FOCUS RING
   ========================================================================== */
.ppt-header :focus-visible,
.entry-content :focus-visible{outline:var(--ppt-focus);outline-offset:3px;border-radius:var(--ppt-radius-focus)}
