/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  color: var(--color-text-primary);
  font-weight: 500;
  line-height: var(--line-height-tight);
  margin-top: 0;
  margin-bottom: var(--spacing-4);
}

/* Editorial Display Typeface for Primary Page Headings (Pass 2 System) */
h1, h2, .display-editorial, .text-h1, .text-h2 {
  font-family: var(--font-family-display);
  font-weight: 400;
  letter-spacing: -0.015em;
}

h3, h4, h5, h6, .font-heading, .text-h3, .text-h4 {
  font-family: var(--font-family-heading);
  letter-spacing: -0.01em;
}

h1, .text-h1 {
  font-size: clamp(1.85rem, 5.5vw, var(--font-size-4xl));
  letter-spacing: -0.02em;
  line-height: 1.18;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
h2, .text-h2 {
  font-size: clamp(1.5rem, 4vw, var(--font-size-3xl));
  letter-spacing: -0.015em;
  line-height: 1.22;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
h3, .text-h3 { font-size: var(--font-size-2xl); font-weight: 500; }
h4, .text-h4 { font-size: var(--font-size-xl); font-weight: 500; }
h5 { font-size: var(--font-size-lg); font-weight: 500; }
h6 { font-size: var(--font-size-base); font-weight: 600; }

@media (min-width: 768px) {
  h1, .text-h1 { font-size: var(--font-size-5xl); }
  h2, .text-h2 { font-size: var(--font-size-4xl); }
  h3, .text-h3 { font-size: var(--font-size-3xl); }
}

@media (min-width: 1024px) {
  h1, .text-h1 { font-size: var(--font-size-6xl); }
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-primary-hover);
}

.text-small {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.text-xs {
  font-size: var(--font-size-xs);
}

.label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--color-text-secondary);
}
