/* ==========================================================================
   YANADA LAW GROUP - PRESTIGE MODERN CORPORATE LEGAL DESIGN SYSTEM
   PALETTE: ROYAL BLUE, LUXURY VIOLET & PURE CRISP WHITE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Core (Derived from Logo) */
  --blue-primary: #1E40AF;
  --blue-vibrant: #2563EB;
  --blue-light: #38BDF8;
  --blue-soft: #F0F7FF;

  --purple-primary: #6D28D9;
  --purple-vibrant: #7C3AED;
  --purple-light: #A78BFA;
  --purple-soft: #F5F3FF;

  /* Gradients */
  --grad-logo: linear-gradient(135deg, #1E40AF 0%, #2563EB 35%, #7C3AED 100%);
  --grad-logo-hover: linear-gradient(135deg, #7C3AED 0%, #2563EB 65%, #1E40AF 100%);
  --grad-dark: linear-gradient(145deg, #060914 0%, #0B1124 50%, #120E2E 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.28), transparent 70%);

  /* Neutrals */
  --dark-bg: #060914;
  --dark-surface: #0B1226;
  --dark-card: rgba(15, 23, 42, 0.85);
  --dark-border: rgba(255, 255, 255, 0.12);

  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Typography */
  --font-serif: "Cinzel", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 20px 40px rgba(6, 9, 20, 0.6);
  --shadow-glow: 0 10px 30px rgba(124, 58, 237, 0.35);
  --shadow-blue-glow: 0 10px 30px rgba(37, 99, 235, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --trans-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

/* Native smooth scrolling (replaces Lenis) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
  width: 100%;
  line-height: 1.65;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
.serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* Top Reading Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad-logo);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle Editorial Scroll Reveal (Micro-drift only, no full containers) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-delay-1 {
  transition-delay: 0.1s;
}

.scroll-reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-text {
  overflow: hidden;
  display: inline-block;
}

.reveal-word {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 1.1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-text.visible .reveal-word {
  transform: translateY(0);
}

/* ==========================================================================
   FLOATING PILL NAVBAR
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 8%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    left 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  box-sizing: border-box;
  will-change: transform, padding, top, width, left;
  transform: translateZ(0);
}

.navbar.scrolled {
  padding: 12px 36px;
  top: 16px;
  width: 86%;
  left: 7%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--slate-900);
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.22));
}

.navbar.scrolled .logo img {
  height: 40px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--slate-900);
  line-height: 1.1;
}

.logo-main span {
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 10px;
  color: var(--purple-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--slate-800);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-left: 32px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-vibrant);
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
  font-size: 12px;
  margin-left: 24px;
}

/* Buttons */
.btn-primary {
  background: var(--grad-logo);
  color: var(--white) !important;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  transition: var(--trans-smooth);
  display: inline-block;
  border: none;
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.35);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--grad-logo-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.42);
}

.btn-blue {
  background: var(--blue-vibrant);
  color: var(--white) !important;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  transition: var(--trans-smooth);
  display: inline-block;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.btn-blue:hover {
  background: var(--blue-primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.42);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--trans-smooth);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--slate-900) !important;
  border-color: var(--white);
}

.navbar.scrolled .btn-primary {
  padding: 10px 24px;
  font-size: 11px;
  margin-left: 24px;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--slate-900);
  border-radius: 2px;
  left: 0;
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 8px;
}

.menu-toggle span:nth-child(3) {
  top: 16px;
}

.menu-toggle.open span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
  background: var(--purple-vibrant);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
  background: var(--purple-vibrant);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 8% 120px 8%;
  text-align: center;
  justify-content: center;
  --hero-photo: url('../6.-Photo-960w.webp');
  background:
    radial-gradient(ellipse at 15% 25%, rgba(37, 99, 235, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 35%, rgba(124, 58, 237, 0.12) 0%, transparent 55%),
    #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 25%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 35%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    linear-gradient(rgba(248, 250, 255, 0.78), rgba(248, 250, 255, 0.85)),
    var(--hero-photo);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.75);
  z-index: 0;
  opacity: 0;
  transform: scale(1.06);
  animation: heroPhotoFade 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px);
  animation: heroContentIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero-title {
  opacity: 0;
}

#hero-title .reveal-word {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(14px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

#hero-title.visible .reveal-word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hero-content .hero-pill {
  opacity: 0;
  transform: scaleX(0.6);
  animation: heroPillExpand 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.hero-content p {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  animation: heroBlurReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes heroBlurReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero-content .btn-hero-primary {
  opacity: 0;
  transform: translateX(-20px);
  animation: heroBtnSlide 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-content .btn-hero-secondary {
  opacity: 0;
  transform: translateX(20px);
  animation: heroBtnSlide 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes heroPillExpand {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes heroBtnSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroStaggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPhotoFade {
  from {
    opacity: 0;
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 1024px) {
  .hero {
    --hero-photo: url('../6.-Photo-1920w.webp');
  }
}

/* Fixed backgrounds repaint the full image on every scroll frame and are
   unreliable on iOS — keep them only on wide screens. */
@media (max-width: 1023px) {
  .hero {
    background-attachment: scroll;
  }
}

/* Seamless Bottom Gradient Fade into White Section */
.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(to bottom,
      rgba(250, 250, 252, 0) 0%,
      rgba(250, 250, 252, 0.35) 35%,
      rgba(250, 250, 252, 0.85) 75%,
      #FAFAFC 100%);
  pointer-events: none;
  z-index: 10;
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: var(--radius-full);
  margin-bottom: 26px;
  box-shadow:
    0 4px 18px -2px rgba(124, 58, 237, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
}

.hero-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow:
    0 8px 26px -4px rgba(124, 58, 237, 0.2),
    0 4px 10px rgba(15, 23, 42, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.hero-pill::before {
  display: none !important;
}

@media (max-width: 480px) {
  .hero-pill {
    padding: 6px 18px;
    max-width: 92%;
    box-sizing: border-box;
  }

  .hero-pill-text {
    font-size: 10px;
    letter-spacing: 1.3px;
  }
}

.hero-pill-text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 40%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--slate-900);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 16.5px;
  font-weight: 400;
  color: var(--slate-600);
  line-height: 1.7;
  margin: 0 auto 36px auto;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white) !important;
  background: var(--grad-logo);
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  transition: var(--trans-smooth);
}

.hero-actions .btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.45);
}

.hero-actions .btn-hero-primary svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.3s ease;
}

.hero-actions .btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.hero-actions .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate-800) !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: var(--trans-smooth);
}

