/* KB Quantson Website - Main Styles */
/* Design inspired by Apple Card aesthetic with Gates Notes structure */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors - Apple Card Inspired */
  --color-white: #FFFFFF;
  --color-off-white: #FBFBFD;
  --color-light-grey: #F5F5F7;
  --color-medium-grey: #86868B;
  --color-dark-grey: #1D1D1F;
  --color-charcoal: #424245;
  --color-accent: #06C;
  
  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-system-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-2xl: 96px;
  
  /* Layout */
  --max-width: 1280px;
  --max-width-text: 720px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-system-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-dark-grey);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-system);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-xs);
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section-sm {
  padding: var(--spacing-xl) 0;
}

/* ==================== HEADER & NAVIGATION ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 20px 24px;
  pointer-events: none;
}

.nav-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 56px;
  max-width: 1000px;
  margin: 0 auto;
  pointer-events: auto;
  position: relative;
  z-index: 1002;
}

/* Logo styling - white box on left like Gates Notes */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  padding: 0 16px;
  border-radius: 6px 0 0 6px;
  transition: opacity var(--transition-fast);
}

.logo img {
  height: 32px;
  width: auto;
}

.logo:hover {
  opacity: 0.9;
}

/* Nav center section */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Search button section */
.search-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 16px;
  border-radius: 0 6px 6px 0;
}

/* Desktop Navigation - Gates Notes Style */
.nav-main {
  display: none;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.nav-main > a,
.nav-main > .nav-item > a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-white);
  transition: all var(--transition-fast);
  padding: 18px 28px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-main > a:hover,
.nav-main > .nav-item:hover > a {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-main > .nav-item > a::after,
.nav-main > a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-white);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-main > .nav-item:hover > a::after,
.nav-main > a:hover::after,
.nav-main > .nav-item.active > a::after,
.nav-main > .nav-item.current-page > a::after,
.nav-main > a.current::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

/* Mega Menu Overlay - Full screen background like Gates Notes */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-light-grey);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 900;
  pointer-events: none;
}

.mega-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mega Menu - Gates Notes Style Full Width Dropdown */
.nav-item {
  position: static;
  display: flex;
  align-items: center;
}

.mega-menu {
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  background: transparent;
  padding: var(--spacing-xl) var(--spacing-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 1000;
}

/* JS-controlled active state */
.nav-item.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Underline indicator is now handled in the main nav styles above */

.mega-menu-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.mega-menu-content {
  display: flex;
  flex-direction: column;
}

.mega-menu-header {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 3px solid var(--color-dark-grey);
  display: inline-block;
  width: fit-content;
}

.mega-menu-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.mega-menu-item {
  padding: var(--spacing-xs) 0;
  transition: opacity var(--transition-fast);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark-grey);
}

.mega-menu-item:hover {
  opacity: 0.6;
}

.mega-menu-title {
  font-weight: 600;
  color: var(--color-dark-grey);
}

.mega-menu-desc {
  display: none;
}

.mega-menu-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-menu-image img {
  max-width: 100%;
  border-radius: 8px;
}

.mega-menu-cta {
  margin-top: auto;
  padding-top: var(--spacing-xl);
}

.mega-menu-cta .btn {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  background: none;
  padding: 10px;
  color: var(--color-white);
  z-index: 10;
  position: relative;
}

.hamburger {
  width: 28px;
  height: 2px;
  background: var(--color-white);
  position: relative;
  transition: var(--transition-smooth);
  display: block;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-smooth);
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Search Button */
.search-btn {
  display: block;
  background: none;
  padding: 0;
  color: var(--color-white);
  transition: opacity var(--transition-fast);
}

.search-btn:hover {
  opacity: 0.7;
}

.search-btn svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a1a;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-item {
  margin-bottom: var(--spacing-lg);
}

.mobile-nav-link {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: opacity var(--transition-fast);
}

.mobile-nav-link:hover {
  opacity: 0.7;
}

.mobile-submenu {
  padding-left: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.mobile-submenu a {
  display: block;
  padding: var(--spacing-xs) 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  transition: color var(--transition-fast);
}

.mobile-submenu a:hover {
  color: var(--color-white);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  padding-top: 120px;
  background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-light-grey) 100%);
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xl);
  text-align: left;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-split .hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-book {
  flex-shrink: 0;
  max-width: 350px;
}

