/* ==========================================================================
   PVC SOLUTIONS USA — Design tokens
   Colours sampled directly from the supplied logo artwork.
   ========================================================================== */

:root {
  /* --- Brand core ------------------------------------------------------- */
  --pvc-red:          #DB1320;   /* sampled from logo "P" + "USA"            */
  --pvc-red-hover:    #AE0E18;   /* pressed / hover state                    */
  --pvc-red-tint:     #FDEAEC;   /* pale wash for alert + highlight blocks   */

  --pvc-navy:         #05366E;   /* sampled from logo "C" + "BUILT TO LAST"  */
  --pvc-navy-deep:    #03203F;   /* footer, hero overlays                    */
  --pvc-navy-hover:   #0A4A93;
  --pvc-navy-tint:    #E8EEF6;

  --pvc-graphite:     #5A5959;   /* sampled from logo "SOLUTIONS" wordmark   */
  --pvc-steel:        #8B9099;   /* secondary text, dividers                 */
  --pvc-mist:         #F1F4F8;   /* alternating section background           */
  --pvc-line:         #DDE3EB;   /* hairline borders                         */
  --pvc-ink:          #16181C;   /* body copy (logo "V" outline is pure #000) */
  --pvc-white:        #FFFFFF;

  /* --- Semantic --------------------------------------------------------- */
  --pvc-bg:              var(--pvc-white);
  --pvc-bg-alt:          var(--pvc-mist);
  --pvc-bg-invert:       var(--pvc-navy-deep);
  --pvc-text:            var(--pvc-ink);
  --pvc-text-muted:      var(--pvc-graphite);
  --pvc-text-invert:     var(--pvc-white);
  --pvc-text-invert-mut: rgba(255, 255, 255, .72);
  --pvc-border:          var(--pvc-line);
  --pvc-focus:           var(--pvc-red);

  /* --- Typography ------------------------------------------------------- */
  /* Archivo   — squared industrial grotesque, echoes the logo's geometry.
     Barlow    — slightly narrow, technical, excellent at small sizes.
     Barlow Condensed — specs, eyebrows, table headers, stat labels.        */
  --pvc-font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pvc-font-body:    "Barlow", "Helvetica Neue", Arial, sans-serif;
  --pvc-font-util:    "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --pvc-fw-regular:  400;
  --pvc-fw-medium:   500;
  --pvc-fw-semibold: 600;
  --pvc-fw-bold:     700;
  --pvc-fw-black:    800;

  /* Fluid type scale — clamp(min, preferred, max) */
  --pvc-fs-display: clamp(2.5rem,  1.6rem + 3.9vw, 4.75rem);  /*  40 → 76 */
  --pvc-fs-h1:      clamp(2.125rem, 1.5rem + 2.7vw, 3.5rem);  /*  34 → 56 */
  --pvc-fs-h2:      clamp(1.75rem,  1.35rem + 1.7vw, 2.75rem);/*  28 → 44 */
  --pvc-fs-h3:      clamp(1.375rem, 1.15rem + 1.0vw, 2rem);   /*  22 → 32 */
  --pvc-fs-h4:      clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --pvc-fs-lead:    clamp(1.1875rem, 1.1rem + 0.4vw, 1.4rem);
  --pvc-fs-body:    1.0625rem;
  --pvc-fs-sm:      1rem;
  --pvc-fs-xs:      0.875rem;
  --pvc-fs-eyebrow: 0.8125rem;

  --pvc-lh-tight:  1.05;
  --pvc-lh-snug:   1.2;
  --pvc-lh-normal: 1.45;
  --pvc-lh-relax:  1.65;

  --pvc-ls-display: -0.022em;
  --pvc-ls-heading: -0.012em;
  --pvc-ls-eyebrow:  0.16em;
  --pvc-ls-button:   0.06em;

  /* --- Spacing (4px base) ----------------------------------------------- */
  --pvc-s-1:  0.25rem;
  --pvc-s-2:  0.5rem;
  --pvc-s-3:  0.75rem;
  --pvc-s-4:  1rem;
  --pvc-s-5:  1.5rem;
  --pvc-s-6:  2rem;
  --pvc-s-7:  2.5rem;
  --pvc-s-8:  3rem;
  --pvc-s-9:  4rem;
  --pvc-s-10: 5rem;
  --pvc-s-11: 6.5rem;

  /* Vertical rhythm between full-width sections */
  --pvc-section-y:    clamp(3.25rem, 2rem + 5vw, 6rem);
  --pvc-section-y-sm: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);

  /* --- Layout ----------------------------------------------------------- */
  --pvc-container:      1240px;
  --pvc-container-full: 100%;
  --pvc-container-wide: 1440px;
  --pvc-container-text: 760px;
  --pvc-gutter:         clamp(1rem, 0.5rem + 2vw, 2.5rem);
  --pvc-header-h:       92px;
  --pvc-header-h-sticky:70px;

  /* --- Radius / elevation ----------------------------------------------- */
  /* Deliberately tight. The product is extruded panel — square edges and
     crisp shadow lines read as "engineered", not "app UI".                  */
  --pvc-radius-0:  0;
  --pvc-radius-1:  2px;
  --pvc-radius-2:  4px;
  --pvc-radius-pill: 999px;

  --pvc-shadow-1: 0 1px 2px rgba(3, 32, 63, .06),
                  0 2px 6px rgba(3, 32, 63, .05);
  --pvc-shadow-2: 0 4px 10px rgba(3, 32, 63, .08),
                  0 12px 28px rgba(3, 32, 63, .10);
  --pvc-shadow-3: 0 18px 44px rgba(3, 32, 63, .18);

  /* --- Motion ----------------------------------------------------------- */
  --pvc-ease:      cubic-bezier(.22, .61, .36, 1);
  --pvc-ease-out:  cubic-bezier(.16, 1, .3, 1);
  --pvc-dur-fast:  140ms;
  --pvc-dur:       260ms;
  --pvc-dur-slow:  520ms;

  /* --- Z-index ---------------------------------------------------------- */
  --pvc-z-header:  900;
  --pvc-z-drawer:  950;
  --pvc-z-modal:   1000;
  --pvc-z-toast:   1050;
}

/* The signature device: the three-bar flag rule lifted from the logo's
   USA underscore. Used as a section divider and heading accent throughout. */
:root {
  --pvc-rule-h: 4px;
  --pvc-rule-gap: 3px;
}

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