.hero-actions .btn-hero-secondary:hover {
  border-color: var(--blue-vibrant);
  color: var(--blue-vibrant) !important;
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

.hero-actions .btn-hero-secondary svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue-vibrant);
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.3s ease;
}

.hero-actions .btn-hero-secondary:hover svg {
  transform: rotate(-35deg);
}

.hero-actions .btn-outline-clean {
  padding: 14px 34px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--slate-800);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--trans-smooth);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.hero-actions .btn-outline-clean:hover {
  border-color: var(--blue-vibrant);
  color: var(--blue-vibrant);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

/* Page Hero for Subpages */
.page-hero {
  padding: 180px 8% 80px 8%;
  background: var(--grad-dark);
  color: var(--white);
  text-align: center;
  position: relative;
  --page-hero-photo: url('../../wp-content/uploads/2026/05/5.-Photo-800w.webp');
  background-image:
    radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.35), transparent 70%),
    linear-gradient(rgba(6, 9, 20, 0.90), rgba(11, 18, 38, 0.96)),
    var(--page-hero-photo);
  background-position: center;
  background-size: cover;
  border-bottom: 2px solid transparent;
  border-image: var(--grad-logo) 1;
}

@media (min-width: 1024px) {
  .page-hero {
    --page-hero-photo: url('../../wp-content/uploads/2026/05/5.-Photo-1600w.webp');
  }
}

.page-hero-title {
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.page-hero-tagline {
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--slate-900);
  line-height: 1.2;
}

/* ==========================================================================
   ABOUT SECTION (INTERACTIVE DRAGGABLE 3D CARD STACK)
   ========================================================================== */
.about-restored-safe {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 120px 7%;
  max-width: 1460px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: var(--white);
  min-height: 90vh;
  overflow: hidden;
}