.hero-book img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition-smooth);
}

.hero-book img:hover {
  transform: scale(1.02) rotate(-1deg);
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--spacing-xl);
  }
  
  .hero-book {
    max-width: 280px;
  }
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  margin-bottom: var(--spacing-md);
}

.hero-description {
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-lg);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark-grey);
  border: 1px solid var(--color-dark-grey);
}

.btn-secondary:hover {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
}

/* ==================== CARDS ==================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

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

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-light-grey);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: var(--spacing-md);
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-xs);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.card-description {
  color: var(--color-charcoal);
  line-height: 1.5;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--color-light-grey);
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--color-charcoal);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-dark-grey);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-medium-grey);
  font-size: 0.875rem;
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
  background: var(--color-dark-grey);
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.newsletter h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.newsletter p {
  color: var(--color-light-grey);
  margin-bottom: var(--spacing-md);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: var(--spacing-sm);
}

.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
}

/* Mobile Logo and Search - hidden by default */
.mobile-logo,
.mobile-search-btn {
  display: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 899px) {
  .site-header {
    padding: 12px 16px;
  }
  
  .nav-wrapper {
    height: 52px;
    max-width: 100%;
  }
  
  /* Hide the separate logo and search sections on mobile */
  .logo {
    display: none;
  }
  
  .search-section {
    display: none;
  }
  
  /* Make nav-center full width with mobile layout */
  .nav-center {
    width: 100%;
    border-radius: 0;
    justify-content: space-between;
    padding: 0 16px;
    position: relative;
  }
  
  /* Show mobile logo */
  .mobile-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .mobile-logo img {
    height: 26px;
    width: auto;
    filter: invert(1);
  }
  
  /* Show mobile search button */
  .mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 8px;
    transition: opacity var(--transition-fast);
  }
  
  .mobile-search-btn:hover {
    opacity: 0.7;
  }
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-menu {
    max-width: 400px;
  }
}

@media (min-width: 900px) {
  /* Show desktop nav, hide hamburger */
  .nav-main {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .nav-wrapper {
    max-width: 1000px;
  }
  
  .nav-center::before {
    display: none;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .nav-main > a,
  .nav-main > .nav-item > a {
    padding: 18px 32px;
  }
}

/* ==================== MEET KBQ / BIOGRAPHY PAGE ==================== */

/* Bio Hero Section */
.bio-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px var(--spacing-md) var(--spacing-2xl);
  overflow: hidden;
}

.bio-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
  z-index: 0;
}

.bio-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 70% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.bio-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
}

.bio-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.bio-hero-content {
  color: var(--color-white);
}

.bio-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 2px;
}

.bio-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.bio-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-lg);
}

.bio-intro {
  max-width: 500px;
  margin-bottom: var(--spacing-xl);
}

.bio-intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.bio-stats {
  display: flex;
  gap: var(--spacing-xl);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Portrait Frame */
.bio-hero-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-frame {
  position: relative;
  max-width: 450px;
  width: 100%;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.portrait-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  z-index: 1;
}

/* Biography Section Grid */
.bio-section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.bio-section-sidebar {
  position: relative;
}

.section-marker {
  position: sticky;
  top: 120px;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.marker-line {
  width: 40px;
  height: 2px;
  background: #d4af37;
}

.marker-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-medium-grey);
}

.bio-section-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
}

.bio-paragraph {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-lg);
}

.bio-paragraph strong {
  color: var(--color-dark-grey);
  font-weight: 600;
}

/* Education Highlight Box */
.education-highlight {
  display: flex;
  gap: var(--spacing-lg);
  background: linear-gradient(135deg, #f8f6f0 0%, #f5f3ed 100%);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border-left: 4px solid #d4af37;
}

.highlight-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.highlight-content h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-grey);
}

.highlight-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.training-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-tag {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark-grey);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==================== CAREER TIMELINE SECTION ==================== */
.career-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.career-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f8f6f0 0%, #f5f3ed 100%);
  z-index: 0;
}

.career-section .container {
  position: relative;
  z-index: 1;
}

.career-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
}

.career-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.career-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-dark-grey);
}

.career-intro {
  font-size: 1.125rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 40px 1fr;
  grid-template-rows: auto;
  gap: 0;
  margin-bottom: var(--spacing-xl);
  align-items: start;
}

