/**
 * Base Styles
 * Typography, body defaults, heading hierarchy
 */

/* @font-face - Self-hosted brand fonts */
/* Super Normal: Display font for headlines */
/* Pally: UI font for body text */
/* Note: .woff2 files must be added to assets/fonts/ */
/* Using DM Sans from Google Fonts as fallback */

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-midnight);
  background-color: var(--color-creme-light);
}

/* Headings - Super Normal display font */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-midnight);
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
}

h4 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}

/* Body text */
p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-600);
}

/* Links */
a {
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-terracota);
}

/* Selection */
::selection {
  background-color: var(--color-terracota);
  color: var(--color-white);
}

/* Typography utility classes */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.body-lg {
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.7;
}

.body-md {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
}

.body-sm {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
}

.caption {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Color utilities */
.text-terracota { color: var(--color-terracota); }
.text-olive { color: var(--color-olive); }
.text-creme { color: var(--color-creme); }
.text-midnight { color: var(--color-midnight); }
.text-white { color: var(--color-white); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-600 { color: var(--color-gray-600); }
