/* ==========================================================================
   ATHENA INFONOMICS — MODERN EDITORIAL DESIGN SYSTEM
   Theme: Authoritative Navy (#232B65 / #1A2150), Accent Gold (#D19C33 / #A87826),
          Warm Paper (#FAFAF7), Crisp Off-white (#F5F5F2), Hairline Borders (#E4E4DF),
          and Precision Typography (Lato 300, 400, 700, 900).
   ========================================================================== */

/* --- 01. CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Brand Colors */
  --navy: #232B65;
  --navy-deep: #1A2150;
  --navy-mid: #4A538A;
  --navy-pale: #E8EAF1;

  /* Accent Gold Palette */
  --gold: #D19C33;
  --gold-deep: #A87826;
  --gold-pale: #F5E9D1;
  --gold-glow: rgba(209, 156, 51, 0.35);

  /* Editorial Neutrals */
  --paper: #FAFAF7;
  --offwhite: #F5F5F2;
  --hair: #E4E4DF;
  --smoke: #C8C8C2;
  --white: #FFFFFF;
  --ink: #111111;

  /* Layout Spacing */
  --pad: 80px;
  --maxw: 1440px;

  /* Typography */
  --font-body: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.4s var(--ease-out-expo);
  --transition-fast: 0.2s var(--ease-out-expo);
}

@media (max-width: 1024px) {
  :root {
    --pad: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 24px;
  }
}

/* --- 02. Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  background-color: var(--paper);
  color: var(--navy);
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.68;
  background-color: var(--paper);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-deep);
}

::selection {
  background: var(--gold-pale);
  color: var(--navy-deep);
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- 03. Typography Utility Hierarchy (Calibrated for High Legibility & No Single-Word Breaks) --- */
h1, h2, h3, h4, h5, h6,
.disp, .hd, .sub,
.work-card-title,
.page-hero-title,
.cs-title,
.section-title,
.banner-h1 {
  text-wrap: balance;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

p, .body, .work-card-desc, .cs-callout-text, .footer-brand-desc {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

.disp {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
  text-wrap: pretty;
}

.hd {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
  text-wrap: pretty;
}

.sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.38;
  color: var(--navy);
  text-wrap: balance;
  text-wrap: pretty;
}

.body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.78;
  color: #2D3768;
  text-wrap: pretty;
}

.cap {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-wrap: balance;
}

.spec {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71716A;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* --- 04. Global Micro-Animations & Reveal Keyframes --- */
@keyframes ath-rise {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes ath-marq {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ath-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.65);
    opacity: 0.6;
  }
}

@keyframes dotSpringPop {
  0% { transform: scale(0); box-shadow: 0 0 0 rgba(209, 156, 51, 0); }
  60% { transform: scale(1.6); box-shadow: 0 0 16px rgba(209, 156, 51, 0.8); }
  100% { transform: scale(1); box-shadow: 0 0 8px rgba(209, 156, 51, 0.4); }
}

@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(209, 156, 51, 0.4); }
  50% { box-shadow: 0 0 18px rgba(209, 156, 51, 0.8); }
}

/* Masked Line Rise Trigger */
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.mask > span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.95s var(--ease-out-expo), opacity 0.95s var(--ease-out-expo);
}

.ath-ready .mask > span {
  animation: ath-rise 1s var(--ease-out-expo) forwards;
}

/* Scroll Reveal Triggers */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.95s var(--ease-out-expo);
  will-change: opacity, transform;
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Interactive Hover Lift on Images */
.lift {
  transition: transform 0.65s var(--ease-out-expo);
  width: 100%;
  height: 100%;
}

.lift img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.card {
  transition: background 0.4s var(--ease-out-expo);
}

.card:hover {
  background: var(--navy-pale);
}

.card:hover .lift img {
  transform: scale(1.05);
}

/* Circular Action Arrow Badge (.ring) */
.ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ECEEF6;
  border: 1px solid #D5DAEC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.28s var(--ease-out-expo);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 1px 3px rgba(35, 43, 101, 0.05);
}

.ring span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(-0.5px);
  transition: transform 0.28s var(--ease-out-expo);
}

/* Interactive Text Links with Kinetic Gap (.ln) */
.ln {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
  text-decoration: none;
  transition: color 0.25s var(--ease-out-expo), gap 0.25s var(--ease-out-expo);
}

.ln:hover {
  gap: 14px;
  color: var(--gold-deep);
}

/* Universal Hover State for Ring on Cards & Links */
.ln:hover .ring,
.card:hover .ring,
.work-showcase-card:hover .ring,
.project-card:hover .ring,
.resource-card:hover .ring,
.blog-card:hover .ring,
.team-card:hover .ring,
.insight-card:hover .ring {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(26, 33, 80, 0.22);
}

.ln:hover .ring span,
.card:hover .ring span,
.work-showcase-card:hover .ring span,
.project-card:hover .ring span,
.resource-card:hover .ring span,
.blog-card:hover .ring span,
.team-card:hover .ring span,
.insight-card:hover .ring span {
  transform: translate(2.5px, -0.5px);
}

/* Direct text arrow (when not using .ring) */
.ln > span:not(.ring) {
  display: inline-block;
  transition: transform 0.25s ease;
}

.ln:hover > span:not(.ring) {
  transform: translateX(4px);
}

/* Navigation Links with Expanding Underline */
.nl {
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16.5px;
  padding: 6px 0;
  color: var(--navy);
}

.nl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.nl:hover {
  color: var(--gold-deep);
}

.nl:hover::after {
  transform: scaleX(1);
}

/* Connected Services Step Row Component */
.svc {
  border-top: 2px solid var(--hair);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 60px 180px minmax(0, 1fr);
  gap: 28px;
}

/* Tag Pills */
.pill {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 15px;
  border: 1px solid var(--hair);
  border-radius: 9999px;
  color: var(--navy);
  background: var(--paper);
  white-space: nowrap;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.pill:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: var(--gold-pale);
}

/* Floating Atmospheric Data Dots Canvas & Favicon Morph */
.hero-dots-field {
  position: absolute;
  right: var(--pad);
  left: auto;
  top: 30px;
  width: clamp(340px, 44vw, 560px);
  height: clamp(340px, 36vw, 480px);
  pointer-events: auto;
  z-index: 1;
  overflow: visible;
  cursor: pointer;
}

.hero-dots-field .dots-lattice-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.dots-lattice-line {
  stroke: rgba(209, 156, 51, 0.4);
  stroke-width: 1.25;
  stroke-dasharray: 2 3;
  transition: opacity 0.3s ease;
  vector-effect: non-scaling-stroke;
}

.fd {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 2;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.fd.fd-gold {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}

.fd.fd-navy {
  background: var(--navy);
  box-shadow: 0 0 6px rgba(35, 43, 101, 0.35);
}

.fd.fd-core {
  width: 8px;
  height: 8px;
  background: var(--gold-deep);
  box-shadow: 0 0 14px rgba(209, 156, 51, 0.95);
}

.fd.fd-core::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(209, 156, 51, 0.5);
  animation: ath-pulse 2.5s ease-in-out infinite;
}

@media (max-width: 980px) {
  .hero-dots-field {
    width: clamp(260px, 38vw, 380px);
    height: clamp(260px, 32vw, 360px);
    top: 20px;
  }
}

@media (max-width: 768px) {
  .hero-dots-field {
    width: 220px;
    height: 220px;
    right: 5px;
    top: 10px;
    opacity: 0.35;
  }
}

/* Vertical Timeline Step Rail */
.steprail {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hair);
}

.steprail-fill {
  position: absolute;
  left: 5px;
  top: 0;
  width: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  transition: height 0.15s linear;
}

.stepdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hair);
  transition: background 0.4s ease, transform 0.4s var(--ease-spring);
  flex-shrink: 0;
}

.stepdot.on {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* General Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 9999px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}

.btn-primary:hover {
  background-color: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 120, 38, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--hair);
}

.btn-secondary:hover {
  border-color: var(--gold-deep);
  color: var(--navy-deep);
  background-color: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(209, 156, 51, 0.2);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-deep);
  border: 1.5px solid var(--gold);
  font-weight: 900;
}

.btn-gold:hover {
  background-color: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 33, 80, 0.35);
}

