/* ═══════════════════════════════════════════════════════════
   VetCert Ready — Site Stylesheet
   Aesthetic: Editorial Military Precision
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy: #0d1f3c;
  --navy-deep: #08152a;
  --navy-light: #1a3358;
  --gold: #c9a84c;
  --gold-deep: #b8963e;
  --gold-light: #f5e9c8;
  --cream: #faf7f2;
  --paper: #f5f2ec;
  --rust: #8b4513;
  --ink: #1a1a2e;
  --gray-1: #f0ece3;
  --gray-2: #d8d4ca;
  --gray-3: #8a8a9a;
  --gray-4: #5a5a6a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); }

p { margin-bottom: 1rem; color: var(--gray-4); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--gray-4); }
.serif-italic { font-family: var(--serif); font-style: italic; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  display: inline-block;
}
.eyebrow::before { content: '— '; color: var(--gold); }

a { color: var(--navy); text-decoration: none; }
a.text-link {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
a.text-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ═══ LAYOUT ═══ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; margin: 0 auto; }
section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }

/* ═══ NAVIGATION ═══ */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-brand-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  margin-top: 0.25rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(201, 168, 76, 0.08); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; }
  .nav-cta { margin-left: 0; text-align: center; }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--gold); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--navy); }
.btn-arrow::after { content: '→'; transition: transform .2s; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

/* ═══ HERO (HOMEPAGE) ═══ */
.hero {
  background: var(--navy);
  color: white;
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(201, 168, 76, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(201, 168, 76, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { color: var(--gold); }
.hero-eyebrow::before { color: var(--gold); }
.hero h1 {
  color: white;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}
.hero-stat {
  padding: 0 1rem;
  border-left: 1px solid rgba(201, 168, 76, 0.15);
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══ PAGE HEADER (NON-HOME) ═══ */
.page-header {
  background: var(--navy);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.08), transparent 60%);
}
.page-header h1 { color: white; }
.page-header .lead { color: rgba(255, 255, 255, 0.75); max-width: 720px; }
.page-header .eyebrow { color: var(--gold); }
.page-header > .container { position: relative; z-index: 1; }

/* ═══ CARDS ═══ */
.card {
  background: white;
  border: 1px solid var(--gray-2);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color .2s, transform .3s, box-shadow .3s;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 31, 60, 0.08);
}
.card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.card p { font-size: 0.95rem; }
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.card-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}

/* ═══ GRID ═══ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ═══ SECTION HEADERS ═══ */
.section-header { margin-bottom: 3rem; max-width: 700px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ═══ ALT SECTIONS ═══ */
.section-light { background: var(--paper); }
.section-dark { background: var(--navy); color: white; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dark p { color: rgba(255, 255, 255, 0.75); }
.section-dark .eyebrow { color: var(--gold); }

/* ═══ PRICING TABLE ═══ */
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-2);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 500;
}
.pricing-row-desc { font-size: 0.9rem; color: var(--gray-4); margin-top: 0.25rem; }
.pricing-row-price {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-deep);
  text-align: right;
  white-space: nowrap;
}