.stack-stage-wrapper {
  position: relative;
  width: 100%;
  height: 640px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-deck-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual Card in Stack - 490px x 570px */
.deck-card {
  position: absolute;
  width: 490px;
  height: 570px;
  border-radius: 28px;
  overflow: hidden;
  background: #0B1226;
  cursor: grab;
  border: 5px solid #FFFFFF;
  box-shadow: 0 28px 70px -10px rgba(15, 23, 42, 0.24);
  transition: box-shadow 0.4s ease;
  touch-action: pan-y;
  will-change: transform, opacity;
  transform: translateZ(0);
  transform-origin: 50% 100%;
}

.deck-card:active {
  cursor: grabbing;
  box-shadow: 0 40px 90px -10px rgba(124, 58, 237, 0.4);
}

.deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-card:hover img {
  transform: scale(1.03);
}

/* Subtle luxury inner border glow */
.deck-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* Minimal Heritage Frosted White Glass Pill at Bottom-Left */
.card-heritage-pill {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  z-index: 5;
}

.pill-prefix {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7C3AED;
}

.pill-location {
  font-family: 'Playfair Display', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.2px;
}

/* Remove old bulky headers & footers */
.card-meta-pill,
.card-footer-info {
  display: none !important;
}

.drag-hint-pill {
  display: none !important;
}

/* Stack Control Dots (Interactive) */
.stack-dots {
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 25;
}

.stack-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-dot:hover {
  background: var(--blue-vibrant, #2563EB);
}

.stack-dot.active {
  height: 28px;
  border-radius: 14px;
  background: var(--grad-logo);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}

@media (max-width: 1200px) {
  .deck-card {
    width: 430px;
    height: 510px;
  }

  .stack-stage-wrapper {
    height: 560px;
  }
}

@media (max-width: 1024px) {
  .about-restored-safe {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 100px;
  }

  .stack-stage-wrapper {
    height: 500px;
  }

  .deck-card {
    width: 360px;
    height: 440px;
  }

  .stack-dots {
    display: none;
  }
}

@media (max-width: 680px) {
  .about-restored-safe {
    padding: 80px 20px;
    overflow: hidden;
  }

  .stack-stage-wrapper {
    height: 420px;
    max-width: 100%;
  }

  .deck-card {
    width: calc(100vw - 48px);
    max-width: 320px;
    height: 390px;
  }
}

.about-content-restored-safe {
  padding-top: 10px;
}

.about-lab-pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-vibrant, #7C3AED);
  display: inline-block;
  margin-bottom: 14px;
}

.about-lab-title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--slate-900, #0B1226);
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.about-lab-lead {
  font-size: 17px;
  color: var(--slate-700, #334155);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-lab-sub {
  font-size: 15.5px;
  color: var(--slate-600, #475569);
  line-height: 1.75;
  margin-bottom: 26px;
}

.about-lab-divider {
  width: 50px;
  height: 2px;
  background: var(--purple-vibrant, #7C3AED);
  margin-bottom: 24px;
}

.practices-lab-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900, #0B1226);
  margin-bottom: 6px;
}

.practices-lab-tag {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-vibrant, #2563EB);
  display: block;
  margin-bottom: 12px;
}

.practices-lab-desc {
  font-size: 14.5px;
  color: var(--slate-600, #475569);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: var(--grad-logo);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-action svg {
  transition: transform 0.3s ease;
}

.btn-action:hover svg {
  transform: translateX(4px);
}

.about-header-restored-safe {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple-primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-title-restored-safe {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.18;
  color: #1a1a1a;
  letter-spacing: -0.015em;
}

.about-text-restored-safe {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 0;
}

.about-text-spacer {
  margin-bottom: 20px;
  display: block;
}

.about-divider-restored-safe {
  width: 50px;
  height: 2px;
  background: var(--purple-primary);
  margin: 28px 0;
}

.practices-title-restored-safe {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #1a1a1a;
}

.practices-subtitle-restored-safe {
  font-size: 1.05rem;
  color: var(--purple-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.practices-desc-restored-safe {
  font-size: 1rem;
  line-height: 1.68;
  color: #555;
  margin-bottom: 32px;
}

.about-cta-restored-safe {
  display: inline-flex;
  align-items: center;
  padding: 14px 34px;
  background: var(--grad-logo);
  color: #FFFFFF !important;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  position: relative;
  overflow: hidden;
}

.about-cta-restored-safe span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.about-cta-restored-safe::after {
  content: '→';
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #ffffff;
}

.about-cta-restored-safe:hover span {
  transform: translateX(-2px);
}

.about-cta-restored-safe:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.about-cta-restored-safe:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

@media (max-width: 1024px) {
  .about-restored-safe {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  .about-content-restored-safe {
    order: 1;
    padding-top: 0;
  }

  .about-layered-stage {
    order: 2;
    height: 440px;
  }
}

/* ==========================================================================
   PRACTICE CARDS MATRIX (ULTRA LUXURY EDITORIAL WHITE & LOGO ACCENTS)
   ========================================================================== */
.expertise {
  padding: 130px 8% 140px 8%;
  position: relative;
  background: #FAFAFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 10% 15%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 85%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 140px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 140px);
  pointer-events: none;
  z-index: 1;
}

.expertise-header {
  position: relative;
  z-index: 2;
  margin-bottom: 64px;
  text-align: center;
}

.expertise-header .section-title {
  color: var(--slate-900) !important;
  font-size: clamp(34px, 4.2vw, 46px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.expertise-header p {
  color: var(--purple-primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.practices-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.practice-card-pro {
  background: var(--white);
  border: 1px solid #EDF2F7;
  border-radius: 22px;
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.035);
  box-sizing: border-box;
  height: 100%;
  opacity: 1;
}

.practice-card-pro:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow:
    0 24px 48px -12px rgba(37, 99, 235, 0.12),
    0 8px 24px -4px rgba(124, 58, 237, 0.08),
    inset 0 0 0 1px rgba(124, 58, 237, 0.15);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFF 100%);
}

.practice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.practice-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-soft);
  border: 1px solid rgba(124, 58, 237, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.practice-card-pro:hover .practice-icon-box {
  background: var(--grad-logo);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
  transform: scale(1.05);
}

.practice-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--purple-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}

.practice-card-pro:hover .practice-icon-box svg {
  stroke: var(--white);
}

.practice-number {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #CBD5E1;
  transition: color 0.35s ease;
}

.practice-card-pro:hover .practice-number {
  color: var(--purple-primary);
}

.practice-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.practice-card-pro:hover .practice-card-title {
  color: var(--blue-vibrant);
}

.practice-card-desc {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.68;
  margin-bottom: 26px;
  font-weight: 400;
}

.practice-card-link {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans-smooth);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.practice-card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}

.practice-card-pro:hover .practice-card-link {
  color: var(--blue-vibrant);
  border-top-color: rgba(124, 58, 237, 0.25);
}

.practice-card-pro:hover .practice-card-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   SERVICES INTERACTIVE SPLIT (LUXURY WHITE & REAL-TIME VISUAL STAGE)
   ========================================================================== */
.services-section {
  padding: 120px 8% 130px 8%;
  background: #FAFAFC;
  color: var(--slate-900);
  position: relative;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.services-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 54px auto;
}

.services-header .section-title {
  color: var(--slate-900);
  font-size: clamp(34px, 4.4vw, 52px);
  margin-bottom: 14px;
}

.services-header p {
  color: var(--slate-600);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0;
}

/* Split Showcase Container */
.services-split {
  display: flex;
  min-height: 80vh;
  border-radius: 28px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  background: #FFFFFF;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left: Interactive List */
.services-list {
  flex: 1.15;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.svc-item {
  border-bottom: 1px solid #EDF2F7;
  padding: 30px 0;
  cursor: pointer;
  position: relative;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-item:last-child {
  border-bottom: none;
}

.svc-item::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--grad-logo);
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-item:hover::before,
.svc-item.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.svc-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.15;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 16px;
}

.svc-num {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #CBD5E1;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-arrow {
  width: 28px;
  height: 28px;
  stroke: var(--purple-primary);
  stroke-width: 2.4;
  fill: none;
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-item:hover .svc-title,
.svc-item.active .svc-title {
  color: var(--slate-900);
  transform: translateX(4px);
}

.svc-item:hover .svc-num,
.svc-item.active .svc-num {
  color: var(--purple-primary);
}

.svc-item:hover .svc-arrow,
.svc-item.active .svc-arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc-desc {
  max-height: 0;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0;
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  padding-left: 48px;
}

.svc-item:hover .svc-desc,
.svc-item.active .svc-desc {
  max-height: 240px;
  margin-top: 15px;
  opacity: 1;
}

/* Right: Visual Stage with Cross-fading Images */
.services-visual {
  flex: 1.25;
  position: relative;
  background: #FFFFFF;
  min-height: 80vh;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.svc-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.svc-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Gradient Fade matching Concept 3 (fade directly from left background color into the photo) */
.services-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.95) 8%, rgba(255, 255, 255, 0.6) 22%, rgba(255, 255, 255, 0.15) 38%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.svc-visual-overlay-info {
  position: absolute;
  bottom: 34px;
  left: 34px;
  right: 34px;
  z-index: 3;
  color: #FFFFFF;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-overlay-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #FFFFFF;
}

.svc-overlay-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-light);
}

@media (max-width: 950px) {
  .services-section {
    padding: 80px 5% 90px 5%;
    overflow: hidden;
  }

  .services-header {
    margin-bottom: 35px;
  }

  .services-header .section-title {
    font-size: clamp(26px, 5.5vw, 40px);
  }

  .services-split {
    flex-direction: column-reverse;
    min-height: auto;
    border-radius: 24px;
    padding-bottom: 12px;
    border: 1px solid #E2E8F0;
  }

  .services-visual {
    height: 250px;
    min-height: 250px;
  }

  /* Remove horizontal left fade on mobile and replace with a subtle bottom blend */
  .services-visual::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8) 0%, transparent 45%);
  }

  .services-list {
    padding: 22px 18px 40px 18px;
    gap: 12px;
  }

  .svc-item {
    padding: 18px 18px 20px 18px;
    border-radius: 16px;
    border: 1px solid #E2E8F0 !important;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #FFFFFF;
  }

  .svc-item:last-child {
    margin-bottom: 0;
    border: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
  }

  .svc-item.active {
    background: #F8FAFC;
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
  }

  .svc-item.active:last-child {
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    border-bottom: 1px solid rgba(124, 58, 237, 0.35) !important;
  }

  .svc-item:hover .svc-desc,
  .svc-item.active .svc-desc {
    max-height: 240px;
    margin-top: 10px;
    opacity: 1;
  }

  .svc-item::before {
    display: none;
  }

  .svc-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .svc-title {
    font-size: 16.5px;
    line-height: 1.3;
  }

  .svc-num {
    font-size: 14.5px;
    color: var(--purple-vibrant);
    font-weight: 800;
  }

  .svc-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .svc-desc {
    padding-left: 0 !important;
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748B;
    margin-top: 10px;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   CLIENTS & STRATEGIC PARTNERS (ARCHITECTURAL LUXURY CARD GRID)
   ========================================================================== */
.clients-partners-section {
  width: 100%;
  padding: 80px 8% 48px 8%;
  background: #FFFFFF;
  position: relative;
  border-top: 1px solid #EDF2F7;
}

.network-main-header {
  display: none !important;
}

.network-main-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-vibrant, #7C3AED);
  margin-bottom: 12px;
}

.network-main-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-vibrant, #2563EB);
  box-shadow: 0 0 8px var(--blue-vibrant, #2563EB);
}

.network-main-title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.network-main-desc {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.68;
}

.division-block {
  margin-bottom: 60px;
}

.division-header-wrap {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 14px;
  position: relative;
}

.division-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 28px;
  font-weight: 700;
  color: var(--slate-900);
  display: inline-block;
  margin: 0 auto;
  position: relative;
  letter-spacing: -0.01em;
}

/* Subtle elegant center underline accent */
.division-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 2px;
  background: var(--grad-logo);
  border-radius: 2px;
}

.division-badge,
.division-meta {
  display: none !important;
}

/* Grids */
.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Luxury Interactive Card */
.luxury-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  height: 210px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.luxury-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-logo);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

/* Big Hero Logo in Center */
.card-logo-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: absolute;
  inset: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.card-logo-box img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal Name Drawer on Hover */
.card-hover-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 18px 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 70%, rgba(255, 255, 255, 0) 100%);
}

