/*
Theme Name: NS Management Ltd Bermuda — NS Partners Design
Theme URI: https://nspgroup.com/
Author: NS Partners
Description: Bermuda / NS Management Ltd site using the exact NS Partners v7 design system, header, footer, typography, spacing and visual language. Auto-configures NSMB pages, legal pages and investor gate for WordPress Multisite.
Version: 2.1.0-bermuda
Network: false
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: ns-partners
Tags: custom-menu, custom-logo, full-width-template, editor-style, block-styles
*/

/* ══ RESET & ROOT ══ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
:root{
  --blue:#3681B0;--blue75:#6990BD;--blue50:#9BB8CB;--blue25:#CDD8EB;--blue10:#EBF0F7;
  --grey:#75726C;--grey75:#989590;--grey50:#BAB8B6;--grey25:#DDDCDB;--grey10:#F1F1F0;
  --black:#000000;--white:#FFFFFF;
  --beige:#cfb896;--dark:#0a1420;
  --font:'Montserrat','Century Gothic',Arial,sans-serif;
  --nav-h:70px;--pad-x:60px;
}
html{scroll-behavior:smooth;}
body{font-family:var(--font);font-size:14px;font-weight:300;color:var(--black);background:var(--white);line-height:1.7;padding-top:var(--nav-h);}
img{display:block;max-width:100%;height:auto;}
a{text-decoration:none;color:inherit;}
*:focus-visible{outline:2px solid var(--blue);outline-offset:3px;}

/* ══ SKIP LINK ══ */
.skip-link{position:absolute;top:-40px;left:0;z-index:9999;background:var(--blue);color:var(--white);padding:8px 16px;font-size:12px;transition:top .2s;}
.skip-link:focus{top:0;}

/* ══ TYPOGRAPHY ══ */
.ch-title{font-size:10px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--blue);margin-bottom:8px;display:block;}
.ch-title.light{color:var(--beige);}
.hl1{font-size:40px;font-weight:700;text-transform:uppercase;color:var(--grey);letter-spacing:.02em;line-height:1.1;margin-bottom:18px;}
.hl1 .b{color:var(--blue);}
.hl1.wh{color:var(--white);}
.hl2{font-size:20px;font-weight:600;color:var(--blue);margin-bottom:12px;line-height:1.3;}
.hl2.wh{color:var(--white);}
.hl3{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--grey);margin-bottom:8px;}
.body-t{font-size:12px;font-weight:300;color:var(--black);line-height:1.85;}
.body-t.lt{color:rgba(255,255,255,.65);}
.body-t.grey{color:var(--grey);}
.chapeau{font-size:15px;font-weight:600;line-height:1.6;margin-bottom:16px;}
.ns-line{width:100%;height:1px;background:var(--grey25);margin:16px 0;}
.ns-line.lgt{background:rgba(255,255,255,.15);}

/* ══ SITE HEADER ══ */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:500;
  background:var(--white);border-bottom:1px solid var(--grey25);height:var(--nav-h);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 var(--pad-x);height:100%;gap:16px;
}
/* Logo */
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;}
.nav-logo img{width:38px;height:38px;object-fit:contain;display:block;}
.nav-logo-text{display:flex;flex-direction:column;}
.nav-name{font-size:12px;font-weight:600;color:var(--grey);letter-spacing:.08em;text-transform:uppercase;line-height:1.2;}
.nav-since{font-size:8px;font-weight:300;color:var(--grey75);letter-spacing:.2em;text-transform:uppercase;margin-top:2px;}

/* Desktop menu */
.nav-menu-wrap{display:flex;align-items:center;flex:1;justify-content:center;}
#ns-primary-menu{display:flex;align-items:center;gap:28px;list-style:none;}
#ns-primary-menu>li>a{
  font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:var(--grey);transition:color .2s;white-space:nowrap;
}
#ns-primary-menu>li>a:hover,
#ns-primary-menu>.current-menu-item>a,
#ns-primary-menu>.current-page-ancestor>a{color:var(--blue);}
#ns-primary-menu>.current-menu-item>a{border-bottom:2px solid var(--blue);padding-bottom:2px;}

/* Nav actions */
.nav-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.nav-funds-link{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  background:var(--dark);color:var(--white);flex-shrink:0;
  transition:background .2s;
}
.nav-funds-link:hover{background:var(--blue);}
.nav-funds-link svg{width:16px;height:16px;}
.nav-cta{
  font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--white);background:var(--blue);padding:10px 20px;
  border:none;cursor:pointer;transition:background .2s;display:inline-block;white-space:nowrap;
}
.nav-cta:hover{background:var(--blue75);color:var(--white);}

/* ══ HAMBURGER TOGGLE ══ */
.nav-toggle{
  display:none;
  flex-direction:column;justify-content:center;align-items:center;
  width:44px;height:44px;
  background:none;border:none;cursor:pointer;
  padding:10px;border-radius:4px;
  transition:background .2s;flex-shrink:0;
  -webkit-tap-highlight-color:transparent;
}
.nav-toggle:hover{background:var(--grey10);}
.nav-toggle span{
  display:block;width:22px;height:2px;background:var(--grey);border-radius:2px;
  transition:transform .28s ease, opacity .2s ease, width .2s ease;
  transform-origin:center;
}
.nav-toggle span+span{margin-top:5px;}
/* → X state */
.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-open .nav-toggle span:nth-child(2){opacity:0;width:0;}
.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ══ MOBILE NAV PANEL ══ */
.mobile-nav{
  display:none;
  position:fixed;
  top:var(--nav-h);left:0;right:0;bottom:0;
  background:var(--white);
  border-top:3px solid var(--blue);
  z-index:490;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  /* Transition */
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .22s ease, transform .22s ease;
  pointer-events:none;
}
.nav-open .mobile-nav{
  display:block;
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
/* Logo row in mobile menu */
.mobile-nav-logo{
  display:flex;align-items:center;gap:12px;
  padding:20px 24px 16px;
  border-bottom:1px solid var(--grey25);
  text-decoration:none;
}
.mobile-nav-logo img{width:36px;height:36px;object-fit:contain;}
.mobile-nav-logo-name{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--grey);display:block;}
.mobile-nav-logo-since{font-size:8px;font-weight:300;letter-spacing:.18em;text-transform:uppercase;color:var(--grey75);display:block;margin-top:2px;}
/* Mobile links */
.mobile-nav ul{list-style:none;padding:0;margin:0;}
.mobile-nav ul li{border-bottom:1px solid var(--grey10);}
.mobile-nav ul li a{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;
  font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;
  color:var(--grey);transition:color .2s, background .2s;
}
.mobile-nav ul li a:hover{color:var(--blue);background:var(--blue10);}
.mobile-nav ul li a::after{content:'›';font-size:18px;font-weight:300;color:var(--grey25);transition:color .2s;}
.mobile-nav ul li a:hover::after{color:var(--blue);}
/* Mobile CTA row */
.mobile-nav-cta{padding:24px 24px 32px;border-top:1px solid var(--grey25);}
.mobile-nav-cta a{display:block;text-align:center;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--white);background:var(--blue);padding:14px;transition:background .2s;}
.mobile-nav-cta a:hover{background:var(--blue75);}

