/* ==========================================================================
   Free Equity Reports — Design System
   Modern Publication theme: warm, polished, editorial with depth & dimension
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-offwhite: #FAFAFA;
  --bg-warm-cream: #f8f6f1;
  --bg-warm-cream-alt: #fdf8ee;
  --bg-white: #FFFFFF;
  --bg-dark: #1a1218;
  --bg-dark-burgundy: #2a1520;
  --bg-navy: #1a1520;

  /* Brand: Burgundy */
  --burgundy: #8B1A1A;
  --burgundy-hover: #6B1414;
  --burgundy-light: rgba(139, 26, 26, 0.08);
  --burgundy-glow: rgba(139, 26, 26, 0.15);
  --burgundy-soft: #e8a0a0;

  /* Text */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #737373;
  --text-on-dark: #f0ece8;
  --text-on-dark-muted: rgba(240, 236, 232, 0.7);
  --text-on-dark-dim: rgba(240, 236, 232, 0.45);

  /* Borders */
  --border-light: #E5E5E5;
  --border-warm: rgba(139, 26, 26, 0.12);

  /* Typography Stacks */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 3-Layer Shadows (contact + lift + ambient) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.06), 0 8px 16px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.04);
  --shadow-lg: 0 2px 4px rgba(0,0,0,0.08), 0 12px 24px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.06);
  --shadow-burgundy: 0 4px 16px rgba(139, 26, 26, 0.2), 0 8px 32px rgba(139, 26, 26, 0.1);

  /* Spring Easing */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);

  /* Fluid Typography */
  --text-hero: clamp(2.6rem, 2rem + 3vw, 4.2rem);
  --text-section: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-body: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --text-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);

  /* Spacing */
  --section-pad: clamp(4.5rem, 8vw, 7.5rem);
  --container-max: 1080px;

  /* Semantic Colors */
  --color-positive: #16a34a;
  --color-negative: #dc2626;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Skip link — completely hidden until focused via keyboard */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--burgundy);
  color: white;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

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


/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: var(--text-section);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section-subtitle.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-title.centered { text-align: center; }
.eyebrow.centered { text-align: center; }


/* ==========================================================================
   5. SCROLL PROGRESS BAR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), #c44040);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: scaleProgress linear;
    animation-timeline: scroll();
  }
  @keyframes scaleProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}


/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

/* --- 6a. Floating Nav (landing page, over hero) --- */

