/* Lefta Partners — V2 Corporate Site
   Palette: Indigo #2b2b7b, Copper/Tabac #b07840, White, Light gray
   Font: Larken (Fontshare) everywhere
   More Ndop patterns, more copper, darker grays, reduced spacing */

:root {
  --indigo: #2b2b7b;
  --indigo-light: #3d3d9e;
  --indigo-dark: #1e1e5a;
  --indigo-pale: #e8e8f5;
  --copper: #b07840;
  --copper-light: #c89060;
  --copper-dark: #8f5e30;
  --copper-pale: rgba(176, 120, 64, 0.08);
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-100: #f0f1f5;
  --gray-200: #e2e3ea;
  --gray-400: #5c5e72;
  --gray-600: #2c2e42;
  --gray-800: #22243a;
  --text: #1a1a2e;
  --font: 'Larken', 'General Sans', sans-serif;
  --max-width: 1200px;
  --glow-indigo: 0 4px 20px rgba(43, 43, 123, 0.12);
  --glow-copper: 0 4px 20px rgba(176, 120, 64, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
label,
div,
td,
th,
li,
article {
  font-family: var(--font);
}

/* ═══════════════════════════════════════════════════════
   SIDE NAVIGATION
   ═══════════════════════════════════════════════════════ */
.side-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  padding: 1rem 0;
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 0 8px 8px 0;
  border: 1px solid var(--gray-200);
  border-left: none;
  box-shadow: 2px 2px 16px rgba(43, 43, 123, 0.06);
}

.side-nav-link {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  position: relative;
}

.side-nav-link:hover {
  background: var(--copper-pale);
}

.side-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  flex-shrink: 0;
  transition: all 0.3s;
}

.side-nav-link.active .side-nav-dot {
  background: var(--copper);
  border-color: var(--copper);
  box-shadow: 0 0 6px rgba(176, 120, 64, 0.4);
}

.side-nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  max-width: 0px;
  padding-left: 0px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.side-nav:hover .side-nav-label {
  opacity: 1;
  pointer-events: auto;
  max-width: 1000px;
  padding-left: 0.5rem;
}

.side-nav-link.active .side-nav-label {
  color: var(--copper);
}

/* On hero: make side-nav dots white when overlay is dark */
body.at-hero .side-nav-inner {
  background: rgba(30, 30, 90, 0.5);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.1);
}

body.at-hero .side-nav-dot {
  border-color: rgba(255, 255, 255, 0.5);
}

body.at-hero .side-nav-link.active .side-nav-dot {
  background: var(--copper-light);
  border-color: var(--copper-light);
}

body.at-hero .side-nav-label {
  color: rgba(255, 255, 255, 0.7);
}

body.at-hero .side-nav-link.active .side-nav-label {
  color: var(--copper-light);
}

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

/* ═══════════════════════════════════════════════════════
   TOP NAV
   ═══════════════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

#main-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(43, 43, 123, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: filter 0.3s;
}

.logo-white {
  display: block;
}

.logo-dark {
  display: none;
}

#main-nav.scrolled .logo-white {
  display: none;
}

#main-nav.scrolled .logo-dark {
  display: block;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}

#main-nav.scrolled .nav-links a {
  color: var(--gray-600);
}

.nav-links a:hover {
  color: var(--copper);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

#main-nav.scrolled #lang-toggle {
  border-color: var(--indigo);
  color: var(--indigo);
}

#lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

#main-nav.scrolled #lang-toggle:hover {
  background: var(--indigo);
  color: #fff;
}

/* Mobile menu button */
#mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

#mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: background 0.3s;
}

#main-nav.scrolled #mobile-menu-btn span {
  background: var(--indigo);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  #mobile-menu-btn {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 58vh;
  background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo) 50%, var(--indigo-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem 2.5rem;
}

.hero-content {
  max-width: var(--max-width);
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hero-tag span {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(176, 120, 64, 0.2);
  color: var(--copper-light);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 auto 1rem;
}

.hero-sub {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 1.75rem;
  line-height: 1.5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
}

.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-1px);
  box-shadow: var(--glow-copper);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: transparent;
  color: var(--copper);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1.5px solid var(--copper);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--copper);
  color: #fff;
  box-shadow: var(--glow-copper);
}