/* Secondary/Outline Buttons in Dark Backgrounds (Heroes, Cards, Footers) */
.page-hero .btn-secondary,
.dark-section .btn-secondary,
.hero-story-glasscard .btn-secondary,
.footer-dark .btn-secondary,
.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FAFAF7;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-hero .btn-secondary:hover,
.dark-section .btn-secondary:hover,
.hero-story-glasscard .btn-secondary:hover,
.footer-dark .btn-secondary:hover,
.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14.5px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
}

/* ==========================================================================
   05. BRAND PRELOADER (CALIBRATED LOGO & GOLD WIPE)
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transform: translateY(0%);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.85s;
  will-change: transform;
}

.preloader.wipe-down {
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 280px;
  width: 85%;
}

.preloader-logo {
  width: 240px;
  max-width: 85vw;
  height: auto;
  object-fit: contain;
  animation: preloaderLogoBreathe 2s infinite ease-in-out;
}

@keyframes preloaderLogoBreathe {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.preloader-progress-track {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: visible;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.1s linear;
}

.preloader-trail-dot {
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 8px #ffffff, 0 0 16px var(--gold);
}

/* ==========================================================================
   06. BESPOKE PRECISION OPTIC & MAGNETIC CURSOR
   ========================================================================== */
.custom-cursor-core {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 9999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
  will-change: transform;
}

.cursor-dot-center {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(209, 156, 51, 0.9), 0 0 20px rgba(209, 156, 51, 0.4);
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease;
}

.custom-cursor-optic {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 9999998;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.35s var(--ease-spring), 
              height 0.35s var(--ease-spring), 
              opacity 0.25s ease,
              background-color 0.35s ease;
  will-change: transform, width, height;
}

.optic-reticle-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(209, 156, 51, 0.4);
  background: rgba(209, 156, 51, 0.03);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.35s var(--ease-spring);
}

/* Precision HUD Corner Brackets */
.optic-bracket {
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: rgba(35, 43, 101, 0.5);
  border-style: solid;
  border-width: 0;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-spring), opacity 0.3s ease;
  opacity: 0.75;
}

.optic-tl {
  top: 0;
  left: 0;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
  border-top-left-radius: 2px;
}

.optic-tr {
  top: 0;
  right: 0;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
  border-top-right-radius: 2px;
}

.optic-br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
  border-bottom-right-radius: 2px;
}

.optic-bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
  border-bottom-left-radius: 2px;
}

/* Action Tag pill that appears on hover */
.cursor-action-tag {
  position: absolute;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease-spring), transform 0.25s var(--ease-spring);
  box-shadow: 0 4px 12px rgba(209, 156, 51, 0.4);
  white-space: nowrap;
  pointer-events: none;
}

/* Interactive Hover State */
.custom-cursor-optic.cursor-hover {
  width: 60px;
  height: 60px;
}

.custom-cursor-optic.cursor-hover .optic-reticle-ring {
  border-color: var(--gold);
  background: rgba(209, 156, 51, 0.04);
  box-shadow: 0 0 14px rgba(209, 156, 51, 0.25);
}

.custom-cursor-optic.cursor-hover .optic-bracket {
  border-color: var(--gold);
  opacity: 1;
  transform: scale(1.15);
}

.custom-cursor-optic.cursor-hover .optic-tl { transform: translate(-3px, -3px); }
.custom-cursor-optic.cursor-hover .optic-tr { transform: translate(3px, -3px); }
.custom-cursor-optic.cursor-hover .optic-br { transform: translate(3px, 3px); }
.custom-cursor-optic.cursor-hover .optic-bl { transform: translate(-3px, 3px); }

.custom-cursor-optic.cursor-hover .cursor-action-tag:not(:empty) {
  opacity: 1;
  transform: scale(1);
}

/* When action tag is active, shrink central dot slightly */
.custom-cursor-optic.has-tag + .custom-cursor-core .cursor-dot-center,
body:has(.custom-cursor-optic.has-tag) .cursor-dot-center {
  opacity: 0;
}

/* Dark Mode adaptation for Dark sections */
.custom-cursor-optic.optic-dark .optic-bracket {
  border-color: rgba(255, 255, 255, 0.85);
}
.custom-cursor-optic.optic-dark .optic-reticle-ring {
  border-color: rgba(209, 156, 51, 0.7);
  background: rgba(209, 156, 51, 0.15);
}

/* Click Shockwave Pulse */
.cursor-click-wave {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: 9999997;
  transform: translate(-50%, -50%) scale(1);
  animation: cursorRipple 0.55s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

@keyframes cursorRipple {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.5);
  }
}

@media (pointer: coarse) {
  .custom-cursor-core, .custom-cursor-optic, .cursor-click-wave { display: none !important; }
}

/* Top Progress Line */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 99999;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.1s linear;
}

/* ==========================================================================
   07. SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 98%, transparent);
  box-shadow: 0 2px 20px rgba(35, 43, 101, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 32px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--gold-deep);
}

.dropdown-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Nav Dropdowns */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(35, 43, 101, 0.14);
  padding: 8px;
  min-width: max-content;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), visibility 0.3s;
  pointer-events: none;
  z-index: 10000;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--gold-pale);
  padding-left: 22px;
}

.dropdown-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.dropdown-link:hover .dropdown-title {
  color: var(--navy-deep);
}

.dropdown-desc {
  display: none !important;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--hair);
    box-shadow: 0 16px 32px rgba(35, 43, 101, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--pad);
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 6px 0 6px 14px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item.dropdown-open .nav-dropdown {
    display: flex;
    flex-direction: column;
  }
}

/* ==========================================================================
   08. HERO SECTION (CINEMATIC BACKGROUND VIDEO & APPLIED AI STORYTELLING)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--navy-deep);
  color: var(--white);
}

.hero-section.hero-video-mode {
  min-height: calc(100vh - 78px);
  min-height: clamp(620px, 90vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(48px, 8vh, 84px);
  padding-bottom: clamp(36px, 5vh, 60px);
}

/* Full-Bleed Video Backdrop Layer */
.hero-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background-color: #0b1126;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   08. INNOVATIVE 3D ECOSYSTEM CONSTELLATION & MORPHING HERO SECTION
   ========================================================================== */
.hero-constellation-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #090D24;
  color: #FFFFFF;
  padding: 60px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid rgba(209, 156, 51, 0.25);
}

/* Background Video: High Visibility & Cinematic Clarity */
.hero-video-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-video-stream {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: brightness(0.96) contrast(1.06);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

.hero-video-stream.active {
  opacity: 0.82;
  z-index: 1;
}

/* Asymmetric Gradient: Deep dark protection on the left for text legibility, clear & luminous on the right for video & particle canvas */
.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 75% 50%, rgba(13, 19, 51, 0.12) 0%, rgba(8, 12, 34, 0.75) 100%),
    linear-gradient(90deg, rgba(8, 12, 34, 0.98) 0%, rgba(8, 12, 34, 0.92) 38%, rgba(8, 12, 34, 0.72) 58%, rgba(8, 12, 34, 0.28) 82%, rgba(8, 12, 34, 0.1) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-viewport-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
}

.hero-nexus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

/* Left: Editorial Impact Showcase (Clean, Unboxed) */
.hero-story-glasscard {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 640px;
}

.story-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 22px;
}

.entity-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(209, 156, 51, 0.2);
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-pale);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: ath-pulse 2s infinite ease-in-out;
}

.hero-story-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  min-height: 2.2em;
  transition: opacity 0.35s ease;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-story-desc {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 32px;
  min-height: 4.5em;
  transition: opacity 0.35s ease;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
  max-width: 600px;
}

.btn-hero-gold {
  background-color: var(--gold);
  color: var(--navy-deep);
  border: 1.5px solid var(--gold);
  font-weight: 800;
  padding: 14px 32px;
  font-size: 15.5px;
  box-shadow: 0 4px 20px rgba(209, 156, 51, 0.4);
}

.btn-hero-gold:hover {
  background-color: #E5B24B;
  border-color: #E5B24B;
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(209, 156, 51, 0.55);
}

.hero-chips-matrix {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 28px;
  width: 100%;
  transition: opacity 0.35s ease;
}

