/* ============================================================
   ODU ACTIVE — BASE.CSS
   Design tokens, reset, typography, global utilities
   Built by Nesture
   ============================================================ */

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Colors */
  --color-black:        #080808;
  --color-dark:         #111111;
  --color-panel:        #161616;
  --color-border:       #202020;
  --color-border-light: #2a2a2a;
  --color-orange:       #E8440A;
  --color-orange-hover: #ff5a1f;
  --color-orange-dim:   rgba(232, 68, 10, 0.12);
  --color-orange-glow:  rgba(232, 68, 10, 0.25);
  --color-silver:       #9AA0A8;
  --color-silver-light: #C8CDD4;
  --color-white:        #F2F2F2;
  --color-muted:        #4A4F56;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Font weights */
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;

  /* Font sizes — fluid scale */
  --fs-xs:   0.72rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.1rem;
  --fs-lg:   1.3rem;
  --fs-xl:   clamp(1.5rem, 3vw, 2rem);
  --fs-2xl:  clamp(2rem, 5vw, 3.2rem);
  --fs-3xl:  clamp(2.8rem, 7vw, 5rem);
  --fs-4xl:  clamp(3.5rem, 9vw, 7rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:  1200px;
  --container-wide: 1440px;
  --nav-height:     72px;
  --radius-sm:      2px;
  --radius-md:      4px;
  --radius-lg:      8px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;

  /* Z-index scale */
  --z-base:    0;
  --z-above:   10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-top:     999;
}

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

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

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--color-black); }
::-webkit-scrollbar-thumb  { background: var(--color-orange); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-orange-hover); }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl);  }
h5 { font-size: var(--fs-lg);  font-weight: var(--fw-bold); }
h6 { font-size: var(--fs-md);  font-weight: var(--fw-bold); }

p {
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  color: var(--color-silver-light);
  line-height: 1.8;
  max-width: 65ch;
}

/* ── LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--space-24);
  position: relative;
}

.section--sm {
  padding-block: var(--space-16);
}

/* ── COLOR UTILITIES ─────────────────────────────────────── */
.text-orange  { color: var(--color-orange); }
.text-silver  { color: var(--color-silver); }
.text-muted   { color: var(--color-muted); }
.text-white   { color: var(--color-white); }

/* ── LABEL TAG ───────────────────────────────────────────── */
.label-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
}

/* ── NOISE GRAIN OVERLAY ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: var(--z-top);
}

/* ── DIVIDER ─────────────────────────────────────────────── */
.odu-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────── */
/*
  xs:  < 480px
  sm:  480px
  md:  768px
  lg:  1024px
  xl:  1280px
  2xl: 1440px
*/

@media (max-width: 768px) {
  .section        { padding-block: var(--space-16); }
  .section--sm    { padding-block: var(--space-12); }
  .container      { padding-inline: var(--space-4); }
}
