/* base.css — MAKETH Brand Foundation */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Colors */
  --color-bg: #000000;
  --color-text: #FFFFFF;
  --color-accent: #DDB8DD;       /* Lavender */
  --color-gold: #F0C040;          /* Gold */
  --color-text-muted: rgba(255,255,255,0.55);
  --color-text-dim: rgba(255,255,255,0.3);
  --color-surface: rgba(255,255,255,0.04);
  --color-surface-hover: rgba(255,255,255,0.08);
  --color-border: rgba(255,255,255,0.1);
  --color-border-focus: var(--color-accent);

  /* Typography */
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;

  /* Type Scale (fluid) */
  --text-xs: clamp(0.6875rem, 0.65rem + 0.15vw, 0.75rem);    /* 11-12 */
  --text-sm: clamp(0.8125rem, 0.77rem + 0.2vw, 0.875rem);    /* 13-14 */
  --text-base: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem); /* 15-17 */
  --text-lg: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);     /* 17-20 */
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);        /* 20-24 */
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);           /* 24-32 */
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);             /* 32-48 */
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);         /* 40-72 */
  --text-hero: clamp(3.5rem, 2rem + 7.5vw, 8rem);            /* 56-128 */

  /* Spacing */
  --space-xs: 0.25rem;   /* 4 */
  --space-sm: 0.5rem;    /* 8 */
  --space-md: 1rem;      /* 16 */
  --space-lg: 1.5rem;    /* 24 */
  --space-xl: 2rem;      /* 32 */
  --space-2xl: 3rem;     /* 48 */
  --space-3xl: 4rem;     /* 64 */
  --space-4xl: 6rem;     /* 96 */
  --space-5xl: 8rem;     /* 128 */

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 720px;
  --content-padding: clamp(1.25rem, 4vw, 3rem);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--content-padding);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-gold);
  color: #000;
  font-weight: 700;
  z-index: 9999;
  font-size: var(--text-sm);
}
.skip-link:focus {
  top: var(--space-sm);
}

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

/* Selection */
::selection {
  background: var(--color-accent);
  color: #000;
}
