/*
  CouVibe Studios type system — loaded last in every page <head> so it wins
  over each page's inline styles.

  Two complementary serifs:
  - Playfair Display: the high-contrast editorial "magazine cover" serif, for
    the big h1/h2 headlines and anything set in the page's --display font.
  - Cormorant Garamond: the classic, even Roman serif (the same family the
    Configurement site uses), for subheads, italic accents, quotes, prices
    and the wordmark.
  Body copy stays in DM Sans for readability.
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&display=swap');

html:root {
  --font-editorial: 'Playfair Display', 'Bodoni Moda', Didot, Georgia, serif;
  --font-classic: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Page-level variables many pages already use for headings. */
  --display: var(--font-editorial);
  --serif: var(--font-editorial);
  --cvg-display: var(--font-editorial);
}

/* Headlines: editorial serif. */
h1, h2 {
  font-family: var(--font-editorial) !important;
  letter-spacing: -0.015em !important;
  line-height: 1.06 !important;
  font-weight: 500;
}

/* Italic accents inside headlines switch to the classic serif. */
h1 em, h2 em, h1 i, h2 i {
  font-family: var(--font-classic) !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0 !important;
}

/* Subheads, quotes and statement lines: classic Roman serif. */
h3, h4, h5, h6, blockquote, .quote, .manifesto-statement, .project-name {
  font-family: var(--font-classic) !important;
  letter-spacing: 0.005em !important;
  font-weight: 600;
}

/* Small uppercase labels that are styled as h2 (footer directory). */
.footer-directory h2 {
  font-family: var(--font-sans) !important;
  letter-spacing: 0.14em !important;
  line-height: 1.4 !important;
  font-weight: 700;
}

/* Large numerals and prices read best in the classic serif. */
.price, .investment strong, .build-outline strong, .pay-option-price,
.quiz-meter-score, .hero-edition strong, .agent strong, .cvg-tier strong {
  font-family: var(--font-classic) !important;
  font-weight: 600;
  letter-spacing: 0 !important;
}

/* Text wordmarks (pages without the logo image) and monograms. */
.monogram, .footer-mark {
  font-family: var(--font-classic) !important;
}

/* The logo image in headers. */
a.logo img, a.brand img { display: block; }

/* Logo in headers that previously used a text wordmark. The artwork has a
   white ground, so on dark headers it sits on a small ivory plate. */
.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img { width: auto; height: 46px; }
.hero .brand-logo { background: #fff; padding: 7px 12px; border-radius: 8px; }
@media (max-width: 640px) { .brand-logo img { height: 36px; } }