/* Hero Ndop band at bottom */
.ndop-hero-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
      transparent,
      transparent 30px,
      rgba(176, 120, 64, 0.3) 30px,
      rgba(176, 120, 64, 0.3) 32px,
      transparent 32px,
      transparent 50px,
      rgba(255, 255, 255, 0.1) 50px,
      rgba(255, 255, 255, 0.1) 56px,
      transparent 56px,
      transparent 80px);
  z-index: 3;
}

/* ═══════════════════════════════════════════════════════
   NDOP PATTERNS — More and larger
   ═══════════════════════════════════════════════════════ */
.ndop-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* Hero patterns — 5 total */
.ndop-hero-1 {
  top: 8%;
  left: -2%;
  width: 220px;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,5 95,27.5 95,72.5 50,95 5,72.5 5,27.5' fill='none' stroke='white' stroke-width='2'/%3E%3Cpolygon points='50,20 78,35 78,65 50,80 22,65 22,35' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cpolygon points='50,35 63,43 63,57 50,65 37,57 37,43' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.20;
  animation: float 20s ease-in-out infinite;
}

.ndop-hero-2 {
  top: 15%;
  right: 3%;
  width: 180px;
  height: 180px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23c89060' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='28' fill='none' stroke='%23c89060' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='50' r='16' fill='none' stroke='%23c89060' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23c89060'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.25;
  animation: float 25s ease-in-out infinite reverse;
}

.ndop-hero-3 {
  bottom: 20%;
  left: 55%;
  width: 140px;
  height: 140px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,50 L30,10 L50,50 L70,10 L90,50 L70,90 L50,50 L30,90 Z' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.18;
  animation: float 18s ease-in-out infinite;
}

.ndop-hero-4 {
  bottom: 30%;
  left: 8%;
  width: 100px;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='60' height='60' transform='rotate(45,50,50)' fill='none' stroke='%23c89060' stroke-width='2'/%3E%3Crect x='32' y='32' width='36' height='36' transform='rotate(45,50,50)' fill='none' stroke='%23c89060' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.18;
  animation: float 22s ease-in-out infinite 2s;
}

.ndop-hero-5 {
  top: 50%;
  right: 12%;
  width: 90px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,10 Q90,50 50,90 Q10,50 50,10' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath d='M50,30 Q70,50 50,70 Q30,50 50,30' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.15;
  animation: float 28s ease-in-out infinite reverse 1s;
}