.nexus-chip {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FAFAF7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nexus-chip .chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
  width: 100%;
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FAFAF7;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Right / Center: The Living Particle Constellation & 3-Logo Nexus Arena */
.hero-constellation-arena {
  position: relative;
  width: 100%;
  height: clamp(480px, 48vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Interactive HTML5 Canvas for Particle Dots & Energy Morphing */
.constellation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 2;
}

/* 3 Floating Holographic Interactive Logo Nodes */
.nexus-nodes-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.nexus-logo-node {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Position Nodes in an Orbital Triangle */
.nexus-logo-node.node-athena {
  top: 18%;
  left: 50%;
}

.nexus-logo-node.node-plyd {
  top: 76%;
  left: 22%;
}

.nexus-logo-node.node-toladata {
  top: 76%;
  left: 78%;
}

.node-card-surface {
  width: clamp(140px, 14vw, 175px);
  height: clamp(68px, 6.8vw, 84px);
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1.5px rgba(255, 255, 255, 0.8);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.node-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.node-halo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  border: 2px dashed rgba(209, 156, 51, 0.3);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
  pointer-events: none;
}

.nexus-logo-node:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.nexus-logo-node:hover .node-card-surface {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(209, 156, 51, 0.35);
}

.nexus-logo-node.active {
  transform: translate(-50%, -50%) scale(1.12);
}

.nexus-logo-node.active .node-card-surface {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--gold), 0 0 30px rgba(209, 156, 51, 0.45);
}

.nexus-logo-node.active .node-halo-ring {
  opacity: 1;
  transform: scale(1.05) rotate(180deg);
  border-color: var(--gold);
  animation: ath-orbit-spin 15s linear infinite;
}

@keyframes ath-orbit-spin {
  from { transform: scale(1.05) rotate(0deg); }
  to { transform: scale(1.05) rotate(360deg); }
}

.node-tag-bubble {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(14, 21, 52, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nexus-logo-node.active .node-tag-bubble {
  background: rgba(209, 156, 51, 0.25);
  border-color: var(--gold);
  color: var(--gold-pale);
  box-shadow: 0 0 12px rgba(209, 156, 51, 0.3);
}

/* Central Quantum Core Pivot Indicator */
.nexus-core-pivot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.core-center-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.core-wave {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.6;
  animation: ath-core-ripple 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.core-wave.wave-1 {
  width: 40px;
  height: 40px;
  animation-delay: 0s;
}

.core-wave.wave-2 {
  width: 40px;
  height: 40px;
  animation-delay: 1.5s;
}

@keyframes ath-core-ripple {
  0% { width: 20px; height: 20px; opacity: 0.8; }
  100% { width: 180px; height: 180px; opacity: 0; }
}

@media (max-width: 1024px) {
  .hero-nexus-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-constellation-arena {
    height: 460px;
  }
  .hero-cinematic-overlay {
    background: linear-gradient(180deg, rgba(8, 12, 34, 0.98) 0%, rgba(8, 12, 34, 0.92) 50%, rgba(8, 12, 34, 0.70) 100%);
  }
}

@media (max-width: 640px) {
  .hero-constellation-section {
    padding: 40px 0 30px;
  }
  .hero-story-glasscard {
    padding: 0;
  }
  .hero-story-title {
    font-size: 28px;
  }
  .hero-story-desc {
    font-size: 16px;
  }
  .hero-constellation-arena {
    height: 380px;
  }
  .nexus-logo-node.node-plyd {
    left: 15%;
  }
  .nexus-logo-node.node-toladata {
    left: 85%;
  }
  .arena-interactivity-hint {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-gold, .btn-hero-outline {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   09. INFINITE MARQUEE TICKER
   ========================================================================== */
.section-ticker {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  padding: 24px 0;
  background: var(--offwhite);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ath-marq 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 24px;
  color: var(--navy-mid);
}

.ticker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

/* ==========================================================================
   10. METRICS & MILESTONE STATISTICS
   ========================================================================== */
.section-metrics {
  padding: 80px 0;
  border-bottom: 1px solid var(--hair);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metrics-grid-3 {
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 24px;
}

.metric-box {
  padding: 36px 30px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35, 43, 101, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.metric-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 43, 101, 0.05);
}

.metric-num-disp {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 60px);
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
  display: block;
}

.metric-num-continents {
  font-size: clamp(28px, 3.2vw, 48px);
  white-space: nowrap;
}

.metric-box.highlight {
  background: linear-gradient(135deg, rgba(209, 156, 51, 0.06) 0%, #ffffff 100%);
  border-color: rgba(209, 156, 51, 0.4);
}

.metric-box.highlight .metric-num-disp {
  color: var(--gold-deep);
}

@media (max-width: 1100px) {
  .metric-num-continents {
    font-size: clamp(24px, 2.6vw, 40px);
  }
}

@media (max-width: 980px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metrics-grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .metric-box {
    padding: 28px 22px;
  }
  .metric-num-continents {
    font-size: clamp(30px, 4.5vw, 46px);
  }
}

@media (max-width: 540px) {
  .metrics-grid,
  .metrics-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .metric-num-continents {
    font-size: clamp(26px, 7vw, 36px);
  }
}

/* ==========================================================================
   11. CONNECTED SERVICES FRAMEWORK (DISCOVER · INFORM · TRANSFORM)
   ========================================================================== */
.section-services {
  padding-top: 112px;
  padding-bottom: 40px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.services-sticky-sidebar {
  position: sticky;
  top: 120px;
}

.services-steps-rail-wrap {
  position: relative;
}

@media (max-width: 1040px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-sticky-sidebar {
    position: static;
  }
  .svc {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .svc > div:last-child {
    grid-column: 2;
  }
}

/* ==========================================================================
   12. SELECTED WORK & CASE STUDIES (FILTERABLE)
   ========================================================================== */
.section-work {
  padding-top: 130px;
  padding-bottom: 60px;
}

.section-work-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 24px;
  flex-wrap: wrap;
}

/* Filter Buttons */
.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 44px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15.5px;
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1.5px solid var(--hair);
  color: var(--navy-mid);
  background: var(--paper);
  transition: all 0.25s ease;
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.work-primary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.work-primary-grid .project-card {
  display: flex;
  flex-direction: column;
}

.work-card-img-wrap {
  height: 360px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--hair);
  box-shadow: 0 4px 20px rgba(35, 43, 101, 0.04);
}

.work-card-content {
  padding: 24px 6px 12px 6px;
  background: transparent;
}

.work-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--hair);
}

.work-secondary-card {
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.03);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
}

.work-secondary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(35, 43, 101, 0.08);
  border-color: rgba(209, 156, 51, 0.4);
}

/* Filter State Classes */
.project-card.filter-hide {
  display: none !important;
}

.project-card.filter-invisible {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 980px) {
  .work-primary-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .work-secondary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
  }
}

/* ==========================================================================
   13. ECOSYSTEM SECTION (DARK NAVY #232B65 SHOWCASE)
   ========================================================================== */
.section-ecosystem {
  margin-top: 130px;
  background: var(--navy);
  color: #FAFAF7;
}

.ecosystem-container {
  padding-top: 104px;
  padding-bottom: 112px;
}

.ecosystem-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  border-bottom: 1px solid rgba(250, 250, 247, 0.18);
  padding-bottom: 44px;
}

.ecosystem-title {
  color: #FAFAF7;
  font-size: clamp(34px, 4.4vw, 64px);
}

.ecosystem-subtitle {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.72);
  max-width: 48ch;
}

.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.ecosystem-col {
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ecosystem-col:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(209, 156, 51, 0.45);
  transform: translateY(-3px);
}

.ecosystem-col-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  color: #FAFAF7;
}

.ecosystem-col-desc {
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.7);
}

@media (max-width: 980px) {
  .ecosystem-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ecosystem-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ecosystem-col {
    padding: 32px 28px;
  }
}

/* ==========================================================================
   14. LEADERSHIP VOICE & TESTIMONIAL SHOWCASE
   ========================================================================== */
.section-quote {
  padding-top: 100px;
  padding-bottom: 40px;
}

