/* ============================================
   ELEMENTIO GROUP — Brand Stylesheet
   Colors: Sage Green #4D7468 | Muted Green #6D8B73
   Dark Charcoal #232323 | Off-White #FAF9F5
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600;700&family=Barlow:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --sage: #4D7468;
  --sage-light: #6D8B73;
  --sage-faded: rgba(77,116,104,0.85);
  --sage-pale: rgba(109,139,115,0.15);
  --charcoal: #232323;
  --offwhite: #FAF9F5;
  --white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #EEEEEE;
  --link-blue: #337AB7;
  --font-brand: 'Barlow Semi Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', 'Noto Sans', Helvetica, Arial, sans-serif;
}

/* === SKIP LINK (Accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 4px 4px;
  z-index: 200;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* === FORM INPUT FOCUS (replaces inline onfocus/onblur) === */
.form-input:focus {
  border-color: #4D7468 !important;
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sage-light); }

/* === NAVIGATION === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77,116,104,0.12);
  height: 80px;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo svg, .nav-logo img { height: 50px; width: auto; }
.nav-logo-text {
  font-family: var(--font-brand);
  font-weight: 500;
  font-style: normal;
  font-size: 1.25rem;
  color: var(--sage);
  letter-spacing: 1.5px;
  text-transform: lowercase;
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--sage);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-toggle {
  display: none; cursor: pointer;
  background: none; border: none; padding: 0.25rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--sage); margin: 6px 0;
  transition: 0.3s;
}

/* === HERO SECTIONS === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  margin-top: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--sage-faded);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.1rem;
  line-height: 1.75;
  opacity: 0.92;
  max-width: 650px;
  margin: 0 auto 2rem;
}
.hero .btn { margin-top: 0.5rem; }

/* Page heroes (shorter) */
.hero-page {
  min-height: 45vh;
}
.hero-page .hero-content { padding: 3rem 2rem; }
.hero-page h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-white {
  background: var(--white); color: var(--sage);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent; color: var(--white);
  border-color: var(--white);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white); color: var(--sage);
}
.btn-sage {
  background: var(--sage); color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover {
  background: var(--sage-light); border-color: var(--sage-light);
}
.btn-outline-sage {
  background: transparent; color: var(--sage);
  border-color: var(--sage);
}
.btn-outline-sage:hover {
  background: var(--sage); color: var(--white);
}

/* === SECTIONS === */
section { padding: 5rem 2rem; }
.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1rem;
}
h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.section-intro {
  font-size: 1.05rem;
  color: #666;
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Sage background sections */
.bg-sage {
  background: var(--sage);
  color: var(--white);
}
.bg-sage h2, .bg-sage h3 { color: var(--white); }
.bg-sage .section-label { color: rgba(255,255,255,0.7); }
.bg-sage .section-intro { color: rgba(255,255,255,0.8); }

.bg-sage-light {
  background: var(--sage-light);
  color: var(--white);
}
.bg-sage-light h2, .bg-sage-light h3 { color: var(--white); }
.bg-sage-light .section-label { color: rgba(255,255,255,0.7); }

.bg-charcoal {
  background: var(--charcoal);
  color: var(--text-light);
}
.bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }
.bg-charcoal .section-label { color: var(--sage-light); }

.bg-white { background: var(--white); }

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(77,116,104,0.12);
  border-radius: 6px;
  padding: 2.25rem;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(77,116,104,0.1);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--sage-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--sage);
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #666; font-size: 0.95rem; line-height: 1.7; }

/* Cards on dark bg */
.bg-sage .card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.bg-sage .card p { color: rgba(255,255,255,0.8); }
.bg-sage .card-icon { background: rgba(255,255,255,0.12); color: var(--white); }

/* === CREDENTIAL STRIP === */
.cred-strip {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(77,116,104,0.12);
  border-bottom: 1px solid rgba(77,116,104,0.12);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; text-align: center;
}
.cred-num {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 700;
  color: var(--sage);
}
.cred-label {
  font-size: 0.85rem; color: #888;
  margin-top: 0.25rem;
}

/* === PILLARS GRID === */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pillar {
  padding: 3rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.pillar:last-child { border-right: none; }
.pillar-icon {
  font-size: 2.2rem; margin-bottom: 1rem;
  opacity: 0.9;
}
.pillar h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
}
/* === TWO COLUMN LAYOUT === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col-img-right > :first-child { order: 2; }
.two-col-img-right > :last-child { order: 1; }
.two-col-text h2 { margin-bottom: 1.25rem; }
.two-col-text p { color: #666; line-height: 1.75; margin-bottom: 1rem; }
.two-col-text p:last-child { margin-bottom: 0; }

/* === BIO / QUOTE SECTION === */
.bio-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.bio-photo {
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.15);
}
.bio-photo-placeholder {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 4px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.bio-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}
.bio-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.bio-title {
  font-size: 0.9rem;
  opacity: 0.75;
}
.bio-socials {
  display: flex; gap: 1.25rem; margin-top: 1.25rem;
}
.bio-socials a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  font-weight: 600;
}
.bio-socials a:hover { color: var(--white); }