/* ══ TRUST BAR ══ */
.trust-bar{
  background:var(--grey10);border-bottom:1px solid var(--grey25);
  padding:14px var(--pad-x);display:flex;align-items:center;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.trust-bar::-webkit-scrollbar{display:none;}
.ti{font-size:9px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--grey);white-space:nowrap;padding:0 20px;flex-shrink:0;}
.ti:first-child{padding-left:0;}
.tsep{width:1px;height:10px;background:var(--grey50);flex-shrink:0;}

/* ══ PAGE HERO ══ */
.page-hero{
  background:var(--blue);min-height:360px;
  display:flex;flex-direction:column;justify-content:flex-end;
  position:relative;overflow:hidden;
}
.page-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.3) saturate(.5);}
.page-hero-pattern{
  position:absolute;right:-40px;bottom:-60px;font-size:280px;font-weight:700;
  color:rgba(255,255,255,.06);line-height:1;user-select:none;pointer-events:none;letter-spacing:-.05em;
}
.page-hero-content{position:relative;z-index:2;padding:60px var(--pad-x) 56px;}
.chapter-lbl{
  font-size:9px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;
  color:var(--beige);margin-bottom:16px;display:flex;align-items:center;gap:12px;
}
.chapter-lbl::before{content:'';width:24px;height:1px;background:var(--beige);flex-shrink:0;}
.page-h1{font-size:52px;font-weight:700;text-transform:uppercase;color:var(--white);line-height:1.05;letter-spacing:.01em;}
.page-h1 .acc{color:var(--beige);}
.page-intro{font-size:14px;font-weight:500;color:rgba(255,255,255,.75);max-width:600px;margin-top:16px;line-height:1.65;}

/* ══ HOME HERO ══ */
.home-hero{min-height:100vh;background:var(--dark);display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden;}
.hero-left{padding:calc(var(--nav-h) + 80px) var(--pad-x) 80px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2;}
.hero-eyebrow{font-size:9px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--beige);display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.hero-eyebrow::before{content:'';width:24px;height:1px;background:var(--beige);}
.hero-h1{font-size:60px;font-weight:700;text-transform:uppercase;color:var(--white);line-height:1.0;letter-spacing:-.01em;margin-bottom:28px;}
.hero-h1 .acc{color:var(--beige);}
.hero-body{font-size:14px;font-weight:300;color:rgba(255,255,255,.6);max-width:440px;line-height:1.75;margin-bottom:36px;}
.hero-right{position:relative;overflow:hidden;}
.hero-img-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.4) saturate(.6);}
.hero-stats{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.08);}
.stat-cell{background:rgba(255,255,255,.04);padding:32px 24px;}
.stat-cell.blue{background:var(--blue);}
.stat-num{font-size:42px;font-weight:200;color:var(--blue);line-height:1;}
.stat-num sup{font-size:20px;font-weight:400;}
.stat-num.wh{color:var(--white);}
.stat-lbl{font-size:9px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--grey);margin-top:8px;line-height:1.5;}
.stat-lbl.wh{color:rgba(255,255,255,.5);}

/* ══ SECTIONS ══ */
.sec{padding:90px var(--pad-x);}
.sec.grey-bg{background:var(--grey10);}
.sec.blue-bg{background:var(--blue);}
.sec.white-bg{background:var(--white);}
.sec.dark-bg{background:var(--dark);}

/* ══ BUTTONS ══ */
.btn-blue{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--white);background:var(--blue);padding:13px 30px;border:none;cursor:pointer;transition:background .2s;}
.btn-blue:hover{background:var(--blue75);color:var(--white);}
.btn-white{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);background:var(--white);padding:13px 30px;border:none;cursor:pointer;transition:background .2s;}
.btn-white:hover{background:var(--blue10);}
.btn-ghost{font-size:9px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.7);border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px;cursor:pointer;}
.arrow-link{display:inline-flex;align-items:center;gap:10px;font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);transition:gap .3s;}
.arrow-link::after{content:'';width:20px;height:1px;background:var(--blue);display:block;transition:width .3s;}
.arrow-link:hover{gap:16px;}
.arrow-link:hover::after{width:34px;}
.arrow-link.wh{color:var(--beige);}
.arrow-link.wh::after{background:var(--beige);}

/* ══ GRIDS ══ */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--grey25);}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:rgba(255,255,255,.1);}
.grid2x2{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--grey25);}

/* ══ CARDS ══ */
.card{background:var(--white);}
.card-img{overflow:hidden;position:relative;height:240px;background:linear-gradient(135deg,#0d2540,#1a4068);}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s;filter:brightness(.75) saturate(.7);}
.card:hover .card-img img{transform:scale(1.04);}
.card-letter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:140px;font-weight:700;color:rgba(255,255,255,.08);user-select:none;pointer-events:none;}
.card-num{position:absolute;top:18px;left:22px;font-size:9px;font-weight:600;letter-spacing:.2em;color:rgba(255,255,255,.45);text-transform:uppercase;}
.card-body{padding:32px 28px 36px;border-top:3px solid var(--blue);}
.card-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--blue);margin-bottom:12px;}
.card-p{font-size:11px;font-weight:300;color:var(--grey);line-height:1.8;}

