/* ============================================
   DUNNEWORLD — base.css
   Reset, design tokens, typography, utilities
   ============================================ */

/* --- Design tokens --- */
:root {
  /* Brand surfaces */
  --bg:           #0a0a0a;
  --bg-elevated:  #141414;
  --bg-card:      #1a1a1a;

  /* Type colors */
  --text:         #ffffff;
  --text-muted:   #888888;
  --text-dim:     rgba(255, 255, 255, 0.4);
  --text-soft:    rgba(255, 255, 255, 0.7);
  --hairline:     rgba(255, 255, 255, 0.08);

  /* Accent */
  --accent:       #f4a623;
  --accent-hover: #ffb84d;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --nav-h:        80px;
  --gutter:       48px;
  --gutter-mobile: 24px;
  --max-width:    1400px;

  /* Easings */
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out:  cubic-bezier(0.83, 0, 0.17, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  /* Lenis takes over scroll — remove native smooth-scroll to avoid conflict */
  scroll-behavior: auto;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- Custom-cursor mode: hide native cursor on devices that support it --- */
@media (hover: hover) and (pointer: fine) {
  body.cursor-enabled,
  body.cursor-enabled * {
    cursor: none !important;
  }
}

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Typography utilities --- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hashtag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--text);
}