/* === PODCAST CARDS === */
.podcast-card {
  background: var(--white);
  border: 1px solid rgba(77,116,104,0.12);
  border-radius: 6px;
  padding: 2.5rem;
  display: flex; flex-direction: column;
}
.podcast-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  border: 1px solid rgba(77,116,104,0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.podcast-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.podcast-card .meta {
  font-size: 0.85rem; color: #999;
  margin-bottom: 1rem;
}
.podcast-card p { color: #666; font-size: 0.95rem; flex: 1; line-height: 1.7; }
.podcast-card .podcast-link {
  color: var(--sage); font-weight: 600;
  font-size: 0.9rem; margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.podcast-card .podcast-link:hover { color: var(--sage-light); }

/* === TIMELINE === */
.timeline { max-width: 700px; }
.timeline-item {
  padding: 0 0 2.5rem 2.5rem;
  border-left: 2px solid rgba(77,116,104,0.2);
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sage);
}
.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.timeline-role {
  font-weight: 600; font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.timeline-org { color: #888; font-size: 0.9rem; margin-bottom: 0.5rem; }
.timeline-desc { color: #666; font-size: 0.92rem; line-height: 1.7; }

/* === CONTACT FORM AREA === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-item {
  display: flex; gap: 1rem; margin-bottom: 2rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--sage-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: 1.1rem;
}
.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 600;
  margin-bottom: 0.2rem;
}
.contact-info-item p { font-size: 0.95rem; color: #666; }
.contact-info-item a { color: var(--sage); }

/* === FOOTER === */
.site-footer {
  background: var(--sage);
  color: var(--white);
  padding: 3.5rem 2rem;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--white);
}
.footer-col p {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.9;
}
.footer-col a { color: var(--white); opacity: 0.9; }
.footer-col a:hover { opacity: 1; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

.copyright-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 1.25rem 2rem;
  font-size: 0.8rem;
  text-align: right;
}
.copyright-bar a { color: rgba(255,255,255,0.6); }
.copyright-bar a:hover { color: rgba(255,255,255,0.9); }
.copyright-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}

/* === ANIMATIONS === */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.36s; }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Hero content entrance */
.hero-content {
  animation: heroFadeUp 1s ease-out 0.2s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Particle canvas */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

/* Pillar tilt */
.pillar {
  transition: transform 0.3s ease-out, box-shadow 0.3s;
  will-change: transform;
}
.pillar:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 2;
}

/* Button ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(1); opacity: 0; }
}

/* Nav shrink on scroll */
.site-nav {
  transition: height 0.3s, box-shadow 0.3s;
}
.nav-scrolled {
  height: 64px !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-scrolled .nav-logo img {
  height: 40px !important;
  transition: height 0.3s;
}

/* Card icon glow on hover */
.card:hover .card-icon {
  box-shadow: 0 0 20px rgba(77,116,104,0.25);
  transition: box-shadow 0.3s;
}

/* Podcast card subtle lift */
.podcast-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.podcast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(77,116,104,0.12);
}

/* Credential number glow */
.cred-num {
  transition: color 0.3s;
}

/* === ANIMATED GRADIENT BORDER ON CARDS === */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(77,116,104,0.4) 50%, transparent 60%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  animation: gradientShift 3s ease infinite;
}
.card:hover::before {
  opacity: 1;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === TIMELINE SEQUENTIAL REVEAL === */
.timeline-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.timeline-item.timeline-revealed {
  opacity: 1;
  transform: translateX(0);
}
/* Animated timeline line fill */
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--sage);
  transition: height 1.5s ease-out;
  z-index: 1;
}
.timeline.timeline-active::before {
  height: 100%;
}
/* Timeline dot pulse */
.timeline-item::before {
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 2;
}
.timeline-item.timeline-revealed::before {
  animation: dotPulse 0.6s ease-out;
}
@keyframes dotPulse {
  0% { transform: scale(0); box-shadow: 0 0 0 0 rgba(77,116,104,0.4); }
  50% { transform: scale(1.4); box-shadow: 0 0 0 8px rgba(77,116,104,0); }
  100% { transform: scale(1); box-shadow: none; }
}

/* === GLOWING ACCENT LINES ON DARK SECTIONS === */
.bg-charcoal {
  position: relative;
  overflow: hidden;
}
.bg-charcoal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,139,115,0.6), transparent);
  animation: glowSweep 6s ease-in-out infinite;
}
.bg-charcoal::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -100%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,139,115,0.4), transparent);
  animation: glowSweepReverse 6s ease-in-out 3s infinite;
}
@keyframes glowSweep {
  0% { left: -50%; }
  100% { left: 100%; }
}
@keyframes glowSweepReverse {
  0% { right: -50%; }
  100% { right: 100%; }
}

