/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FAF8F4;
  --cream-mid: #F2EDE4;
  --warm-gray: #E8E2D9;
  --stone: #C4B9A8;
  --text-dark: #1C1A17;
  --text-mid: #4A4540;
  --text-light: #7A7268;
  --accent: #EB007D;
  --accent-light: #F0399A;
  --accent-pale: #FDE8F3;
  --accent-dark: #C4006A;
  --dark-bg: #1C1118;
  --status-green: #38a169;
  --status-red: #e53e3e;
  --serif: 'Lora', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --pad-section: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

/* ── Shared Typography ── */

/* Eyebrow: small uppercase label. Override color/margin per context. */
.eyebrow,
.section-eyebrow,
.header-eyebrow,
.hero-eyebrow,
.cta-eyebrow,
.wyl-eyebrow,
.curriculum-eyebrow,
.for-who-eyebrow,
.instructor-eyebrow,
.rebuild-eyebrow,
.agency-dark-eyebrow,
.ps-eyebrow,
.intro-eyebrow,
.learning-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Badge/pill: small uppercase label in a rounded container */
.badge,
.course-badge,
.post-category,
.featured-badge,
.learn-course-badge,
.module-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(235, 0, 125, 0.1);
  border: 1px solid rgba(235, 0, 125, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
}

/* Hero subtitle: used in split heroes and standalone hero sections */
.hero-sub,
.hero-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-sub p + p,
.hero-body p + p {
  margin-top: 18px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* ── Button Group ── */
.button-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Animation Classes ── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.fade-up-stagger > .fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up-stagger > .fade-up:nth-child(2) { transition-delay: 0.15s; }
.fade-up-stagger > .fade-up:nth-child(3) { transition-delay: 0.25s; }
.fade-up-stagger > .fade-up:nth-child(4) { transition-delay: 0.35s; }
.fade-up-stagger > .fade-up:nth-child(5) { transition-delay: 0.45s; }
