/* ==========================================================================
   ChennaiTrips — Typography System
   Manrope is the workhorse — body copy, UI, and most headings (h3/h4) use
   its bold weight. DM Serif Display is reserved for the editorial moments
   (h1/h2, big section statements) — used selectively, not on every heading.
   ========================================================================== */

:root {
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — fluid, clamps between mobile and desktop */
  --fs-display: clamp(2.75rem, 2rem + 3.2vw, 5.5rem);
  --fs-h1:      clamp(2.25rem, 1.7rem + 2.4vw, 4rem);
  --fs-h2:      clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
  --fs-h3:      clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --fs-h4:      clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lead:    clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9rem;
  --fs-eyebrow: 0.8rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.7;

  --ls-eyebrow: 0.18em;
  --ls-tight: -0.01em;
}

html { font-size: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-ink);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Editorial moments — page titles, big section statements. DM Serif Display
   ships in one weight (400), so headings using it must not request bold. */
h1, h2,
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-ink);
  margin: 0;
}

/* Everyday headings — card titles, feature labels — stay in Manrope so the
   serif doesn't show up on every single heading. */
h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--color-ink);
  margin: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0; }

.text-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--color-ink-soft);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

.text-muted { color: var(--color-ink-soft); }
.text-invert { color: var(--color-ink-invert); }
.text-gold { color: var(--color-accent); }

.text-center { text-align: center; }

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

strong { font-weight: 700; }

.serif-num {
  font-family: var(--font-display);
  font-weight: 400;
}

@media (max-width: 640px) {
  :root { --fs-body: 1rem; }
}