.card-entity-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.card-entity-sector {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-vibrant, #2563EB);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-entity-sector svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.3s ease;
}

/* Hover Physics */
.luxury-card:hover {
  border-color: rgba(203, 213, 225, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 18px 38px -10px rgba(15, 23, 42, 0.10);
}

.luxury-card:hover .card-logo-box img {
  transform: scale(1.06);
}

.luxury-card:hover .card-logo-box {
  transform: translateY(-22px) scale(0.82);
}

.luxury-card:hover .card-hover-drawer {
  opacity: 1;
  transform: translateY(0);
}

.luxury-card:hover .card-entity-sector svg {
  transform: translateX(3px);
}

@media (max-width: 1100px) {
  .cards-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   EDITORIAL TEAM SECTION — LUXURY EXECUTIVE SUITE
   ========================================================================== */
.team-section {
  padding: 120px 8% 140px 8%;
  background: #F8FAFC;
  position: relative;
}

/* Retired: the partners→contact fade now lives on .contact::before so it can end transparent over the navy (no seam line). */
.team-contact-divider {
  display: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 55px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: #C7D2FE;
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12), 0 0 0 1px #C7D2FE;
}

.team-img-wrap {
  width: 100%;
  aspect-ratio: 1200 / 1640;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #F1F5F9;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover .team-img {
  transform: scale(1.04);
}

.team-role-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-purple);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  z-index: 2;
}

.team-info {
  padding: 24px 24px 20px 24px;
  background: #FFFFFF;
  color: var(--slate-900);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.team-card:hover .team-name {
  color: var(--brand-blue);
}

.team-role {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 12px;
  letter-spacing: normal;
  text-transform: none;
}

.team-bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748B;
  margin-bottom: 16px;
  flex-grow: 1;
}

.team-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.team-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  background: #F1F5F9;
  color: #334155;
  border-radius: 6px;
}

.team-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-purple);
}

.team-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.team-card:hover .team-footer span {
  gap: 8px;
}