/* ══ TEAM ══ */
.team-card{background:var(--white);overflow:hidden;}
.team-img{height:280px;overflow:hidden;background:var(--grey10);}
.team-img img{width:100%;height:100%;object-fit:cover;object-position:top center;filter:grayscale(20%);transition:transform .5s,filter .5s;}
.team-card:hover .team-img img{transform:scale(1.03);filter:grayscale(0%);}
.team-name-bar{background:var(--blue);padding:16px 22px 12px;}
.team-nm{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--white);}
.team-rl{font-size:9px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-top:3px;}
.team-qt{padding:16px 22px 22px;font-size:11px;font-weight:300;color:var(--grey);font-style:italic;line-height:1.65;border-left:2px solid var(--blue25);margin:0 22px 22px;padding-left:12px;}

/* ══ INSIGHT CARDS ══ */
.ins-card{background:var(--white);overflow:hidden;}
.ins-img{height:190px;overflow:hidden;background:var(--grey10);}
.ins-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s;filter:brightness(.85) saturate(.75);}
.ins-card:hover .ins-img img{transform:scale(1.04);}
.ins-body{padding:24px 24px 28px;}
.ins-cat{font-size:8px;font-weight:700;letter-spacing:.26em;text-transform:uppercase;color:var(--blue);margin-bottom:8px;}
.ins-title{font-size:12px;font-weight:600;color:var(--grey);line-height:1.4;margin-bottom:10px;text-transform:uppercase;letter-spacing:.03em;}
.ins-date{font-size:10px;font-weight:300;color:var(--grey75);}
.ins-lnk{display:inline-flex;align-items:center;gap:8px;font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);margin-top:14px;}
.ins-lnk::after{content:'';width:16px;height:1px;background:var(--blue);display:block;transition:width .3s;}
.ins-card:hover .ins-lnk::after{width:28px;}

/* ══ OFFICE CARDS ══ */
.off-card{background:rgba(255,255,255,.04);padding:32px 26px;transition:background .2s;}
.off-card:hover{background:rgba(255,255,255,.08);}
.off-city{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--white);margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.12);}
.off-detail{font-size:11px;font-weight:300;color:rgba(255,255,255,.45);line-height:1.75;}
.off-email{font-size:10px;font-weight:400;color:var(--beige);margin-top:12px;display:block;}

/* ══ QUOTE ══ */
.q-strip{background:var(--blue);padding:72px var(--pad-x);display:grid;grid-template-columns:64px 1fr 260px;gap:36px;align-items:center;}
.q-mark{font-size:110px;font-weight:700;color:rgba(255,255,255,.12);line-height:.8;user-select:none;}
.q-text{font-size:20px;font-weight:300;color:var(--white);line-height:1.55;}
.q-text strong{font-weight:600;color:var(--beige);}
.q-attr{text-align:right;padding-left:32px;border-left:3px solid rgba(255,255,255,.12);}
.q-name{font-size:11px;font-weight:600;color:var(--white);text-transform:uppercase;letter-spacing:.1em;}
.q-role{font-size:10px;font-weight:300;color:rgba(255,255,255,.45);margin-top:4px;}

/* ══ SPLIT ══ */
.split{display:grid;grid-template-columns:1fr 1fr;}
.split-blue{background:var(--blue);padding:90px var(--pad-x);}
.split-white{background:var(--white);padding:90px var(--pad-x);display:flex;flex-direction:column;justify-content:center;}

/* ══ TIMELINE ══ */
.timeline{position:relative;padding-left:32px;}
.timeline::before{content:'';position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:var(--blue25);}
.tl-item{position:relative;margin-bottom:40px;}
.tl-dot{position:absolute;left:-32px;top:4px;width:14px;height:14px;background:var(--blue);border:3px solid var(--white);box-shadow:0 0 0 1px var(--blue);}
.tl-year{font-size:10px;font-weight:700;letter-spacing:.14em;color:var(--blue);text-transform:uppercase;margin-bottom:4px;}
.tl-title{font-size:13px;font-weight:600;color:var(--black);margin-bottom:6px;}
.tl-body{font-size:12px;font-weight:300;color:var(--grey);line-height:1.75;}
.tl-item--highlight .tl-dot{background:var(--beige);box-shadow:0 0 0 1px var(--beige);}
.tl-item--highlight .tl-year{color:var(--beige);}
.tl-item--current .tl-dot{animation:tlpulse 2s infinite;}
@keyframes tlpulse{0%,100%{box-shadow:0 0 0 1px var(--blue);}50%{box-shadow:0 0 0 5px rgba(54,129,176,.2);}}

/* ══ PILLARS ══ */
.pillar{background:var(--white);padding:36px 28px;border-top:3px solid var(--blue);display:flex;flex-direction:column;gap:10px;}
.pillar-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--blue);}
.pillar-body{font-size:12px;font-weight:300;color:var(--grey);line-height:1.75;}

/* ══ SUB-NAV (interior pages) ══ */
.sub-nav{background:var(--blue);border-bottom:1px solid rgba(255,255,255,.1);position:sticky;top:var(--nav-h);z-index:400;display:flex;overflow-x:auto;scrollbar-width:none;}
.sub-nav::-webkit-scrollbar{display:none;}
.sub-nav a{flex-shrink:0;display:inline-flex;align-items:center;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6);padding:17px 24px;border-right:1px solid rgba(255,255,255,.1);transition:color .2s,background .2s;white-space:nowrap;}
.sub-nav a:hover,.sub-nav a.sub-active{color:var(--white);background:rgba(255,255,255,.08);}

/* ══ NS CONNECT ══ */
#nsconnect{scroll-margin-top:calc(var(--nav-h) + 60px);}
.ns-connect-grid{display:grid;grid-template-columns:280px 1fr;gap:60px;align-items:center;}
.ns-connect-features{list-style:none;display:flex;flex-direction:column;gap:14px;margin:24px 0 32px;}
.ns-connect-features li{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--grey);line-height:1.6;}
.ns-connect-features li::before{content:'›';color:var(--blue);font-weight:700;font-size:16px;flex-shrink:0;margin-top:-1px;}