.nav-float {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px clamp(1.5rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-float .nav-logo {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-float .nav-logo span { color: var(--burgundy-soft); }

.nav-float .nav-logo .logo-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--burgundy), #c44040);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 0 16px rgba(139, 26, 26, 0.3);
}

.nav-float .nav-logo .logo-mark::after {
  content: 'FER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
  opacity: 0.9;
}

.nav-float .nav-link {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color 200ms;
}

.nav-float .nav-link:hover { color: var(--burgundy-soft); }
.nav-float .nav-link strong { color: var(--burgundy-soft); font-weight: 600; }

/* --- 6b. Full Site Navigation (.nav) — light bg for homepage/report/static pages --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-offwhite);
  border-bottom: 1px solid var(--border-light);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav .nav-logo {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav .nav-logo span { color: var(--burgundy); }

.nav .nav-logo .logo-mark {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--burgundy), #c44040);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 0 12px rgba(139, 26, 26, 0.2);
}

.nav .nav-logo .logo-mark::after {
  content: 'FER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms;
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--burgundy);
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--burgundy);
  border-radius: 1px;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 200ms var(--ease-spring), opacity 150ms;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg video,
  .hero-bg img {
    animation: heroZoom 30s ease-in-out infinite alternate;
  }
  @keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
  }
}

.hero-bg-sim {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1920&q=80') center/cover no-repeat;
  filter: brightness(0.35) saturate(0.7);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg-sim { animation: heroZoom 30s ease-in-out infinite alternate; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(26, 18, 24, 0.92) 0%, rgba(26, 18, 24, 0.78) 40%, rgba(42, 21, 32, 0.7) 70%, rgba(42, 21, 32, 0.85) 100%);
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(139, 26, 26, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 70%, rgba(139, 26, 26, 0.06), transparent 50%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  background: rgba(139, 26, 26, 0.12);
  border: 1px solid rgba(139, 26, 26, 0.2);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #e8a0a0, #c44040, var(--burgundy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin-bottom: 14px;
}

.hero-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-on-dark);
  transition: border-color 200ms, box-shadow 200ms, background 200ms;
  backdrop-filter: blur(8px);
}

.hero-form input::placeholder { color: rgba(255,255,255,0.3); }

.hero-form input:focus {
  outline: none;
  border-color: rgba(139, 26, 26, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.2);
  background: rgba(255,255,255,0.12);
}

.hero-form button {
  padding: 16px 32px;
  background: var(--burgundy);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms, background 150ms;
  box-shadow: 0 0 24px rgba(139, 26, 26, 0.35), 0 0 48px rgba(139, 26, 26, 0.15);
}

.hero-form button:hover {
  background: var(--burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(139, 26, 26, 0.5), 0 0 64px rgba(139, 26, 26, 0.2);
}

.hero-form button:active {
  transform: translateY(0);
  transition-duration: 100ms;
}

.hero-form button .arrow {
  display: inline-block;
  transition: transform 200ms;
  margin-left: 4px;
}

.hero-form button:hover .arrow { transform: translateX(4px); }

.hero-note { font-size: 0.75rem; color: var(--text-on-dark-dim); }


/* ==========================================================================
   8. SECTION VARIANTS
   ========================================================================== */

/* --- Cream --- */
.section-cream {
  background: var(--bg-warm-cream);
  background-image:
    radial-gradient(ellipse 60% 60% at 10% 20%, rgba(139, 26, 26, 0.02), transparent),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(0,0,0,0.015), transparent);
  padding: var(--section-pad) 0;
}

/* --- Dark (gradient mesh) --- */
.section-dark {
  background-color: var(--bg-dark-burgundy);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(139, 26, 26, 0.15), transparent),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139, 26, 26, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(0,0,0,0.3), transparent);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.section-dark .eyebrow { color: var(--burgundy-soft); }
.section-dark .section-title { color: var(--text-on-dark); }
.section-dark .section-subtitle { color: var(--text-on-dark-muted); }

/* --- White --- */
.section-white {
  background: var(--bg-white);
  padding: var(--section-pad) 0;
}

/* --- CTA (warm cream + radial accents) --- */
.section-cta {
  background: var(--bg-warm-cream);
  background-image:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(139,26,26,0.03), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 80%, rgba(139,26,26,0.02), transparent 50%);
  padding: var(--section-pad) 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.section-cta h2 {
  font-family: var(--font-sans);
  font-size: var(--text-section);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-cta .cta-sub {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Testimonials background --- */
.section-testimonials {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  background: #000;
}

.section-testimonials .t-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-testimonials .t-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.section-testimonials .t-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(42,21,32,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(42,21,32,0.5) 100%);
}

.section-testimonials > .container { position: relative; z-index: 2; }
.section-testimonials .eyebrow { color: var(--burgundy-soft); }
.section-testimonials .section-title { color: var(--text-on-dark); }

/* --- Proof Bar --- */
.proof-bar {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(139, 26, 26, 0.1), transparent);
  padding: 30px 0;
  border-top: 1px solid rgba(139, 26, 26, 0.12);
  border-bottom: 1px solid rgba(139, 26, 26, 0.12);
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  flex-wrap: wrap;
}

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

.proof-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-shadow: 0 0 20px rgba(139, 26, 26, 0.3);
}

.proof-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}