/* ==========================================================================
   WALL OF LOVE TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 130px 8%;
  background: var(--white);
  position: relative;
}

.testim-header {
  text-align: center;
  margin-bottom: 60px;
}

.testim-header p {
  color: var(--slate-600);
  margin-top: 15px;
}

.wall-of-love {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  height: 580px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.wol-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  will-change: transform;
}

.wol-col.up {
  animation: scrollUp 35s linear infinite;
}

.wol-col.down {
  animation: scrollDown 35s linear infinite;
}

.wol-col:hover {
  animation-play-state: paused;
}

.wol-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.04);
  border: 1px solid var(--slate-200);
  transition: border-color 0.3s;
}

.wol-card:hover {
  border-color: var(--purple-light);
}

.wol-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-900);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 500;
}

.wol-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wol-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--grad-logo);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.wol-name {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--slate-900);
}

.wol-role {
  font-size: 11px;
  color: var(--blue-vibrant);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.32), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.32), transparent 55%),
    linear-gradient(rgba(6, 9, 20, 0.93), rgba(11, 18, 38, 0.97)),
    url('../../wp-content/uploads/2026/05/6.-Photo-1280w.webp');
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  border-top: 2px solid rgba(99, 102, 241, 0.9);
  padding: 96px 8% 120px 8%;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: center;
}

/* Aurora drift: two brand glows slowly drifting under the top of the Contact section */
.contact > * {
  position: relative;
  z-index: 1;
}

.contact::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 6%;
  width: 420px;
  height: 150px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.5);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: contactAuroraA 11s ease-in-out infinite alternate;
}

.contact::after {
  content: "";
  position: absolute;
  top: -60px;
  right: 8%;
  width: 380px;
  height: 140px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.45);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: contactAuroraB 13s ease-in-out infinite alternate;
}

@keyframes contactAuroraA {
  from { transform: translateX(0) scale(1); }
  to { transform: translateX(90px) scale(1.15); }
}

@keyframes contactAuroraB {
  from { transform: translateX(0) scale(1.1); }
  to { transform: translateX(-80px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .contact::before,
  .contact::after {
    animation: none;
  }
}

@media (max-width: 1023px) {
  .contact {
    background-attachment: scroll;
  }
}

.contact-text {
  flex: 1.2;
  min-width: 320px;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.contact-text p {
  font-size: 18px;
  color: #CBD5E1;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ==========================================================================
   EXECUTIVE CONTACT DOSSIER (STREAMLINED & LUXURY CARDS)
   ========================================================================== */
.contact-dossier-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.contact-dossier-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(11, 18, 38, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.contact-dossier-item:hover {
  background: rgba(22, 34, 66, 0.88);
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateX(6px);
  box-shadow: 0 15px 35px rgba(6, 9, 20, 0.6), 0 0 25px rgba(37, 99, 235, 0.25);
}

.contact-dossier-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-dossier-icon svg {
  stroke: #FFFFFF;
}

.contact-dossier-item:hover .contact-dossier-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.contact-dossier-body {
  flex-grow: 1;
}

.contact-dossier-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #93C5FD;
  margin-bottom: 3px;
}

.contact-dossier-val {
  font-size: 14px;
  color: #F8FAFC;
  line-height: 1.45;
  font-weight: 500;
}

.contact-dossier-val a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-dossier-val a:hover {
  color: #60A5FA;
  text-decoration: underline;
}

.contact-dossier-action {
  font-size: 11.5px;
  font-weight: 600;
  color: #CBD5E1;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.contact-dossier-item:hover .contact-dossier-action {
  background: #2563EB;
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.contact-hours-pill {
  display: none;
}

/* Follow Us Row */
.contact-follow-wrapper {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-follow-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #94A3B8;
}

.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-social-btn.fb-btn {
  background: linear-gradient(135deg, #1877F2, #0C5DC7);
}

.contact-social-btn.fb-btn:hover {
  background: linear-gradient(135deg, #2884ff, #1877F2);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.5);
}

.contact-social-btn.in-btn {
  background: linear-gradient(135deg, #0A66C2, #004182);
}

.contact-social-btn.in-btn:hover {
  background: linear-gradient(135deg, #0d7bf0, #0A66C2);
  box-shadow: 0 8px 22px rgba(10, 102, 194, 0.5);
}

.contact-map-container {
  flex: 1.1;
  min-width: 380px;
  background: rgba(11, 18, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(6, 9, 20, 0.7), 0 0 40px rgba(124, 58, 237, 0.18);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-map-container:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 35px 70px rgba(6, 9, 20, 0.8), 0 0 50px rgba(124, 58, 237, 0.28);
}

.contact-map-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px 16px 10px;
}

.contact-map-location-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #F8FAFC;
}

.contact-map-location-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
}

.contact-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-map-btn:hover {
  background: var(--blue-light);
  color: #FFFFFF;
  border-color: var(--blue-light);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.contact-map-iframe-wrap {
  width: 100%;
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-container {
  flex: 1;
  min-width: 350px;
  background: rgba(11, 18, 38, 0.82);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 50px;
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(6, 9, 20, 0.7), 0 0 40px rgba(124, 58, 237, 0.2);
}

.form-step {
  display: none;
  animation: fadeUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-step.active {
  display: block;
}

.form-title {
  font-size: 26px;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 24px;
}

.issue-card {
  display: block;
  width: 100%;
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  text-align: left;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.issue-card:hover,
.issue-card.selected {
  border-color: var(--blue-light);
  background: var(--grad-logo);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 15px;
  box-sizing: border-box;
  transition: 0.3s;
  background: rgba(6, 9, 20, 0.5);
  color: white;
}

.form-container textarea {
  min-height: 120px;
  resize: vertical;
}

.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: rgba(6, 9, 20, 0.8);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.btn-next {
  background: var(--grad-logo);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.btn-next:hover {
  background: var(--grad-logo-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.btn-back {
  background: transparent;
  color: var(--slate-400);
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Floating Action Button (FAB) */
.fab {
  display: none !important;
}

/* ==========================================================================
   IMPACT & ACHIEVEMENTS (PROPOSAL B: MODERN SWISS MINIMALIST BENTO GRID - CRISP WHITE)
   ========================================================================== */
.impact-section {
  position: relative;
  background: #F8FAFC;
  padding: 120px 0 110px 0;
  color: #0F172A;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.impact-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.impact-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px auto;
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.22);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6D28D9;
  margin-bottom: 16px;
}

.impact-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7C3AED;
  box-shadow: 0 0 10px #7C3AED;
}

.impact-title {
  font-size: clamp(38px, 4.5vw, 52px);
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #0F172A;
}

.impact-gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #C026D3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impact-subtitle {
  font-size: 17px;
  color: #64748B;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   OPTION B: INTERACTIVE ASEAN REGIONAL CORRIDOR & INSTITUTIONAL HUB
   ========================================================================== */
.corridor-hub-matrix {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}

/* Left Panel: Institutional Record Ledger */
.hub-ledger-panel {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.035), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-ledger-panel:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.06);
}

.ledger-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 5px 14px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 22px;
}

.hub-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.8);
}

.ledger-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 18px;
}

.ledger-gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ledger-editorial {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 24px 0;
  padding-left: 18px;
  border-left: 3px solid #2563EB;
}

.ledger-editorial em {
  color: #7C3AED;
  font-style: italic;
  font-weight: 600;
}

/* Impact Narratives List */
.ledger-narratives-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px 22px;
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
}

.ledger-narrative-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.narrative-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.narrative-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: #7C3AED;
}

.narrative-content {
  font-size: 14px;
  line-height: 1.58;
  color: #475569;
}

.narrative-content strong {
  color: #0F172A;
  font-weight: 700;
}

/* Institutional Ledger Table */
/* ==========================================================================
   INSTITUTIONAL METRICS: 6-TILE BALANCED GRID
   ========================================================================== */
.metrics-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 0;
}

.stat-tile {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 50%, #EFF6FF 100%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stat-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.12), transparent 70%);
  pointer-events: none;
}

.stat-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.1);
}

.stat-tile-val {
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.3vw, 38px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0F172A 0%, #1E40AF 55%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-tile-pct {
  font-size: 0.52em;
  font-weight: 700;
  color: #7C3AED;
  margin-left: 2px;
  -webkit-text-fill-color: #7C3AED;
}

.stat-tile-plus {
  font-size: 0.6em;
  font-weight: 700;
  color: #7C3AED;
  margin-left: 2px;
  -webkit-text-fill-color: #7C3AED;
}

.stat-tile-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  line-height: 1.35;
  margin: 0;
}

/* Micro Credential Footer Strip */
.metrics-footer-strip {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.footer-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: #1E40AF;
  letter-spacing: -0.01em;
  line-height: 1;
}

.strip-lbl {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

.footer-strip-divider {
  width: 1px;
  height: 24px;
  background: rgba(226, 232, 240, 0.9);
}

/* Responsive 2x2 Grid */
@media (max-width: 600px) {
  .metrics-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-tile {
    padding: 18px 20px;
  }

  .metrics-footer-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .footer-strip-divider {
    display: none;
  }
}

.ledger-metrics-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.ledger-row:hover {
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.07);
  transform: translateX(4px);
}

.ledger-row.highlight {
  background: linear-gradient(135deg, #FFFFFF, rgba(238, 242, 255, 0.8));
  border-color: rgba(124, 58, 237, 0.3);
}

.ledger-cell-metric {
  display: flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.ledger-cell-pct {
  font-size: 0.6em;
  font-weight: 700;
  color: #7C3AED;
  margin-left: 2px;
}

.ledger-cell-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0;
  line-height: 1.35;
}

.ledger-cell-sub {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.4;
}

/* Credentials Row */
.ledger-credentials-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.credential-capsule {
  display: flex;
  flex-direction: column;
}

.cred-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: baseline;
  line-height: 1.1;
}

.cred-val .stat-number {
  font-size: 28px;
  font-weight: 800;
}

.cred-lbl {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
  font-weight: 500;
}

/* Right Panel: Holographic Planet Stage */
.hub-stage-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

/* 3D Planet Stage Presentation */
.planet-viewport-wrap {
  width: 100%;
  height: 540px;
  min-height: 540px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
}

#globe-3d-canvas {
  width: 100%;
  height: 540px;
  cursor: grab;
  position: relative;
  z-index: 2;
  overflow: visible;
  will-change: transform;
  transform: translateZ(0);
  touch-action: pan-y;
}