/* ══ FORMS ══ */
.form-group{margin-bottom:20px;}
.form-label{font-size:9px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--grey);display:block;margin-bottom:8px;}
.form-input{width:100%;font-family:var(--font);font-size:12px;font-weight:300;color:var(--black);background:var(--white);border:1px solid var(--grey25);padding:12px 14px;outline:none;transition:border-color .2s;}
.form-input:focus{border-color:var(--blue);}
.form-select{width:100%;font-family:var(--font);font-size:12px;font-weight:300;color:var(--grey);background:var(--white);border:1px solid var(--grey25);padding:12px 14px;outline:none;appearance:none;}
.form-textarea{width:100%;font-family:var(--font);font-size:12px;font-weight:300;color:var(--black);background:var(--white);border:1px solid var(--grey25);padding:12px 14px;outline:none;resize:vertical;min-height:120px;transition:border-color .2s;}
.form-textarea:focus{border-color:var(--blue);}
.form-err{color:#c0392b;font-size:11px;margin-top:4px;display:none;}
.form-success{background:#eaf4ee;border:1px solid #86a644;color:#375623;padding:14px 18px;font-size:12px;margin-bottom:20px;}
.form-alert-box{background:#fdf0ee;border:1px solid #c0392b;color:#922;padding:14px 18px;font-size:12px;margin-bottom:20px;}

/* ══ ACCORDION ══ */
.accordion-item{border-bottom:1px solid var(--grey25);}
.accordion-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:22px 0;background:none;border:none;cursor:pointer;text-align:left;}
.accordion-title{font-size:15px;font-weight:500;color:var(--black);}
.accordion-icon{width:22px;height:22px;border:1px solid var(--grey25);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;color:var(--grey);transition:transform .2s;}
.accordion-open .accordion-icon{transform:rotate(45deg);}
.accordion-body{display:none;padding-bottom:22px;}
.accordion-open .accordion-body{display:block;}

/* ══ MODAL ══ */
.ns-modal-overlay{position:fixed;inset:0;z-index:9000;background:rgba(10,20,32,.65);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .25s;visibility:hidden;}
.ns-modal-overlay.open{opacity:1;pointer-events:auto;visibility:visible;}
body.modal-open{overflow:hidden;}
.ns-modal{background:var(--white);border-radius:12px;padding:2.5rem;max-width:600px;width:100%;position:relative;transform:translateY(12px);transition:transform .25s;max-height:90vh;overflow-y:auto;}
.ns-modal-overlay.open .ns-modal{transform:translateY(0);}
.ns-modal-close{position:absolute;top:18px;right:18px;width:32px;height:32px;background:none;border:none;cursor:pointer;font-size:22px;color:var(--grey);display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s;}
.ns-modal-close:hover{background:var(--grey10);}
.ns-modal-title{font-size:1.5rem;font-weight:700;color:var(--blue);margin-bottom:1rem;padding-right:2rem;}
.ns-modal-intro{font-size:.9rem;color:var(--black);line-height:1.7;margin-bottom:1.5rem;}
.ns-modal-field{margin-bottom:1.5rem;}
.ns-modal-label{display:block;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:.75rem;}
.ns-modal-sw{position:relative;}
.ns-modal-sel{width:100%;padding:.85rem 2.5rem .85rem 1rem;font-family:var(--font);font-size:.9rem;color:var(--grey);border:1px solid #d0d0d0;background:var(--white);appearance:none;cursor:pointer;transition:border-color .2s;}
.ns-modal-sel:focus{border-color:var(--blue);}
.ns-modal-sel-arr{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--grey);}
.ns-modal-rg{display:flex;gap:2rem;flex-wrap:wrap;}
.ns-modal-rl{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:.82rem;font-weight:700;letter-spacing:.06em;color:var(--black);}
.ns-modal-ri{position:absolute;opacity:0;width:0;height:0;}
.ns-modal-rc{width:22px;height:22px;border:1.5px solid #b0b0b0;border-radius:50%;flex-shrink:0;position:relative;transition:border-color .2s;}
.ns-modal-ri:checked+.ns-modal-rc{border-color:var(--blue);}
.ns-modal-ri:checked+.ns-modal-rc::after{content:'';position:absolute;inset:4px;background:var(--blue);border-radius:50%;}
.ns-modal-ri:focus-visible+.ns-modal-rc{outline:2px solid var(--blue);outline-offset:2px;}
.ns-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.75rem;padding-top:1.25rem;border-top:1px solid var(--grey10);flex-wrap:wrap;}
.ns-modal-enq{font-size:.84rem;color:var(--black);}
.ns-modal-enq a{color:var(--blue);text-decoration:underline;}
.ns-modal-sub{padding:.75rem 2rem;font-family:var(--font);font-size:.88rem;font-weight:700;color:var(--black);background:var(--white);border:1.5px solid var(--black);border-radius:30px;cursor:pointer;transition:background .2s,color .2s;}
.ns-modal-sub:hover{background:var(--black);color:var(--white);}
.ns-modal-merr{font-size:.78rem;color:#c0392b;margin-top:.4rem;display:none;}

/* ══ FUNDS PAGE ══ */
.funds-cap-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--grey25);margin-top:24px;}
.funds-cap-card{background:var(--white);padding:28px 24px;border-top:2px solid transparent;transition:border-color .2s;}
.funds-cap-card:hover{border-top-color:var(--blue);}
.funds-cap-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);margin-bottom:8px;}
.funds-cap-body{font-size:11px;color:var(--grey);line-height:1.7;}
.legal-placeholder{background:#fff3cd;border:1px solid #ffc107;padding:12px 16px;font-size:.82rem;color:#856404;margin-bottom:1rem;}

/* ══ FOOTER ══ */
.site-footer{background:var(--dark);border-top:3px solid var(--blue);padding:60px var(--pad-x) 36px;}
.footer-top{display:grid;grid-template-columns:260px 1fr 1fr 1fr;gap:48px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-logo-wrap{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.footer-logo-wrap img{width:36px;height:36px;object-fit:contain;}
.footer-brand-name{font-size:11px;font-weight:600;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.1em;}
.footer-since{font-size:8px;font-weight:300;color:rgba(255,255,255,.3);letter-spacing:.18em;text-transform:uppercase;margin-top:3px;display:block;}
.footer-desc{font-size:11px;font-weight:300;color:rgba(255,255,255,.35);line-height:1.8;margin-top:14px;max-width:230px;}
.footer-social{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px;color:rgba(255,255,255,.46);}
.footer-social span{font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);margin-right:2px;}
.footer-social a{width:30px;height:30px;border:1px solid rgba(255,255,255,.14);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);transition:color .2s,background .2s,border-color .2s;}
.footer-social a:hover{color:var(--white);background:var(--blue);border-color:var(--blue);}
.footer-social svg{width:16px;height:16px;display:block;}
.footer-social .footer-social-text{font-size:9px;font-weight:800;letter-spacing:.08em;text-decoration:none;}
.footer-col h4{font-size:9px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--blue);margin-bottom:18px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.07);}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:9px;}
.footer-col ul li a{font-size:11px;font-weight:300;color:rgba(255,255,255,.4);transition:color .2s;}
.footer-col ul li a:hover{color:var(--blue);}
.footer-bottom{padding-top:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;}
.footer-legal{font-size:10px;font-weight:300;color:rgba(255,255,255,.22);line-height:1.6;max-width:680px;}
.footer-reg{font-size:9px;font-weight:500;letter-spacing:.14em;color:var(--blue75);text-transform:uppercase;flex-shrink:0;}