/* ==========================================================================
   9. FEATURE CARDS
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--burgundy);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  transition: transform 250ms var(--ease-spring), box-shadow 250ms var(--ease-spring);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ==========================================================================
   10. GLASSMORPHISM CARDS (differ-card)
   ========================================================================== */

.differ-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.differ-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 300ms, box-shadow 300ms, transform 300ms var(--ease-spring);
}

.differ-card:hover {
  border-color: rgba(139, 26, 26, 0.25);
  box-shadow: 0 0 40px rgba(139, 26, 26, 0.08);
  transform: translateY(-3px);
}

@supports not (backdrop-filter: blur(1px)) {
  .differ-card { background: rgba(30, 20, 25, 0.9); }
}

.differ-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  background: rgba(139, 26, 26, 0.12);
  border: 1px solid rgba(139, 26, 26, 0.15);
  border-radius: 10px;
}

.differ-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}

.differ-card p {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.differ-highlight {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--burgundy-soft);
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(139, 26, 26, 0.08);
  border-left: 2px solid rgba(139, 26, 26, 0.3);
  border-radius: 0 6px 6px 0;
}


/* ==========================================================================
   11. TESTIMONIALS
   ========================================================================== */

.testimonials-scatter {
  max-width: 900px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial {
  background: var(--bg-white);
  padding: 26px 28px;
  border-radius: 4px;
  position: relative;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    0 8px 20px rgba(0,0,0,0.12),
    0 16px 40px rgba(0,0,0,0.08);
  transition: transform 200ms var(--ease-spring), box-shadow 200ms;
}

.testimonial:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.12),
    0 12px 28px rgba(0,0,0,0.15),
    0 24px 48px rgba(0,0,0,0.1);
}

/* Scattered rotation */
.testimonial:nth-child(1) { transform: rotate(-0.8deg); }
.testimonial:nth-child(2) { transform: rotate(0.5deg); margin-top: 20px; }
.testimonial:nth-child(3) { transform: rotate(0.4deg); margin-top: -10px; }
.testimonial:nth-child(4) { transform: rotate(-0.6deg); margin-top: 10px; }

/* Tape strip effect */
.testimonial::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 14px;
  background: rgba(220, 210, 190, 0.85);
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial .t-author {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

.testimonial .t-context {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial .t-stars {
  font-size: 0.7rem;
  color: #d4a017;
  margin-bottom: 10px;
  letter-spacing: 2px;
}


/* ==========================================================================
   12. ALLURE CARD (teaser with blurred lines + gradient fade)
   ========================================================================== */

.transform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.transform-text h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.transform-text p {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.transform-text .highlight-line {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--burgundy);
  padding: 10px 16px;
  background: var(--burgundy-light);
  border-left: 3px solid var(--burgundy);
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}

.transform-visual {
  position: relative;
}

.allure-card {
  background: var(--bg-warm-cream);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.allure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy), #c44040, var(--burgundy));
}

.allure-card .ticker-peek {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.3;
}

.allure-card .headline-peek {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 16px;
}

.allure-card .line-blur {
  height: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--border-light), rgba(139,26,26,0.06));
}

.allure-card .line-blur:nth-child(odd) { width: 100%; }
.allure-card .line-blur:nth-child(even) { width: 75%; }

.allure-card .data-row-peek {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.allure-card .data-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(139,26,26,0.05);
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid rgba(139,26,26,0.08);
}

.allure-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-warm-cream), transparent);
  pointer-events: none;
}

.allure-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

/* What's Inside — report allure */
.report-allure {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.report-allure .allure-body {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.report-allure .allure-body strong {
  color: var(--text-on-dark);
  font-weight: 600;
}

.allure-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.allure-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--burgundy-soft);
  background: rgba(139, 26, 26, 0.1);
  border: 1px solid rgba(139, 26, 26, 0.15);
  padding: 7px 14px;
  border-radius: 6px;
}


/* ==========================================================================
   13. EMAIL CTA FORM
   ========================================================================== */

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto 14px;
}