.timeline-date {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: var(--spacing-sm);
  padding-top: 20px;
}

.timeline-marker {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  align-self: stretch;
}

.timeline-content {
  grid-column: 3;
  grid-row: 1;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #f8f6f0;
  border: 3px solid #d4af37;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.timeline-dot.active {
  background: #d4af37;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2);
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.2));
  margin-top: 8px;
  min-height: 80px;
}

/* Hide line on last item */
.timeline-item:last-child .timeline-line {
  display: none;
}

.date-range {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark-grey);
  margin-bottom: 2px;
  line-height: 1.3;
}

.date-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-top: 2px;
}

.timeline-content {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content.featured {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  color: white;
}

.timeline-content.featured h3 {
  color: white;
}

.timeline-content.featured p {
  color: rgba(255, 255, 255, 0.85);
}

.timeline-content.featured .timeline-icon {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  background: #f8f6f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.timeline-content h3 {
  font-size: 1.375rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-grey);
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-sm);
}

.timeline-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f6f0;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark-grey);
  margin-top: var(--spacing-sm);
}

.timeline-badge.gold {
  background: #d4af37;
  color: white;
}

/* Timeline Responsive */
@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 32px 1fr;
    gap: 0 var(--spacing-sm);
  }
  
  .timeline-date {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 var(--spacing-sm) 0;
  }
  
  .timeline-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 4px;
  }
  
  .timeline-content {
    grid-column: 2;
    grid-row: 2;
  }
  
  .date-range {
    font-size: 1rem;
    display: inline;
  }
  
  .date-label {
    display: inline;
    margin-left: var(--spacing-sm);
  }
  
  .timeline-line {
    min-height: 40px;
  }
  
  .timeline-content {
    padding: var(--spacing-md);
  }
}

/* ==================== AWARDS SECTION ==================== */
.awards-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.awards-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.awards-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.awards-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark-grey);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto;
}

.award-card {
  background: #f8f6f0;
  border-radius: 16px;
  padding: var(--spacing-xl);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.award-card.featured {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  color: white;
}

.award-card.featured h3,
.award-card.featured .award-location {
  color: white;
}

.award-card.featured .award-description {
  color: rgba(255, 255, 255, 0.85);
}

.award-card.featured .award-ribbon {
  color: #d4af37;
}

.award-ribbon {
  width: 72px;
  height: 72px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  margin-bottom: var(--spacing-lg);
}

.award-content {
  position: relative;
  z-index: 1;
}

.award-date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.award-card h3 {
  font-size: 1.5rem;
  margin: var(--spacing-sm) 0;
  color: var(--color-dark-grey);
}

.award-location {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-md);
}

.award-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.award-badge {
  display: inline-block;
  padding: 8px 16px;
  background: white;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark-grey);
  margin-top: var(--spacing-lg);
}

.award-badge.gold {
  background: #d4af37;
  color: white;
}

/* ==================== LEGACY SECTION ==================== */
.legacy-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.legacy-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
  z-index: 0;
}

.legacy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}

.legacy-section .container {
  position: relative;
  z-index: 1;
}

.legacy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.legacy-quote {
  margin-bottom: var(--spacing-lg);
}

.quote-mark {
  color: #d4af37;
  opacity: 0.4;
  margin-bottom: var(--spacing-md);
}

.legacy-quote h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin: 0;
}

.legacy-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xl);
}

.legacy-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  background: #d4af37;
  color: #0a1628;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: #c9a227;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
  
  .legacy-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-gold,
  .btn-outline-light {
    width: 100%;
    max-width: 280px;
  }
}

/* ==================== WORK PAGE STYLES ==================== */

/* Work Hero Section */
.work-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 140px var(--spacing-md) var(--spacing-xl);
  overflow: hidden;
}

.work-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
  z-index: 0;
}

.work-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.work-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.work-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.work-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: var(--spacing-md);
  max-width: 600px;
}

.text-gold {
  color: #d4af37;
}

.work-hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

/* Work Domain Cards - FIXED */
.work-domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  max-width: 900px;
}

.domain-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.domain-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

.domain-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.domain-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-xs);
}

.domain-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  flex: 1;
  margin-bottom: var(--spacing-sm);
}

.domain-arrow {
  font-size: 1.25rem;
  color: #d4af37;
  transition: transform 0.3s ease;
}

