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

:root {
  --navy: #1a2744;
  --navy-light: #2a3d5e;
  --cream: #f8f5f0;
  --cream-dark: #efe9e0;
  --accent: #5a9e32;
  --accent-light: #6db344;
  --accent-pale: #8dcf6a;
  --white: #ffffff;
  --text-dark: #1a2744;
  --text-body: #3d4a5c;
  --text-light: #7a8494;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--sans);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(26, 58, 42, 0.97);
  padding: 0.75rem 2.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  position: relative;
  transition: all 0.35s ease;
}
.nav-logo span { color: var(--accent); transition: color 0.35s ease; }
.nav-logo:hover {
  color: var(--accent-pale);
}
.nav-logo:hover span {
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links > li {
  position: relative;
  padding: 0.5rem 1rem;
}
.nav-links > li > a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links > li > a:hover { color: var(--white); }
.nav-links > li > a:hover::after { width: 100%; }
.nav-links > li > a.active { color: var(--accent); }
.nav-links > li > a.active::after { width: 100%; }

/* LinkedIn icon in nav */
.nav-linkedin {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin-left: 0.25rem;
  height: 100%;
  vertical-align: middle;
}
.nav-linkedin svg {
  width: 15px;
  height: 15px;
  fill: rgba(255,255,255,0.6);
  transition: fill 0.3s ease, transform 0.3s ease;
  display: block;
}
.nav-linkedin:hover svg {
  fill: #0A66C2;
  transform: scale(1.15);
}
.nav-linkedin::after {
  display: none !important;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(26, 58, 42, 0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 4px 4px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  list-style: none;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 0.55rem 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  padding-left: 1.75rem;
}
.nav-dropdown li a::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ========== HERO (homepage) ========== */
.hero {
  min-height: 72vh;
  background: linear-gradient(135deg, #1a3a2a 0%, #2a5e3a 35%, #3a7a48 65%, #2a4a5a 100%);
  background-image:
    url("data:image/svg+xml,%3Csvg width='800' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'%3E%3Cellipse cx='400' cy='200' rx='380' ry='180'/%3E%3Cellipse cx='400' cy='200' rx='320' ry='150'/%3E%3Cellipse cx='400' cy='200' rx='260' ry='120'/%3E%3Cellipse cx='400' cy='200' rx='200' ry='90'/%3E%3Cellipse cx='400' cy='200' rx='140' ry='60'/%3E%3Cellipse cx='150' cy='100' rx='140' ry='80'/%3E%3Cellipse cx='150' cy='100' rx='90' ry='50'/%3E%3Cellipse cx='650' cy='320' rx='160' ry='90'/%3E%3Cellipse cx='650' cy='320' rx='100' ry='55'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #1a3a2a 0%, #2a5e3a 35%, #3a7a48 65%, #2a4a5a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(90,158,50,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 80px;
  pointer-events: none;
  background: none;
}
/* SVG wave at bottom of homepage hero */
.hero .hero-wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.hero .hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-pale);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.hero-cta svg { transition: transform var(--transition); }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-frame {
  width: 300px; height: 400px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
.hero-image-frame::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(26,58,42,0.4), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Hero slideshow */
.hero-image-frame .hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-image-frame .hero-slide.active {
  opacity: 1;
  animation: heroPan 6s ease-in-out forwards;
}
@keyframes heroPan {
  0%   { object-position: left top; }
  100% { object-position: right top; }
}

/* Scroll-down arrow below marquee */
.scroll-arrow-wrap {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 0.5rem;
  background: var(--cream);
}
.hero-scroll-arrow {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(26,39,68,0.2);
  border-radius: 50%;
  color: var(--accent);
  text-decoration: none;
  animation: arrowBounce 2s ease-in-out infinite;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.hero-scroll-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(90,158,50,0.08);
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* (hero CV strip removed — keeping simple 2-column hero) */

/* ========== PAGE HERO (subpages) ========== */
.page-hero {
  background: linear-gradient(135deg, #1a3a2a 0%, #2a5e3a 35%, #3a7a48 65%, var(--navy-light) 100%);
  padding: 9.5rem 2.5rem 6rem;
  position: relative;
  overflow: hidden;
  /* Subtle topographic contour lines */
  background-image:
    url("data:image/svg+xml,%3Csvg width='800' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'%3E%3Cellipse cx='400' cy='200' rx='380' ry='180'/%3E%3Cellipse cx='400' cy='200' rx='320' ry='150'/%3E%3Cellipse cx='400' cy='200' rx='260' ry='120'/%3E%3Cellipse cx='400' cy='200' rx='200' ry='90'/%3E%3Cellipse cx='400' cy='200' rx='140' ry='60'/%3E%3Cellipse cx='400' cy='200' rx='80' ry='32'/%3E%3Cellipse cx='150' cy='100' rx='140' ry='80'/%3E%3Cellipse cx='150' cy='100' rx='90' ry='50'/%3E%3Cellipse cx='150' cy='100' rx='45' ry='22'/%3E%3Cellipse cx='650' cy='320' rx='160' ry='90'/%3E%3Cellipse cx='650' cy='320' rx='100' ry='55'/%3E%3Cellipse cx='650' cy='320' rx='45' ry='22'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #1a3a2a 0%, #2a5e3a 35%, #3a7a48 65%, var(--navy-light) 100%);
  background-size: 800px 400px, 100% 100%;
  background-position: center, center;
  background-repeat: repeat, no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
/* SVG wave transition at bottom of hero */
.page-hero::after {
  content: '';
  display: none; /* replaced by .hero-wave SVG */
}
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 60px;
  z-index: 2;
  pointer-events: none;
}
.hero-wave svg {
  display: block;
  width: 100%; height: 100%;
}

/* Floating decorative shapes with gentle motion */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Circles */
.hero-deco-1 {
  width: 360px; height: 360px;
  top: -90px; right: 4%;
  border-radius: 50%;
  border: 2.5px solid rgba(90,158,50,0.16);
  animation: heroFloat1 16s ease-in-out infinite;
}
.hero-deco-2 {
  width: 200px; height: 200px;
  top: 25px; right: 20%;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  animation: heroFloat2 20s ease-in-out infinite;
}
.hero-deco-3 {
  width: 100px; height: 100px;
  bottom: 25%; left: 6%;
  border-radius: 50%;
  background: rgba(90,158,50,0.1);
  animation: heroFloat3 13s ease-in-out infinite;
}

/* Cubes — competitiveness building blocks */
.hero-deco-4 {
  width: 45px; height: 45px;
  top: 30%; right: 8%;
  border: 2px solid rgba(90,158,50,0.15);
  border-radius: 6px;
  animation: heroCube1 14s ease-in-out infinite;
}
.hero-deco-5 {
  width: 28px; height: 28px;
  top: 55%; right: 3%;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  animation: heroCube2 11s ease-in-out infinite;
}
.hero-deco-6 {
  width: 60px; height: 60px;
  bottom: 15%; left: 18%;
  border: 2px solid rgba(90,158,50,0.12);
  border-radius: 8px;
  animation: heroCube3 18s ease-in-out infinite;
}
.hero-deco-7 {
  width: 35px; height: 35px;
  top: 20%; left: 35%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  animation: heroCube4 15s ease-in-out infinite;
}
.hero-deco-8 {
  width: 22px; height: 22px;
  bottom: 35%; right: 28%;
  border: 1.5px solid rgba(90,158,50,0.14);
  border-radius: 3px;
  animation: heroCube5 12s ease-in-out infinite;
}

@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(18px, 12px) scale(1.04); }
  50% { transform: translate(-10px, 24px) scale(0.96); }
  75% { transform: translate(12px, -10px) scale(1.02); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-20px, 14px); }
  66% { transform: translate(16px, -18px); }
}
@keyframes heroFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(25px, -14px) scale(1.2); opacity: 1; }
}
@keyframes heroCube1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, 14px) rotate(12deg); }
  50% { transform: translate(8px, -8px) rotate(25deg); }
  75% { transform: translate(-6px, -12px) rotate(15deg); }
}
@keyframes heroCube2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
  50% { transform: translate(-16px, 18px) rotate(-20deg); opacity: 1; }
}
@keyframes heroCube3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(14px, -10px) rotate(15deg); }
  66% { transform: translate(-8px, 12px) rotate(-8deg); }
}
@keyframes heroCube4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
  25% { transform: translate(12px, 8px) rotate(-10deg); opacity: 0.7; }
  50% { transform: translate(-6px, 16px) rotate(18deg); opacity: 0.5; }
  75% { transform: translate(8px, -10px) rotate(5deg); opacity: 0.8; }
}
@keyframes heroCube5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -14px) rotate(30deg); }
}