#globe-3d-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

#globe-3d-canvas:active {
  cursor: grabbing;
}

/* Strategic Capabilities / Impact Narratives Displayed Below Globe */
.stage-narratives-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
  z-index: 3;
}

.stage-narrative-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.stage-narrative-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.stage-narrative-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stage-narrative-card .narrative-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.stage-narrative-card:hover .narrative-icon-wrap {
  transform: scale(1.05);
  background: linear-gradient(135deg, #1E40AF, #7C3AED);
  border-color: transparent;
}

.stage-narrative-card:hover .narrative-icon-wrap svg {
  stroke: #FFFFFF;
}

.stage-narrative-card .narrative-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: #7C3AED;
  transition: stroke 0.25s ease;
}

.stage-narrative-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.stage-narrative-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #64748B;
}

.stage-narrative-card:hover .stage-narrative-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.stage-narrative-card:hover .stage-narrative-arrow svg {
  stroke: #7C3AED;
}

.stage-narrative-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stage-narrative-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.stage-narrative-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stage-narratives-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Floating Hotspot Badges */
.planet-hub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  z-index: 3;
}

.planet-hub-tag {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.planet-hub-tag:hover {
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.planet-hub-tag.active {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Interactive Card at Bottom of Stage */
.hub-interactive-card {
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.025);
  transition: all 0.3s ease;
  z-index: 4;
}

.hub-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hub-badge-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
}

.hub-badge-jurisdiction {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.8px;
}

.hub-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.hub-card-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 1050px) {
  .corridor-hub-matrix {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Mobile order: stats ribbon above the globe */
  .impact-container {
    display: flex;
    flex-direction: column;
  }

  .corridor-hub-matrix {
    display: contents;
  }

  .hub-ledger-panel {
    order: 1;
  }

  .impact-stats-ribbon {
    order: 2;
  }

  .hub-stage-panel {
    order: 3;
    margin-top: 28px;
  }

  .hub-ledger-panel {
    padding: 36px 28px;
  }

  .hub-stage-panel {
    justify-content: flex-start;
  }

  .planet-viewport-wrap {
    height: 380px;
    min-height: 380px;
    margin-top: 0;
    margin-bottom: 16px;
  }

  #globe-3d-canvas {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .impact-section {
    padding: 70px 0 80px 0;
  }

  .hub-ledger-panel {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .ledger-headline {
    font-size: 24px;
    line-height: 1.3;
  }

  .ledger-editorial {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }

  .ledger-cell-metric {
    font-size: 26px;
  }

  .ledger-credentials-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .credential-capsule {
    padding: 12px 16px;
  }

  .planet-viewport-wrap {
    height: 320px;
    min-height: 320px;
    margin-top: 0;
    margin-bottom: 12px;
  }

  #globe-3d-canvas {
    height: 320px;
  }

  .stage-narratives-container {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .stage-narrative-card {
    padding: 16px 18px;
  }
}

/* ==========================================================================
   FOOTER (LUXURY EXECUTIVE DESIGN)
   ========================================================================== */
.site-footer {
  background: #040814;
  margin-top: -2px;
  color: var(--white);
  padding: 90px 0 35px 0;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
}

.footer-glow-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.35) 25%,
    rgba(124, 58, 237, 0.65) 50%,
    rgba(37, 99, 235, 0.35) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 60px;
  margin-bottom: 35px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Col 1: Brand & Bio */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(124, 58, 237, 0.5));
}