.domain-card:hover .domain-arrow {
  transform: translateX(4px);
}

/* Work Stats Section */
.work-stats-section {
  background: #f8f6f0;
  padding: var(--spacing-xl) 0;
}

.work-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

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

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-desc {
  font-size: 0.8125rem;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-charcoal);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Work Sections */
.work-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.work-section.alt-bg {
  background: #f8f6f0;
}

.work-section-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.section-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.2);
  line-height: 1;
  font-family: var(--font-system);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
}

.work-section-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-xl);
  align-items: start;
}

.work-section-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--spacing-lg);
  color: var(--color-dark-grey);
}

/* Role Card */
.role-card {
  background: var(--color-light-grey);
  padding: var(--spacing-lg);
  border-radius: 16px;
  margin-bottom: var(--spacing-lg);
}

.role-card.featured {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  color: white;
}

.role-card.featured h3 {
  color: white;
}

.role-card.featured p {
  color: rgba(255, 255, 255, 0.85);
}

.role-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #d4af37;
  color: #0a1628;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: var(--spacing-md);
}

.role-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.role-card p {
  line-height: 1.7;
  color: var(--color-charcoal);
  margin: 0;
}

/* Responsibilities Grid */
.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

.responsibility-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--color-light-grey);
  border-radius: 12px;
}

.work-section.alt-bg .responsibility-item {
  background: white;
}

.resp-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  flex-shrink: 0;
}

.responsibility-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark-grey);
}

/* Highlight Card (Sidebar) */
.highlight-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 16px;
  border-left: 4px solid #d4af37;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.work-section.alt-bg .highlight-card {
  background: white;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.highlight-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-dark-grey);
}

.highlight-years {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.highlight-card p:last-child {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin: 0;
}

/* Impact Cards */
.impact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.impact-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 16px;
}

.work-section.alt-bg .impact-card {
  background: white;
}

.impact-card.gold {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  color: white;
}

.impact-card.gold h4 {
  color: white;
}

.impact-card.gold p {
  color: rgba(255, 255, 255, 0.85);
}

.impact-card.gold .impact-year {
  color: #d4af37;
}

.impact-card.gold .impact-icon {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
}

.impact-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.impact-card h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-dark-grey);
}

.impact-year {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.impact-card p:last-child {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Legacy Box */
.legacy-box {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.legacy-box h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-dark-grey);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid #d4af37;
}

.legacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legacy-list li {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-light-grey);
}

.legacy-list li:last-child {
  border-bottom: none;
}

.legacy-check {
  color: #d4af37;
  font-weight: 600;
  flex-shrink: 0;
}

/* Achievement Cards */
.achievements-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-md);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.achievement-card {
  background: var(--color-light-grey);
  padding: var(--spacing-lg);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.work-section.alt-bg .achievement-card {
  background: white;
}

.achievement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.achievement-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.achievement-card h5 {
  font-size: 0.9375rem;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-xs);
}

.achievement-card p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-charcoal);
  margin: 0;
}

/* Sidebar Stat Card */
.sidebar-stat-card {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  padding: var(--spacing-xl);
  border-radius: 16px;
  color: white;
  text-align: center;
}

.sidebar-stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  margin: 0 auto var(--spacing-md);
}

.sidebar-stat-card h4 {
  font-size: 1.125rem;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.sidebar-stat-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Training Section */
.training-section {
  padding: var(--spacing-2xl) 0;
  background: #f8f6f0;
}

.training-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.training-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.training-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-grey);
}

.training-header p {
  font-size: 1rem;
  color: var(--color-charcoal);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.training-card {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.training-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.training-flag {
  font-size: 2rem;
  flex-shrink: 0;
}

.training-location {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-bottom: 2px;
}

.training-content h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-dark-grey);
}

.training-content p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-charcoal);
  margin: 0;
}

/* Philosophy Section */
.philosophy-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
}

.philosophy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.philosophy-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote-mark {
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.3);
  line-height: 1;
  margin-bottom: var(--spacing-md);
}

