/* ==========================================================================
   BLUEPRINT LOGIC — SITE STYLES
   ==========================================================================
   Editorial publishing house aesthetic, matching the book cover's visual
   language. Cream backgrounds, deep navy, orange accents, refined typography.
   ========================================================================== */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Brand colors */
  --cream:        #F2EBDA;
  --cream-light:  #FAF6EC;
  --cream-dark:   #E5DCC4;
  --navy:         #0B1624;
  --navy-soft:    #1B2A3D;
  --orange:       #E8820C;
  --orange-light: #F39A2D;
  --gold:         #B8893E;
  --slate:        #3D4F60;
  --soft-text:    #6B7A8B;
  --line:         #DDD2B5;
  --white:        #FFFFFF;

  /* Typography scale (clamp() = responsive without media queries) */
  --fs-display:   clamp(2.5rem, 7vw, 5.5rem);
  --fs-h1:        clamp(2rem, 5vw, 3.75rem);
  --fs-h2:        clamp(1.5rem, 3.5vw, 2.5rem);
  --fs-h3:        clamp(1.25rem, 2.5vw, 1.625rem);
  --fs-lead:      clamp(1.125rem, 1.8vw, 1.375rem);
  --fs-body:      1.0625rem;
  --fs-small:     0.9375rem;
  --fs-eyebrow:   0.75rem;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-w:        1280px;
  --max-w-narrow: 720px;
  --max-w-prose:  640px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 22, 36, 0.04);
  --shadow-md: 0 4px 24px rgba(11, 22, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 22, 36, 0.12);
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover { color: var(--orange); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--space-sm);
  color: var(--navy);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p {
  margin: 0 0 1.25em;
  max-width: var(--max-w-prose);
}

.display {
  font-family: 'Fraunces', serif;
  font-size: var(--fs-display);
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--slate);
  font-weight: 400;
}

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.eyebrow.gold { color: var(--gold); }
.eyebrow.slate { color: var(--slate); }

.serif-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

/* ── LAYOUT PRIMITIVES ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--space-xl) 0;
}

.section-tight { padding: var(--space-lg) 0; }
.section-loose { padding: var(--space-2xl) 0; }

/* The signature left orange bar — recurring brand element from book cover */
.orange-rule {
  width: 3rem;
  height: 3px;
  background: var(--orange);
  margin-bottom: var(--space-md);
}

.orange-rule-thin {
  width: 100%;
  height: 1px;
  background: var(--orange);
  opacity: 0.4;
}

/* ── NAV ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(242, 235, 218, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.125rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-transform: uppercase;
}

.nav-brand img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  background: var(--navy);
  color: var(--cream-light) !important;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--orange);
  color: var(--cream-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 30px;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 4px;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 18px; }

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 14px;
}

.nav-toggle.open span:nth-child(2) {
  transform: rotate(-45deg);
  top: 14px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md) var(--gutter);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.4s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.5rem 0; }
  .nav-cta { display: inline-block; text-align: center; }
}

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream-light);
}

.btn-primary:hover {
  background: var(--orange);
  color: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 130, 12, 0.25);
}

.btn-orange {
  background: var(--orange);
  color: var(--cream-light);
}

.btn-orange:hover {
  background: var(--navy);
  color: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 22, 36, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream-light);
}

.btn-text {
  background: transparent;
  color: var(--navy);
  padding: 0.5rem 0;
  border-bottom: 1.5px solid var(--orange);
  border-radius: 0;
}

.btn-text:hover {
  color: var(--orange);
}

.btn-large {
  padding: 1.125rem 2rem;
  font-size: 1rem;
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.25s var(--ease);
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ── HERO (HOMEPAGE) ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-2xl);
  overflow: hidden;
}

.hero::before {
  /* The signature left orange bar — runs full height of the hero */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--orange);
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.hero-content { animation: fadeUp 0.9s var(--ease) both; }
.hero-content h1 { margin-bottom: var(--space-md); }

.hero-content .accent-word {
  position: relative;
  display: inline-block;
}

.hero-content .accent-word::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.18em;
  background: var(--orange);
  z-index: -1;
}

.hero-image {
  position: relative;
  animation: fadeUp 0.9s 0.15s var(--ease) both;
}

.hero-image img {
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(11, 22, 36, 0.18));
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease);
}

.hero-image:hover img {
  transform: rotate(0deg) translateY(-8px);
}

.hero-image::before {
  content: 'EDITION I';
  position: absolute;
  top: -20px;
  right: 20px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  padding: 0.5rem 0.875rem;
  z-index: 2;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.hero-stat-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin-top: 0.375rem;
}

/* ── ANIMATIONS ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PILL / TAG ────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 130, 12, 0.1);
  color: var(--orange);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ── SECTION HEADERS ───────────────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-lg);
  max-width: var(--max-w-prose);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── PROBLEM/SOLUTION SECTION ─────────────────────────────────────────── */
.split-section {
  background: var(--navy);
  color: var(--cream-light);
  position: relative;
}

.split-section h1, .split-section h2, .split-section h3 {
  color: var(--cream-light);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.split-section .lead { color: rgba(245, 239, 224, 0.85); }

.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.problem-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 239, 224, 0.15);
  font-size: 1.0625rem;
}

.problem-list li::before {
  content: '×';
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  margin-top: 0.125rem;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.solution-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 239, 224, 0.15);
  font-size: 1.0625rem;
}

.solution-list li::before {
  content: '→';
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  margin-top: 0.125rem;
}

/* ── FEATURES GRID ─────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature {
  background: var(--cream-light);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
}

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

.feature:hover::before {
  transform: translateX(0);
}

.feature-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
}

.feature h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin: 0;
}

/* ── PRODUCTS / SERVICES GRID ─────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.product-card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

.product-card.featured {
  background: var(--navy);
  color: var(--cream-light);
  border-color: var(--navy);
}

.product-card.featured h3, .product-card.featured .product-price { color: var(--cream-light); }
.product-card.featured .product-desc { color: rgba(245, 239, 224, 0.78); }

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

.product-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--orange);
  color: var(--cream-light);
  font-family: 'Manrope', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3125rem 0.625rem;
  border-radius: 100px;
  text-transform: uppercase;
}

.product-price {
  font-family: 'Fraunces', serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.75rem 0 0.5rem;
  line-height: 1;
}

.product-price-meta {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate);
  margin-left: 0.375rem;
}

.product-card.featured .product-price-meta { color: rgba(245, 239, 224, 0.6); }

.product-desc {
  color: var(--slate);
  font-size: 0.9375rem;
  margin: 0.5rem 0 var(--space-md);
  flex: 1;
}

.product-cta {
  margin-top: auto;
}

/* ── EMAIL CAPTURE — the centerpiece form ──────────────────────────────── */
.lead-magnet {
  background: var(--navy);
  color: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.lead-magnet::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--orange);
}

.lead-magnet-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 800px) {
  .lead-magnet-grid { grid-template-columns: 1fr; }
  .lead-magnet { padding: var(--space-lg) var(--space-md); }
}

.lead-magnet h2 {
  color: var(--cream-light);
  margin-bottom: var(--space-sm);
}

.lead-magnet p {
  color: rgba(245, 239, 224, 0.82);
  font-size: 1.0625rem;
  margin-bottom: var(--space-md);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.input {
  flex: 1;
  min-width: 200px;
  background: rgba(245, 239, 224, 0.08);
  border: 1.5px solid rgba(245, 239, 224, 0.2);
  color: var(--cream-light);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s var(--ease);
}

.input::placeholder { color: rgba(245, 239, 224, 0.4); }

.input:focus {
  border-color: var(--orange);
  background: rgba(245, 239, 224, 0.12);
}

.input-light {
  background: var(--cream-light);
  border: 1.5px solid var(--line);
  color: var(--navy);
}

.input-light::placeholder { color: var(--soft-text); }

.input-light:focus {
  border-color: var(--orange);
  background: var(--white);
}

.form-trust {
  font-size: 0.8125rem;
  color: rgba(245, 239, 224, 0.55);
  margin: 0;
}

.form-trust-light { color: var(--soft-text); }

/* ── TESTIMONIAL / QUOTE ──────────────────────────────────────────────── */
.quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: var(--space-md) 0;
}

.quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--orange);
  font-family: 'Fraunces', serif;
  line-height: 1;
  font-weight: 600;
}

.quote-attr {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-text);
  font-weight: 600;
}

/* ── ABOUT / PROFILE ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-mark img {
  width: 200px;
  height: 200px;
  margin-bottom: var(--space-sm);
}

.about-mark-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin-top: 0.5rem;
}

/* ── PAGE HEADER (non-homepage pages) ──────────────────────────────────── */
.page-header {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--orange);
}

.page-header h1 {
  font-size: var(--fs-display);
  line-height: 0.96;
  margin-bottom: var(--space-sm);
}

/* ── FAQ / EXPANDABLE ──────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.faq-question:hover { color: var(--orange); }

.faq-question::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--orange);
  font-weight: 300;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--slate);
  font-size: 1rem;
}

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--cream-light);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
  width: 50px;
  height: 50px;
  margin-bottom: var(--space-sm);
}

.footer-brand h3 {
  color: var(--cream-light);
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(245, 239, 224, 0.65);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.625rem; }

.footer-col a {
  color: rgba(245, 239, 224, 0.78);
  font-size: 0.9375rem;
}

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

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 239, 224, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(245, 239, 224, 0.55);
}

.footer-bottom a { color: rgba(245, 239, 224, 0.55); }
.footer-bottom a:hover { color: var(--orange); }

/* ── UTILITIES ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-slate { color: var(--slate); }
.text-soft { color: var(--soft-text); }
.bg-navy { background: var(--navy); color: var(--cream-light); }
.bg-cream-light { background: var(--cream-light); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ── PROCESS / STEPS (for Grant Agent page) ────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  position: relative;
}

.step {
  position: relative;
  padding: var(--space-md);
  background: var(--cream-light);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin: 0;
}

/* ── BADGE ROW (trust signals) ─────────────────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  padding: var(--space-md) 0;
  margin: var(--space-md) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--soft-text);
  text-transform: uppercase;
  font-weight: 600;
}

.badge::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
}

/* ── PRINT STYLES (a small touch of polish) ────────────────────────────── */
@media print {
  .nav, .footer, .lead-magnet { display: none; }
  body { background: white; color: black; }
}