/* Section patterns — 2 per section, bigger, more visible */
.ndop-sec-1 {
  top: 5%;
  left: -1%;
  width: 160px;
  height: 160px;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,10 Q90,50 50,90 Q10,50 50,10' fill='none' stroke='%23b07840' stroke-width='2'/%3E%3Cpath d='M50,25 Q75,50 50,75 Q25,50 50,25' fill='none' stroke='%23b07840' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-2 {
  bottom: 8%;
  right: -1%;
  width: 140px;
  height: 140px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,5 95,27.5 95,72.5 50,95 5,72.5 5,27.5' fill='none' stroke='%232b2b7b' stroke-width='2'/%3E%3Cpolygon points='50,25 72,37 72,63 50,75 28,63 28,37' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-3 {
  top: 10%;
  left: -1.5%;
  width: 130px;
  height: 130px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%232b2b7b' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='22' fill='none' stroke='%23b07840' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='50' r='10' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-4 {
  bottom: 12%;
  right: -1%;
  width: 120px;
  height: 120px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='15' y='15' width='70' height='70' transform='rotate(45,50,50)' fill='none' stroke='%23b07840' stroke-width='2'/%3E%3Crect x='28' y='28' width='44' height='44' transform='rotate(45,50,50)' fill='none' stroke='%23b07840' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-5 {
  top: 8%;
  left: -1%;
  width: 150px;
  height: 150px;
  opacity: 0.16;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-6 {
  bottom: 5%;
  right: -1%;
  width: 130px;
  height: 130px;
  opacity: 0.14;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,10 L90,30 L90,70 L50,90 L10,70 L10,30 Z' fill='none' stroke='rgba(200,144,96,0.5)' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-7 {
  top: 4%;
  left: -1%;
  width: 140px;
  height: 140px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15,50 L50,15 L85,50 L50,85 Z' fill='none' stroke='%23b07840' stroke-width='2'/%3E%3Cpath d='M30,50 L50,30 L70,50 L50,70 Z' fill='none' stroke='%23b07840' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-8 {
  bottom: 6%;
  right: -1%;
  width: 125px;
  height: 125px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,20 L80,20 L80,80 L20,80 Z M35,35 L65,35 L65,65 L35,65 Z' fill='none' stroke='%232b2b7b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-9 {
  top: 6%;
  left: -1%;
  width: 130px;
  height: 130px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,30 Q50,5 90,30' fill='none' stroke='%232b2b7b' stroke-width='2'/%3E%3Cpath d='M10,50 Q50,25 90,50' fill='none' stroke='%232b2b7b' stroke-width='1.5'/%3E%3Cpath d='M10,70 Q50,45 90,70' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-sec-10 {
  bottom: 10%;
  right: -1%;
  width: 115px;
  height: 115px;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23b07840' stroke-width='2'/%3E%3Cline x1='50' y1='20' x2='50' y2='80' stroke='%23b07840' stroke-width='1'/%3E%3Cline x1='20' y1='50' x2='80' y2='50' stroke='%23b07840' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-8px) rotate(2deg);
  }

  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

/* ═══════════════════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════════════════ */
.section-divider {
  width: 100%;
  height: 12px;
  overflow: hidden;
  background: var(--off-white);
}

.section-divider .divider-ndop {
  width: 100%;
  height: 12px;
  display: block;
}

/* Alternate divider backgrounds */
.section-divider:nth-of-type(even) {
  background: var(--white);
}

.divider-dark {
  background: var(--off-white) !important;
}

/* ═══════════════════════════════════════════════════════
   SECTIONS — Reduced spacing
   ═══════════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) 1.5rem;
  overflow: hidden;
}

.section-light {
  background: var(--off-white);
}

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

.section-indigo {
  background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo) 100%);
  color: #fff;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-inner-wide {
  max-width: var(--max-width);
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-header-light h2 {
  color: #fff;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--copper);
}

.section-tag-light {
  color: var(--copper-light);
  border-bottom-color: var(--copper-light);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--indigo);
}

.section-header-light h2 {
  color: #fff;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  margin-top: 0.4rem;
  line-height: 1.55;
}

.section-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════
   ABOUT PILLARS
   ═══════════════════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.3s, transform 0.2s;
}

.pillar-card:hover {
  box-shadow: var(--glow-indigo);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.service-block {
  margin-bottom: 1.75rem;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.4rem;
}

.service-category-sub {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.25rem;
  transition: box-shadow 0.3s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--glow-copper);
  transform: translateY(-2px);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.service-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.35rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   APPROACH — Icons instead of numbers
   ═══════════════════════════════════════════════════════ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.approach-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.25rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.approach-step:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(176, 120, 64, 0.12);
}

.approach-icon {
  width: 48px;
  height: 48px;
  color: var(--copper-light);
  margin-bottom: 0.75rem;
}

.approach-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.approach-step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   PUBLICATIONS & RESEARCH — Merged section
   ═══════════════════════════════════════════════════════ */

/* Dashboard sub-block */
.pub-dashboard-block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--copper);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.3s;
}

.pub-dashboard-block:hover {
  box-shadow: var(--glow-copper);
}

.pub-dashboard-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--copper);
}

.pub-dashboard-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.3rem;
}

.pub-dashboard-text p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

/* Article cards — horizontal layout */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.3s, transform 0.15s;
}

.article-row:hover {
  box-shadow: var(--glow-indigo);
  transform: translateY(-1px);
}

.article-row-tag {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper);
  background: var(--copper-pale);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.article-row-body {
  flex: 1;
  min-width: 0;
}

.article-row-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  background: transparent;
  color: var(--copper);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid var(--copper);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-read-more:hover {
  background: var(--copper);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════
   IMPACT — 4 cards
   ═══════════════════════════════════════════════════════ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.impact-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.3s, transform 0.2s;
}

.impact-card:hover {
  box-shadow: var(--glow-copper);
  transform: translateY(-2px);
}

.impact-icon {
  width: 38px;
  height: 38px;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.impact-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.35rem;
}

.impact-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-content {
  text-align: center;
}

.contact-content>p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-contact {
  margin-bottom: 0;
}

.btn-linkedin {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-linkedin:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.contact-details p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════
   FOOTER — Simplified
   ═══════════════════════════════════════════════════════ */
#footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 26px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
}

.footer-legal-link:hover {
  color: var(--copper-light);
  border-bottom-color: var(--copper-light);
}

/* ═══════════════════════════════════════════════════════
   OVERLAYS — Articles, Legal, Dashboard
   ═══════════════════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.3s;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.overlay-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.overlay-legal {
  max-width: 750px;
}

.overlay-dashboard {
  max-width: 95vw;
  width: 95vw;
  max-height: 92vh;
  height: 92vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.overlay-dashboard h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 1rem;
}

.overlay-dashboard iframe {
  flex: 1;
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
  line-height: 1;
  font-family: var(--font);
}

.overlay-close:hover {
  background: var(--gray-200);
}

/* Overlay article content */
.overlay-content .article-overlay-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper);
  background: var(--copper-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.overlay-content .article-overlay-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.overlay-content .article-overlay-text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.overlay-content .article-overlay-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--indigo);
  margin: 1.5rem 0 0.5rem;
  line-height: 1.35;
}

.overlay-content .article-overlay-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper);
  margin: 1.25rem 0 0.4rem;
  line-height: 1.35;
}

.overlay-content .article-overlay-text p {
  margin-bottom: 0.6rem;
}

.overlay-content .article-overlay-text ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0.75rem;
}

.overlay-content .article-overlay-text ul li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.overlay-content .article-overlay-text ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}

.article-overlay-disclaimer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.6;
  font-style: italic;
}

/* Legal overlay content */
.overlay-legal h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.overlay-legal h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper);
  margin: 1.25rem 0 0.5rem;
}

.overlay-legal p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.overlay-legal ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.75rem;
}

.overlay-legal ul li {
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

.overlay-legal ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--copper);
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 4rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

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

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

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

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

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

  .article-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pub-dashboard-block {
    flex-direction: column;
  }

  .overlay-content {
    padding: 1.5rem;
    max-height: 90vh;
  }

  .overlay-dashboard {
    max-width: 100vw;
    width: 100vw;
    border-radius: 0;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 1.25rem 1rem;
  }
}

/* ═══════════════════════════════════════════════════════
   ADDITIONAL NDOP SIDE PATTERNS — Fill left/right empty spaces
   ═══════════════════════════════════════════════════════ */
/* About section — extra left & right */
.ndop-side-l1 {
  top: 40%;
  left: -2%;
  width: 192px;
  height: 192px;
  opacity: 0.11;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='15' y='15' width='70' height='70' transform='rotate(45,50,50)' fill='none' stroke='%23b07840' stroke-width='1.8'/%3E%3Crect x='25' y='25' width='50' height='50' transform='rotate(45,50,50)' fill='none' stroke='%23b07840' stroke-width='1'/%3E%3Crect x='35' y='35' width='30' height='30' transform='rotate(45,50,50)' fill='none' stroke='%23b07840' stroke-width='0.7'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-side-r1 {
  top: 50%;
  right: -2%;
  width: 168px;
  height: 168px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='%232b2b7b' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='12' fill='none' stroke='%232b2b7b' stroke-width='0.7'/%3E%3C/svg%3E") no-repeat center;
}

/* Services section — extra patterns */
.ndop-side-l2 {
  top: 25%;
  left: -2.5%;
  width: 180px;
  height: 180px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,5 95,27.5 95,72.5 50,95 5,72.5 5,27.5' fill='none' stroke='%232b2b7b' stroke-width='1.5'/%3E%3Cpolygon points='50,18 80,33 80,67 50,82 20,67 20,33' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3Cpolygon points='50,31 65,40 65,60 50,69 35,60 35,40' fill='none' stroke='%232b2b7b' stroke-width='0.7'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-side-r2 {
  top: 15%;
  right: -2%;
  width: 156px;
  height: 156px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15,50 L50,15 L85,50 L50,85 Z' fill='none' stroke='%23b07840' stroke-width='1.5'/%3E%3Cpath d='M28,50 L50,28 L72,50 L50,72 Z' fill='none' stroke='%23b07840' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='8' fill='none' stroke='%23b07840' stroke-width='0.7'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-side-l3 {
  bottom: 10%;
  left: -1.5%;
  width: 144px;
  height: 144px;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,30 Q50,5 90,30' fill='none' stroke='%23b07840' stroke-width='2'/%3E%3Cpath d='M10,50 Q50,25 90,50' fill='none' stroke='%23b07840' stroke-width='1.5'/%3E%3Cpath d='M10,70 Q50,45 90,70' fill='none' stroke='%23b07840' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

/* Approach section (indigo) — white/copper side patterns */
.ndop-side-l4 {
  top: 30%;
  left: -2%;
  width: 204px;
  height: 204px;
  opacity: 0.14;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='15' y='15' width='70' height='70' transform='rotate(45,50,50)' fill='none' stroke='rgba(200,144,96,0.5)' stroke-width='1.8'/%3E%3Crect x='28' y='28' width='44' height='44' transform='rotate(45,50,50)' fill='none' stroke='rgba(200,144,96,0.35)' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-side-r4 {
  bottom: 20%;
  right: -2%;
  width: 180px;
  height: 180px;
  opacity: 0.13;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='22' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1.5'/%3E%3Cpath d='M50,15 L50,85 M15,50 L85,50' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

/* Publications section — extra side patterns */
.ndop-side-l5 {
  top: 35%;
  left: -2.5%;
  width: 168px;
  height: 168px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,10 Q90,50 50,90 Q10,50 50,10' fill='none' stroke='%232b2b7b' stroke-width='1.5'/%3E%3Cpath d='M50,25 Q75,50 50,75 Q25,50 50,25' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='5' fill='none' stroke='%232b2b7b' stroke-width='0.7'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-side-r5 {
  bottom: 20%;
  right: -2%;
  width: 192px;
  height: 192px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,8 92,30 92,70 50,92 8,70 8,30' fill='none' stroke='%23b07840' stroke-width='1.5'/%3E%3Cpolygon points='50,22 76,36 76,64 50,78 24,64 24,36' fill='none' stroke='%23b07840' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

/* Impact section — extra side patterns */
.ndop-side-l6 {
  top: 30%;
  left: -2%;
  width: 156px;
  height: 156px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23b07840' stroke-width='1.5'/%3E%3Cpath d='M50,15 L50,85' stroke='%23b07840' stroke-width='0.8'/%3E%3Cpath d='M15,50 L85,50' stroke='%23b07840' stroke-width='0.8'/%3E%3Cpath d='M25,25 L75,75' stroke='%23b07840' stroke-width='0.6'/%3E%3Cpath d='M75,25 L25,75' stroke='%23b07840' stroke-width='0.6'/%3E%3C/svg%3E") no-repeat center;
}

.ndop-side-r6 {
  bottom: 15%;
  right: -2%;
  width: 144px;
  height: 144px;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='60' height='60' rx='2' fill='none' stroke='%232b2b7b' stroke-width='1.5'/%3E%3Crect x='30' y='30' width='40' height='40' rx='1' transform='rotate(15,50,50)' fill='none' stroke='%232b2b7b' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
}

/* ═══════════════════════════════════════════════════════
   DASHBOARD SUB-PAGE — Full page embedded view
   ═══════════════════════════════════════════════════════ */
.dashboard-page {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s;
}

.dashboard-page.hidden {
  opacity: 0;
  pointer-events: none;
}

.dashboard-page-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(43, 43, 123, 0.06);
  flex-shrink: 0;
}

.dashboard-page-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--indigo);
  margin: 0;
}

.dashboard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--copper);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--copper);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.dashboard-back-btn:hover {
  background: var(--copper);
  color: #fff;
}

.dashboard-page iframe {
  flex: 1;
  width: 100%;
  border: none;
}

@media (max-width: 768px) {
  .dashboard-page-header {
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  .dashboard-page-header h2 {
    font-size: 0.95rem;
  }
}

/* Hide side NDOP patterns on very small screens */
@media (max-width: 1100px) {
  [class*="ndop-side-"] {
    display: none;
  }
}