.philosophy-quote {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.7;
  color: white;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

.philosophy-author {
  font-size: 0.9375rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 0;
}

.philosophy-cta {
  margin-top: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

/* Responsive Work Page */
@media (max-width: 900px) {
  .work-hero {
    min-height: auto;
    padding-bottom: var(--spacing-xl);
  }
  
  .work-domains {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .work-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .work-section-grid {
    grid-template-columns: 1fr;
  }
  
  .responsibilities-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-cards {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .training-grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .work-hero {
    padding-top: 120px;
  }
  
  .work-hero-title {
    font-size: 2rem;
  }
  
  .work-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .stat-value {
    font-size: 2rem;
  }
}

/* Responsive Bio Hero */
@media (max-width: 1024px) {
  .bio-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .bio-hero-content {
    order: 2;
  }
  
  .bio-hero-portrait {
    order: 1;
  }
  
  .portrait-frame {
    max-width: 350px;
  }
  
  .bio-intro {
    margin-left: auto;
    margin-right: auto;
  }
  
  .bio-stats {
    justify-content: center;
  }
  
  .bio-section-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .section-marker {
    position: static;
    justify-content: center;
  }
  
  .bio-section-content {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .bio-hero {
    padding-top: 100px;
  }
  
  .bio-title {
    font-size: 2.5rem;
  }
  
  .bio-stats {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }
  
  .bio-stat {
    align-items: center;
    text-align: center;
  }
  
  .portrait-frame {
    max-width: 280px;
  }
  
  .portrait-accent {
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
  }
  
  .education-highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==================== BOOKS PAGE STYLES ==================== */

/* Books Hero */
.books-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px var(--spacing-md) var(--spacing-xl);
  overflow: hidden;
}

.books-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
  z-index: 0;
}

.books-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.books-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.books-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.books-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
}

.books-hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.books-stats {
  display: flex;
  gap: var(--spacing-xl);
}

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

.book-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 4px;
}

.book-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Featured Book Section */
.featured-book-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.featured-book-section.alt {
  background: #f8f6f0;
}

.featured-book {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.featured-book.reverse {
  grid-template-columns: 1fr 350px;
}

.featured-book.reverse .featured-book-cover {
  order: 2;
}

.featured-book.reverse .featured-book-content {
  order: 1;
}

.featured-book-cover {
  position: relative;
}

.book-cover-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.book-cover-placeholder.security {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.book-cover-placeholder.faith {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

.book-cover-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

.book-cover-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
}

.book-cover-author {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-badge {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  padding: 6px 12px;
  background: #d4af37;
  color: #0a1628;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.featured-book-content {
  max-width: 560px;
}

.book-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.featured-book-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
}

.book-meta {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-lg);
}

.book-excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.book-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-lg);
}

.book-topics {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
}

.topic-tag {
  padding: 6px 14px;
  background: var(--color-light-grey);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-dark-grey);
}

.featured-book-section.alt .topic-tag {
  background: white;
}

/* Collection Section */
.collection-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.collection-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.collection-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.collection-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
}

.collection-header p {
  font-size: 1.125rem;
  color: var(--color-charcoal);
  max-width: 600px;
  margin: 0 auto;
}

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.book-card {
  background: #f8f6f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.book-card-cover {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.book-card-cover.politics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.book-card-cover.security {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.book-card-cover.peace {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.book-card-cover.drug {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.book-card-cover.prophet {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.book-card-cover.travel {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: var(--color-dark-grey);
}

.book-card-content {
  padding: var(--spacing-lg);
}

.book-card-year {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-bottom: var(--spacing-xs);
}

.book-card-content h3 {
  font-size: 1.125rem;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.book-card-content p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.book-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4af37;
  transition: color 0.2s ease;
}

.book-card-link:hover {
  color: #c9a227;
}

/* Testimony Book Section */
.testimony-book-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.testimony-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
}

.testimony-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.testimony-book {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.testimony-book-cover .book-cover-placeholder {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.testimony-book-content {
  color: white;
}

.testimony-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.testimony-book-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: white;
  margin-bottom: var(--spacing-sm);
}

.testimony-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-lg);
}

.testimony-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-lg);
}

/* Books Quote Section */
.books-quote-section {
  padding: var(--spacing-2xl) 0;
  background: #f8f6f0;
}

.books-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.books-quote .quote-mark {
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.3);
  line-height: 1;
  display: block;
  margin-bottom: var(--spacing-md);
}