.cta-form input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  transition: border-color 200ms, box-shadow 200ms;
  box-shadow: var(--shadow-sm);
}

.cta-form input::placeholder { color: var(--text-muted); }

.cta-form input:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px var(--burgundy-glow), var(--shadow-sm);
}

.cta-form button {
  padding: 16px 32px;
  background: var(--burgundy);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms, background 150ms;
  box-shadow: var(--shadow-burgundy);
}

.cta-form button:hover {
  background: var(--burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139,26,26,0.3), 0 12px 40px rgba(139,26,26,0.15);
}

.cta-form button:active {
  transform: translateY(0);
  transition-duration: 100ms;
}

.cta-note { font-size: 0.75rem; color: var(--text-muted); }


/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.footer {
  padding: 28px 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-offwhite);
  border-top: 1px solid var(--border-light);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms;
}

.footer a:hover { color: var(--burgundy); }

.footer .disclaimer-text {
  margin-top: 10px;
  font-size: 0.68rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: #999;
}


/* ==========================================================================
   15. GLOW DIVIDER
   ========================================================================== */

.glow-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,26,26,0.2) 20%, rgba(139,26,26,0.2) 80%, transparent);
  box-shadow: 0 0 8px rgba(139,26,26,0.06);
}


/* ==========================================================================
   15b. HOMEPAGE HERO SPLIT
   ========================================================================== */

.hero-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ==========================================================================
   16. REPORT CARD (.report-card) — shared component
   ========================================================================== */

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.report-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  transition: transform 250ms var(--ease-spring), box-shadow 250ms var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.report-card .report-ticker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.report-card .report-headline {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 200ms;
}

.report-card .report-headline:hover {
  color: var(--burgundy);
}

.report-card .report-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.report-card .report-excerpt {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.report-card .report-read {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
  transition: color 200ms;
  margin-top: auto;
}

.report-card .report-read:hover {
  color: var(--burgundy-hover);
}


/* ==========================================================================
   17. REPORT PAGE STYLES (.report-body) — article content
   ========================================================================== */

.report-body {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  color: var(--text-primary);
  line-height: 1.75;
}

.report-body p {
  margin-bottom: 1.5em;
}

.report-body h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
}

.report-body h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.report-body blockquote {
  border-left: 4px solid var(--burgundy);
  background: rgba(139, 26, 26, 0.04);
  padding: 16px 20px;
  margin: 1.5em 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
}

.report-body blockquote p:last-child {
  margin-bottom: 0;
}