.testimonial-showcase-card {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(35, 43, 101, 0.08);
  border-radius: 24px;
  padding: 56px 60px;
  box-shadow: 0 12px 40px -10px rgba(17, 22, 56, 0.07), 0 2px 8px rgba(17, 22, 56, 0.03);
  overflow: hidden;
}

.testimonial-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 50%, #232B65 100%);
}

.quote-layout-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* Left Profile Column */
.quote-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quote-portrait-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 22, 56, 0.14);
  border: 3px solid #FFFFFF;
  outline: 1px solid rgba(235, 178, 47, 0.35);
  background: #111638;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-showcase-card:hover .quote-portrait-frame {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(17, 22, 56, 0.18);
}

.quote-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.quote-partner-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(17, 22, 56, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FAFAF7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid rgba(235, 178, 47, 0.4);
  white-space: nowrap;
}

.quote-partner-badge svg {
  color: var(--gold);
}

.quote-profile-meta {
  width: 100%;
}

.quote-author-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.quote-author-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1.4;
  margin-bottom: 4px;
}

.quote-author-org {
  font-size: 13px;
  color: var(--navy-mid);
  line-height: 1.45;
}

/* Right Quote Statement Column */
.quote-statement-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-header-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.quote-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.quote-kicker-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.quote-blockquote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.58;
  color: var(--navy-deep);
  letter-spacing: -0.012em;
  margin: 0;
  position: relative;
}

.quote-org-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(35, 43, 101, 0.04);
  border: 1px solid rgba(35, 43, 101, 0.08);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-mid);
  width: fit-content;
}

.quote-org-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Recognitions Row */
.recognitions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.recognition-item {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid rgba(35, 43, 101, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.recognition-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 43, 101, 0.08);
  border-color: rgba(235, 178, 47, 0.35);
}

.recognition-icon-badge,
.recognition-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(17, 22, 56, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recognition-item:hover .recognition-logo-badge,
.recognition-item:hover .recognition-icon-badge {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(17, 22, 56, 0.14);
}

.recognition-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recognition-content {
  flex: 1;
}

.recognition-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 4px;
}

.recognition-desc {
  font-size: 13px;
  color: var(--navy-mid);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .testimonial-showcase-card {
    padding: 36px 28px;
  }
  .quote-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .quote-profile-col {
    align-items: center;
  }
  .quote-header-tag {
    justify-content: center;
  }
  .quote-org-highlight {
    margin: 0 auto;
  }
  .recognitions-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   15. EDITORIAL RESEARCH & INSIGHTS
   ========================================================================== */
.section-insights {
  padding-top: 130px;
  padding-bottom: 20px;
}

.insights-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 24px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.insight-card {
  padding: 24px 24px 28px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.03);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(35, 43, 101, 0.08);
  border-color: rgba(209, 156, 51, 0.4);
}

.insight-thumb-wrap {
  height: 220px;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   16. CALL TO ACTION SECTION
   ========================================================================== */
.section-contact-cta {
  padding-top: 130px;
  padding-bottom: 130px;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
}

.contact-cta-title {
  font-size: clamp(38px, 6vw, 88px);
  max-width: 14ch;
}

@media (max-width: 768px) {
  .contact-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   17. DEEP NAVY FOOTER (#1A2150)
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #FAFAF7;
}

.footer-top-grid {
  padding-top: 80px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.footer-brand-logo {
  height: 42px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(250, 250, 247, 0.78);
  max-width: 36ch;
}

.footer-locations {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-top: 16px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  font-size: 16px;
  color: rgba(250, 250, 247, 0.88);
  transition: color var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--gold);
}

.footer-ecosystem-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-ecosystem-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  height: 44px;
  text-decoration: none;
}

.footer-ecosystem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(235, 178, 47, 0.35);
}

.footer-ecosystem-img {
  height: 26px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.footer-newsletter-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(250, 250, 247, 0.65);
  margin-bottom: 0;
}

.footer-newsletter-box {
  margin-top: 20px;
}

.footer-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-input {
  flex: 1;
  min-height: 38px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #FAFAF7;
  font-family: inherit;
  font-size: 15px;
}

.footer-input:focus {
  border-color: var(--gold);
  outline: none;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(250, 250, 247, 0.16);
  padding-top: 24px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.65);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.65);
}

.footer-legal-link:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 540px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   18. UNIVERSAL SUBPAGE HERO & BREADCRUMBS
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(145deg, var(--navy-deep) 0%, #232B65 100%);
  color: var(--white);
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
  border-bottom: 1px solid rgba(209, 156, 51, 0.25);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209, 156, 51, 0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.breadcrumbs {
  display: none !important;
}

.page-hero-badge {
  display: none !important;
}

.page-hero-title {
  color: #FFFFFF;
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 20px;
  line-height: 1.12;
}

.page-hero-lead {
  color: rgba(250, 250, 247, 0.88);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 0;
}

/* ==========================================================================
   19. INTERACTIVE 15-YEAR MILESTONE TIMELINE (SEAMLESS IMAGE-TO-CODE)
   ========================================================================== */
.timeline-section {
  padding: 100px 0;
  position: relative;
  background: var(--paper);
}

.timeline-wrap {
  position: relative;
  max-width: 1080px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(209, 156, 51, 0.2) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 56px;
  display: flex;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(209, 156, 51, 0.2), 0 0 16px rgba(209, 156, 51, 0.4);
  z-index: 3;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.3);
  background: var(--gold-deep);
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 30px 32px;
  box-shadow: 0 4px 20px rgba(35, 43, 101, 0.04);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.35s ease;
  width: 100%;
  position: relative;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(35, 43, 101, 0.09);
  border-color: rgba(209, 156, 51, 0.5);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  color: var(--gold-deep);
  letter-spacing: -0.01em;
}

.timeline-tag {
  background: var(--gold-pale);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.timeline-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.timeline-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #2D3768;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-wrap::before {
    left: 20px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 56px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot {
    left: 20px;
  }
}

/* ==========================================================================
   20. VALUES IN ACTION GRID (SEAMLESS ICON INTEGRATION)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(35, 43, 101, 0.03);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(35, 43, 101, 0.08);
  border-color: rgba(209, 156, 51, 0.45);
}

.value-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-pale) 0%, rgba(209, 156, 51, 0.15) 100%);
  border: 1px solid rgba(209, 156, 51, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin-bottom: 24px;
  flex-shrink: 0;
}

.value-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.value-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #2D3768;
  margin: 0;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   21. COMMUNITY COMPASS STATS, VERTICALS & QUALITY MATRIX
   ========================================================================== */
.compass-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.compass-stat-item {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.03);
}

.compass-stat-val {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 900;
  color: var(--gold-deep);
  line-height: 1.1;
  margin-bottom: 8px;
}

.compass-stat-lbl {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .compass-stats-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .compass-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.vertical-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(35, 43, 101, 0.03);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.35s ease;
}

.vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(35, 43, 101, 0.08);
  border-color: rgba(209, 156, 51, 0.4);
}

.vertical-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vertical-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.vertical-subtopics {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-pale);
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  line-height: 1.45;
}

.vertical-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #2D3768;
  margin: 0;
}

@media (max-width: 980px) {
  .verticals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .verticals-grid {
    grid-template-columns: 1fr;
  }
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.quality-card {
  background: var(--offwhite);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.quality-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.quality-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.quality-card-desc {
  font-size: 16.5px;
  line-height: 1.7;
  color: #2D3768;
  margin: 0;
}

@media (max-width: 850px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   22. SOLUTIONS OFFERINGS & PRACTICE SWITCHER
   ========================================================================== */
.solution-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.offering-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(35, 43, 101, 0.03);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.35s ease;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(35, 43, 101, 0.08);
  border-color: rgba(209, 156, 51, 0.45);
}

.offering-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.offering-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.offering-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.offering-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: #2D3768;
  margin-bottom: 20px;
}

.offering-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

@media (max-width: 850px) {
  .solution-offerings-grid {
    grid-template-columns: 1fr;
  }
}

.practice-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: var(--offwhite);
  border-radius: 12px;
  border: 1px solid var(--hair);
  margin-top: 60px;
  flex-wrap: wrap;
}

.practice-switcher-btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  border: 1.5px solid var(--hair);
  background: var(--white);
  transition: all 0.25s ease;
}