/* Orbit CV Widget */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.orbit-widget {
  position: relative;
  width: 340px; height: 340px;
  margin: 0 auto;
  margin-top: 1rem;
  opacity: 0;
  animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring-1 { width: 200px; height: 200px; }
.orbit-ring-2 { width: 310px; height: 310px; border-style: dashed; border-color: rgba(255,255,255,0.06); }

/* Center hub — expandable */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--accent), #3a7a48);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(90,158,50,0.35), 0 0 0 4px rgba(255,255,255,0.1);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease;
  overflow: hidden;
  cursor: pointer;
}
.orbit-center.expanded {
  width: 110px; height: 110px;
  box-shadow: 0 8px 40px rgba(90,158,50,0.45), 0 0 0 4px rgba(255,255,255,0.15);
}
.orbit-center-initials {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.orbit-center.expanded .orbit-center-initials {
  opacity: 0;
  transform: scale(0.5);
  position: absolute;
}
.orbit-center-info {
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease 0.1s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
  pointer-events: none;
  padding: 6px 10px;
  width: 96px;
}
.orbit-center.expanded .orbit-center-info {
  opacity: 1;
  transform: scale(1);
}
.orbit-center-info h5 {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.orbit-center-info p {
  display: none !important;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Orbit nodes */
.orbit-node {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.orbit-node-dot {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.orbit-node-dot span {
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}
.orbit-node:hover .orbit-node-dot {
  background: var(--accent);
  border-color: var(--accent-light);
  transform: scale(1.18);
  box-shadow: 0 4px 18px rgba(90,158,50,0.4);
}
.orbit-node.active .orbit-node-dot {
  background: var(--accent);
  border-color: var(--accent-light);
  transform: scale(1.18);
  box-shadow: 0 4px 18px rgba(90,158,50,0.4);
}

/* Node positions — 6 equidistant at 60° intervals on radius ~140px */
/* 0°=top, 60°=top-right, 120°=bot-right, 180°=bottom, 240°=bot-left, 300°=top-left */
.orbit-node-1 { top: 8%;  left: 50%; }   /* 0° — top center */
.orbit-node-2 { top: 24%; left: 87%; }   /* 60° — top right */
.orbit-node-3 { top: 68%; left: 87%; }   /* 120° — bottom right */
.orbit-node-4 { top: 92%; left: 50%; }   /* 180° — bottom center */
.orbit-node-5 { top: 68%; left: 13%; }   /* 240° — bottom left */
.orbit-node-6 { top: 24%; left: 13%; }   /* 300° — top left */

/* Slow orbit spin animation */
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === Fan-out entry animation === */
/* Center: appears large then shrinks */
@keyframes orbitCenterBoom {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  50%  { opacity: 1; transform: translate(-50%, -50%) scale(1.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes orbitRingIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Each node fans out from center (50%,50%) to its final position */
@keyframes fanOut1 {
  0%   { top: 50%; left: 50%; opacity: 0; }
  100% { top: 8%;  left: 50%; opacity: 1; }
}
@keyframes fanOut2 {
  0%   { top: 50%; left: 50%; opacity: 0; }
  100% { top: 24%; left: 87%; opacity: 1; }
}
@keyframes fanOut3 {
  0%   { top: 50%; left: 50%; opacity: 0; }
  100% { top: 68%; left: 87%; opacity: 1; }
}
@keyframes fanOut4 {
  0%   { top: 50%; left: 50%; opacity: 0; }
  100% { top: 92%; left: 50%; opacity: 1; }
}
@keyframes fanOut5 {
  0%   { top: 50%; left: 50%; opacity: 0; }
  100% { top: 68%; left: 13%; opacity: 1; }
}
@keyframes fanOut6 {
  0%   { top: 50%; left: 50%; opacity: 0; }
  100% { top: 24%; left: 13%; opacity: 1; }
}

/* Fan-out entry animations — biography page only */
.page-hero .orbit-center {
  opacity: 0;
  animation: orbitCenterBoom 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
.page-hero .orbit-ring-1 {
  opacity: 0;
  animation: orbitRingIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
.page-hero .orbit-ring-2 {
  opacity: 0;
  animation: orbitRingIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards, orbitSpin 90s linear 1.7s infinite;
}
.page-hero .orbit-node-1 { opacity: 0; animation: fanOut1 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards; }
.page-hero .orbit-node-2 { opacity: 0; animation: fanOut2 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.22s forwards; }
.page-hero .orbit-node-3 { opacity: 0; animation: fanOut3 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.34s forwards; }
.page-hero .orbit-node-4 { opacity: 0; animation: fanOut4 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.46s forwards; }
.page-hero .orbit-node-5 { opacity: 0; animation: fanOut5 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.58s forwards; }
.page-hero .orbit-node-6 { opacity: 0; animation: fanOut6 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.70s forwards; }

/* (homepage orbit removed — replaced by accordion cards) */

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .orbit-widget { width: 280px; height: 280px; }
  .orbit-ring-1 { width: 160px; height: 160px; }
  .orbit-ring-2 { width: 250px; height: 250px; }
  .orbit-node-dot { width: 38px; height: 38px; }
  .orbit-node-dot span { font-size: 0.45rem; }
  .orbit-center { width: 60px; height: 60px; }
  .orbit-center.expanded { width: 95px; height: 95px; }
  .orbit-center-initials { font-size: 1.1rem; }
  .orbit-center-info { width: 80px; padding: 4px 8px; }
  .orbit-center-info h5 { font-size: 0.62rem; }
}

/* Landing animation — staggered entrance */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero text entrance animations ──────────────────── */

/* Label: slide in from left with line drawing */
@keyframes heroLabelIn {
  0%   { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes heroLabelLine {
  from { width: 0; }
  to   { width: 40px; }
}

/* Word-by-word reveal for headings */
@keyframes heroWordIn {
  0%   { opacity: 0; filter: blur(8px); transform: translateY(16px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Subtitle: gentle fade up */
@keyframes heroSubtitleIn {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* Label entrance */
.page-hero .hero-label {
  margin-bottom: 1rem;
  opacity: 0;
  animation: heroLabelIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.page-hero .hero-label::before {
  width: 0;
  animation: heroLabelLine 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* Heading: words are split by JS into .hero-word spans */
.page-hero h1 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
}
.page-hero h1 .hero-word {
  display: inline-block;
  opacity: 0;
  animation: heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  /* --word-index is set by JS for stagger */
  animation-delay: calc(0.25s + var(--word-index, 0) * 0.07s);
}

/* Subtitle: smooth fade */
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  animation: heroSubtitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  /* delay until words are mostly done — JS sets --subtitle-delay */
  animation-delay: var(--subtitle-delay, 0.9s);
}

/* ── Homepage hero text animations ──────────────────── */
.hero .hero-label {
  opacity: 0;
  animation: heroLabelIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.hero .hero-label::before {
  width: 0;
  animation: heroLabelLine 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
.hero h1 .hero-word {
  display: inline-block;
  opacity: 0;
  animation: heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.25s + var(--word-index, 0) * 0.07s);
}
.hero h1 em .hero-word {
  font-style: italic;
  color: var(--accent-pale);
}
.hero .hero-subtitle {
  opacity: 0;
  animation: heroSubtitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--subtitle-delay, 0.9s);
}
.hero .hero-cta {
  opacity: 0;
  animation: heroSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--cta-delay, 1.1s);
}

/* Hover glow to draw attention */
.page-hero .hero-label,
.page-hero h1,
.page-hero p {
  transition: text-shadow 0.5s ease, color 0.5s ease;
}
.page-hero-inner:hover .hero-label {
  text-shadow: 0 0 24px rgba(90,158,50,0.35);
}
.page-hero-inner:hover h1 {
  text-shadow: 0 2px 30px rgba(255,255,255,0.1);
}
.page-hero-inner:hover p {
  color: rgba(255,255,255,0.78);
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--white);
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--cream-dark);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ========== MARQUEE (scrolling companies) ========== */
.marquee-bar {
  background: var(--white);
  padding: 1.25rem 0;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 120s linear infinite;
  margin-bottom: 0.6rem;
}
.marquee-track:last-child {
  margin-bottom: 0;
}
.marquee-track-reverse {
  animation: marqueeScroll 130s linear infinite;
}
.marquee-track:hover,
.marquee-track-reverse:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
}
.marquee-tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.marquee-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@keyframes marqueeScroll {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 7rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  padding: 7rem 2.5rem;
}
.section-full-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { margin-bottom: 4rem; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #1a3a2a;
  line-height: 1.2;
  max-width: 600px;
}

/* ========== BIOGRAPHY ========== */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.bio-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.bio-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  margin-top: 0.1rem;
  color: var(--navy);
  font-weight: 700;
}
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 7px;
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), rgba(90,158,50,0.1));
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 0;
  transition: none;
}
.timeline-item:hover .timeline-year,
.timeline-item:hover .timeline-desc {
  transform: translateX(4px);
}
.timeline-year,
.timeline-desc {
  transition: transform 0.3s ease;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 0.45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--cream);
  box-sizing: border-box;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.timeline-item:hover::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(90,158,50,0.15);
  transform: scale(1.2);
}
.timeline-year {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
  transition: color 0.25s ease;
}
.timeline-item:hover .timeline-year {
  color: var(--accent);
}
.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ========== PRESENTATIONS (dark bg) ========== */
.dark-section {
  background: linear-gradient(135deg, #1a3a2a 0%, #1e4432 50%, #224e3a 100%);
  padding: 7rem 2.5rem;
}
.dark-section .section-header { max-width: 1200px; margin: 0 auto 4rem; }
.dark-section .section-title { color: var(--white); }

.topics-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.topic-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.topic-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(90,158,50,0.3);
}
.topic-icon {
  width: 48px; height: 48px;
  background: rgba(90,158,50,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.topic-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.topic-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ========== ENDORSEMENTS ========== */
.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.endorsement-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.endorsement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.endorsement-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}
.endorsement-text {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-body);
  position: relative; z-index: 1;
}
.endorsement-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.endorsement-role {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* ========== BOOKS ========== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2.5rem;
}
.book-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.book-cover {
  width: 180px; height: 260px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.book-cover::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.book-cover-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.book-cover-author {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.book-info h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.book-publisher {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.book-info p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}
.book-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.book-link:hover { color: var(--navy); }

/* ========== CLIENTS / SOCIAL PROOF ========== */
.clients-bar {
  background: var(--cream);
  padding: 4rem 2.5rem;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.clients-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.clients-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}
.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.client-logo {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.client-logo:hover { opacity: 0.9; }

/* ========== COMPANY LOGOS GRID ========== */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-tag {
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 500;
  border: 1px solid var(--cream-dark);
  transition: border-color var(--transition), color var(--transition);
}
.logo-tag:hover {
  border-color: var(--accent);
  color: var(--navy);
}

/* ========== VIDEO GRID ========== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.video-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.video-thumb .play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.video-card:hover .play-btn {
  transform: scale(1.1);
  background: var(--accent-light);
}
.play-btn svg { color: var(--white); margin-left: 3px; }
.video-card-body {
  padding: 1.25rem;
}

/* Embedded video cards */
.video-embed-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.video-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-embed-card .video-card-body h3 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
}
.video-embed-card .video-card-body p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

/* Featured video (large) */
.video-featured {
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.video-featured .video-embed-wrapper {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.video-featured h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 1.25rem;
  font-weight: 700;
}
.video-featured p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}
.video-card-body h3 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
}

/* Video fallback (when embed blocked) */
.video-fallback {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  text-decoration: none;
  background: #000;
}
.video-fallback img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.video-fallback:hover img { opacity: 1; }
.video-fallback-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
}
.video-fallback:hover .video-fallback-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}
.video-fallback-label {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--sans);
  letter-spacing: 0.02em;
}

/* ========== CONTACT ========== */
.contact-bg {
  background: var(--white);
  padding: 7rem 2.5rem;
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info .section-title { color: #1a3a2a; }
.contact-text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 0.95rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(90,158,50,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-form {
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 2.5rem;
  border-radius: 4px;
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #1a3a2a;
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--accent-light); }

/* ========== PROSE (long text pages) ========== */
.prose {
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.85;
}
.prose h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}
.prose p { margin-bottom: 1.25rem; }
.prose strong { color: var(--navy); }
.prose ul, .prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
}

/* ========== BIOGRAPHY ENHANCEMENTS ========== */

/* Editorial intro with photo */
.bio-intro {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.bio-intro-photo {
  position: sticky;
  top: 6rem;
}
.bio-intro-photo img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.bio-intro-text h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

/* Drop cap */
.drop-cap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.8;
  font-weight: 700;
  color: var(--navy);
  margin-right: 0.15rem;
  margin-top: 0.1rem;
  padding-right: 0.08em;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid var(--accent);
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(90,158,50,0.04), rgba(26,39,68,0.03));
  border-radius: 0 6px 6px 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin: 0;
}
.pull-quote .pull-quote-source {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-light);
  margin-top: 0.75rem;
  letter-spacing: 0.03em;
}

/* Role highlight cards */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 3rem;
}
.role-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2.2rem 1.8rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 4px solid var(--accent);
  border-left: 1px solid rgba(90,158,50,0.08);
  border-right: 1px solid rgba(90,158,50,0.08);
  border-bottom: 1px solid rgba(90,158,50,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.role-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.role-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.role-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.role-card .role-card-org {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  margin-bottom: 0.75rem;
}
.role-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}
a.role-card-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.role-card-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: transform var(--transition), color var(--transition);
}
a.role-card-link:hover .role-card-arrow {
  transform: translateX(4px);
  color: var(--accent-light);
}

/* Career timeline */
/* Career timeline — scoped to .career-timeline to avoid conflicts */
.career-timeline {
  position: relative;
  padding: 1rem 0 1rem 0;
  margin: 2rem 0 3rem;
}
.career-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--cream-dark));
  border-radius: 1px;
}
.career-timeline .timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0;
}
.career-timeline .timeline-item::before {
  display: none; /* override generic .timeline-item::before */
}
.career-timeline .timeline-dot {
  width: 16px; height: 16px;
  min-width: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--accent);
  position: relative;
  top: 18px;
  z-index: 1;
  transition: transform 0.3s;
}
.career-timeline .timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 2px var(--accent), 0 0 8px rgba(90,158,50,0.3);
}
.career-timeline .timeline-content {
  flex: 1;
  background: var(--white);
  padding: 1.1rem 1.4rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border-left: 3px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.career-timeline .timeline-item:hover .timeline-content {
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  border-left-color: var(--accent);
}
.career-timeline .timeline-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.career-timeline .timeline-content h4 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.career-timeline .timeline-content p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

/* Section divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-pale));
  border: none;
  margin: 3.5rem 0 2.5rem;
  border-radius: 2px;
}

/* Bio layout: full width prose */
.bio-full {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .bio-intro { grid-template-columns: 1fr; gap: 2rem; }
  .bio-intro-photo { position: static; max-width: 280px; margin: 0 auto; }
  .role-cards { grid-template-columns: 1fr; }
  .career-timeline::before { left: 7px; }
  .career-timeline .timeline-content { padding: 0.9rem 1.1rem; }
}

/* ========== SIDE DOT NAVIGATION ========== */
/* ── Side-dot navigation ───────────────────────────────── */
.side-dots {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.side-dots.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Vertical track line */
.side-dots::before {
  content: '';
  position: absolute;
  top: 12px; bottom: 12px;
  right: 7px;
  width: 1.5px;
  background: rgba(26,39,68,0.08);
  border-radius: 1px;
  z-index: -1;
}

/* "Scroll" hint */
.side-dots-hint {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin-bottom: 10px;
  opacity: 0;
  animation: hintAppear 0.5s 1.5s forwards, hintPulse 2s 2s ease-in-out 3;
}
@keyframes hintAppear { to { opacity: 1; } }
@keyframes hintPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Individual dot item ─── */
.side-dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  cursor: pointer;  /* pointing hand on dots */
  /* Jog wheel: each dot reads --jog-scale from JS */
  --jog-scale: 1;
  --jog-opacity: 0.5;
}

/* The dot circle — driven by --jog-scale */
.side-dot::after {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(26,39,68,0.2);
  border: 2px solid rgba(26,39,68,0.06);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform: scale(var(--jog-scale));
  flex-shrink: 0;
}

/* Active dot */
.side-dot.active::after {
  background: var(--accent);
  border-color: var(--accent-pale);
  box-shadow: 0 0 0 3px rgba(90,158,50,0.1), 0 0 8px rgba(90,158,50,0.15);
}

/* Label tooltip (default: hover-only) */
.side-dot-label {
  position: absolute;
  right: 30px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.side-dot-label::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--navy);
}
.side-dot:hover .side-dot-label {
  opacity: 1;
  transform: translateX(0);
}