/* Mid-day update blocks — visually distinct from article body */
.report-update {
  background: var(--bg-dark-burgundy, #2a1520);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 1.5rem 0 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-on-dark, #f0ece8);
  line-height: 1.7;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    0 8px 16px rgba(0,0,0,0.08);
}

.report-update .update-label {
  font-weight: 800;
  color: #d4a017;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.report-update p {
  margin: 0;
  color: rgba(240, 236, 232, 0.9);
}

.report-update + .report-update {
  margin-top: 1rem;
}

.report-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  font-weight: 500;
  color: var(--burgundy);
  background: rgba(0,0,0,0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

.report-body pre {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 20px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5em 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
}

.report-body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.report-body ul,
.report-body ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.report-body li {
  margin-bottom: 0.5em;
  line-height: 1.75;
}

.report-body strong {
  font-weight: 700;
  color: var(--text-primary);
}

.report-body a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms;
}

.report-body a:hover {
  color: var(--burgundy-hover);
}

.report-body img {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  margin: 1.5em 0;
}

/* Report header (above body) */
.report-header {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
  text-align: center;
}

.report-header .report-ticker {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.report-header h1 {
  font-family: var(--font-sans);
  font-size: var(--text-section);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.report-header .report-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}


/* ==========================================================================
   18. KEY DATA BOX (.key-data-box)
   ========================================================================== */

.key-data-box {
  background: var(--bg-warm-cream);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 1.5em 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.key-data-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100px;
}

.key-data-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.key-data-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.key-data-value.positive { color: var(--color-positive); }
.key-data-value.negative { color: var(--color-negative); }


/* ==========================================================================
   19. SPONSORED BANNER (.sponsored-banner)
   ========================================================================== */

.sponsored-banner {
  background: #FFF8E1;
  border: 1px solid #D4A017;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.5em 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-secondary);
}

.sponsored-banner strong {
  color: var(--text-primary);
  font-weight: 600;
}

.sponsored-banner a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ==========================================================================
   20. STICKY SUBSCRIBE BAR (.sticky-bar)
   ========================================================================== */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(26, 18, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px clamp(1.5rem, 4vw, 3rem);
  transform: translateY(100%);
  transition: transform 400ms var(--ease-spring);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

@supports not (backdrop-filter: blur(1px)) {
  .sticky-bar { background: rgba(26, 18, 24, 0.97); }
}

.sticky-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar .sticky-logo {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-on-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-bar .sticky-logo .logo-mark-sm {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--burgundy), #c44040);
  border-radius: 4px;
  position: relative;
}

.sticky-bar .sticky-logo .logo-mark-sm::after {
  content: 'FER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;
  opacity: 0.9;
}

.sticky-bar .sticky-text {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  flex: 1;
  min-width: 0;
}

.sticky-bar .sticky-btn {
  padding: 10px 24px;
  background: var(--burgundy);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms, background 150ms;
  box-shadow: 0 0 16px rgba(139, 26, 26, 0.3), 0 0 32px rgba(139, 26, 26, 0.1);
}

.sticky-bar .sticky-btn:hover {
  background: var(--burgundy-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(139, 26, 26, 0.45), 0 0 48px rgba(139, 26, 26, 0.15);
}


/* ==========================================================================
   21. ARCHIVE / PAGE STYLES
   ========================================================================== */

.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.page-content h1 {
  font-family: var(--font-sans);
  font-size: var(--text-section);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-content p {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5em;
}

/* Archive list (paginated) */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.archive-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 250ms var(--ease-spring), transform 250ms var(--ease-spring);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.archive-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.archive-item .archive-ticker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 1px;
  flex-shrink: 0;
  min-width: 60px;
}

.archive-item .archive-content {
  flex: 1;
  min-width: 0;
}

.archive-item .archive-headline {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 200ms;
  line-height: 1.35;
}

.archive-item .archive-headline:hover { color: var(--burgundy); }

.archive-item .archive-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.archive-item .archive-excerpt {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 150ms, color 150ms;
}

.pagination a {
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.pagination a:hover {
  color: var(--burgundy);
  border-color: var(--burgundy);
  background: var(--burgundy-light);
}

.pagination .current {
  background: var(--burgundy);
  color: white;
  font-weight: 600;
  border: 1px solid var(--burgundy);
}

.pagination .disabled {
  color: var(--text-muted);
  opacity: 0.5;
  pointer-events: none;
}


/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero / CTA forms */
  .hero-form,
  .cta-form {
    flex-direction: column;
  }

  .hero-form button,
  .cta-form button {
    width: 100%;
  }

  /* Grids collapse */
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .differ-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .transform-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonials-scatter {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .testimonial:nth-child(n) {
    transform: none;
    margin-top: 0;
  }

  .proof-stats { gap: 2rem; }

  .report-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Full site nav — hamburger */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-offwhite);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 16px clamp(1.5rem, 4vw, 3rem);
    gap: 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 250ms var(--ease-spring), opacity 200ms;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Archive items stack */
  .archive-item {
    flex-direction: column;
    gap: 8px;
  }

  /* Sticky bar compact */
  .sticky-bar .sticky-text {
    display: none;
  }

  /* Key data box wraps */
  .key-data-box {
    gap: 16px;
  }

  .key-data-item {
    min-width: 80px;
  }
}


/* ==========================================================================
   23. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