.footer-brand-title {
  font-size: 26px;
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  line-height: 1;
  display: block;
}

.footer-brand-title span {
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-sub {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: #93C5FD;
  display: block;
  margin-top: 3px;
}

.footer-motto-khmer {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #C4B5FD;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer-desc {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 20px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #CBD5E1;
  width: fit-content;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 8px #3B82F6;
}

/* Col Headers with gradient underlines */
.footer-col-header {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  display: block;
  margin-bottom: 8px;
}

.footer-title-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  border-radius: 2px;
}

/* Nav Lists with Chevron */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list li a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-chevron {
  color: #60A5FA;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-nav-list li a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-nav-list li a:hover .footer-chevron {
  color: #A78BFA;
  transform: translateX(3px);
}

/* Contact Column */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.25s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.06);
}

.footer-contact-text {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.55;
  font-weight: 500;
}

.footer-contact-text a {
  color: #E2E8F0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-text a:hover {
  color: #60A5FA;
  text-decoration: underline;
}

/* Footer Social Row */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.footer-social-pill {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-social-pill:hover {
  transform: translateY(-3px) scale(1.08);
}

.footer-social-pill.fb-pill:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.5);
}

.footer-social-pill.tg-pill:hover {
  background: #229ED9;
  border-color: #229ED9;
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.5);
}

.footer-social-pill.in-pill:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.5);
}

.footer-social-pill.ig-pill:hover {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(221, 42, 123, 0.5);
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748B;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-text strong {
  color: #94A3B8;
  font-weight: 600;
}

.footer-motto-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  color: #93C5FD;
}

@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1050px) {
  .practices-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 1000px) {
  .hero {
    background-attachment: scroll;
  }

  .about {
    flex-direction: column;
    gap: 50px;
    padding: 100px 5%;
  }

  .contact {
    flex-direction: column;
    gap: 50px;
    padding: 54px 5% 100px;
    border-radius: 48px 48px 0 0;
    background-attachment: scroll;
  }

  .form-container,
  .contact-map-container {
    min-width: auto;
    width: 100%;
    padding: 24px 16px;
  }

  .contact-map-iframe-wrap {
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  body.menu-open {
    overflow: hidden !important;
  }

  .menu-toggle {
    display: block;
    z-index: 100000;
  }

  .menu-toggle.open {
    position: fixed;
    top: 24px;
    right: 24px;
  }

  .navbar.nav-open,
  .navbar.scrolled.nav-open {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #FFFFFF !important;
    z-index: 99999 !important;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    box-sizing: border-box;
    padding: 70px 24px 40px 24px;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .navbar .nav-links a,
  .navbar.scrolled .nav-links a,
  .nav-links a {
    margin: 12px 0 !important;
    margin-left: 0 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--slate-900) !important;
    text-align: center !important;
    transition: color 0.25s ease !important;
  }

  .navbar .nav-links a:hover,
  .navbar.scrolled .nav-links a:hover,
  .navbar .nav-links a.active,
  .navbar.scrolled .nav-links a.active,
  .nav-links a.active {
    color: var(--purple-vibrant) !important;
  }

  .navbar .nav-links .btn-primary,
  .navbar.scrolled .nav-links .btn-primary,
  .nav-links .btn-primary {
    color: #FFFFFF !important;
    margin-left: 0 !important;
    margin-top: 24px !important;
    padding: 14px 34px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35) !important;
    border-radius: var(--radius-full) !important;
  }

  .navbar .nav-links .btn-primary:hover,
  .navbar.scrolled .nav-links .btn-primary:hover,
  .nav-links .btn-primary:hover {
    color: #FFFFFF !important;
  }

  .img-parallax-container {
    height: 420px;
  }

  .stats-box {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    bottom: -25px;
    padding: 30px;
  }

  .trusted-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .trusted-label {
    padding-left: 0;
    margin-bottom: 10px;
  }

  .wall-of-love {
    grid-template-columns: 1fr;
    height: 500px;
  }

  .wol-col:nth-child(2),
  .wol-col:nth-child(3) {
    display: none;
  }

  .navbar {
    width: 100%;
    left: 0;
    padding: 16px 5%;
  }

  .navbar.scrolled {
    width: calc(100% - 24px);
    left: 12px;
    padding: 10px 18px;
  }
}