/* ═══ BUNDLE CARD ═══ */
.bundle-card {
  background: white;
  border: 1px solid var(--gray-2);
  border-radius: 6px;
  padding: 2rem;
  position: relative;
  transition: border-color .2s, transform .3s, box-shadow .3s;
}
.bundle-card.featured {
  background: var(--navy);
  color: white;
  border-color: var(--gold);
}
.bundle-card.featured h3, .bundle-card.featured .bundle-price { color: white; }
.bundle-card.featured .bundle-feature { color: rgba(255, 255, 255, 0.85); border-color: rgba(201, 168, 76, 0.2); }
.bundle-card.featured .bundle-tier { color: var(--gold); }
.bundle-tier {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.bundle-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.bundle-price {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1rem 0 0.4rem;
  letter-spacing: -0.02em;
}
.bundle-save {
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.bundle-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.bundle-feature {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-4);
}
.bundle-feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.featured-tag {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ═══ TIMELINE ═══ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--gold);
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  margin-left: 0.4rem;
}
.timeline-step {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.timeline-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* ═══ CTA STRIP ═══ */
.cta-strip {
  background: var(--navy);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.08), transparent 70%);
}
.cta-strip > .container { position: relative; z-index: 1; text-align: center; }
.cta-strip h2 { color: white; margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-strip p { color: rgba(255, 255, 255, 0.75); max-width: 580px; margin: 0 auto 2rem; }
.cta-strip-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.footer-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(201, 168, 76, 0.7);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.footer-mission {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 380px;
}
.footer-heading {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* ═══ RIBBONS / DECORATIVE ═══ */
.ribbon {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 0.3rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
}

/* ═══ FORM ═══ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: white;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 31, 60, 0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ═══ ARTICLE / RESOURCE ═══ */
.article-card {
  background: white;
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid var(--gray-2);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 31, 60, 0.06);
}
.article-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}
.article-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.article-meta {
  font-size: 0.82rem;
  color: var(--gray-3);
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ═══ TESTIMONIAL ═══ */
.testimonial {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-size: 0.9rem;
  color: var(--gray-4);
  font-weight: 500;
}
.testimonial-author span {
  font-weight: 400;
  color: var(--gray-3);
}

/* ═══ PROCESS DIAGRAM ═══ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--gray-2);
  border-radius: 6px;
  overflow: hidden;
  background: white;
}
.process-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--gray-2);
  position: relative;
}
.process-step:last-child { border-right: none; }
@media (max-width: 720px) {
  .process-step { border-right: none; border-bottom: 1px solid var(--gray-2); }
  .process-step:last-child { border-bottom: none; }
}
.process-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.process-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp .7s ease-out backwards;
}
.fade-up:nth-child(2) { animation-delay: .1s; }
.fade-up:nth-child(3) { animation-delay: .2s; }
.fade-up:nth-child(4) { animation-delay: .3s; }

/* ═══ UTILITY ═══ */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.gold { color: var(--gold-deep); }
.muted { color: var(--gray-3); }

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color .2s;
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-sep { color: rgba(255, 255, 255, 0.3); }

/* ═══ FOUNDER PHOTO ═══ */
.founder-photo-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 40px rgba(13, 31, 60, 0.15);
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.founder-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  pointer-events: none;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVE IMPROVEMENTS
   ═══════════════════════════════════════════════════ */

/* Homepage tool callout — collapse to single column on mobile */
@media (max-width: 780px) {
  .tool-callout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Resources page tool callout */
@media (max-width: 780px) {
  .resources-tool-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Founder grid on About page */
@media (max-width: 780px) {
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .founder-photo-frame {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Contact page grid */
@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hero — tighter spacing on mobile */
@media (max-width: 640px) {
  .hero { padding: 4rem 0 5rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    gap: 1.5rem;
  }
  .hero-stat { border-left: none !important; padding-left: 0 !important; }
}

/* Page header on mobile */
@media (max-width: 640px) {
  .page-header { padding: 3.5rem 0 3rem; }
}

/* Section padding on mobile */
@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
}

/* Pricing rows on mobile — stack instead of side-by-side */
@media (max-width: 560px) {
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .pricing-row-price {
    text-align: left;
    font-size: 1.15rem;
    color: var(--gold-deep);
  }
}

/* Bundle cards on mobile */
@media (max-width: 640px) {
  .bundle-card { padding: 1.5rem; }
  .bundle-price { font-size: 2.2rem; }
  .featured-tag { right: 1rem; }
}

/* CTA strip on mobile */
@media (max-width: 640px) {
  .cta-strip { padding: 3.5rem 0; }
  .cta-strip-actions { flex-direction: column; align-items: stretch; }
  .cta-strip-actions .btn { justify-content: center; }
}

/* Footer on mobile */
@media (max-width: 640px) {
  footer { padding: 3rem 0 1.5rem; }
  .footer-grid { gap: 2rem !important; margin-bottom: 2rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* Cards */
@media (max-width: 640px) {
  .card { padding: 1.5rem; }
}

/* Process step border adjustments */
@media (max-width: 640px) {
  .process-step { padding: 1.5rem 1.25rem; }
}

/* Testimonial block */
@media (max-width: 640px) {
  .testimonial { padding: 1.5rem 1.25rem; }
  .testimonial::before { font-size: 3.5rem; top: 0.25rem; left: 0.5rem; }
  .testimonial-quote { font-size: 1.1rem; }
}

/* Bundle card sizing */
@media (max-width: 480px) {
  .bundle-price { font-size: 2rem; }
  .bundle-name { font-size: 1.4rem; }
}

/* Container padding on very small screens */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
}

/* Nav brand tag hidden on tiny screens to save space */
@media (max-width: 380px) {
  .nav-brand-tag { display: none; }
  .nav-brand-name { font-size: 1.2rem; }
}

/* Prevent form fields from overflowing */
@media (max-width: 640px) {
  input, select, textarea {
    max-width: 100%;
  }
}

/* Better bundle card feature list on mobile */
@media (max-width: 640px) {
  .bundle-features { margin: 1.25rem 0; }
  .bundle-feature { font-size: 0.9rem; padding: 0.55rem 0; }
}

/* Timeline & sections spacing */
@media (max-width: 640px) {
  .section-header { margin-bottom: 2rem; }
  .grid { gap: 1.25rem; }
}

/* About page credentials list */
@media (max-width: 480px) {
  section .container.narrow ul li {
    flex-wrap: wrap;
  }
}

/* Legal page readability on mobile */
@media (max-width: 640px) {
  .legal-page h2 { font-size: 1.3rem !important; margin-top: 2rem !important; }
  .legal-page h3 { font-size: 1rem !important; }
}


/* Nav toggle button styling */
@media (max-width: 880px) {
  .nav-inner { padding: 0.85rem 1.25rem; }
  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: background 0.2s, transform 0.2s;
  }
  .nav-toggle:hover, .nav-toggle:active {
    background: rgba(201, 168, 76, 0.15);
  }
  .nav-toggle:active { transform: scale(0.95); }
  .nav-links {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 1rem 1rem;
    border-radius: 4px;
  }
}

/* Ensure content doesn't hide under sticky nav on mobile */
@media (max-width: 880px) {
  html { scroll-padding-top: 70px; }
}


/* ═══════════════════════════════════════════════════
   ARTICLE PAGES
   ═══════════════════════════════════════════════════ */
.article-header {
  background: var(--navy);
  color: white;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.08), transparent 60%);
}
.article-header > .container { position: relative; z-index: 1; max-width: 800px; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: rgba(201, 168, 76, 0.9);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { margin: 0 0.5rem; color: rgba(201, 168, 76, 0.4); }

.article-tag-header {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}
.article-title-header {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.article-meta-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}
.article-meta-header .dot {
  width: 4px;
  height: 4px;
  background: rgba(201, 168, 76, 0.5);
  border-radius: 50%;
}

.article-body {
  padding: 4rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}
.article-body .container { max-width: 720px; }
.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-4);
  margin-bottom: 1.25rem;
}
.article-body p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 2rem;
}
.article-body h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: normal;
  text-transform: none;
}
.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-body li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-4);
  margin-bottom: 0.75rem;
}
.article-body ul li::marker { color: var(--gold); }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.55;
}
.article-body strong {
  color: var(--navy);
  font-weight: 600;
}
.article-body .callout {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}
.article-body .callout h4 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.article-body .callout p:first-of-type {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.98rem;
  color: var(--gray-4);
  margin-bottom: 0.5rem;
}
.article-body .callout p:last-child { margin-bottom: 0; }