/* === ICON HOVER ANIMATIONS === */
.icon-animate {
  transition: transform 0.3s ease, color 0.3s;
  display: inline-block;
}
.icon-animate:hover {
  transform: scale(1.2) rotate(-5deg);
  color: rgba(255,255,255,1) !important;
}
/* Bounce keyframe for scroll trigger */
@keyframes iconBounce {
  0% { transform: scale(0.3) rotate(10deg); opacity: 0; }
  50% { transform: scale(1.15) rotate(-3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.icon-bounce-in {
  animation: iconBounce 0.5s ease-out both;
}

/* === HERO TEXT WORD REVEAL === */
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(15px) rotateX(-20deg); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}
.hero h1 .word-reveal {
  display: inline-block;
  opacity: 0;
  animation: wordReveal 0.5s ease-out forwards;
}

/* === PARALLAX HERO DEPTH === */
.hero {
  perspective: 1000px;
}
.hero-bg {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* === SECTION LABEL ANIMATED UNDERLINE === */
.section-label {
  position: relative;
  display: inline-block;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.6s ease-out;
}
.section-label.revealed::after,
.reveal.revealed .section-label::after {
  width: 100%;
}
.bg-sage .section-label::after {
  background: rgba(255,255,255,0.5);
}

/* === CREDENTIAL STRIP SHIMMER === */
.cred-strip {
  position: relative;
  overflow: hidden;
}
.cred-strip::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(77,116,104,0.04), transparent);
  animation: credShimmer 4s ease-in-out infinite;
}
@keyframes credShimmer {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* === FLOATING BACKGROUND DOTS (dark sections) === */
.bg-sage {
  position: relative;
  overflow: hidden;
}

/* === ISOMETRIC HERO SCENE === */
.iso-hero-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  padding-bottom: 2rem;
}
.iso-hero-wrapper svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* Isometric card icons */
.card-icon-iso {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  transition: transform 0.4s ease;
}
.card:hover .card-icon-iso {
  transform: scale(1.15) translateY(-3px);
}

/* Isometric SVG animations */
@keyframes isoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes isoPulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.3; }
}
/* Apply animations to inline SVG elements */
.iso-hero-wrapper .iso-chip {
  animation: isoFloat 4s ease-in-out infinite;
}
.iso-hero-wrapper .iso-pulse {
  animation: isoPulse 2s ease-in-out infinite;
}
.iso-hero-wrapper .iso-pulse-2 {
  animation: isoPulse 2s ease-in-out 0.7s infinite;
}
.iso-hero-wrapper .iso-pulse-3 {
  animation: isoPulse 2s ease-in-out 1.4s infinite;
}
.iso-hero-wrapper .iso-particles circle {
  animation: isoFloat 3s ease-in-out infinite;
}
.iso-hero-wrapper .iso-particles circle:nth-child(odd) {
  animation-delay: -1.5s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-content { animation: none !important; }
  .pillar { transition: none !important; }
  #hero-particles { display: none; }
  .btn-ripple { animation: none !important; }
  .timeline-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .timeline::before { transition: none !important; height: 100% !important; }
  .timeline-item.timeline-revealed::before { animation: none !important; }
  .card::before { animation: none !important; }
  .bg-charcoal::before, .bg-charcoal::after { animation: none !important; }
  .icon-bounce-in { animation: none !important; opacity: 1 !important; }
  .hero h1 .word-reveal { animation: none !important; opacity: 1 !important; }
  .cred-strip::after { animation: none !important; }
  .section-label::after { transition: none !important; width: 100% !important; }
  .iso-hero-wrapper .iso-chip,
  .iso-hero-wrapper .iso-pulse,
  .iso-hero-wrapper .iso-pulse-2,
  .iso-hero-wrapper .iso-pulse-3,
  .iso-hero-wrapper .iso-particles circle { animation: none !important; }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .two-col, .bio-section, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .two-col-img-right > :first-child { order: 0; }
  .two-col-img-right > :last-child { order: 0; }
  .bio-section { text-align: center; }
  .bio-section > *:first-child { justify-self: center; }
  .bio-section > *:last-child { width: 100%; }
  .bio-socials { justify-content: center; flex-wrap: wrap; }
  .bio-links { justify-content: center !important; flex-wrap: wrap; }
  .mobile-center { text-align: center; }
  .mobile-center [style*="display:flex"] { justify-content: center; }
  .mobile-center .btn { display: inline-flex; }
  .mobile-center div { text-align: center; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer-col[style*="text-align: right"] { text-align: left !important; }
  .journey-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--offwhite);
    padding: 2rem;
    border-bottom: 1px solid rgba(77,116,104,0.12);
    gap: 1.5rem;
  }
  section { padding: 3.5rem 1.25rem; }
  .hero { min-height: 70vh; }
  .hero-page { min-height: 40vh; }
  .card-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .copyright-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