/* ══ LEGAL PAGES ══ */
.ns-legal-page{max-width:980px;margin:0 auto;padding:64px var(--pad-x) 76px;}
.ns-legal-card{background:var(--white);border:1px solid var(--grey25);box-shadow:0 24px 70px rgba(10,20,32,.06);padding:46px 52px;}
.ns-legal-kicker{font-size:9px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--blue);margin-bottom:16px;}
.ns-legal-lead{font-size:15px;font-weight:500;color:var(--grey);line-height:1.75;margin-bottom:34px;padding-bottom:28px;border-bottom:1px solid var(--grey25);}
.ns-legal-page h2{font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--blue);margin:34px 0 12px;line-height:1.35;}
.ns-legal-page h3{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--grey);margin:24px 0 10px;line-height:1.45;}
.ns-legal-page p,.ns-legal-page li{font-size:13px;font-weight:300;color:var(--black);line-height:1.85;}
.ns-legal-page p{margin-bottom:12px;}
.ns-legal-page ul,.ns-legal-page ol{margin:12px 0 18px 22px;}
.ns-legal-page a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;}
.ns-legal-note{background:var(--blue10);border-left:3px solid var(--blue);padding:16px 18px;margin:22px 0;color:var(--grey);}
.ns-legal-table{width:100%;border-collapse:collapse;margin:18px 0 28px;border:1px solid var(--grey25);}
.ns-legal-table th,.ns-legal-table td{border-bottom:1px solid var(--grey25);padding:13px 14px;text-align:left;vertical-align:top;font-size:12px;line-height:1.65;}
.ns-legal-table th{font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue);background:var(--grey10);}
.ns-legal-updated{font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--grey75);margin-top:34px;padding-top:20px;border-top:1px solid var(--grey25);}
@media (max-width:768px){.ns-legal-page{padding:44px 20px 56px;}.ns-legal-card{padding:30px 22px;}.ns-legal-table{display:block;overflow-x:auto;}.ns-legal-page h2{font-size:14px;}}

/* ══ GUTENBERG BLOCK SUPPORT ══ */
.wp-block-group.ns-hero-section,
.wp-block-group.ns-section{display:block;}
.entry-content .wp-block-columns{display:grid;gap:40px;}
.entry-content .wp-block-column{min-width:0;}

/* ══ UTILITY ══ */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;}
.mt16{margin-top:16px;}.mt24{margin-top:24px;}.mt32{margin-top:32px;}.mt48{margin-top:48px;}
.mb16{margin-bottom:16px;}.mb24{margin-bottom:24px;}.mb32{margin-bottom:32px;}
.text-center{text-align:center;}
.w-full{width:100%;}
.flex-row{display:flex;gap:16px;flex-wrap:wrap;}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Desktop:      > 1024px — full nav
   Tablet/Mobile: ≤ 1024px — hamburger
   Mobile:        ≤ 768px
   Small mobile:  ≤ 480px
══════════════════════════════════════════════════════════════ */

/* ── 1440px ── */
@media (max-width:1440px){
  .hero-h1{font-size:52px;}
}

/* ── 1200px ── */
@media (max-width:1200px){
  :root{--pad-x:40px;}
  #ns-primary-menu{gap:20px;}
  .footer-top{grid-template-columns:220px 1fr 1fr;}
  .footer-top .footer-col:last-child{grid-column:2;}
}

/* ── ≤ 1024px: TABLET + MOBILE ── */
@media (max-width:1024px){
  :root{--pad-x:32px;}

  /* Header */
  .nav-inner{padding:0 24px;}
  .nav-cta{display:none;}

  /* Hide desktop nav, show hamburger */
  .nav-menu-wrap{display:none!important;}
  #ns-primary-menu{display:none!important;}
  .nav-toggle{display:flex!important;}

  /* Sections */
  .sec{padding:60px 24px;}
  .page-hero-content{padding:40px 24px 48px;}
  .page-h1{font-size:38px;}

  /* Layouts */
  .home-hero{grid-template-columns:1fr;min-height:auto;}
  .hero-left{padding:calc(var(--nav-h) + 48px) 24px 48px;}
  .hero-right{min-height:280px;position:relative;}
  .hero-stats{grid-template-columns:repeat(4,1fr);position:relative;}
  .grid2,.split,.grid3{grid-template-columns:1fr;}
  .split-blue,.split-white{padding:60px 24px;}
  .grid4{grid-template-columns:1fr 1fr;}
  .q-strip{grid-template-columns:1fr;padding:48px 24px;}
  .q-mark,.q-attr{display:none;}
  .ns-connect-grid{grid-template-columns:1fr;}
  .funds-cap-grid{grid-template-columns:1fr 1fr;}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
  .footer-top .footer-col:last-child{grid-column:auto;}
  .trust-bar{padding:12px 24px;}
}