.practice-switcher-btn.active,
.practice-switcher-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ==========================================================================
   23. SEARCHABLE & FILTERABLE CATALOGS (PROJECTS, RESOURCES, BLOG)
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 28px;
  border-bottom: 1.5px solid var(--hair);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  border: 1.5px solid var(--hair);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-pill-btn.active,
.filter-pill-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.catalog-search-box {
  position: relative;
  min-width: 260px;
  max-width: 340px;
  flex: 1;
}

.catalog-search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border-radius: 999px;
  border: 1.5px solid var(--hair);
  background: var(--white);
  font-size: 16px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209, 156, 51, 0.2);
}

.catalog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-mid);
  pointer-events: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   24. TEAM ROSTER & LEADERSHIP DIRECTORY
   ========================================================================== */
.team-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.team-hero-stat-num {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}

.team-hero-stat-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.7);
  margin-top: 4px;
}

.team-hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

.team-filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.team-filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  border: 1.5px solid var(--hair);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-filter-pill-btn:hover {
  border-color: var(--navy-mid);
  background: #F4F6FA;
}

.team-filter-pill-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.team-filter-pill-btn .team-pill-count {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(26, 33, 80, 0.08);
  color: var(--navy);
  transition: all 0.2s ease;
}

.team-filter-pill-btn.active .team-pill-count {
  background: var(--gold);
  color: var(--navy-deep);
}

/* Team Grid & Cards */
.team-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 1200px) {
  .team-roster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 840px) {
  .team-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .team-roster-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--white);
  border: 1.5px solid var(--hair);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(26, 33, 80, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26, 33, 80, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: rgba(209, 156, 51, 0.45);
}

.team-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-avatar-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #F3F4F8;
  overflow: hidden;
}

.team-avatar-link {
  position: absolute;
  inset: 0;
  display: block;
}

.team-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-avatar-img {
  transform: scale(1.05);
}

.team-pill-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.team-info-wrap {
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.team-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-name a:hover {
  color: var(--gold-deep);
}

.team-role {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1.45;
}

.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--hair);
  background: #FAFBFD;
}

.team-bio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-bio-link:hover {
  color: var(--gold-deep);
}

.team-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.team-social-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: scale(1.08);
}

/* ==========================================================================
   24B. EXECUTIVE TEAM MEMBER PROFILE DETAIL PAGES
   ========================================================================== */
.team-profile-container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .team-profile-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.team-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.team-profile-photo-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 33, 80, 0.12);
  border: 1.5px solid var(--hair);
  background: #F3F4F8;
  aspect-ratio: 1/1;
}

.team-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-profile-meta-card {
  background: var(--white);
  border: 1.5px solid var(--hair);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(26, 33, 80, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-detail-fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.team-detail-fact-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.team-detail-fact-val {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

.team-profile-main {
  background: var(--white);
  border: 1.5px solid var(--hair);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(26, 33, 80, 0.04);
}

@media (max-width: 600px) {
  .team-profile-main {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   25. DYNAMIC CULTURE, ALUMNI & CAREERS
   ========================================================================== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.culture-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.02);
}

.culture-dot-beacon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  flex-shrink: 0;
  margin-top: 6px;
}

.culture-card-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}

@media (max-width: 850px) {
  .culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 550px) {
  .culture-grid {
    grid-template-columns: 1fr;
  }
}

.job-listing-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 2px 14px rgba(35, 43, 101, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(35, 43, 101, 0.07);
}

.job-info-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.job-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #4A538A;
  flex-wrap: wrap;
}

.job-type-badge {
  background: var(--gold-pale);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}

/* ==========================================================================
   26. CONTACT PAGE LAYOUT, FORMS & OFFICE HUBS
   ========================================================================== */
.contact-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 6px 28px rgba(35, 43, 101, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--offwhite);
  border: 1.5px solid var(--hair);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16.5px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(209, 156, 51, 0.2);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.direct-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.direct-contact-item {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.02);
}

.direct-contact-role {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.direct-contact-email {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.direct-contact-email:hover {
  color: var(--gold);
}

.office-hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.office-hub-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(35, 43, 101, 0.02);
}

.office-hub-city {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.office-hub-country {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

@media (max-width: 980px) {
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .office-hubs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .office-hubs-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   27. MOBILE NAVIGATION DRAWER & MENU OVERLAY
   ========================================================================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--hair);
  background: var(--white);
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--navy-deep);
  color: var(--white);
  z-index: 99990;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-expo);
  padding: 90px 32px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 33, 80, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99980;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: rgba(250, 250, 247, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold);
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
  margin-top: 10px;
  border-left: 2px solid rgba(209, 156, 51, 0.3);
}

.mobile-sub-link {
  font-size: 15px;
  color: rgba(250, 250, 247, 0.7);
  transition: color var(--transition-fast);
}

.mobile-sub-link:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }
  .site-header .nav-menu {
    display: none;
  }
}

/* ==========================================================================
   09. EDITORIAL STORYTELLING & INTERACTIVE NARRATIVE SYSTEM
   (Inspired by Gates Foundation & Rockefeller Foundation Design Standards)
   ========================================================================== */

/* --- Editorial Pull-Quotes & Story Highlights --- */
.editorial-quote-box {
  position: relative;
  background: var(--navy-deep);
  color: var(--paper);
  border-radius: 20px;
  padding: 56px 48px;
  border: 1px solid rgba(209, 156, 51, 0.3);
  box-shadow: 0 20px 50px rgba(26, 33, 80, 0.25);
  overflow: hidden;
}

.editorial-quote-box::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 28px;
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  color: rgba(209, 156, 51, 0.15);
  pointer-events: none;
}

.editorial-quote-text {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.55;
  font-weight: 300;
  font-style: italic;
  color: #FAFAF7;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.editorial-quote-text strong {
  color: var(--gold);
  font-weight: 700;
}

.editorial-quote-author {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--gold-pale);
}

.author-meta-name {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

.author-meta-title {
  font-size: 15.5px;
  color: var(--gold);
  font-weight: 600;
}

/* --- Interactive Story & Methodology Explorer (Tabs / Steps) --- */
.story-explorer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.8fr);
  gap: 40px;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(35, 43, 101, 0.04);
}

@media (max-width: 900px) {
  .story-explorer {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.explorer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.explorer-step-btn {
  display: flex;
  align-items: flex-start;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--offwhite);
  border: 1.5px solid transparent;
  border-left: 4px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  width: 100%;
}

.explorer-step-btn:hover {
  background: #FFFFFF;
  border-color: var(--smoke);
  border-left-color: var(--gold-deep);
  transform: translateX(4px);
}

.explorer-step-btn.active {
  background: var(--navy-deep);
  border-color: var(--gold);
  border-left-color: var(--gold);
  box-shadow: 0 8px 24px rgba(26, 33, 80, 0.18);
  transform: translateX(6px);
}

.explorer-step-num {
  display: none !important;
}

.explorer-step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.explorer-step-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.3s ease;
}

.explorer-step-btn.active .explorer-step-title {
  color: #FFFFFF;
}

.explorer-step-sub {
  font-size: 14.5px;
  color: #555E8D;
  font-weight: 500;
  transition: color 0.3s ease;
}

.explorer-step-btn.active .explorer-step-sub {
  color: var(--gold-pale);
}

.explorer-panes {
  position: relative;
  display: flex;
  flex-direction: column;
}

.explorer-pane {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 36px;
  height: 100%;
}

.explorer-pane.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
}

.explorer-pane-header {
  margin-bottom: 20px;
}

.explorer-pane-badge {
  display: none !important;
}

.explorer-pane-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.3;
}

.explorer-pane-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #2B336B;
  margin-bottom: 28px;
}