.article-body .stat-highlight {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-deep);
  font-style: italic;
  display: block;
  margin: 0.25rem 0;
}

.article-cta {
  background: var(--paper);
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
}
.article-cta p {
  color: var(--gray-4);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.related-articles {
  background: var(--paper);
  padding: 4rem 0;
}
.related-articles h4 {
  margin-bottom: 1.5rem;
  color: var(--navy);
}


/* ═══════════════════════════════════════════════════
   ARTICLE CITATIONS & SOURCES
   ═══════════════════════════════════════════════════ */
.footnote-ref {
  font-size: 0.75em;
  color: var(--gold-deep);
  text-decoration: none;
  vertical-align: super;
  padding: 0 2px;
  font-weight: 600;
  border: none;
}
.footnote-ref:hover {
  color: var(--gold);
  text-decoration: underline;
}
.article-sources {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  border-top: 1px solid var(--gray-2);
  padding-top: 1.5rem;
}
.article-sources li {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: var(--gray-4) !important;
  margin-bottom: 0.75rem !important;
  padding-left: 0.25rem;
}
.article-sources li:target {
  background: var(--gold-light);
  padding: 0.5rem 0.75rem;
  margin-left: -0.75rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.article-disclaimer {
  background: var(--paper);
  border-left: 3px solid var(--gray-3);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0 1.5rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: var(--gray-4);
  line-height: 1.55;
}
.article-disclaimer p {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: var(--gray-4) !important;
  margin: 0 !important;
  font-family: var(--sans) !important;
  font-style: normal !important;
}
.article-disclaimer strong {
  color: var(--navy);
  font-weight: 600;
}


/* ═══ Persistent footer crisis line ═══ */
.footer-crisis-strip {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1rem 0;
  margin: 2rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  line-height: 1.6;
}
.footer-crisis-strip strong {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-right: 0.5rem;
}
.footer-crisis-strip a {
  color: white;
  border-bottom: 1px solid rgba(201, 168, 76, 0.5);
  padding-bottom: 1px;
  margin: 0 0.15rem;
  transition: color .2s, border-color .2s;
}
.footer-crisis-strip a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
@media (max-width: 640px) {
  .footer-crisis-strip {
    text-align: left;
    padding: 1rem 0;
    line-height: 1.7;
  }
}
