/* ==========================================================================
   KLP Consulting Services - Modern Executive Design System
   Brand: KLP Consulting Services & Leadership Drift
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Color Palette */
  --navy-950: #070c18;
  --navy-900: #0b132b;
  --navy-850: #101b38;
  --navy-800: #1c2541;
  --navy-700: #2c3859;
  --navy-600: #3a4b73;
  --navy-100: #eef2f8;
  --navy-50:  #f8fafd;

  --gold-500: #c59b27;
  --gold-400: #d8ab34;
  --gold-300: #eec45c;
  --gold-100: #fbf5e6;
  --gold-glow: rgba(197, 155, 39, 0.25);

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;

  --text-main: #0f172a;
  --text-muted: #526077;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Elevation & Borders */
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 12px 32px -4px rgba(11, 19, 43, 0.07), 0 4px 12px -2px rgba(11, 19, 43, 0.04);
  --card-shadow-hover: 0 20px 40px -4px rgba(11, 19, 43, 0.12), 0 8px 16px -2px rgba(11, 19, 43, 0.06);

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--navy-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-gold { color: var(--gold-400); }
.text-navy { color: var(--navy-900); }
.text-center { text-align: center; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  width: 100%;
  gap: 16px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  list-style: none;
  flex-shrink: 1;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: clamp(0.82rem, 0.9vw, 0.88rem);
  font-weight: 500;
  color: #e2e8f0;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 8px;
}

.nav-actions .btn {
  white-space: nowrap;
  padding: 10px 18px;
  font-size: 0.88rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #070c18 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
  color: #070c18 !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
}

.btn-dark {
  background: var(--navy-900);
  color: #ffffff !important;
  border: 1.5px solid var(--gold-400);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(11, 19, 43, 0.18);
}

.btn-dark:hover {
  background: var(--navy-800);
  color: var(--gold-300) !important;
  border-color: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 19, 43, 0.25);
}

.btn-kindle {
  background: #ffffff;
  color: var(--navy-950) !important;
  border: 2px solid var(--gold-500);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 19, 43, 0.08);
}

.btn-kindle:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #070c18 !important;
  border-color: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--gold-glow);
}

.btn-kindle-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-weight: 700;
  border: 1px solid #b45309;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-kindle-amber:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #070c18 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

.book-cta-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-buy-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.book-aux-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(197, 155, 39, 0.14);
  color: #78350f;
  border: 1px solid rgba(197, 155, 39, 0.45);
  font-weight: 700;
}

.badge-navy {
  background: rgba(11, 19, 43, 0.08);
  color: var(--navy-900);
  border: 1px solid rgba(11, 19, 43, 0.15);
}

.badge-dark-gold {
  background: rgba(238, 196, 92, 0.2);
  color: #fce7a2;
  border: 1px solid rgba(238, 196, 92, 0.45);
}

/* ==========================================================================
   DARK SECTIONS: STRICT HIGH-CONTRAST TYPOGRAPHY RULES
   Guarantees NO dark-blue-on-dark-blue text!
   ========================================================================== */
.hero-dark,
.section-dark,
.banner-cta,
.dark-card {
  background: radial-gradient(circle at 80% 20%, #1c2541 0%, #0b132b 65%, #070c18 100%);
  color: #ffffff;
}

/* All headings inside dark sections MUST be crisp white */
.hero-dark h1, .hero-dark h2, .hero-dark h3, .hero-dark h4,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.banner-cta h1, .banner-cta h2, .banner-cta h3, .banner-cta h4,
.dark-card h1, .dark-card h2, .dark-card h3, .dark-card h4 {
  color: #ffffff !important;
}

/* All paragraphs inside dark sections MUST be bright light silver/off-white */
.hero-dark p,
.section-dark p,
.banner-cta p,
.dark-card p {
  color: #e2e8f0 !important;
}

/* All list items inside dark sections */
.hero-dark li,
.section-dark li,
.banner-cta li,
.dark-card li {
  color: #f1f5f9 !important;
}

.hero-dark {
  padding: 80px 0 90px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin: 14px 0 18px 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-300);
}

.stat-label {
  font-size: 0.8rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Executive Portrait Frame (Kristen's Headshot) */
.portrait-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-frame {
  position: relative;
  max-width: 380px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid rgba(238, 196, 92, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(197, 155, 39, 0.2);
  background: #0b132b;
}

.portrait-frame img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.portrait-frame:hover img {
  transform: scale(1.03);
}

.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 12, 24, 0.95) 0%, rgba(7, 12, 24, 0.7) 70%, transparent 100%);
  padding: 24px 20px 14px 20px;
  color: #ffffff;
}

.portrait-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.portrait-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Book Mockup (Only for the-book.html) */
.book-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.book-card-3d {
  position: relative;
  border-radius: 12px;
  box-shadow: -15px 25px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(197, 155, 39, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 330px;
  background: #111;
  overflow: hidden;
}

.book-card-3d:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: -20px 35px 50px rgba(0, 0, 0, 0.6), 0 0 50px rgba(197, 155, 39, 0.35);
}

.book-card-3d img {
  border-radius: 12px;
  width: 100%;
}

/* Section Standards */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.section-header p {
  max-width: 660px;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Card Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* Executive Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: #cbd5e1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.98rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
}

.card-link:hover {
  color: var(--gold-500);
  gap: 9px;
}