@media (max-width: 700px) {
  .practices-modern-grid {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================================
   PERFORMANCE: Skip off-screen layout/paint for below-the-fold sections
   ========================================================================== */
#impact,
#about,
#clients-partners,
#team,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* ==========================================================================
   WHAT WE'VE ACHIEVED: 3 CAPABILITIES IN LEFT CARD + 6 STATS ORBITING GLOBE
   ========================================================================== */
.ledger-capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.ledger-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.ledger-cap-item:hover {
  background: #FFFFFF;
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.06);
  transform: translateX(4px);
}

.ledger-cap-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 3x2 Typographic Stat Grid Below Globe */
.globe-stats-3x2 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
  margin-top: 8px;
  padding: 18px 8px 4px 8px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.stat-typo-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-typo-item .stat-tile-val {
  font-size: clamp(26px, 2.2vw, 34px);
  margin-bottom: 2px;
}

.stat-typo-item .stat-tile-title {
  font-size: 12.5px;
  color: #475569;
  font-weight: 600;
}

@media (max-width: 768px) {
  .globe-stats-3x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
}

/* ==========================================================================
   WHAT WE'VE ACHIEVED: CLEAN LEFT CARD (3x2 STATS + 3 CAPABILITIES) & GLOBE
   ========================================================================== */
.ledger-capabilities-clean {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.ledger-cap-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.7);
  transition: all 0.25s ease;
}

.ledger-cap-row:hover {
  background: #FFFFFF;
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.ledger-stats-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 18px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 55%, #EFF6FF 100%);
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.04);
}

.ledger-cap-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hub-stage-panel {
  justify-content: center !important;
}

@media (max-width: 640px) {
  .ledger-stats-3x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}


.ledger-stat-cell .stat-tile-val {
  font-size: clamp(20px, 1.6vw, 24px) !important;
  margin-bottom: 2px;
}

/* Full-Width 6-Stat Gradient Ribbon */
.impact-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 55%, #EFF6FF 100%);
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.05);
}

.impact-stats-ribbon .ledger-stat-cell {
  position: relative;
  padding-right: 16px;
}

.impact-stats-ribbon .ledger-stat-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(203, 213, 225, 0.7);
}

@media (max-width: 1100px) {
  .impact-stats-ribbon {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
  }
  .impact-stats-ribbon .ledger-stat-cell::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .impact-stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 20px;
  }
}

/* Mobile U2: stats ribbon — frameless hairline grid, 2 columns */
@media (max-width: 640px) {
  .impact-stats-ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
  }

  .impact-stats-ribbon .ledger-stat-cell {
    display: block;
    padding: 16px 16px 18px;
    border-top: 1px solid #E2E8F0;
    z-index: auto;
  }

  .impact-stats-ribbon .ledger-stat-cell:nth-child(odd) {
    border-right: 1px solid #E2E8F0;
    padding-left: 2px;
  }

  .impact-stats-ribbon .ledger-stat-cell:nth-child(even) {
    padding-right: 2px;
  }

  .impact-stats-ribbon .ledger-stat-cell:nth-child(1),
  .impact-stats-ribbon .ledger-stat-cell:nth-child(2) {
    border-top: none;
    padding-top: 4px;
  }

  .impact-stats-ribbon .ledger-stat-cell::before {
    content: none;
  }

  .impact-stats-ribbon .ledger-stat-cell:nth-child(1) { --d: 0s; }
  .impact-stats-ribbon .ledger-stat-cell:nth-child(2) { --d: 0.07s; }
  .impact-stats-ribbon .ledger-stat-cell:nth-child(3) { --d: 0.14s; }
  .impact-stats-ribbon .ledger-stat-cell:nth-child(4) { --d: 0.21s; }
  .impact-stats-ribbon .ledger-stat-cell:nth-child(5) { --d: 0.28s; }
  .impact-stats-ribbon .ledger-stat-cell:nth-child(6) { --d: 0.35s; }

  .impact-stats-ribbon .ledger-stat-cell .stat-tile-val {
    font-size: 27px !important;
    margin: 0 0 6px;
    min-width: 0;
    background: none;
    -webkit-text-fill-color: #0F1B3D;
    color: #0F1B3D;
  }

  .impact-stats-ribbon .stat-tile-pct,
  .impact-stats-ribbon .stat-tile-plus {
    background: none;
    -webkit-text-fill-color: #7C3AED;
    color: #7C3AED;
  }

  .impact-stats-ribbon .stat-tile-title {
    color: #5B6B8C;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
  }

  /* scroll-in animation (JS adds .stats-armed, then .stats-in) */
  .impact-stats-ribbon.stats-armed .ledger-stat-cell {
    opacity: 0;
    transform: translateY(10px);
  }

  .impact-stats-ribbon.stats-in .ledger-stat-cell {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease var(--d, 0s), transform 0.55s ease var(--d, 0s);
  }

  @media (prefers-reduced-motion: reduce) {
    .impact-stats-ribbon.stats-armed .ledger-stat-cell {
      opacity: 1;
      transform: none;
    }
    .impact-stats-ribbon.stats-in .ledger-stat-cell {
      transition: none;
    }
  }
}

/* Clean Left Card Polish: Remove inner boxes & tighten spacing */
.hub-ledger-panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ledger-capabilities-clean {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  gap: 0 !important;
}

.ledger-cap-row {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 18px 4px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.ledger-cap-row:first-child {
  padding-top: 8px !important;
}

.ledger-cap-row:last-child {
  border-bottom: none !important;
  padding-bottom: 4px !important;
}

.ledger-cap-row:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: translateX(4px);
}

.ledger-cap-row .stage-narrative-title {
  font-size: 15px !important;
  margin-bottom: 2px;
}

.ledger-cap-row .stage-narrative-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

@media (max-width: 768px) {
  .planet-viewport-wrap,
  #globe-3d-canvas {
    height: 380px !important;
    min-height: 380px !important;
  }
}
