/* ══════════════════════════════════════════════════
   DRIVERTISE USA — BASE STYLES
   Variables · Reset · Typography · Layout · Utilities
   ══════════════════════════════════════════════════ */

:root {
  /* ── Backgrounds ── */
  --bg:          #0A0D12;
  --bg2:         #080B10;
  --bg3:         #0E1219;
  --bg-light:    #F7F5F1;
  --bg-navy:     #1B2B3A;

  /* ── Text ── */
  --cream:       #F7F5F1;
  --white:       #FFFFFF;
  --w70:         rgba(255,255,255,0.70);
  --w55:         rgba(255,255,255,0.55);
  --w38:         rgba(255,255,255,0.38);
  --w20:         rgba(255,255,255,0.20);
  --w10:         rgba(255,255,255,0.10);
  --w07:         rgba(255,255,255,0.07);
  --w04:         rgba(255,255,255,0.04);

  /* ── Accent Colors ── */
  --yellow:      #E6DF1A;
  --yellow-dim:  rgba(230,223,26,0.12);
  --yellow-mid:  rgba(230,223,26,0.25);
  --gold:        #C8973A;
  --gold-dim:    rgba(200,151,58,0.20);
  --green:       #4DE8A0;
  --green-dim:   rgba(77,232,160,0.15);

  /* ── Borders ── */
  --border:       rgba(255,255,255,0.07);
  --border-md:    rgba(255,255,255,0.12);
  --border-gold:  rgba(200,151,58,0.30);
  --border-light: rgba(10,13,18,0.10);

  /* ── Typography ── */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* ── Layout ── */
  --section-pad:  120px;
  --container:    1200px;
  --nav-h:        72px;
  --radius:       8px;
  --radius-lg:    16px;

  /* ── Easing ── */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1.0);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Dot Particle Texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 15px;
}

/* ══════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: var(--section-pad) 0;
}

/* ── Light Section Override ── */
.section-light {
  background: var(--bg-light);
  color: #0A0D12;
}

.section-light .eyebrow {
  color: var(--gold);
}

.section-light h2,
.section-light h3 {
  color: #0A0D12;
}

.section-light p {
  color: rgba(10,13,18,0.65);
}

.section-light .text-muted {
  color: rgba(10,13,18,0.45);
}

/* ── Yellow Accent Section ── */
.section-yellow {
  background: var(--yellow);
  color: #0A0D12;
}

/* ══════════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(44px, 6.5vw, 88px); }
h2 { font-size: clamp(32px, 4.5vw, 58px); }
h3 { font-size: clamp(20px, 2.5vw, 30px); }
h4 { font-size: 19px; letter-spacing: -0.01em; }
h5 { font-size: 15px; font-weight: 700; letter-spacing: 0; }

p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--w70);
}

/* ── Eyebrow Labels ── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ── Display / Hero Text ── */
.display-italic {
  font-style: italic;
  color: var(--yellow);
}

/* ── Section Header Pattern ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-header p {
  margin-top: 20px;
  font-size: 17px;
}

.section-header-left {
  text-align: left;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ══════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.70s var(--ease), transform 0.70s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ══════════════════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════════════════ */
.text-yellow  { color: var(--yellow); }
.text-gold    { color: var(--gold); }
.text-green   { color: var(--green); }
.text-muted   { color: var(--w55); }
.text-center  { text-align: center; }
.italic       { font-style: italic; }

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

/* ══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 96px; }
  .container { padding: 0 24px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 48px; }
  p { font-size: 15px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 60px; }
}
