/* ============================================================
   POPEK'S CAR POLISH — Colours & Type Tokens
   Source of truth for brand colours, fonts, spacing, radii.
   ============================================================ */

:root {
  /* ---------- COLOURS — RAW ---------- */
  --c-midnight-black:  #0A0A0A;
  --c-shine-gold:      #C9A84C;
  --c-warm-white:      #F5F4F0;

  --c-deep-graphite:   #1C1C1E;
  --c-chrome-silver:   #C8C8C8;
  --c-polish-red:      #D72B2B;

  --c-steel-grey:      #4A4A4A;
  --c-mist:            #9A9A9A;
  --c-smoke:           #2E2E2E;

  --c-cream:           #FAF9F5;
  --c-bone:            #EDEBE3;
  --c-stone:           #DDD9CC;
  --c-faint:           #8A8A8A;

  /* Semantic */
  --bg-page:           var(--c-warm-white);
  --bg-section:        var(--c-cream);
  --bg-card:           #FFFFFF;
  --bg-elevated:       var(--c-bone);

  --fg-1:              var(--c-midnight-black);
  --fg-2:              var(--c-steel-grey);
  --fg-3:              #6A6A6A;
  --fg-4:              var(--c-faint);

  --accent:            var(--c-shine-gold);
  --accent-hover:      #B8973C;
  --accent-press:      #8C7430;
  --accent-soft:       rgba(201, 168, 76, 0.14);
  --accent-deep:       #8C7430;
  --alert:             var(--c-polish-red);

  --border-1:          var(--c-stone);
  --border-2:          #C8C2B0;

  --success:           #1F8E3D;
  --danger:            #B91F1F;

  /* Type families */
  --font-display:  "Bebas Neue", "Impact", "Oswald", sans-serif;
  --font-heading:  "Barlow Condensed", "Oswald", "Roboto Condensed", sans-serif;
  --font-body:     "DM Sans", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-accent:   "Barlow Condensed", sans-serif;
  --font-mono:     ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale */
  --fs-hero:   clamp(56px, 8vw, 96px);
  --fs-h1:     clamp(40px, 5vw, 56px);
  --fs-h2:     32px;
  --fs-h3:     24px;
  --fs-h4:     18px;
  --fs-body:   16px;
  --fs-small:  14px;
  --fs-caption:12px;
  --fs-eyebrow:13px;

  --lh-tight:  1.0;
  --lh-snug:   1.2;
  --lh-base:   1.5;
  --lh-relaxed:1.7;

  --ls-display:  0.04em;
  --ls-heading:  0.04em;
  --ls-eyebrow:  0.2em;
  --ls-button:   0.06em;
  --ls-tracked:  0.08em;

  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(10,10,10,0.06);
  --shadow-2: 0 4px 14px rgba(10,10,10,0.08);
  --shadow-3: 0 14px 38px rgba(10,10,10,0.12);
  --shadow-gold: 0 8px 24px rgba(201, 168, 76, 0.30);
  --shadow-red:  0 6px 20px rgba(215, 43, 43, 0.20);

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   120ms;
  --dur-base:   200ms;
  --dur-slow:   320ms;

  /* Layout */
  --container-max: 1100px;
  --header-h:      72px;
  --nav-h:         64px;
}

html, body {
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1.hero, .hero {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  color: var(--fg-1);
  text-transform: uppercase;
  margin: 0;
}
h1 { font-family: var(--font-display); font-size: var(--fs-h1); letter-spacing: var(--ls-display); line-height: var(--lh-tight); text-transform: uppercase; margin: 0 0 var(--space-4); }
h2 { font-family: var(--font-heading); font-size: var(--fs-h2); font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: var(--lh-snug); margin: 0 0 var(--space-4); }
h3 { font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); margin: 0 0 var(--space-3); }
h4 { font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); margin: 0 0 var(--space-2); }

p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-3);
  margin: 0 0 var(--space-4);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-press);
}
.eyebrow--light { color: var(--accent); }

.tagline {
  font-family: var(--font-accent);
  font-style: italic;
  letter-spacing: var(--ls-heading);
  color: var(--fg-2);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--accent-hover); }
