/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg-body:         #fdfdfd;
  --bg-alt:          #f8f9fa;
  --card-bg:         #ffffff;
  --text-main:       #1a1a1a;
  --text-muted:      #64748b;
  --accent-navy:     #0f172a;
  --accent-blue:     #2563eb;
  --accent-green:    #16a34a;
  --border-color:    #e5e7eb;
  --border-subtle:   #f1f5f9;
  --nav-height:      68px;
  --radius-card:     10px;
  --shadow-card:     0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-hover:    0 8px 32px rgba(0,0,0,0.10);
  --transition:      all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

section[id] { scroll-margin-top: var(--nav-height); }

/* ═══════════════════════════════════════════════════════════
  HEADER / NAV
═══════════════════════════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color); display: flex; align-items: center; padding: 0 5%; gap: 24px;
}
.logo {
  font-family: 'Inter', -apple-system, sans-serif; font-size: 1.15rem; font-weight: 800;
  color: var(--accent-navy); letter-spacing: -0.03em; flex-shrink: 0; display: flex;
  flex-direction: column; line-height: 1.2; text-transform: uppercase;
}
.logo-name { color: var(--accent-blue); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }

/* UPDATED NAV LINK: Smaller, bolder, editorial style */
.nav-link { font-size: 12px; font-weight: 700; color: #1f2937; padding: 6px 12px; border-radius: 6px; transition: var(--transition); letter-spacing: 0.02em; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--accent-navy); background: var(--border-subtle); }
.nav-link.active { color: var(--accent-blue); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn { font-size: 12.5px; font-weight: 700; padding: 7px 15px; border-radius: 6px; transition: var(--transition); white-space: nowrap; letter-spacing: 0.01em; }
.btn-about  { color: #fff; background: var(--accent-blue); border: 1px solid var(--accent-blue); }
.btn-about:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-follow { color: #0A66C2; border: 1px solid #0A66C2; background: transparent; }
.btn-follow:hover { background: #f0f7ff; }
.btn-join   { color: #fff; background: var(--accent-green); border: 1px solid var(--accent-green); }
.btn-join:hover { background: #15803d; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border:none; background:none; border-radius: 6px; margin-left: auto; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--accent-navy); border-radius: 2px; transition: var(--transition); }

.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--border-color); padding: 16px 5% 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav > a { display: block; font-size: 14px; font-weight: 600; color: var(--text-main); padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.mobile-nav > a:last-of-type { border-bottom: none; }
.mobile-nav-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; }
.mobile-nav-actions .btn { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; padding: 9px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-nav-actions .btn-about { color: #fff !important; background: var(--accent-blue) !important; border-color: var(--accent-blue) !important; }
.mobile-nav-actions .btn-follow { color: #0A66C2 !important; background: transparent !important; border-color: #0A66C2 !important; }
.mobile-nav-actions .btn-join { color: #fff !important; background: var(--accent-green) !important; border-color: var(--accent-green) !important; }

/* ═══════════════════════════════════════════════════════════
  HERO CAROUSEL & SLIDES
═══════════════════════════════════════════════════════════ */
.hero-carousel-wrapper {
  position: relative; overflow: hidden; width: 100%; margin-top: var(--nav-height);
  touch-action: pan-y;
  background-color: var(--accent-navy);
}

/* NEW: Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: rgba(15, 23, 42, 0.35); /* Semi-transparent */
  color: rgba(255, 255, 255, 0.8);
  border: none;
  width: 38px;  /* Small, elegant size */
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0; /* Hidden by default */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-carousel-wrapper:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow i {
  font-size: 14px;
}

.prev-arrow { left: 2.5%; }
.next-arrow { right: 2.5%; }

@media (max-width: 768px) {
  .carousel-arrow { display: none; }
}
/* END NEW ARROWS */

.hero-carousel-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--accent-navy);
}

.hero {
  flex: 0 0 100%; width: 100%; box-sizing: border-box;
  min-height: calc(90vh - var(--nav-height));
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; position: relative;
  cursor: pointer;
}

.hero-left {
  padding: 80px 6% 180px 8%; position: relative; z-index: 2; pointer-events: none;
}
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; transition: color 0.3s ease; }
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%        { opacity: 0.4; transform: scale(1.4); }
}

.hero h1 { font-family: 'Newsreader', Georgia, serif; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; color: #ffffff; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: #93c5fd; }
.hero-sub { font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: #94a3b8; max-width: 400px; margin-bottom: 40px; font-weight: 400; line-height: 1.6; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 10; pointer-events: auto; }
.hero-cta {
  background-color: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 7px; font-size: 13.5px; font-weight: 700; transition: var(--transition);
}
.hero-cta:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-1px); border-color: #ffffff; }

.hero-right { position: relative; height: 100%; min-height: calc(90vh - var(--nav-height)); overflow: hidden; pointer-events: none;}
.hero-img-container {
  position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
  .hero.slide:hover .hero-img-container { transform: scale(1.04); }
}

@keyframes slideExitImage { to { transform: scale(1.15); opacity: 0; } }
@keyframes slideExitText { to { transform: translateX(-20px); opacity: 0; } }

.hero.slide.navigating-out .hero-img-container { animation: slideExitImage 0.35s forwards; }
.hero.slide.navigating-out .hero-left { animation: slideExitText 0.35s forwards; }

@keyframes heroFloat {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.06); }
}

.hero-img-container img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.88;
  filter: grayscale(5%) contrast(105%) brightness(0.88);
  animation: none;
  transform-origin: center;
}

.hero.slide.is-active .hero-img-container img { animation: heroFloat 18s ease-in-out infinite alternate; }

.hero-carousel-track.is-transitioning .hero-img-container img { animation-play-state: paused !important; }

/* Slide 4 Desktop Headroom */
@media (min-width: 769px) {
  .slide-4 .hero-img-container img { object-position: center 15%; }
}

/* Base Gradient Overlay (Desktop) */
.hero-overlay-gradient {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to right, #0f172a 0%, rgba(15,23,42,0.97) 8%, rgba(15,23,42,0.88) 18%, rgba(15,23,42,0.72) 28%, rgba(15,23,42,0.52) 40%, rgba(15,23,42,0.30) 55%, rgba(15,23,42,0.12) 72%, rgba(15,23,42,0.04) 86%, rgba(15,23,42,0) 100%);
}

.slide-1 .hero-eyebrow { color: #60a5fa; }
.slide-1 .hero-eyebrow-dot { background: #60a5fa; }
.slide-2 .hero-eyebrow { color: #818cf8; }
.slide-2 .hero-eyebrow-dot { background: #818cf8; }
.slide-2 .hero-overlay-gradient { background: linear-gradient(to right, #0f172a 0%, rgba(15,23,42,0.97) 8%, rgba(20,25,50,0.4) 50%, rgba(30,40,90,0.1) 100%); }
.slide-3 .hero-eyebrow { color: #94a3b8; }
.slide-3 .hero-eyebrow-dot { background: #94a3b8; }
.slide-3 .hero-overlay-gradient { background: linear-gradient(to right, #0f172a 0%, rgba(15,23,42,0.97) 8%, rgba(15,20,30,0.5) 50%, rgba(0,0,0,0) 100%); }
.slide-4 .hero-eyebrow { color: #cbd5e1; }
.slide-4 .hero-eyebrow-dot { background: #cbd5e1; }
.slide-5 .hero-eyebrow { color: #38bdf8; }
.slide-5 .hero-eyebrow-dot { background: #38bdf8; }
.slide-5 .hero-overlay-gradient { background: linear-gradient(to right, #0f172a 0%, rgba(15,23,42,0.97) 8%, rgba(10,35,50,0.3) 50%, rgba(0,0,0,0) 100%); }

/* Slide 1 Inline Stats */
.hero-stats-inline { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2rem; pointer-events: none; }
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-item .stat-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.75rem; font-weight: 800; color: #fff; }
.hero-stat-item .stat-lbl { font-size: 0.875rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-top: 0.25rem; }

/* Navigation Progress Bars - Positioned Bottom Left over text background */
.carousel-progress { position: absolute; bottom: 35px; left: 8%; display: flex; gap: 10px; z-index: 20; }
.progress-bar { width: 32px; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.progress-bar:hover { background: rgba(255, 255, 255, 0.4); }
.progress-bar.active { width: 48px; background: rgba(255, 255, 255, 0.3); }
.progress-bar.active::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #ffffff; animation: progressFill 10s linear forwards; }
@keyframes progressFill { 0% { width: 0%; } 100% { width: 100%; } }
.carousel-progress.manual-mode .progress-bar.active::after { animation: none; width: 100%; background: #ffffff; }

/* ═══════════════════════════════════════════════════════════
  SHARED SECTION CHROME
═══════════════════════════════════════════════════════════ */
.section-wrap { padding: 96px 8%; }
.section-wrap.alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.section-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-blue); display: block; margin-bottom: 8px; }
.section-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--accent-navy); letter-spacing: -0.02em; line-height: 1.15; }
.section-view-all { font-size: 13px; font-weight: 700; color: var(--accent-blue); border: 1px solid var(--border-color); padding: 8px 18px; border-radius: 6px; transition: var(--transition); white-space: nowrap; flex-shrink: 0; }
.section-view-all:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }

/* ═══════════════════════════════════════════════════════════
  TOOLS SECTION
═══════════════════════════════════════════════════════════ */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.tool-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #c7d2fe; }
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-blue), #60a5fa); opacity: 0; transition: var(--transition); }
.tool-card:hover::before { opacity: 1; }
.tool-icon-wrap { width: 48px; height: 48px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; color: var(--accent-blue); font-size: 1.3rem; }
.tool-chip { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-blue); background: #eff6ff; padding: 3px 10px; border-radius: 20px; align-self: flex-start; }
.tool-title { font-family: 'Newsreader', Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--accent-navy); line-height: 1.25; }
.tool-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.tool-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-blue); margin-top: 8px; transition: var(--transition); }
.tool-cta:hover { gap: 12px; }

/* ═══════════════════════════════════════════════════════════
  INSIGHTS / POSTS SECTION
═══════════════════════════════════════════════════════════ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px; }
.post-card { display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-card); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-card); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post-thumb-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--border-subtle); position: relative; }
.post-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-thumb[src$=".jpeg"], .post-thumb[src$=".jpg"] { filter: brightness(0.88) contrast(1.05) saturate(0.9); }
.post-card:hover .post-thumb { transform: scale(1.04); }
.post-body { padding: 24px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.post-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.post-category { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-blue); margin-bottom: 0; }
.post-date { font-size: 11.5px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }
.post-title { font-family: 'Newsreader', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--accent-navy); line-height: 1.3; margin-bottom: 10px; }
.post-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.post-read-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent-navy); padding-bottom: 1px; border-bottom: 1.5px solid transparent; transition: var(--transition); }
.post-read-link:hover { border-color: var(--accent-navy); gap: 10px; }

/* ═══════════════════════════════════════════════════════════
  PRESENTATIONS TIMELINE
═══════════════════════════════════════════════════════════ */
#presentations { background: var(--bg-alt); }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(to bottom, var(--accent-blue) 0%, #c7d2fe 100%); border-radius: 2px; }
.timeline-entry { position: relative; margin-bottom: 48px; }
.timeline-entry:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -40px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent-blue); }
.tl-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); display: grid; grid-template-columns: 1fr 45%; align-items: stretch; }
.tl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tl-body { padding: 32px 36px; }
.tl-event-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-blue); background: #eff6ff; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.tl-pres-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 700; color: var(--accent-navy); line-height: 1.2; margin-bottom: 12px; }
.tl-pres-sub { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.tl-meta-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.tl-meta-item i { color: var(--accent-blue); font-size: 12px; }
.tl-view-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--accent-navy); color: #fff; font-size: 13px; font-weight: 700; padding: 11px 22px; border-radius: 7px; transition: var(--transition); }
.tl-view-btn:hover { background: var(--accent-blue); transform: translateY(-1px); }
.tl-visual { position: relative; background: #f8fafc; border-left: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; cursor: pointer; }
.tl-visual img { width: 100%; height: auto; display: block; object-fit: contain; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); opacity: 0.97; transition: transform 0.4s ease, opacity 0.3s ease; }
.tl-visual:hover img { transform: scale(1.04); opacity: 1; }
.tl-placeholder { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 2px dashed var(--border-color); border-radius: var(--radius-card); padding: 36px; text-align: center; color: var(--text-muted); }
.tl-placeholder-icon { font-size: 2rem; color: #cbd5e1; margin-bottom: 12px; }
.tl-placeholder p { font-size: 0.9rem; font-style: italic; }

/* ═══════════════════════════════════════════════════════════
  FOOTER (Injected)
═══════════════════════════════════════════════════════════ */
footer { background: var(--accent-navy); color: #fff; padding: 48px 8% 32px; border-top: 1px solid #1e293b; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #1e293b; }
.footer-logo { font-family: 'Inter', -apple-system, sans-serif; font-size: 1.15rem; font-weight: 800; color: #fff; text-transform: uppercase; display: flex; flex-direction: column; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 15px; }
.footer-logo span { color: #60a5fa; }
.footer-tagline { font-size: 13px; color: #64748b; max-width: 360px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #94a3b8; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #60a5fa; }
.footer-copy { font-size: 12px; color: #475569; text-align: center; }
.section-divider { height: 1px; background: var(--border-color); }

/* ═══════════════════════════════════════════════════════════
  CALCULATORS PAGE LAYOUT OVERRIDES (Global)
═══════════════════════════════════════════════════════════ */
.calculators-grid { display: grid; grid-template-columns: 1fr; gap: 40px 30px; }
.calc-wrapper { display: flex; flex-direction: column; }
@media (min-width: 1024px) {
  .container { max-width: 1300px !important; }
  .calculators-grid { grid-template-columns: repeat(2, 1fr); }
  .section-divider { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
  RESPONSIVE & MOBILE OPTIMIZATIONS
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 80vh; height: auto; }
  .hero-left { padding: 64px 6%; padding-bottom: 80px; height: 100%; } 
  .hero-right { position: absolute; inset: 0; min-height: 0; z-index: 0; }
  .hero { position: relative; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  header { padding: 0 5%; gap: 0; }
  .section-wrap { padding: 64px 5%; }
  
  /* --- MOBILE HERO LAYOUT OVERRIDES --- */
  .hero { min-height: 85vh; height: auto; }

  .hero-left {
    padding: 80px 6% 70px 6%; 
    height: 100%;
    min-height: 85vh; 
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    transform: translateZ(0); 
    backface-visibility: hidden;
  }
  
  .hero-eyebrow {
    position: absolute;
    top: 40px;
    left: 6%;
    color: #ffffff !important;
    margin-bottom: 0;
  }
  .hero-eyebrow-dot {
    background: #ffffff !important;
  }

  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); line-height: 1.15; margin-bottom: 12px; }
  .hero-sub { margin-bottom: 16px; font-size: 0.95rem; }
  .carousel-progress { bottom: 20px; left: 6%; right: auto; }
  .hero-buttons { display: none !important; }
  
  .slide-1 .hero-sub { display: none !important; }
  .hero-stats-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 10px; pointer-events: none; }
  .hero-stat-item { background: transparent; border: none; padding: 0; box-shadow: none; text-align: left; }
  .hero-stat-item .stat-val { color: #ffffff; font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
  .hero-stat-item .stat-lbl { color: #94a3b8; font-size: 0.65rem; font-weight: 700; margin-top: 2px; }
  
  .slide-4 h1 em {
    display: block; 
  }

  .hero-overlay-gradient {
    background: linear-gradient(to top, #0f172a 0%, rgba(15,23,42,0.95) 25%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0) 100%) !important;
  }
  
  /* --- POSTS & TIMELINE RESPONSIVENESS --- */
  .tools-grid, .posts-grid, .tl-card { grid-template-columns: 1fr; }
  .timeline { padding-left: 24px; }
  .timeline-dot { left: -32px; }
  .tl-visual { border-left: none; border-top: 1px solid var(--border-color); padding: 14px; }
  .tl-body { padding: 24px 22px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-tagline { text-align: center; }
  .footer-links { justify-content: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }