/* ==========================================================================
 BoldVibe Studio | Global design tokens, typography & base styles
 Load before style.css on every page
 ========================================================================== */

:root {
 /* Colors */
 --black: #0a0a0a;
 --offwhite: #f2ede6;
 --cream: #e8e0d4;
 --accent: #ff4d00;
 --accent-hover: #e04400;
 --accent-dark: #dd4200;
 --accent2: #ffd600;
 --mid: #1a1a1a;
 --gray: #b8b2a8;
 --border: rgba(242, 237, 230, 0.12);

 --text-primary: var(--offwhite);
 --text-secondary: #c4c7c7;
 --text-muted: var(--gray);
 --text-inverse: #ffffff;
 --text-on-accent: var(--offwhite);

 --surface-base: var(--black);
 --surface-raised: var(--mid);
 --surface-dark: #14130f;
 --surface-card: #111111;
 --surface-panel: #21201b;
 --surface-panel-alt: #1d1b17;

 /* Typography, families */
 --font-display: 'Bebas Neue', sans-serif;
 --font-body: 'DM Sans', sans-serif;
 --font-mono: 'Courier New', monospace;

 /* Typography, scale */
 --fs-body: 16px;
 --fs-body-sm: 16px;
 --fs-paragraph: 16px;
 --fs-small: 14px;
 --fs-caption: 13px;
 --fs-tiny: 12px;
 --fs-micro: 11px;
 --fs-mini: 10px;

 --fs-lead: 16px;
 --fs-btn: 15px;
 --fs-nav: 14px;
 --fs-tag: 11px;

 --fs-h1: clamp(48px, 11vw, 148px);
 --fs-h1-mobile: clamp(40px, 11vw, 64px);
 --fs-h2: clamp(36px, 6vw, 80px);
 --fs-h2-lg: clamp(40px, 9vw, 110px);
 --nav-collapse: 1100px;
 --fs-h3: 28px;
 --fs-h4: 22px;
 --fs-h5: 20px;
 --fs-step-title: 22px;

 --fs-display-xl: clamp(180px, 28vw, 360px);
 --fs-display-stat: 52px;
 --fs-display-stat-lg: clamp(72px, 10vw, 120px);
 --fs-display-num: 60px;
 --fs-display-step: 80px;
 --fs-display-hero: 120px;
 --fs-quote-display: clamp(28px, 4vw, 44px);
 --fs-marquee: 20px;
  --fs-nav-logo: 30px;
  --fs-footer-logo: 30px;
 --fs-cta-email: 20px;
 --fs-testi-quote: 36px;

 /* Line heights */
 --lh-tight: 0.9;
 --lh-heading: 0.95;
 --lh-heading-relaxed: 1.1;
 --lh-body: 1.65;
 --lh-lead: 1.7;
 --lh-copy: 1.75;
 --lh-copy-loose: 1.8;
 --lh-single: 1;

 /* Letter spacing */
 --ls-tight: -0.02em;
 --ls-heading: -0.01em;
 --ls-display: 0.01em;
 --ls-wide: 0.04em;
 --ls-wider: 0.06em;
 --ls-widest: 0.08em;
 --ls-label: 0.1em;
 --ls-section-label: 0.18em;

 /* Layout */
 --container-max: 1280px;
 --section-padding-x: 48px;
 --section-padding-y: 120px;
 --radius-sm: 2px;
 --radius-md: 4px;
 --radius-pill: 12px;

 /* Motion */
 --transition-fast: 0.15s ease;
 --transition-base: 0.2s ease;
 --transition-slow: 0.7s ease;
}

/* Reset */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 background: var(--surface-base);
 color: var(--text-primary);
 font-family: var(--font-body);
 font-size: var(--fs-body);
 line-height: var(--lh-body);
 overflow-x: hidden;
 cursor: default;
}

body::before {
 content: '';
 position: fixed;
 inset: 0;
 z-index: 0;
 pointer-events: none;
 background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
 background-size: 200px;
 opacity: 0.4;
}

img, svg {
 display: block;
 max-width: 100%;
}

a {
 color: inherit;
}

em {
 font-style: normal;
}

/* Headings */
h1, .heading-hero {
 font-family: var(--font-display);
 font-size: var(--fs-h1);
 line-height: var(--lh-tight);
 letter-spacing: var(--ls-heading);
 color: var(--text-primary);
 text-transform: uppercase;
}

h2, .heading-section {
 font-family: var(--font-display);
 font-size: var(--fs-h2);
 line-height: var(--lh-heading);
 letter-spacing: var(--ls-display);
 color: var(--text-primary);
 text-transform: uppercase;
}