/* ── ≤ 768px: MOBILE ── */
@media (max-width:768px){
  :root{--pad-x:20px;}

  .hero-h1{font-size:36px;}
  .page-h1{font-size:30px;}
  .hl1{font-size:28px;}
  .q-text{font-size:16px;}

  .sec{padding:48px 20px;}
  .page-hero-content{padding:32px 20px 40px;}

  .grid4{grid-template-columns:1fr 1fr;}
  .hero-stats{grid-template-columns:1fr 1fr;}
  .grid2x2{grid-template-columns:1fr 1fr;}
  .funds-cap-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;gap:32px;}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:12px;}

  .ns-modal{padding:1.5rem;}
  .ns-modal-title{font-size:1.25rem;}
  .ns-modal-rg{flex-direction:column;gap:1rem;}
  .ns-modal-foot{flex-direction:column;align-items:flex-start;}
  .ns-modal-sub{width:100%;text-align:center;}

  /* No CTA dot on mobile menu sub-nav */
  .sub-nav a{padding:14px 16px;font-size:9px;}
}

/* ── ≤ 480px: SMALL MOBILE ── */
@media (max-width:480px){
  .hero-h1{font-size:28px;}
  .page-h1{font-size:26px;}
  .hl1{font-size:24px;}
  .hero-stats{grid-template-columns:1fr 1fr;}
  .stat-num{font-size:34px;}
  .grid4{grid-template-columns:1fr 1fr;}

  .nav-inner{padding:0 16px;}
  .mobile-nav ul li a{padding:14px 16px;font-size:12px;}
  .mobile-nav-logo{padding:16px;}
}

/* ══ PREVENT HORIZONTAL OVERFLOW ══ */
html,body{max-width:100%;overflow-x:hidden;}
.site-header,.mobile-nav{max-width:100vw;}
.home-hero,.page-hero,.split,.sec,.footer-top{overflow:hidden;}
*{min-width:0;}


/* ══════════════════════════════════════════════════════════════
   NS PARTNERS v1.4 — PREMIUM REDESIGN
   Fixes: exec carousel, talent grid, hero layout, CHF, fonts
══════════════════════════════════════════════════════════════ */

/* ── TRUST BAR: REMOVE GLOBALLY ── */
.trust-bar,
.wm-anchor-nav + .trust-bar,
.page-hero + .trust-bar { display: none !important; }

/* ── GLOBAL FONT IMPROVEMENTS ── */
body { font-size: 16px; font-weight: 300; line-height: 1.8; }
.body-t { font-size: 15px; line-height: 1.85; }
.body-t.lt { font-size: 15px; color: rgba(255,255,255,.7); }
.chapeau { font-size: 18px; font-weight: 500; line-height: 1.65; }
.card-p { font-size: 14px; line-height: 1.8; }
.pillar-body { font-size: 14px; line-height: 1.8; }
.off-detail { font-size: 13px; line-height: 1.75; }
.ins-title { font-size: 15px; font-weight: 600; line-height: 1.45; }
.ins-date { font-size: 12px; color: var(--grey75); }
.tl-body { font-size: 14px; line-height: 1.8; }
.tl-title { font-size: 16px; font-weight: 600; }
.funds-cap-body { font-size: 14px; line-height: 1.75; }
.accordion-title { font-size: 17px; font-weight: 500; }
.form-input, .form-select, .form-textarea { font-size: 15px; padding: 14px 16px; }
.form-label { font-size: 11px; letter-spacing: .2em; }
#ns-primary-menu > li > a { font-size: 11px; letter-spacing: .13em; }
.nav-cta { font-size: 10px; letter-spacing: .18em; padding: 11px 22px; }
.footer-col ul li a { font-size: 13px; }
.footer-desc { font-size: 13px; line-height: 1.85; }
.footer-legal { font-size: 11px; line-height: 1.7; }
.hero-body { font-size: 16px; font-weight: 400; color: rgba(255,255,255,.75); }
.hero-eyebrow { font-size: 11px; letter-spacing: .22em; }

/* ── CHF STAT FORMATTING ── */
/* Use: <span class="stat-currency">CHF</span><span class="stat-value">14</span><span class="stat-unit">Bn</span> */
.stat-currency {
    font-size: 0.28em;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    vertical-align: super;
    opacity: .7;
    margin-right: 3px;
}
.stat-num { font-size: 54px; font-weight: 200; line-height: 1; }
.stat-lbl { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; line-height: 1.5; }

/* ── HERO SECTION — FIXED LAYOUT ── */
.home-hero {
    min-height: 100vh;
    background: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px var(--pad-x) 80px;
    position: relative;
    z-index: 2;
}
.hero-h1 {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.02;
    letter-spacing: -.01em;
    margin-bottom: 28px;
}
.hero-h1 .acc { color: var(--beige); }
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--beige); }
.hero-body {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    max-width: 420px;
    line-height: 1.75;
    margin-bottom: 40px;
}
/* Hero right: image fills entire right panel, stats sit at bottom */
.hero-right {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-img-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.35) saturate(.4);
    z-index: 0;
}
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(54,129,176,.3) 0%, rgba(10,20,32,.7) 100%);
    z-index: 1;
}
/* Stats bar at the very bottom of the right panel */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.stat-cell {
    padding: 24px 20px;
    border-left: 1px solid rgba(255,255,255,.1);
}
.stat-cell:first-child { border-left: none; }
.stat-cell.blue { background: var(--blue); }
.stat-num { font-size: 40px; font-weight: 200; color: var(--blue); line-height: 1; }
.stat-num.wh { color: var(--white); }
.stat-lbl { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.stat-lbl.wh { color: rgba(255,255,255,.6); }

/* ── EXECUTIVE COMMITTEE — PREMIUM HORIZONTAL CARD CAROUSEL ── */
.ns-exec-section {
    padding: 0;
    background: var(--white);
}
.ns-exec-header {
    padding: 64px var(--pad-x) 40px;
    border-bottom: 1px solid var(--grey25);
}
.ns-exec-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
}
.ns-exec-title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    letter-spacing: .01em;
}