/* ── Hero-mode ──────────────────────────────────────── */
.side-dots.hero-labels {
  gap: 0;
  /* Stretch to match the hero image area height */
  height: 400px;
  justify-content: space-evenly;
  right: 36px;
}
.side-dots.hero-mode::before {
  background: rgba(255,255,255,0.1);
}
.side-dots.hero-mode .side-dots-hint {
  color: rgba(255,255,255,0.5);
}

/* Dot appearance in hero */
.side-dots.hero-mode .side-dot::after {
  background: rgba(255,255,255,var(--jog-opacity));
  border-color: rgba(255,255,255,0.1);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.side-dots.hero-mode .side-dot.active::after {
  background: #fff;
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1), 0 0 10px rgba(255,255,255,0.2);
}

/* Labels: always visible ONLY in the landing hero — clean text, no bubble */
.side-dots.hero-labels .side-dot {
  cursor: pointer;
  padding: 0;
}
.side-dots.hero-labels .side-dot::after {
  width: 16px; height: 16px;
}
.side-dots.hero-labels .side-dot-label {
  opacity: var(--jog-opacity);
  transform: translateX(0) scale(var(--jog-scale));
  transform-origin: right center;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  transition: opacity 0.15s ease, color 0.15s ease;
  right: 32px;
  cursor: pointer;
  pointer-events: auto;
}
.side-dots.hero-labels .side-dot-label::after {
  display: none;
}
/* Hide the "Scroll" hint text in hero-labels mode */
.side-dots.hero-labels .side-dots-hint {
  display: none;
}
/* Hide the track line in hero-labels mode */
.side-dots.hero-labels::before {
  display: none;
}