/* Larger h2 only when a design-specific class sets it (e.g. .why-cta-banner-title) */
h2.heading-section-lg,
.heading-section-lg {
 font-size: var(--fs-h2-lg);
}

h3, .heading-card {
 font-family: var(--font-display);
 font-size: var(--fs-h3);
 line-height: var(--lh-heading-relaxed);
 letter-spacing: var(--ls-wide);
 color: var(--text-primary);
 text-transform: uppercase;
}

h4, .heading-sm {
 font-family: var(--font-display);
 font-size: var(--fs-h5);
 line-height: var(--lh-heading-relaxed);
 letter-spacing: var(--ls-wide);
 color: var(--text-primary);
 text-transform: uppercase;
}

h1 em, h2 em, h3 em, .heading-hero em, .heading-section em, .heading-section-lg em {
 color: var(--accent);
}

/* Paragraphs & copy */
p {
 font-size: var(--fs-paragraph);
 line-height: var(--lh-copy);
 color: var(--text-muted);
}

.text-lead, .lead {
 font-size: var(--fs-paragraph);
 line-height: var(--lh-lead);
 font-weight: 300;
}

.text-body {
 font-size: var(--fs-paragraph);
 line-height: var(--lh-copy-loose);
}

.text-small {
 font-size: var(--fs-small);
 line-height: var(--lh-copy);
}

.text-caption {
 font-size: var(--fs-caption);
}

.text-muted {
 color: var(--text-muted);
}

.text-secondary {
 color: var(--text-secondary);
}

/* Labels & UI text */
.section-label,
.text-label {
 font-size: var(--fs-micro);
 letter-spacing: var(--ls-section-label);
 text-transform: uppercase;
 color: var(--accent);
 font-weight: 500;
}

.section-label {
 margin-bottom: 20px;
 display: flex;
 align-items: center;
 gap: 10px;
}

.section-label::before {
 content: '';
 display: block;
 width: 32px;
 height: 1px;
 background: var(--accent);
}

.text-label-md {
 font-size: var(--fs-tiny);
 letter-spacing: var(--ls-label);
 text-transform: uppercase;
 font-weight: 500;
}

.text-uppercase {
 text-transform: uppercase;
}

/* Display numbers */
.display-stat {
 font-family: var(--font-display);
 font-size: var(--fs-display-stat);
 line-height: var(--lh-single);
 color: var(--text-primary);
 letter-spacing: var(--ls-wide);
}

.display-stat-lg {
 font-size: var(--fs-display-stat-lg);
}

.display-num {
 font-family: var(--font-display);
 font-size: var(--fs-display-num);
 line-height: var(--lh-single);
}

.display-hero-num {
 font-size: var(--fs-display-hero);
 color: var(--accent);
}

/* Buttons */
.btn-primary,
.btn-ghost {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-family: var(--font-body);
 font-size: var(--fs-btn);
 font-weight: 500;
 letter-spacing: var(--ls-wide);
 text-transform: uppercase;
 text-decoration: none;
 border-radius: var(--radius-sm);
 cursor: pointer;
}

.btn-primary {
 background: var(--accent);
 color: var(--text-inverse);
 padding: 16px 36px;
 border: none;
}

.btn-primary:hover {
 background: var(--accent-hover);
}

.btn-ghost {
 color: var(--text-primary);
 padding: 16px 36px;
 border: 1px solid var(--border);
}

.btn-ghost:hover {
 border-color: rgba(242, 237, 230, 0.4);
 background: rgba(242, 237, 230, 0.04);
}

/* Layout, shared horizontal alignment for nav, sections, footer */
.container,
.site-container {
 width: 100%;
 max-width: var(--container-max);
 margin-inline: auto;
 padding-inline: var(--section-padding-x);
 box-sizing: border-box;
}

.site-section {
 position: relative;
 z-index: 1;
 padding-block: var(--section-padding-y);
}

@media (max-width: 1100px) {
 :root {
 --section-padding-x: 32px;
 --section-padding-y: 96px;
 }
}

@media (max-width: 900px) {
 :root {
 --section-padding-x: 20px;
 --section-padding-y: 72px;
 }
}

@media (max-width: 480px) {
 :root {
 --section-padding-x: 16px;
 --fs-h3: 24px;
 --fs-h4: 20px;
 --fs-display-stat: 40px;
 }
}

/* Accessibility */
.visually-hidden {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}

/* Page theme variants */
.page-why-us {
 background: var(--surface-dark);
 color: #e7e2db;
}

.page-why-us h1,
.page-why-us h2,
.page-why-us h3,
.page-why-us .heading-section-lg {
 color: #e7e2db;
}