/* Horizontal card carousel */
.ns-exec-track-wrap {
    position: relative;
    overflow: hidden;
}
.ns-exec-track {
    display: flex;
    gap: 0;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.ns-exec-card {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--grey25);
    cursor: pointer;
    background: var(--white);
}
.ns-exec-card-img {
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d2040, #1a406a);
    position: relative;
}
.ns-exec-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(15%);
    transition: transform .6s ease, filter .4s;
    display: block;
}
.ns-exec-card:hover .ns-exec-card-img img { transform: scale(1.04); filter: grayscale(0%); }
.ns-exec-card-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 200;
    color: rgba(255,255,255,.2);
}
.ns-exec-card-body {
    padding: 24px 24px 28px;
    border-top: 3px solid var(--blue);
}
.ns-exec-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
    line-height: 1.3;
}
.ns-exec-card-role {
    font-size: 11px;
    font-weight: 500;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.5;
}
.ns-exec-card-loc {
    display: inline-block;
    margin-top: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--grey75);
    background: var(--grey10);
    padding: 3px 10px;
}

/* Carousel navigation */
.ns-exec-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--pad-x);
    border-top: 1px solid var(--grey25);
    background: var(--grey10);
}
.ns-exec-nav-arrows {
    display: flex;
    gap: 12px;
}
.ns-exec-arrow {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--grey25);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    font-size: 18px;
    color: var(--grey);
}
.ns-exec-arrow:hover:not(:disabled) {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}
.ns-exec-arrow:disabled { opacity: .35; cursor: not-allowed; }
.ns-exec-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.ns-exec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grey25);
    cursor: pointer;
    transition: background .2s, transform .2s;
    border: none;
    padding: 0;
}
.ns-exec-dot.active { background: var(--blue); transform: scale(1.3); }
.ns-exec-cta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
}

/* ── OUR TALENT — PREMIUM GRID / LIST HYBRID ── */
.ns-talent-section {
    padding: 80px var(--pad-x);
    background: var(--white);
}
.ns-talent-header { margin-bottom: 48px; }
.ns-talent-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ns-talent-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--blue); }

/* Department filter tabs */
.ns-talent-filters {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 2px solid var(--grey25);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 52px;
}
.ns-talent-filters::-webkit-scrollbar { display: none; }
.ns-talent-filter-btn {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--grey);
    padding: 16px 22px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.ns-talent-filter-btn:hover { color: var(--blue); }
.ns-talent-filter-btn.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
    font-weight: 700;
}
.ns-talent-filter-sep {
    color: var(--grey25);
    font-size: 16px;
    flex-shrink: 0;
    user-select: none;
    align-self: center;
}

/* Talent grid */
.ns-talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ns-talent-card {
    background: var(--white);
    border: 1px solid var(--grey25);
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
    cursor: default;
}
.ns-talent-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    transform: translateY(-3px);
}
.ns-talent-card-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #0e2140, #1a4068);
    position: relative;
}
.ns-talent-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(10%);
    transition: transform .5s ease;
    display: block;
}
.ns-talent-card:hover .ns-talent-card-photo img { transform: scale(1.04); }
.ns-talent-card-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 200;
    color: rgba(255,255,255,.25);
    letter-spacing: .05em;
}
.ns-talent-card-body {
    padding: 20px 20px 22px;
    border-top: 2px solid var(--blue);
}
.ns-talent-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 5px;
    line-height: 1.3;
}
.ns-talent-card-role {
    font-size: 11px;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.5;
}
.ns-talent-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.ns-talent-card-loc {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--grey75);
    background: var(--grey10);
    padding: 3px 8px;
}
.ns-talent-card-dept {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--blue75);
    padding: 3px 8px;
}
/* Hidden state for filtering */
.ns-talent-card[hidden],
.ns-talent-card.ns-hidden { display: none !important; }

/* ── INSIGHTS — REAL CATEGORY TABS ── */
.ns-insights-cats {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-bottom: 2px solid var(--grey25);
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 var(--pad-x);
}
.ns-insights-cats::-webkit-scrollbar { display: none; }
.ns-insights-cat-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--grey);
    padding: 18px 20px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
    text-decoration: none;
    white-space: nowrap;
}
.ns-insights-cat-link:hover { color: var(--blue); }
.ns-insights-cat-link.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
    font-weight: 700;
}