.books-quote p {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  color: var(--color-dark-grey);
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

.books-quote cite {
  font-size: 0.9375rem;
  color: #d4af37;
  font-style: normal;
  font-weight: 600;
}

/* Responsive Books Page */
@media (max-width: 1024px) {
  .featured-book {
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
  }
  
  .featured-book.reverse {
    grid-template-columns: 1fr 280px;
  }
  
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .books-stats {
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  
  .featured-book,
  .featured-book.reverse {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .featured-book.reverse .featured-book-cover,
  .featured-book.reverse .featured-book-content {
    order: unset;
  }
  
  .featured-book-cover {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .featured-book-content {
    text-align: center;
  }
  
  .book-topics {
    justify-content: center;
  }
  
  .books-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .testimony-book {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
  }
  
  .testimony-book-cover {
    max-width: 240px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .books-hero {
    padding-top: 120px;
    min-height: auto;
  }
  
  .books-hero-title {
    font-size: 2.5rem;
  }
  
  .books-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .book-stat {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .book-stat-value {
    font-size: 2rem;
    min-width: 60px;
  }
}

/* ==================== HOMEPAGE STYLES ==================== */

/* Home Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px var(--spacing-md) var(--spacing-xl);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
  z-index: 0;
}

.home-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  width: 100%;
}

.home-hero-text {
  max-width: 560px;
}

.home-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.home-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  color: white;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.03em;
}

.home-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.home-hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.home-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-book-showcase {
  position: relative;
}

.showcase-book {
  max-width: 340px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: transform 0.4s ease;
}

.hero-book-showcase:hover .showcase-book {
  transform: scale(1.02);
}

.book-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  padding: 10px 16px;
  background: #d4af37;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.badge-text {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0a1628;
}

/* Stats Bar */
.home-stats-bar {
  background: transparent;
  padding: var(--spacing-lg) 0;
  border-bottom: none;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-text {
  font-size: 0.8125rem;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(0, 0, 0, 0.1);
}

/* Home Featured Book */
.home-featured-book {
  padding: var(--spacing-2xl) 0;
  background: transparent;
}

.featured-book-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.book-cover-wrapper {
  position: relative;
}

.book-cover-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.featured-book-info {
  max-width: 540px;
}

.featured-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.featured-book-info h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-lg);
}

.book-quote {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
  border-left: 3px solid #d4af37;
}

.book-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-lg);
}

/* Home Featured Stories */
.home-featured-stories {
  padding: var(--spacing-2xl) 0;
  background: #f8f6f0;
}

.section-header-centered {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.section-header-centered h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
}

.section-header-centered p {
  font-size: 1.125rem;
  color: var(--color-charcoal);
}

/* 3-Column Stories Grid */
.stories-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.story-card-v2 {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.story-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.story-card-cover {
  aspect-ratio: 1;
  border-radius: 16px;
  margin: var(--spacing-md);
  margin-bottom: 0;
}

.story-card-cover.politics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.story-card-cover.security {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.story-card-cover.peace {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.story-card-image-wrapper {
  aspect-ratio: 1;
  border-radius: 16px;
  margin: var(--spacing-md);
  margin-bottom: 0;
  overflow: hidden;
}

.story-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card-v2:hover .story-card-image-wrapper img {
  transform: scale(1.05);
}

.story-card-image-wrapper.gradient-bio {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.story-card-body {
  padding: var(--spacing-lg);
}

.story-card-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-bottom: var(--spacing-xs);
}

.story-card-body h3 {
  font-size: 1.25rem;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.story-card-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.story-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4af37;
  transition: color 0.2s ease;
}

.story-card-link:hover {
  color: #c9a227;
}

/* Legacy Stories Grid (keep for other pages) */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--spacing-lg);
}

.story-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.story-card.large {
  grid-row: span 2;
}

.story-card.large .story-card-image {
  height: 280px;
}

.story-card-image {
  height: 180px;
  overflow: hidden;
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card:hover .story-card-image img {
  transform: scale(1.05);
}

.story-card-image.gradient-bio {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.story-card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-bottom: var(--spacing-xs);
}

.story-card-content h3 {
  font-size: 1.25rem;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.story-card.large .story-card-content h3 {
  font-size: 1.5rem;
}

.story-card-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.story-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4af37;
  transition: color 0.2s ease;
}

.story-link:hover {
  color: #c9a227;
}

/* Home About Preview */
.home-about-preview {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.about-preview-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
}

.about-preview-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.about-preview-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-preview-image {
  position: relative;
}

.about-preview-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-preview-image::after {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: 16px;
  left: 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  z-index: -1;
}

.about-preview-text {
  color: white;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.about-preview-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: white;
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.about-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-lg);
}

.about-highlights {
  margin-bottom: var(--spacing-xl);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.highlight-item svg {
  stroke: #d4af37;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Home Books Section */
.home-books-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.books-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.book-showcase-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.book-showcase-item:hover {
  transform: translateY(-4px);
}

.book-showcase-cover {
  aspect-ratio: 3/4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.book-showcase-item:hover .book-showcase-cover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.book-showcase-cover.politics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.book-showcase-cover.security {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.book-showcase-cover.peace {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.book-showcase-cover.faith {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

.book-showcase-item h4 {
  font-size: 1rem;
  color: var(--color-dark-grey);
  margin-bottom: 4px;
}

.book-year {
  font-size: 0.8125rem;
  color: var(--color-medium-grey);
}

.section-cta {
  text-align: center;
}

/* Home Quote Section */
.home-quote-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.home-quote-bg {
  position: absolute;
  inset: 0;
  background: #f8f6f0;
}

.home-quote {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.home-quote .quote-mark {
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.25);
  line-height: 1;
  display: block;
  margin-bottom: var(--spacing-md);
}

.home-quote p {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  color: var(--color-dark-grey);
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

.home-quote cite {
  font-size: 1rem;
  color: #d4af37;
  font-style: normal;
  font-weight: 600;
}

/* Responsive Homepage */
@media (max-width: 1024px) {
  .home-hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .home-hero-text {
    max-width: none;
  }
  
  .home-hero-cta {
    justify-content: center;
  }
  
  .showcase-book {
    max-width: 280px;
  }
  
  .featured-book-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: var(--spacing-xl);
  }
  
  .featured-book-image {
    max-width: 340px;
    margin: 0 auto;
  }
  
  .featured-book-info {
    text-align: center;
    max-width: none;
  }
  
  .book-quote {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid #d4af37;
    padding-top: var(--spacing-md);
  }
  
  .about-preview-content {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .about-preview-image {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .about-highlights {
    text-align: left;
    max-width: 400px;
    margin: 0 auto var(--spacing-xl);
  }
  
  .books-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stories-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stories-grid-3col .story-card-v2:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding: 120px var(--spacing-md) var(--spacing-xl);
  }
  
  .stats-grid {
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-item {
    flex: 1;
    min-width: 120px;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-grid-3col {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .story-card.large {
    grid-row: auto;
  }
  
  .story-card.large .story-card-image {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .home-hero-title {
    font-size: 2.5rem;
  }
  
  .home-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .showcase-book {
    max-width: 220px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .books-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .book-showcase-cover {
    font-size: 1rem;
  }
  
  .about-preview-image::after {
    display: none;
  }
}

/* ==================== ARTICLES PAGE STYLES ==================== */

/* Articles Hero */
.articles-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 140px var(--spacing-md) var(--spacing-xl);
  overflow: hidden;
}

.articles-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
  z-index: 0;
}

.articles-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.articles-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.articles-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.articles-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
}

.articles-hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.articles-stats {
  display: flex;
  gap: var(--spacing-xl);
}

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

.article-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 4px;
}

.article-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Featured Article Section */
.featured-article-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.featured-article-image {
  border-radius: 16px;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-article-content {
  max-width: 500px;
}

.article-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.featured-article-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.article-meta {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: var(--spacing-lg);
}

.article-excerpt {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-lg);
}

/* Articles Grid Section */
.articles-grid-section {
  padding: var(--spacing-2xl) 0;
  background: #f8f6f0;
}

.section-header-left {
  margin-bottom: var(--spacing-xl);
}

.section-header-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-dark-grey);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.article-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-image.gradient-intelligence {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.article-card-image.gradient-politics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-card-content {
  padding: var(--spacing-lg);
}

.article-card-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-bottom: var(--spacing-xs);
}

.article-card-content h3 {
  font-size: 1.125rem;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.article-card-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.article-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4af37;
}

/* Topics Section */
.topics-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.topic-card {
  padding: var(--spacing-xl);
  background: #f8f6f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.topic-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.topic-icon svg {
  stroke: #d4af37;
}

.topic-card h3 {
  font-size: 1.125rem;
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-sm);
}

.topic-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.topic-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Articles Quote Section */
.articles-quote-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.articles-quote-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
}

.articles-quote-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.articles-quote {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.articles-quote .quote-mark {
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.25);
  line-height: 1;
  display: block;
  margin-bottom: var(--spacing-md);
}

.articles-quote p {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  color: white;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

.articles-quote cite {
  font-size: 1rem;
  color: #d4af37;
  font-style: normal;
  font-weight: 600;
}

/* Articles CTA Section */
.articles-cta-section {
  padding: var(--spacing-2xl) 0;
  background: #f8f6f0;
}

.articles-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--spacing-2xl);
  align-items: center;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.cta-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-md);
}

.cta-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-lg);
  max-width: 480px;
}

.cta-books {
  display: flex;
  gap: var(--spacing-md);
}

.cta-book-cover {
  width: 140px;
  aspect-ratio: 3/4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-book-cover.politics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-book-cover.security {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Responsive Articles */
@media (max-width: 1024px) {
  .featured-article {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .featured-article-content {
    max-width: none;
    text-align: center;
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .articles-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-content p {
    max-width: none;
  }
  
  .cta-books {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .articles-stats {
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .topics-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .articles-hero {
    padding-top: 120px;
    min-height: auto;
  }
  
  .articles-hero-title {
    font-size: 2.5rem;
  }
  
  .articles-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .article-stat {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .article-stat-value {
    font-size: 2rem;
    min-width: 60px;
  }
  
  .cta-books {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-book-cover {
    width: 120px;
  }
}

/* ==================== GALLERY PAGE STYLES ==================== */

/* Gallery Hero */
.gallery-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 140px var(--spacing-md) var(--spacing-xl);
  overflow: hidden;
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
}

.gallery-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.gallery-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.gallery-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  margin-bottom: var(--spacing-md);
}

.gallery-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
}

.gallery-hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  line-height: 1.6;
}

/* Gallery Featured */
.gallery-featured {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.featured-gallery-item {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.featured-gallery-image {
  border-radius: 16px;
  overflow: hidden;
}

.featured-gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-gallery-content {
  max-width: 500px;
}

.gallery-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: var(--spacing-sm);
}

.featured-gallery-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-dark-grey);
  margin-bottom: var(--spacing-md);
}

.featured-gallery-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

/* Gallery Grid Section */
.gallery-grid-section {
  padding: var(--spacing-2xl) 0;
  background: #f8f6f0;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.gallery-item-category {
  font-size: 0.75rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Gradient Placeholders */
.gallery-item.gradient-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.gradient-placeholder.purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-item.gradient-placeholder.pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gallery-item.gradient-placeholder.cyan {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gallery-item.gradient-placeholder.orange {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gallery-item.gradient-placeholder.green {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gallery-item.gradient-placeholder.gold {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

.placeholder-content {
  text-align: center;
  color: white;
}

.placeholder-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.placeholder-desc {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Gallery Archive Section */
.gallery-archive-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.gallery-archive-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
}

.gallery-archive-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.archive-icon {
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.archive-icon svg {
  stroke: #d4af37;
}

.gallery-archive-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--spacing-md);
}

.gallery-archive-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-md);
}

.archive-note {
  font-style: italic;
  margin-bottom: var(--spacing-lg) !important;
}

/* Gallery Categories */
.gallery-categories-section {
  padding: var(--spacing-2xl) 0;
  background: white;
}

.gallery-categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-md);
}

.category-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: #f8f6f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.category-icon.purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.category-icon.pink { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.category-icon.cyan { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.category-icon.orange { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.category-icon.green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.category-icon.gold { background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%); }

.category-icon svg {
  stroke: white;
}

.category-card h3 {
  font-size: 0.9375rem;
  color: var(--color-dark-grey);
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.75rem;
  color: var(--color-medium-grey);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
  .featured-gallery-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .featured-gallery-image {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .featured-gallery-content {
    max-width: none;
    text-align: center;
  }
  
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .gallery-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-hero {
    padding-top: 120px;
    min-height: auto;
  }
  
  .gallery-hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-masonry {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .gallery-item.large {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
  
  .gallery-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== UTILITIES ==================== */
.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