@media (max-width: 900px) {
  .side-dots { display: none; }
}

/* ========== PRESENTATION TOPICS (slide + text) ========== */
.pres-topic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pres-topic:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.pres-topic-reverse {
  direction: rtl;
}
.pres-topic-reverse > * {
  direction: ltr;
}
.pres-topic-text h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #1a3a2a;
  margin-bottom: 1rem;
  font-weight: 600;
}
.pres-topic-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}
.pres-topic-slide {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.pres-topic-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.18);
}
.pres-topic-slide img {
  width: 100%;
  height: auto;
  display: block;
}
/* Placeholder for missing images */
.pres-topic-slide img[src*="slides/"] {
  min-height: 200px;
  background: linear-gradient(135deg, #1a3a2a, #2a5e3a);
  object-fit: cover;
}
@media (max-width: 768px) {
  .pres-topic,
  .pres-topic-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }
  .pres-topic-slide {
    order: -1;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: #0f2a1c;
  padding: 2.5rem;
  text-align: center;
}
.footer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer a {
  color: var(--accent);
  transition: color var(--transition);
}
.footer a:hover { color: var(--accent-light); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s ease, transform 0.3s ease;
}
.footer-links a:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.footer-links a svg {
  fill: rgba(255,255,255,0.5);
  stroke: rgba(255,255,255,0.5);
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.footer-links a:first-child:hover svg { fill: #0A66C2; }
.footer-links a:last-child:hover svg { stroke: var(--accent); fill: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2.5rem;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-links > li { padding: 0.4rem 0; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0.25rem 0 0.25rem 1rem;
    min-width: auto;
    border-top: none;
  }
  .nav-dropdown li a {
    padding: 0.3rem 0;
    font-size: 0.78rem;
  }
  .nav-dropdown li a:hover { padding-left: 0.25rem; background: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 4rem;
    gap: 2rem;
  }
  .hero h1 { font-size: 2.5rem; }
  .hero-image { display: none; }

  .page-hero { padding: 7rem 1.5rem 5rem; }
  .page-hero h1 { font-size: 2.2rem; }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat { border-right: none; padding: 0.5rem 0; }

  .section { padding: 4rem 1.5rem; }
  .section-full { padding: 4rem 1.5rem; }
  .section-title { font-size: 2rem; }

  .bio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .endorsements-grid { grid-template-columns: 1fr; }

  .book-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-cover { margin: 0 auto; }

  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .videos-grid { grid-template-columns: 1fr; }

  .media-grid { grid-template-columns: 1fr; }
  .media-featured { padding: 2rem 1.5rem; }
}

/* ========== MEDIA / PRESS PAGE ========== */

/* --- Shared thumbnail area --- */
.media-card-thumb,
.media-featured-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: var(--navy);
}
.media-card-thumb { height: 160px; }
.media-featured-thumb { height: 220px; }

.media-thumb-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.5s ease;
}
.media-card:hover .media-thumb-img,
.media-featured-card:hover .media-thumb-img {
  transform: scale(1.04);
}
.media-thumb-fallback {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  z-index: 1;
}
.media-thumb-fallback span {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* --- Favicon + source row --- */
.media-source-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.media-favicon {
  width: 16px; height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}
.media-source-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.media-date-pill {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--cream);
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  white-space: nowrap;
}

/* --- Featured card (horizontal) --- */
.media-featured-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 39, 68, 0.07);
  border: 1px solid var(--cream-dark);
  text-decoration: none;
  color: inherit;
  max-width: 1000px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.media-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 39, 68, 0.1);
}
.media-featured-card .media-featured-thumb {
  border-radius: 12px 0 0 12px;
  height: 100%;
  min-height: 260px;
}
.media-featured-badge-float {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  z-index: 3;
}
.media-featured-body {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.media-featured-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.8rem;
}
.media-featured-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.3rem;
}
.media-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.25s ease, gap 0.25s ease;
}
.media-read-link:hover,
.media-featured-card:hover .media-read-link {
  color: var(--accent-light);
  gap: 0.6rem;
}

/* --- Section heading --- */
.media-section-heading {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--cream-dark);
}

/* --- Card grid --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* --- Individual article card --- */
.media-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 39, 68, 0.05);
  border: 1px solid var(--cream-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(26, 39, 68, 0.1);
  border-color: rgba(90, 158, 50, 0.3);
}
.media-card-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.media-card-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.media-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.media-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.25s ease;
}
.media-card:hover .media-card-link {
  gap: 0.55rem;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .media-featured-card { grid-template-columns: 1fr; }
  .media-featured-card .media-featured-thumb {
    border-radius: 12px 12px 0 0;
    height: 200px;
    min-height: unset;
  }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-featured-body { padding: 1.5rem; }
  .media-featured-title { font-size: 1.2rem; }
}