/* ── RESPONSIVE FIXES ── */
@media (max-width: 1200px) {
    .ns-exec-card { flex: 0 0 33.333%; max-width: 33.333%; }
    .ns-talent-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    :root { --pad-x: 32px; }
    .home-hero { grid-template-columns: 1fr; padding-top: var(--nav-h); }
    .hero-left { padding: 64px 32px 48px; }
    .hero-right { min-height: 360px; }
    .hero-h1 { font-size: 52px; }
    .ns-exec-card { flex: 0 0 50%; max-width: 50%; }
    .ns-talent-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-menu-wrap, #ns-primary-menu { display: none !important; }
    .nav-toggle { display: flex !important; }
    .nav-cta { display: none; }
}
@media (max-width: 768px) {
    :root { --pad-x: 20px; }
    .hero-h1 { font-size: 40px; }
    .hero-body { font-size: 15px; }
    .ns-exec-card { flex: 0 0 100%; max-width: 100%; }
    .ns-exec-card-img { height: 280px; }
    .ns-talent-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .ns-talent-card-photo { height: 200px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .ns-insights-cats { padding: 0 20px; }
    .ns-talent-section { padding: 60px 20px; }
    .ns-exec-header { padding: 48px 20px 32px; }
    .ns-exec-nav { padding: 20px; }
}
@media (max-width: 480px) {
    .hero-h1 { font-size: 32px; }
    .ns-talent-grid { grid-template-columns: 1fr; }
    .ns-talent-card-photo { height: 240px; }
    .stat-num { font-size: 32px; }
}

/* ── ARTICLE BODY ── */
.ns-article-body { font-size: 17px; line-height: 1.85; color: var(--black); }
.ns-article-body h1,.ns-article-body h2,.ns-article-body h3 { font-weight: 700; color: var(--black); margin: 36px 0 16px; text-transform: uppercase; letter-spacing: .02em; }
.ns-article-body h2 { font-size: 24px; }
.ns-article-body h3 { font-size: 20px; }
.ns-article-body p { margin-bottom: 22px; }
.ns-article-body img { max-width: 100%; height: auto; display: block; margin: 32px auto; }
.ns-article-body blockquote { border-left: 4px solid var(--blue); padding: 16px 24px; margin: 32px 0; background: var(--blue10); font-size: 18px; font-style: italic; color: var(--blue); }
.ns-article-body a { color: var(--blue); text-decoration: underline; }
.ns-article-body ul, .ns-article-body ol { padding-left: 24px; margin-bottom: 22px; }
.ns-article-body li { margin-bottom: 8px; }
.ns-article-body strong { font-weight: 700; }
.ns-article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.ns-article-body table th { background: var(--blue); color: var(--white); padding: 10px 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.ns-article-body table td { padding: 10px 14px; border-bottom: 1px solid var(--grey25); font-size: 14px; }
.ns-article-body table tr:hover td { background: var(--blue10); }

/* ── INSIGHTS CAROUSEL ── */
.ns-ins-carousel-wrap {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.ns-ins-carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.ns-ins-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}
.ns-ins-slide-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#0d2040,#1a406a);
}
.ns-ins-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    display: block;
    transition: transform .6s ease;
}
.ns-ins-slide-img a:hover img { transform: scale(1.04); }
.ns-ins-slide-img a { display: block; height: 100%; }
.ns-ins-slide-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 52px;
    background: var(--dark);
}
.ns-ins-slide-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.ns-ins-slide-cat::before { content: ''; width: 20px; height: 1px; background: var(--beige); }
.ns-ins-slide-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
    transition: color .2s;
}
.ns-ins-slide-title:hover { color: var(--beige); }
.ns-ins-slide-excerpt {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,.6);
    line-height: 1.75;
    margin-bottom: 28px;
    flex: 1;
}
.ns-ins-slide-date { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .1em; margin-bottom: 24px; }
.ns-ins-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--beige);
    border-bottom: 1px solid rgba(207,184,150,.3);
    padding-bottom: 2px;
    width: fit-content;
    text-decoration: none;
    transition: gap .3s;
}
.ns-ins-slide-link:hover { gap: 16px; }

/* Carousel controls */
.ns-ins-carousel-controls {
    position: absolute;
    bottom: 28px;
    right: 52px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 4;
}
.ns-ins-car-arrow {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-size: 16px;
    transition: background .2s, border-color .2s;
    backdrop-filter: blur(4px);
}
.ns-ins-car-arrow:hover { background: var(--blue); border-color: var(--blue); }
.ns-ins-car-arrow:disabled { opacity: .3; cursor: not-allowed; }
.ns-ins-car-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.ns-ins-car-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background .2s, transform .2s;
}
.ns-ins-car-dot.active { background: var(--white); transform: scale(1.4); }
.ns-ins-slide-counter {
    font-size: 11px;
    color: rgba(255,255,255,.35);
    letter-spacing: .1em;
    min-width: 40px;
}

/* Card improvements */
.ins-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}
.ins-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-2px); }
.ins-img { height: 210px; overflow: hidden; position: relative; background: var(--blue10); flex-shrink: 0; }
.ins-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ins-card:hover .ins-img img { transform: scale(1.04); }
.ins-img a { display: block; height: 100%; }
.ins-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.ins-cat { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; display: block; text-decoration: none; }
.ins-cat:hover { text-decoration: underline; }
.ins-title { font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.4; margin-bottom: 8px; letter-spacing: .02em; }
.ins-title a { color: inherit; text-decoration: none; transition: color .2s; }
.ins-title a:hover { color: var(--blue); }
.ins-date { font-size: 11px; color: var(--grey75); margin-bottom: 10px; }
.ins-excerpt { font-size: 13px; color: var(--grey); line-height: 1.65; flex: 1; }
.ins-lnk { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); text-decoration: none; transition: gap .3s; }
.ins-lnk::after { content: ''; width: 14px; height: 1px; background: var(--blue); display: block; transition: width .3s; }
.ins-card:hover .ins-lnk::after { width: 24px; }

/* Responsive carousel */
@media (max-width: 900px) {
    .ns-ins-slide { grid-template-columns: 1fr; min-height: auto; }
    .ns-ins-slide-img { height: 240px; }
    .ns-ins-slide-body { padding: 36px 28px; }
    .ns-ins-slide-title { font-size: 22px; }
    .ns-ins-carousel-controls { right: 28px; bottom: 20px; }
}
@media (max-width: 600px) {
    .ns-ins-slide-body { padding: 28px 20px; }
    .ns-ins-slide-title { font-size: 18px; }
}

/* ══ NS CONNECT BUTTON IN HEADER ══ */
.nav-nsconnect-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    border: 1.5px solid var(--blue25);
    padding: 7px 14px;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    text-decoration: none;
}
.nav-nsconnect-btn:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.nav-nsconnect-btn svg { flex-shrink: 0; }

/* Mobile NS Connect */
.mobile-nav-nsconnect {
    padding: 14px 24px;
    border-top: 1px solid var(--grey25);
    border-bottom: 1px solid var(--grey10);
}
.mobile-nav-nsconnect a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    text-decoration: none;
}
.mobile-nav-nsconnect a:hover { text-decoration: underline; }

/* Hide NS Connect on small mobile to avoid nav overcrowding */
@media (max-width: 768px) {
    .nav-nsconnect-btn span { display: none; }
    .nav-nsconnect-btn { padding: 7px 10px; }
}