.explorer-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.explorer-feature-chip {
  padding: 8px 18px;
  background: var(--offwhite);
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.explorer-feature-chip::before {
  content: "•";
  color: var(--gold-deep);
  font-size: 16px;
}

/* ==========================================================================
   INTERACTIVE SCROLLYTELLING STRATEGIC PILLARS (ABOUT US)
   ========================================================================== */
.scrolly-pillars-section {
  position: relative;
}

.scrolly-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--navy-deep);
  color: var(--gold-pale);
  border: 1px solid rgba(209, 156, 51, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scrolly-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(209, 156, 51, 0.7);
  animation: scrollyPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes scrollyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(209, 156, 51, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(209, 156, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(209, 156, 51, 0);
  }
}

.scrolly-pillars-stage {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

/* Scroll Stream Cards */
.scrolly-cards-stream {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  width: 100%;
}

.scrolly-pillar-card {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFE 100%);
  border: 1.5px solid rgba(26, 33, 80, 0.08);
  border-radius: 28px;
  padding: 44px 44px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(26, 33, 80, 0.04);
  opacity: 0.38;
  transform: translateY(22px) scale(0.975);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease, border-color 0.4s ease, box-shadow 0.55s ease;
  scroll-margin-top: 130px;
  cursor: pointer;
}

.scrolly-pillar-card:hover {
  opacity: 0.75;
  transform: translateY(12px) scale(0.985);
}

.scrolly-pillar-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(209, 156, 51, 0.6);
  box-shadow: 0 24px 60px rgba(26, 33, 80, 0.12), 0 0 0 1px rgba(209, 156, 51, 0.25);
  background: #FFFFFF;
}

.scrolly-card-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.scrolly-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(209, 156, 51, 0.12);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrolly-pillar-card.active .scrolly-card-icon {
  background: linear-gradient(135deg, var(--gold) 0%, #D49B24 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(209, 156, 51, 0.4);
  transform: rotate(-4deg) scale(1.06);
}

.scrolly-card-body {
  position: relative;
  z-index: 2;
}

.scrolly-statement-lead {
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.9vw, 38px);
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.scrolly-statement-body {
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.65;
  color: #6C7293;
  font-weight: 500;
  margin: 0;
  transition: color 0.35s ease;
}

.scrolly-pillar-card.active .scrolly-statement-body {
  color: var(--navy);
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .scrolly-pillar-card {
    padding: 32px 24px;
  }
}

/* --- Split-Screen Narrative Story Vignettes --- */
.narrative-vignette {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(35, 43, 101, 0.04);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.narrative-vignette:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(35, 43, 101, 0.08);
}

.narrative-vignette.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

@media (max-width: 900px) {
  .narrative-vignette,
  .narrative-vignette.reverse {
    grid-template-columns: 1fr;
  }
}

.narrative-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  align-self: stretch;
}

.narrative-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.narrative-vignette:hover .narrative-media-img {
  transform: scale(1.04);
}

.narrative-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 33, 80, 0.1) 0%, rgba(26, 33, 80, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.narrative-content-wrap {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .narrative-content-wrap {
    padding: 28px 24px;
  }
}

/* --- Interactive Chapter Navigation Rail --- */
.chapter-rail-container {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  padding: 12px 0;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.chapter-rail {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.chapter-rail::-webkit-scrollbar {
  display: none;
}

.chapter-link {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chapter-link:hover {
  color: var(--navy-deep);
  background: var(--offwhite);
}

.chapter-link.active {
  background: var(--navy);
  color: #FFFFFF;
}

.chapter-link.active .chapter-num {
  color: var(--gold);
}

.chapter-num {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--gold-deep);
}

/* ==========================================================================
   SEMI-CIRCLE ARC DIAL INTERFACE (SCROLL-DRIVEN WOVE STYLE)
   ========================================================================== */
.journey-scroll-track {
  position: relative;
  background: var(--offwhite);
  height: 400vh; /* Scrollytelling runway */
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.journey-sticky-container {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.journey-header-bar {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 30;
  pointer-events: none;
  padding: 0 24px;
}

.journey-header-sub {
  max-width: 780px;
  margin: 6px auto 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #485177;
  font-weight: 450;
}

.arc-dial-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Left Semi-Circle Arc Viewport (Flush with extreme left edge) */
.arc-wheel-viewport {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.arc-wheel-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.arc-nodes-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* Year Nodes */
.arc-year-node {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0% 50%; /* Left-anchored so text starts clearly after the dot */
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #9AA1BE;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  padding: 4px 8px;
  margin-top: -15px; /* Centers text vertically at polar point */
  transition: color 0.25s ease, font-size 0.25s ease, text-shadow 0.25s ease;
  will-change: transform, opacity;
}

.arc-year-node:hover {
  color: var(--navy-mid);
}

.arc-year-node.active {
  color: var(--navy-deep);
  font-weight: 900;
  font-size: 56px;
  margin-top: -28px;
  z-index: 10;
  opacity: 1 !important;
  text-shadow: 0 4px 20px rgba(26, 33, 80, 0.12);
}

/* Fixed Focal Indicator Dot at Apex on the Arc Line */
.arc-focal-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  z-index: 20;
  pointer-events: none;
}

.arc-focal-dot .focal-dot-core {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--gold-deep);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 12px rgba(196, 145, 50, 0.95);
}

.arc-focal-dot .focal-dot-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.4);
  animation: focalDotPulse 2.2s infinite ease-out;
}

@keyframes focalDotPulse {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0.3; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

/* Tick Dots along Arc */
.arc-tick-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  border-radius: 50%;
  background: rgba(35, 43, 101, 0.22);
  pointer-events: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.arc-tick-dot.passed {
  background: var(--gold-deep);
  box-shadow: 0 0 6px rgba(196, 145, 50, 0.6);
}

/* Content Details Panel on Right (Balanced wide-screen layout) */
.arc-content-panel {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  z-index: 15;
  margin-left: 620px; /* Adjusted dynamically by JS */
  max-width: 820px;
  width: 100%;
  padding-right: 48px;
  box-sizing: border-box;
}

.arc-card-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  pointer-events: none;
  width: 100%;
}

.arc-card-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.arc-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(26, 33, 80, 0.08);
  border-radius: 20px;
  padding: 32px 38px;
  box-shadow: 0 16px 40px rgba(26, 33, 80, 0.05), 0 2px 6px rgba(26, 33, 80, 0.02);
  box-sizing: border-box;
}

.arc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 33, 80, 0.06);
}

.arc-card-badge {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(226, 183, 85, 0.12);
  border: 1px solid rgba(196, 145, 50, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
}

.arc-card-scope {
  font-size: 12.5px;
  font-weight: 700;
  color: #6C7498;
  letter-spacing: 0.04em;
}

.arc-card-title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.28;
  margin: 0;
  letter-spacing: -0.015em;
}

.arc-card-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 33, 80, 0.1);
}

.arc-point-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}

.arc-point-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: #374174;
  margin: 0;
  font-weight: 500;
}

/* Celebration Slide (Athena Turns 15) */
.arc-slide-celebration {
  width: 100%;
}

.arc-celebration-hero {
  background: linear-gradient(145deg, #161D48 0%, #232B65 100%);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  padding: 32px 38px;
  box-shadow: 0 16px 36px rgba(22, 29, 72, 0.25), 0 0 28px rgba(212, 168, 83, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

.arc-celebration-logo-wrap {
  display: flex;
  align-items: center;
  padding: 6px 0;
}

.arc-celebration-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.arc-celebration-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* 2026 Stats Grid */
.arc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
  width: 100%;
}

.arc-stat-item {
  background: #F8F9FC;
  border: 1.5px solid rgba(26, 33, 80, 0.08);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(35, 43, 101, 0.03);
}

.arc-stat-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.1;
}

.arc-stat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1.25;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 900px) {
  .journey-scroll-track {
    height: 340vh;
  }

  .journey-header-bar {
    top: 60px;
  }

  .arc-content-panel {
    min-height: 180px;
    padding-right: 20px;
  }

  .arc-card-title {
    font-size: 22px;
  }

  .arc-year-node.active {
    font-size: 42px;
    margin-top: -21px;
  }
}

@media (max-width: 640px) {
  .journey-header-bar {
    top: 40px;
  }

  .arc-dial-stage {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
  }

  .arc-content-panel {
    margin-left: 20px !important;
    max-width: calc(100% - 40px);
    padding-right: 0;
    margin-top: auto;
    margin-bottom: 40px;
  }

  .arc-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .arc-stat-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
  }

  .arc-celebration-hero {
    padding: 20px 18px;
  }

  .arc-celebration-logo {
    max-width: 220px;
  }
}

/* --- Ground-Truth 4-Layer Quality Pipeline (Community Compass) --- */
.qa-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .qa-pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .qa-pipeline-grid {
    grid-template-columns: 1fr;
  }
}

