/* =============================================
   NIKOLAS QUIZ — nik-fonts.css
   Typography & Font Imports
   ============================================= */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Source+Sans+3:wght@300;400;600;700;900&display=swap');

/* ---- FONT FAMILIES ---- */
:root {
  --nik-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --nik-font-body: 'Lora', Georgia, serif;
  --nik-font-ui: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- BASE TYPOGRAPHY SCALE ---- */
.nik-display-xl {
  font-family: var(--nik-font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -1.5px;
}
.nik-display-lg {
  font-family: var(--nik-font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.nik-display-md {
  font-family: var(--nik-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.nik-display-sm {
  font-family: var(--nik-font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}
.nik-body-lg {
  font-family: var(--nik-font-body);
  font-size: 1.1rem;
  line-height: 1.8;
}
.nik-body-md {
  font-family: var(--nik-font-body);
  font-size: 1rem;
  line-height: 1.7;
}
.nik-body-sm {
  font-family: var(--nik-font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}
.nik-ui-label {
  font-family: var(--nik-font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nik-ui-caption {
  font-family: var(--nik-font-ui);
  font-size: 0.8rem;
  color: var(--nik-text-muted);
}

/* ---- DROPCAP ---- */
.nik-dropcap::first-letter {
  font-family: var(--nik-font-display);
  font-size: 4.5rem;
  font-weight: 800;
  float: left;
  line-height: 0.8;
  margin-right: 10px;
  margin-top: 6px;
  color: var(--nik-primary);
}

/* ---- ARTICLE TYPOGRAPHY ---- */
.nik-article-body {
  font-family: var(--nik-font-body);
  font-size: 1.06rem;
  line-height: 1.85;
  color: #2c3e50;
}
.nik-article-body h2 {
  font-family: var(--nik-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--nik-primary);
}
.nik-article-body h3 {
  font-family: var(--nik-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--nik-primary);
}
.nik-article-body strong { font-weight: 600; color: var(--nik-primary); }
.nik-article-body em { font-style: italic; }

/* ---- PULL QUOTE ---- */
.nik-pull-quote {
  font-family: var(--nik-font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--nik-secondary);
  text-align: center;
  padding: 32px 40px;
  margin: 40px 0;
  border-top: 2px solid var(--nik-accent);
  border-bottom: 2px solid var(--nik-accent);
}

/* ---- UI TEXT ---- */
.nik-eyebrow {
  font-family: var(--nik-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--nik-teal);
}

/* ---- RESPONSIVE FONT ADJUSTMENTS ---- */
@media (max-width: 768px) {
  .nik-dropcap::first-letter { font-size: 3.5rem; }
  .nik-pull-quote { font-size: 1.15rem; padding: 24px 20px; }
  .nik-article-body { font-size: 1rem; }
}