/* Spotlight Box */
.spotlight-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  box-shadow: var(--card-shadow);
  margin-bottom: 40px;
}

.spotlight-book-grid {
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
}

@media (max-width: 992px) {
  .spotlight-book-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

/* Tools Cards */
.tool-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.tool-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.tool-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.tool-system-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-900);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.tool-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tool-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.file-meta {
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* Review / CTA Banner */
.banner-cta {
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 36px rgba(11, 19, 43, 0.2);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(11, 19, 43, 0.08);
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-title {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-300);
  padding-left: 3px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Portrait Frame (Exclusively for About Page) */
.portrait-wrapper {
  display: flex;
  justify-content: center;
}

.hero-portrait-card {
  background: #ffffff;
  padding: 14px 14px 18px 14px;
  border-radius: 18px;
  border: 2px solid var(--gold-400);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--gold-glow);
  max-width: 340px;
  width: 100%;
  transition: var(--transition);
}

.hero-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--gold-glow);
}

.hero-portrait-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 14px rgba(11, 19, 43, 0.12);
}

.hero-portrait-info {
  padding-top: 14px;
  text-align: center;
}

.hero-portrait-name {
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.hero-portrait-role {
  color: #9a7312;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.hero-portrait-desc {
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-top: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.portrait-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(7, 12, 24, 0.22);
  border: 2px solid var(--gold-400);
  background: #0b132b;
  max-width: 380px;
  width: 100%;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.portrait-caption {
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.92) 0%, rgba(7, 12, 24, 0.98) 100%);
  padding: 18px 20px;
  border-top: 1px solid rgba(238, 196, 92, 0.3);
  text-align: center;
}

.portrait-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.portrait-title {
  color: var(--gold-300);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Executive Visual Card (Homepage Hero & Featured Imagery) */
.hero-visual-card {
  position: relative;
  background: rgba(16, 27, 56, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 35px rgba(197, 155, 39, 0.15);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 45px rgba(197, 155, 39, 0.25);
  border-color: rgba(238, 196, 92, 0.4);
}

.hero-visual-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.hero-visual-caption {
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.92) 0%, rgba(7, 12, 24, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.visual-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.visual-desc {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Service Card Image Headers */
.card-image-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image-wrap img {
  transform: scale(1.05);
}

/* Services Page Spotlight Media */
.service-spotlight-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 36px rgba(11, 19, 43, 0.1);
  display: block;
}

/* Framework Diagram Containers */
.framework-preview-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(11, 19, 43, 0.06);
  text-align: center;
}

.framework-preview-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto;
}

.framework-caption {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 10px;
  font-weight: 500;
}


/* Responsive */
@media (max-width: 1140px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .banner-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Reader Portal Gating & Exclusive Access Styles
   ========================================================================== */
.portal-gate-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 45px rgba(11, 19, 43, 0.08);
}

.portal-teaser-card {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.locked-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.locked-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #334155;
}

.locked-pill {
  background: #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portal-unlocked-banner {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 16px 40px rgba(11, 19, 43, 0.15);
}

@media (max-width: 640px) {
  .portal-gate-card {
    padding: 24px;
  }
  .portal-teaser-card {
    padding: 20px;
  }
  .portal-unlocked-banner {
    padding: 24px;
  }
}

/* ==========================================================================
   Mobile Sticky 'Buy Leadership Drift' Action Bar
   ========================================================================== */
.mobile-book-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-book-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(11, 19, 43, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1.5px solid var(--gold-400);
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  }
  .mobile-book-info {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    line-height: 1.25;
  }
  .mobile-book-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--gold-300);
    letter-spacing: -0.01em;
  }
  .mobile-book-sub {
    font-size: 0.72rem;
    color: #cbd5e1;
  }
  .mobile-book-cta {
    background: var(--gold-500);
    color: #070c18 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(197, 155, 39, 0.4);
  }
  body {
    padding-bottom: 60px;
  }
}

/* Executive Form & Topic Styling */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-900);
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(15, 43, 72, 0.12);
}
.form-control::placeholder {
  color: #94a3b8;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.topic-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.topic-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--slate-700);
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.topic-pill:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: var(--navy-900);
}
.topic-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}


/* ==========================================================================
   Header Social Emblems
   ========================================================================== */
.nav-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 2px;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.nav-social-link:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-400);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.28);
}

.nav-social-link svg {
  display: block;
}


/* Top Drift Diagnostic Announcement Bar */
.site-announcement-bar {
  background: #080e1e;
  border-bottom: 1px solid rgba(197, 155, 39, 0.35);
  color: #ffffff;
  position: relative;
  z-index: 100;
  width: 100%;
}
.site-announcement-bar .container.announcement-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  flex-wrap: wrap;
}
.announcement-pill {
  background: rgba(197, 155, 39, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(197, 155, 39, 0.45);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.announcement-text {
  color: #cbd5e1;
}
.announcement-link {
  color: var(--gold-400);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.announcement-link:hover {
  text-decoration: underline;
  color: #fbbf24;
}

/* Diagnostic Spotlight Bar (Homepage & Book Page) */
.diagnostic-spotlight-bar {
  background: linear-gradient(135deg, #0b132b 0%, #162544 100%);
  padding: 22px 0;
  border-bottom: 2px solid var(--gold-400);
  color: #ffffff;
}
.diagnostic-spotlight-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.diagnostic-bridge-card {
  background: var(--navy-50);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(11, 19, 43, 0.05);
}