.qa-step-card {
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.35s var(--ease-out-expo);
}

.qa-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(35, 43, 101, 0.08);
}

.qa-step-badge {
  display: none !important;
}

.qa-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.qa-step-desc {
  font-size: 16.5px;
  line-height: 1.7;
  color: #2D3768;
}

/* --- Live Global Office Clocks (Contact Page) --- */
.office-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.office-hub-card {
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.office-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(35, 43, 101, 0.06);
}

.office-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
  transition: background 0.3s ease;
}

.office-hub-card:hover::before {
  background: var(--gold);
}

.office-city-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.office-city-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.office-clock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-pale);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.office-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
}

.office-status-dot.closed {
  background: #EAB308;
}

.office-address-text {
  font-size: 16px;
  line-height: 1.7;
  color: #2D3768;
}

.office-contact-link {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

/* --- Animated Audio-Wave Visualizer Bar --- */
.audio-wave-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
}

.audio-wave-bar span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: audioWave 1.2s ease-in-out infinite alternate;
}

.audio-wave-bar span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.audio-wave-bar span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.audio-wave-bar span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.audio-wave-bar span:nth-child(4) { height: 10px; animation-delay: 0.4s; }
.audio-wave-bar span:nth-child(5) { height: 16px; animation-delay: 0.15s; }

@keyframes audioWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

/* --- Theory of Change Ecosystem Diagram --- */
.toc-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  position: relative;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .toc-flow-grid {
    grid-template-columns: 1fr;
  }
}

.toc-flow-card {
  background: #FFFFFF;
  border: 1.5px solid var(--hair);
  border-radius: 18px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
}

.toc-flow-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(35, 43, 101, 0.08);
}

.toc-flow-phase {
  display: none !important;
}

.toc-flow-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 14px;
}

.toc-flow-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 20px;
}

.toc-flow-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}

.toc-flow-points li {
  font-size: 15.5px;
  color: #2D3768;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-flow-points li::before {
  content: "✓";
  color: var(--gold-deep);
  font-weight: 900;
}

/* ==========================================================================
   ATHENA EDITORIAL CASE STUDY & DETAIL PAGE ENGINE
   ========================================================================== */

/* --- 01. Case Study Breadcrumb & Hero Header --- */
.cs-hero-section {
  padding-top: 130px;
  padding-bottom: 50px;
  background: linear-gradient(180deg, rgba(232, 234, 241, 0.4) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--hair);
  position: relative;
}

.cs-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #71716A;
  margin-bottom: 24px;
}

.cs-breadcrumbs a {
  color: var(--navy-mid);
  transition: color var(--transition-fast);
}

.cs-breadcrumbs a:hover {
  color: var(--gold-deep);
}

.cs-breadcrumbs .sep {
  color: var(--smoke);
}

.cs-breadcrumbs .current {
  color: var(--navy-deep);
  font-weight: 700;
}

.cs-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.cs-badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--navy-pale);
  border: 1px solid rgba(35, 43, 101, 0.12);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-deep);
}

.cs-badge-partner svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-deep);
}

.cs-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 22px;
  max-width: 980px;
}

.cs-lead {
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  color: #3B447A;
  max-width: 900px;
  margin-bottom: 36px;
}

/* --- 02. Featured Visual Frame --- */
.cs-banner-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(26, 33, 80, 0.12);
  border: 1px solid var(--hair);
  margin-top: 16px;
  position: relative;
  background: #E8EAF1;
}

.cs-banner-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.cs-banner-caption {
  padding: 12px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--hair);
  font-size: 13.5px;
  color: #71716A;
  font-style: italic;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- 03. 2-Column Article Layout --- */
.cs-main-section {
  padding: 60px 0 100px;
  background: var(--paper);
}

.cs-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 1024px) {
  .cs-layout-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* --- 04. Article Content Styling --- */
.cs-article {
  color: #2D3768;
}

.cs-article-section {
  margin-bottom: 52px;
}

.cs-article h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-pale);
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-article h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 14px;
}

.cs-article p {
  font-size: 17.5px;
  line-height: 1.8;
  color: #333D72;
  margin-bottom: 20px;
}

.cs-article p strong {
  color: var(--navy-deep);
  font-weight: 700;
}

.cs-article a {
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.cs-article a:hover {
  color: var(--gold-deep);
  text-decoration-color: var(--navy);
}

.cs-article ul:not(.cs-bullet-list):not(.cs-numbered-list) {
  margin: 20px 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-article ul:not(.cs-bullet-list):not(.cs-numbered-list) li {
  font-size: 17px;
  line-height: 1.75;
  color: #2D3768;
}

.cs-article ol:not(.cs-numbered-list) {
  margin: 20px 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-article ol:not(.cs-numbered-list) li {
  font-size: 17px;
  line-height: 1.75;
  color: #2D3768;
}

.cs-article blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(245, 233, 209, 0.25);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--navy-deep);
}

.cs-article figure,
.cs-article .w-richtext-figure-type-image {
  margin: 36px 0;
  max-width: 100%;
}

.cs-article figure img,
.cs-article .w-richtext-figure-type-image img,
.cs-article img {
  border-radius: 14px;
  border: 1px solid var(--hair);
  box-shadow: 0 8px 24px rgba(35, 43, 101, 0.08);
  max-width: 100%;
  height: auto;
}

.cs-article .w-richtext-align-floatright {
  float: right;
  margin: 0 0 20px 24px;
  max-width: 220px;
}

.cs-article .w-richtext-align-floatright img {
  border-radius: 12px;
}

.cs-article h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 24px 0 12px;
}

/* Styled Numbered List Cards */
.cs-numbered-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.cs-numbered-list li {
  display: flex;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #2D3768;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.cs-numbered-list li:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.cs-list-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-deep);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Styled Bullet List */
.cs-bullet-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.cs-bullet-list li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.7;
  color: #2D3768;
}

.cs-bullet-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-pale);
}

/* Phase Process Cards (Discovery, Design, Diffusion) */
.cs-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 28px 0 36px;
}

.cs-phase-card {
  background: #FFFFFF;
  border: 1.5px solid var(--hair);
  border-radius: 16px;
  padding: 26px 22px;
  position: relative;
  border-top: 4px solid var(--navy-mid);
  transition: all var(--transition-smooth);
}

.cs-phase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(35, 43, 101, 0.08);
  border-top-color: var(--gold);
}

.cs-phase-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.cs-phase-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.cs-phase-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4A538A;
  margin: 0;
}

/* Callout Box */
.cs-callout-box {
  background: linear-gradient(135deg, rgba(245, 233, 209, 0.4) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1.5px solid var(--gold-pale);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0;
  position: relative;
}

.cs-callout-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-callout-text {
  font-size: 16px;
  line-height: 1.7;
  color: #2D3768;
  margin: 0;
}

/* Download Action Banner Box */
.cs-download-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: 18px;
  padding: 36px 32px;
  color: #FAFAF7;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(26, 33, 80, 0.2);
}

.cs-download-info h4 {
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.cs-download-info p {
  font-size: 15px;
  color: rgba(250, 250, 247, 0.75);
  margin: 0;
}

/* --- 05. Sticky Sidebar Widgets --- */
.cs-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-sidebar-card {
  background: #FFFFFF;
  border: 1.5px solid var(--hair);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(35, 43, 101, 0.04);
}

.cs-sidebar-card-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-deep);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-facts-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-fact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-fact-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71716A;
}

.cs-fact-value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.4;
}

.cs-lead-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  margin-top: 8px;
}

.cs-lead-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-pale);
  color: var(--navy-deep);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold-pale);
}

.cs-lead-meta {
  flex: 1;
}

.cs-lead-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-deep);
}

.cs-lead-role {
  font-size: 13px;
  color: #71716A;
}

/* --- 06. Related Projects Section --- */
.cs-related-section {
  padding: 80px 0 100px;
  background: #F5F5F2;
  border-top: 1px solid var(--hair);
}

.cs-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

/* --- 07. Global Legacy Webflow Adapter & Safety Fixes --- */
.navbar-no-shadow {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}

.navbar-no-shadow .navbar-brand {
  max-width: 240px;
  display: inline-block;
}

.navbar-no-shadow .navbar-brand img,
.navbar-no-shadow img {
  max-height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-dark .footer-brand img {
  max-height: 40px;
  width: auto;
  max-width: 200px;
}

.section-13 {
  width: 100%;
  background: var(--offwhite);
  overflow: hidden;
}

.section-13 .image-38 {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   ATHENA FEATURED WORK & INTERACTIVE FILTERABLE SHOWCASE
   ========================================================================== */
.section-work {
  padding: 90px 0 110px;
  background: var(--paper);
  border-top: 1px solid var(--hair);
  position: relative;
}

.section-work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.work-filter-bar,
.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}

.filter-btn,
.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  background: #FFFFFF;
  border: 1.5px solid var(--hair);
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  box-shadow: 0 2px 6px rgba(35, 43, 101, 0.03);
  user-select: none;
}

.filter-btn:hover,
.filter-pill-btn:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(35, 43, 101, 0.08);
}

.filter-btn.active,
.filter-pill-btn.active {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(26, 33, 80, 0.2);
  transform: translateY(-2px);
}

.work-showcase-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

@media (min-width: 1100px) {
  .work-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .work-showcase-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.work-showcase-card,
.project-card.card,
.insight-card {
  background: #FFFFFF;
  border: 1.5px solid var(--hair);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(35, 43, 101, 0.04);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo), opacity 0.3s var(--ease-out-expo);
  position: relative;
}

.work-showcase-card:hover,
.project-card.card:hover,
.insight-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 44px rgba(35, 43, 101, 0.1);
}

.work-card-thumb,
.work-card-img-wrap,
.insight-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #E8EAF1;
  display: block;
}

.work-card-thumb img,
.work-card-img-wrap img,
.insight-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-showcase-card:hover .work-card-thumb img,
.project-card.card:hover .work-card-img-wrap img,
.insight-card:hover .insight-thumb-wrap img {
  transform: scale(1.06);
}

.work-card-content,
.insight-card-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-card-pills,
.insight-card-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.work-card-pills .pill,
.insight-card .pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.work-card-title {
  font-size: clamp(17px, 1.2vw, 19.5px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  margin-bottom: 12px;
  text-wrap: balance;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

.work-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.work-card-title a:hover {
  color: var(--gold-deep);
}

.work-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4A538A;
  margin-bottom: 20px;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

.work-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Filter Transitions */
.filter-invisible {
  opacity: 0 !important;
  transform: translateY(16px) scale(0.97) !important;
  pointer-events: none !important;
}

.filter-hide {
  display: none !important;
}

.work-card-collapsed {
  display: none !important;
}

.work-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}

#work-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
}

/* ==========================================================================
   14. ADVANCED PROJECTS DIRECTORY (MULTI-DROPDOWNS & PAGINATION)
   ========================================================================== */
.directory-filter-center {
  position: relative;
  z-index: 100;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(26, 33, 80, 0.04);
}

.directory-filter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.directory-results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.directory-count-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  background: var(--navy-pale);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.filter-reset-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: #c93b2b;
  background: rgba(201, 59, 43, 0.08);
  border: 1px solid rgba(201, 59, 43, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-reset-btn:hover {
  background: #c93b2b;
  color: #ffffff;
  border-color: #c93b2b;
}

.directory-dropdowns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 110;
}

@media (max-width: 1024px) {
  .directory-dropdowns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .directory-dropdowns-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Dropdown Container */
.custom-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.custom-dropdown-group.is-open,
.custom-dropdown-group:has(.custom-dropdown-wrap.is-open) {
  z-index: 1000;
}

.custom-dropdown-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-left: 2px;
}

.custom-dropdown-wrap {
  position: relative;
  width: 100%;
}

.custom-dropdown-wrap.is-open {
  z-index: 1001;
}

/* Custom Trigger Button */
.custom-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy-deep);
  background: var(--white);
  border: 1.5px solid var(--hair);
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(26, 33, 80, 0.04);
}

.custom-dropdown-trigger:hover {
  border-color: rgba(209, 156, 51, 0.5);
  background: #FCFCF9;
  box-shadow: 0 3px 10px rgba(26, 33, 80, 0.06);
}

.custom-dropdown-wrap.is-open .custom-dropdown-trigger,
.custom-dropdown-trigger:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--white);
}

.custom-dropdown-trigger.has-value {
  background: #FAF8F2;
  border-color: var(--gold-deep);
  color: var(--navy-deep);
  font-weight: 700;
}

.custom-dropdown-selected-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-dropdown-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.custom-dropdown-wrap.is-open .custom-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--gold-deep);
}

/* Floating Dropdown Menu */
.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1.5px solid rgba(26, 33, 80, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(26, 33, 80, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  overflow: hidden;
}

.custom-dropdown-wrap.is-open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Directory Cards Grid Stacking */
#directory-cards-grid {
  position: relative;
  z-index: 1;
}

.custom-dropdown-options-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
.custom-dropdown-options-list::-webkit-scrollbar {
  width: 6px;
}
.custom-dropdown-options-list::-webkit-scrollbar-track {
  background: #F3F4F6;
  border-radius: 999px;
}
.custom-dropdown-options-list::-webkit-scrollbar-thumb {
  background: rgba(26, 33, 80, 0.2);
  border-radius: 999px;
}
.custom-dropdown-options-list::-webkit-scrollbar-thumb:hover {
  background: var(--gold-deep);
}

/* Option item */
.custom-dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-deep);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.custom-dropdown-option:hover,
.custom-dropdown-option:focus-visible {
  background: #F0F3F9;
  color: var(--navy);
  outline: none;
}

.custom-dropdown-option.active {
  background: rgba(209, 156, 51, 0.12);
  color: var(--navy-deep);
  font-weight: 700;
}

.custom-dropdown-option .option-check-icon {
  color: var(--gold-deep);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.custom-dropdown-option.active .option-check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Active Filter Chips */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

.active-filters-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-mid);
}

.active-filters-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy-deep);
  background: var(--gold-pale);
  border: 1px solid rgba(209, 156, 51, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.filter-chip span.remove-x {
  font-size: 11px;
  opacity: 0.7;
}

/* Empty State */
.directory-empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 16px;
  margin-top: 36px;
}

/* Pagination Engine */
.directory-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--hair);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-numbers-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy-deep);
  background: var(--white);
  border: 1.5px solid var(--hair);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out-expo);
  min-width: 40px;
  text-align: center;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--navy-deep);
  background: var(--navy-pale);
  transform: translateY(-1px);
}

.pagination-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 33, 80, 0.2);
}

.pagination-nav-btn {
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

.pagination-ellipsis {
  padding: 0 6px;
  color: var(--navy-mid);
  font-weight: 700;
}

.pagination-indicator {
  font-size: 13.5px;
  color: var(--navy-mid);
  font-family: var(--font-body);
}

.pagination-indicator strong {
  color: var(--navy-deep);
}

/* ==========================================================================
   GLOBAL EDITORIAL ANTI-ORPHAN & BALANCED TYPOGRAPHY
   Ensures headings, card titles, and subtitles do not break with 1 orphan word
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.disp, .hd, .sub,
.page-hero-title,
.cs-title,
.work-card-title,
.h4-project-cms,
.insight-card .sub,
.blog-card .sub,
.resource-card .sub,
.team-card-name,
.banner-h1,
.contact-cta-title,
.section-work-header h2,
.insights-header h2,
.services-header h2,
.section-title {
  text-wrap: balance;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}

p, .body,
.page-hero-lead,
.work-card-desc,
.insight-card p,
.blog-card p,
.resource-card p,
.cs-callout-text,
.footer-brand-desc,
.banner-desc {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Specific Card Headings: enforce balanced wrapping and prevent single-word breaks */
.work-showcase-card .work-card-title,
.project-card .work-card-title,
.insight-card h3,
.blog-card h3,
.resource-card h3 {
  font-size: clamp(17px, 1.2vw, 19.5px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-wrap: pretty;
}

.work-showcase-card .work-card-title a,
.project-card .work-card-title a,
.insight-card h3 a,
.blog-card h3 a {
  display: inline;
  text-wrap: balance;
  text-wrap: pretty;
}
