/* ==========================================================================
   Ndakum Consulting Services — Design System
   Palette: deep navy + momentum orange, echoing the existing brand mark.
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (data & labels)
   Signature: the "momentum chevron" — a diagonal arrow motif carried through
   section dividers, hovers, and list markers, drawn from the logo's arrow.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600;700&family=Big+Shoulders+Display:wght@800;900&display=swap');

:root{
  --navy-950:#081430;
  --navy-800:#0B1F4D;
  --navy-700:#13285C;
  --teal-600:#0E7A6C;
  --teal-500:#129985;
  --teal-400:#2DD4BF;
  --cream-50:#F7F5F0;
  --cream-100:#EFEBE1;
  --ink-900:#1A1F2B;
  --slate-500:#667085;
  --slate-300:#9AA1AF;
  --line-200:#E3DFD5;
  --white:#FFFFFF;

  --display: 'Fraunces', serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --container: 1200px;
  --radius: 4px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink-900);
  background:var(--cream-50);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--display); margin:0; color:var(--navy-950); line-height:1.1; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
  outline:3px solid var(--teal-500);
  outline-offset:3px;
}

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

.eyebrow{
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal-600);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--teal-600);
  display:inline-block;
}

/* ---------- Chevron signature ---------- */
.chevron{
  display:inline-block;
  width:9px; height:9px;
  border-right:2.5px solid currentColor;
  border-bottom:2.5px solid currentColor;
  transform:rotate(-45deg);
  transition:transform .2s ease;
}
.hero::after, .page-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:24px;
  background:var(--cream-50);
  clip-path:polygon(0% 100%,0% 45%,4.16% 100%,8.32% 45%,12.48% 100%,16.64% 45%,20.8% 100%,24.96% 45%,29.12% 100%,33.28% 45%,37.44% 100%,41.6% 45%,45.76% 100%,49.92% 45%,54.08% 100%,58.24% 45%,62.4% 100%,66.56% 45%,70.72% 100%,74.88% 45%,79.04% 100%,83.2% 45%,87.36% 100%,91.52% 45%,95.68% 100%,99.84% 45%,100% 100%);
  z-index:3;
}

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--white);
  border-bottom:1px solid var(--line-200);
}
.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:16px;
  padding-bottom:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-icon{
  height:48px;
  width:auto;
  display:block;
  transition:transform .15s ease;
}
.brand:hover .brand-icon{ transform:translateY(-1px); }
.brand:hover .brand-logo{ transform:translateY(-1px); }
.topbar-info{
  display:flex;
  align-items:center;
  gap:34px;
}
.topbar-item{
  display:flex;
  align-items:center;
  gap:10px;
}
.topbar-item .ic{
  width:34px; height:34px;
  border-radius:50%;
  background:var(--cream-100);
  color:var(--teal-600);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.topbar-item .tl{
  font-size:12px;
  color:var(--slate-500);
  font-weight:600;
}
.topbar-item .tv{
  font-size:14.5px;
  font-weight:700;
  color:var(--navy-950);
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--mono);
  font-weight:600;
  font-size:13px;
  letter-spacing:.04em;
  padding:14px 26px;
  border-radius:100px;
  border:1.5px solid transparent;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--teal-600); color:var(--white); box-shadow:0 10px 24px rgba(14,122,108,.28); }
.btn-primary:hover{ background:var(--teal-500); }
.btn-ghost-navy{ border-color:var(--navy-800); color:var(--navy-950); }
.btn-ghost-navy:hover{ background:var(--navy-950); color:var(--white); }
.btn-on-navy{ border-color:rgba(255,255,255,.4); color:var(--white); }
.btn-on-navy:hover{ background:var(--white); color:var(--navy-950); border-color:var(--white); }

/* ---------- Main nav ---------- */
.mainnav{
  background:var(--navy-950);
  position:sticky; top:0; z-index:50;
}
.mainnav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 0;
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:16px;
}
.navlinks{
  display:flex;
  align-items:center;
  gap:6px;
  height:100%;
}
.navlinks > li{ position:relative; height:100%; display:flex; align-items:center; }
.navlinks a{
  font-size:14.5px;
  font-weight:600;
  color:rgba(255,255,255,.82);
  padding:9px 16px;
  margin:9px 2px;
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:100px;
  transition:color .15s ease, background .15s ease;
}
.navlinks a:hover, .navlinks a.active{
  color:var(--white);
  background:rgba(255,255,255,.1);
}
.navlinks .caret{
  width:7px; height:7px;
  border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  transform:rotate(45deg);
  margin-top:-3px;
}
.dropdown{
  position:absolute;
  top:100%; left:0;
  background:var(--white);
  min-width:280px;
  border-top:3px solid var(--teal-600);
  box-shadow:0 18px 40px rgba(8,20,48,.25);
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1; visibility:visible; transform:translateY(0);
}
.dropdown a{
  color:var(--navy-950);
  padding:11px 12px;
  border-radius:3px;
  border-bottom:none;
  font-size:13.5px;
  justify-content:space-between;
}
.dropdown a:hover{ background:var(--cream-50); color:var(--teal-600); }
.dropdown a .chevron{ opacity:0; transform:translateX(-4px) rotate(-45deg); }
.dropdown a:hover .chevron{ opacity:1; transform:translateX(0) rotate(-45deg); }

.navtoggle{
  display:none;
  width:40px; height:40px;
  border:1px solid rgba(255,255,255,.3);
  background:transparent;
  color:var(--white);
  border-radius:3px;
  align-items:center; justify-content:center;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:var(--navy-950);
  color:var(--white);
  overflow:hidden;
  padding:96px 0 110px;
}
.hero::before{
  content:"";
  position:absolute;
  top:-220px; right:-160px;
  width:560px; height:560px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(45,212,191,.55), rgba(14,122,108,.05) 70%);
  z-index:1;
  pointer-events:none;
}
.hero .wrap{ position:relative; z-index:2; }
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}
.hero h1{
  color:var(--white);
  font-size:clamp(38px,4.6vw,62px);
  font-weight:700;
  letter-spacing:-.01em;
}
.hero h1 em{
  font-style:normal;
  color:var(--teal-400);
}
.hero-sub{
  margin-top:22px;
  font-size:17.5px;
  color:rgba(255,255,255,.72);
  max-width:46ch;
  line-height:1.7;
}
.hero-cta{
  margin-top:34px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero-stats{
  margin-top:56px;
  display:flex;
  gap:40px;
  flex-wrap:wrap;
}
.hero-stat .num{
  font-family:var(--mono);
  font-size:28px;
  font-weight:600;
  color:var(--teal-400);
}
.hero-stat .lbl{
  font-size:12.5px;
  color:rgba(255,255,255,.6);
  margin-top:4px;
}
.hero-visual{
  position:relative;
  aspect-ratio:1/1.05;
}
.hero-visual svg{ width:100%; height:100%; }
.hero-bg-arrows{
  position:absolute; inset:0;
  z-index:1;
  opacity:.5;
  pointer-events:none;
}

/* ---------- Sections ---------- */
.section{ padding:88px 0; }
.section-cream{ background:var(--cream-50); }
.section-white{ background:var(--white); }
.section-navy{ background:var(--navy-950); color:var(--white); }
.section-head{
  max-width:640px;
  margin-bottom:52px;
}
.section-head h2{
  font-size:clamp(28px,3vw,38px);
  margin-top:14px;
}
.section-navy .section-head h2{ color:var(--white); }

/* ---------- Service cards ---------- */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}
.card{
  background:var(--white);
  border:1px solid var(--line-200);
  border-left:3px solid var(--teal-600);
  border-radius:0 16px 16px 0;
  padding:34px 30px;
  box-shadow:0 4px 16px rgba(8,20,48,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(8,20,48,.12);
}
.card .idx{
  font-family:var(--mono);
  font-size:12.5px;
  color:var(--slate-500);
  letter-spacing:.08em;
}
.card h3{
  font-size:20px;
  margin-top:16px;
  font-weight:600;
}
.card p{
  margin-top:12px;
  color:var(--slate-500);
  font-size:14.5px;
  line-height:1.7;
}
.card .more{
  margin-top:20px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--mono);
  font-size:12.5px;
  font-weight:600;
  color:var(--teal-600);
}
.card .more .chevron{ transform:rotate(-45deg); }
.card:hover .more .chevron{ transform:translate(3px,0) rotate(-45deg); }

/* ---------- About / split panels ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.stat-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:20px;
}
.stat-box{
  padding:26px 20px;
  background:var(--white);
  border:1px solid var(--line-200);
  border-radius:12px;
  text-align:left;
}
.stat-box .num{
  font-family:var(--mono);
  font-size:30px;
  font-weight:600;
  color:var(--navy-950);
}
.stat-box .num span{ color:var(--teal-600); }
.stat-box .lbl{
  margin-top:6px;
  font-size:13px;
  color:var(--slate-500);
}
.values-list li{
  display:flex;
  gap:16px;
  padding:20px 0;
  border-top:1px solid var(--line-200);
}
.values-list li:last-child{ border-bottom:1px solid var(--line-200); }
.values-list .vnum{
  font-family:var(--mono);
  color:var(--teal-600);
  font-weight:600;
  flex-shrink:0;
}
.values-list h4{ font-size:17px; font-weight:600; }
.values-list p{ color:var(--slate-500); font-size:14.5px; margin-top:6px; }

/* ---------- Process ---------- */
.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}
.process-step{
  padding:0 26px 0 0;
  position:relative;
}
.process-step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:20px; right:-4px;
  width:9px; height:9px;
  border-right:2px solid var(--teal-600);
  border-bottom:2px solid var(--teal-600);
  transform:rotate(-45deg);
}
.process-step .pnum{
  font-family:var(--mono);
  font-size:13px;
  color:var(--teal-600);
  font-weight:600;
}
.process-step h4{
  margin-top:14px;
  font-size:17px;
  font-weight:600;
}
.process-step p{
  margin-top:10px;
  font-size:14px;
  color:var(--slate-500);
}

/* ---------- Testimonial ---------- */
.testimonial{
  background:var(--navy-950);
  color:var(--white);
  padding:70px 0;
}
.testimonial-quote{
  font-family:var(--display);
  font-size:clamp(22px,2.6vw,30px);
  font-weight:500;
  max-width:820px;
  line-height:1.5;
}
.testimonial-quote::before{ content:"“"; color:var(--teal-400); }
.testimonial-quote::after{ content:"”"; color:var(--teal-400); }
.testimonial-who{
  margin-top:28px;
  display:flex;
  align-items:center;
  gap:14px;
}
.avatar-photo{
  width:48px; height:48px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,.15);
}
.team-photo{
  width:64px; height:64px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:16px;
  border:2px solid var(--cream-100);
}
.testimonial-who .avatar{
  width:44px; height:44px;
  border-radius:50%;
  background:var(--teal-600);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono);
  font-weight:600;
}
.testimonial-who .name{ font-weight:700; }
.testimonial-who .role{ font-size:13px; color:rgba(255,255,255,.6); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--teal-600);
  color:var(--white);
  padding:60px 0;
}
.cta-banner .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
}
.cta-banner h3{ color:var(--white); font-size:clamp(22px,2.6vw,30px); }
.cta-banner p{ margin-top:8px; color:rgba(255,255,255,.85); }

/* ---------- Blog ---------- */
.post-card{
  background:var(--white);
  border:1px solid var(--line-200);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 4px 16px rgba(8,20,48,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}
.post-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(8,20,48,.09);
}
.post-thumb{
  height:170px;
  position:relative;
  overflow:hidden;
}
.post-thumb svg{ width:100%; height:100%; }
.post-body{ padding:26px; }
.post-meta{
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:.06em;
  color:var(--teal-600);
  text-transform:uppercase;
}
.post-body h3{
  margin-top:12px;
  font-size:19px;
  font-weight:600;
  line-height:1.35;
}
.post-body p{
  margin-top:10px;
  color:var(--slate-500);
  font-size:14px;
}
.post-foot{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12.5px;
  color:var(--slate-500);
}
.extra-post{ display:none; }

/* ---------- Article page ---------- */
.article-meta{
  display:flex;
  gap:16px;
  align-items:center;
  margin-top:18px;
  font-family:var(--mono);
  font-size:12.5px;
  color:rgba(255,255,255,.65);
  flex-wrap:wrap;
}
.category-badge{
  display:inline-block;
  padding:4px 12px;
  border-radius:3px;
  background:rgba(255,255,255,.12);
  color:var(--teal-400);
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.article-body{
  max-width:720px;
  margin:0 auto;
}
.article-lede{
  font-family:var(--display);
  font-size:19px;
  line-height:1.7;
  color:var(--ink-900);
  margin-bottom:8px;
}
.article-body h2{
  font-size:22px;
  margin-top:44px;
  margin-bottom:16px;
}
.article-body p{
  font-size:15.5px;
  line-height:1.85;
  color:var(--ink-900);
}
.article-body ul{
  margin:20px 0 8px;
}
.article-body ul li{
  display:flex;
  gap:12px;
  padding:9px 0;
  font-size:15px;
  color:var(--ink-900);
  border-top:1px solid var(--line-200);
}
.article-body ul li:last-child{ border-bottom:1px solid var(--line-200); }
.article-body ul li .chevron{
  margin-top:6px;
  color:var(--teal-600);
  flex-shrink:0;
}
.article-cta{
  margin-top:56px;
  padding:32px;
  background:var(--cream-100);
  border-left:3px solid var(--teal-600);
  border-radius:0 16px 16px 0;
}
.article-cta h3{ font-size:20px; margin-bottom:10px; }
.article-cta p{ color:var(--slate-500); font-size:14.5px; margin-bottom:18px; }
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:50px;
  font-family:var(--mono);
  font-size:13px;
  color:var(--teal-600);
  font-weight:600;
}
@media (max-width:600px){
  .article-body h2{ font-size:20px; }
  .article-lede{ font-size:17px; }
}

/* ---------- Contact ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:56px;
}
.contact-card{
  display:flex;
  gap:16px;
  padding:22px 0;
  border-top:1px solid var(--line-200);
}
.contact-card:last-child{ border-bottom:1px solid var(--line-200); }
.contact-card .ic{
  width:42px; height:42px;
  border-radius:50%;
  background:var(--cream-100);
  color:var(--teal-600);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-card h4{ font-size:15.5px; font-weight:700; }
.contact-card p{ font-size:14px; color:var(--slate-500); margin-top:4px; }

.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--slate-500);
  margin-bottom:8px;
}
.field input, .field textarea{
  width:100%;
  border:1.5px solid var(--line-200);
  background:var(--white);
  padding:13px 14px;
  font-family:var(--body);
  font-size:14.5px;
  border-radius:3px;
  transition:border-color .15s ease;
}
.field input:focus, .field textarea:focus{
  outline:none;
  border-color:var(--teal-600);
}
.field textarea{ resize:vertical; min-height:120px; }
.map-box{
  border:1px solid var(--line-200);
  overflow:hidden;
  height:280px;
}
.map-box iframe{ width:100%; height:100%; border:0; filter:grayscale(.15) contrast(1.05); }
.form-note{
  margin-top:14px;
  font-size:12.5px;
  color:var(--slate-500);
}
.form-success{
  display:none;
  background:var(--cream-100);
  border-left:3px solid var(--teal-600);
  padding:16px 18px;
  font-size:14px;
  margin-top:16px;
}
.form-success.show{ display:block; }
.form-success.form-error{
  background:#FDF3EE;
  border-left-color:#C0522F;
  color:#8A4A2E;
}

/* ---------- Footer ---------- */
.footer{
  background:var(--navy-950);
  color:rgba(255,255,255,.72);
  padding:70px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer h4{
  color:var(--white);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-family:var(--mono);
  margin-bottom:20px;
}
.footer-brand p{
  margin-top:16px;
  font-size:14px;
  line-height:1.7;
  max-width:32ch;
  color:rgba(255,255,255,.6);
}
.footer li{ margin-bottom:12px; }
.footer a{ font-size:14px; color:rgba(255,255,255,.68); transition:color .15s ease; }
.footer a:hover{ color:var(--teal-400); }
.footer-bottom{
  padding:24px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12.5px;
  color:rgba(255,255,255,.5);
  flex-wrap:wrap;
  gap:10px;
}
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:34px; height:34px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:13px;
  color:rgba(255,255,255,.85);
}
.social-row a:hover{ border-color:var(--teal-400); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  background:var(--navy-950);
  color:var(--white);
  padding:64px 0 58px;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute;
  top:-180px; right:-140px;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(45,212,191,.4), transparent 70%);
  z-index:1;
  pointer-events:none;
}
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1{ color:var(--white); font-size:clamp(32px,4vw,46px); margin-top:14px; }
.breadcrumb{
  margin-top:16px;
  font-family:var(--mono);
  font-size:12.5px;
  color:rgba(255,255,255,.55);
  display:flex; gap:8px; align-items:center;
}
.breadcrumb a:hover{ color:var(--teal-400); }

/* ---------- Utility ---------- */
.mt-64{ margin-top:64px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero-grid, .split, .contact-grid{ grid-template-columns:1fr; }
  .hero-visual{ display:none; }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .stat-row{ grid-template-columns:repeat(2,1fr); }
  .process{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .process-step:nth-child(2)::after{ display:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .topbar-info{ display:none; }
}
@media (max-width:760px){
  .navtoggle{ display:flex; }
  .nav-actions .btn-primary{ display:none; }
  .navlinks{
    position:absolute; top:100%; left:0; right:0;
    background:var(--navy-950);
    flex-direction:column;
    align-items:stretch;
    height:auto;
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    box-shadow:0 12px 30px rgba(0,0,0,.3);
  }
  .navlinks.open{ max-height:600px; }
  .navlinks > li{ height:auto; width:100%; }
  .navlinks a{ width:100%; padding:15px 22px; border-bottom:1px solid rgba(255,255,255,.08); }
  .dropdown{
    position:static; box-shadow:none; border-top:none;
    background:rgba(255,255,255,.04); opacity:1; visibility:visible; transform:none;
    display:none;
  }
  .has-dropdown.open .dropdown{ display:block; }
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .stat-row{ grid-template-columns:1fr 1fr; }
  .process{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .cta-banner .wrap{ flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}

.tag-pill{
  display:inline-block;
  font-family:var(--mono);
  font-size:11px;
  padding:5px 11px;
  border-radius:100px;
  background:var(--cream-100);
  color:var(--navy-800);
  margin:0 6px 6px 0;
}

  .stat-strip{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.1);
    margin-top:48px;
    position:relative;
    z-index:2;
  }
  .stat-strip-item{
    background:var(--navy-950);
    padding:24px 22px;
  }
  .stat-strip-item .num{
    font-family:var(--mono);
    font-size:28px;
    font-weight:600;
    color:var(--teal-400);
  }
  .stat-strip-item .lbl{
    margin-top:6px;
    font-size:12.5px;
    line-height:1.5;
    color:rgba(255,255,255,.6);
  }
  .sub-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
  }
  .sub-card{
    background:var(--white);
    border:1px solid var(--line-200);
    border-radius:14px;
    padding:26px 24px;
    box-shadow:0 4px 16px rgba(8,20,48,.04);
  }
  .sub-card .icon{
    width:42px; height:42px;
    border-radius:10px;
    background:var(--navy-950);
    color:var(--teal-400);
    display:flex; align-items:center; justify-content:center;
    font-size:19px;
    margin-bottom:16px;
  }
  .sub-card h3{ font-size:16.5px; font-weight:600; margin-bottom:10px; }
  .sub-card p{ font-size:13.5px; color:var(--slate-500); line-height:1.65; margin-bottom:16px; }
  .sub-card ul li{
    display:flex; gap:8px;
    font-size:12.5px;
    color:var(--ink-900);
    padding:5px 0;
  }
  .sub-card ul li .chevron{ color:var(--teal-600); margin-top:3px; flex-shrink:0; width:7px; height:7px; }
  .platform-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
  }
  .platform-card{
    background:var(--navy-950);
    border-radius:14px;
    padding:28px 26px;
  }
  .platform-card h3{ color:var(--white); font-size:19px; margin-bottom:2px; }
  .platform-card .sub{ font-size:12.5px; color:rgba(255,255,255,.5); margin-bottom:18px; }
  .tag-row{ display:flex; flex-wrap:wrap; gap:8px; }
  .tag{
    font-family:var(--mono);
    font-size:11px;
    padding:6px 11px;
    border-radius:100px;
    background:rgba(255,255,255,.08);
    color:rgba(255,255,255,.8);
    border:1px solid rgba(255,255,255,.12);
  }
  .compliance-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
  }
  .compliance-card{
    padding:24px 20px;
    background:var(--cream-100);
    border-radius:12px;
  }
  .compliance-card h4{ font-size:15px; font-weight:700; color:var(--navy-950); margin-bottom:8px; }
  .compliance-card p{ font-size:12.5px; color:var(--slate-500); line-height:1.6; }
  @media (max-width:900px){
    .stat-strip{ grid-template-columns:repeat(2,1fr); }
    .sub-grid, .platform-grid{ grid-template-columns:repeat(2,1fr); }
    .compliance-grid{ grid-template-columns:repeat(2,1fr); }
  }
  @media (max-width:600px){
    .stat-strip{ grid-template-columns:1fr; }
    .sub-grid, .platform-grid, .compliance-grid{ grid-template-columns:1fr; }
  }

/* ---------- Careers page ---------- */
.dept-group{ margin-bottom:48px; }
.dept-group:last-child{ margin-bottom:0; }
.dept-title{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--teal-600);
  padding-bottom:12px;
  margin-bottom:6px;
  border-bottom:1px solid var(--line-200);
}
.job-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 4px;
  border-bottom:1px solid var(--line-200);
  flex-wrap:wrap;
}
.job-row:hover{ background:var(--cream-50); }
.job-info h3{ font-size:17px; font-weight:600; margin-bottom:6px; }
.job-meta{
  display:flex; gap:14px; flex-wrap:wrap;
  font-family:var(--mono);
  font-size:11.5px;
  color:var(--slate-500);
  letter-spacing:.02em;
}
.job-meta span{ display:flex; align-items:center; gap:5px; }
.job-apply-link{
  font-family:var(--mono);
  font-size:13px;
  font-weight:600;
  color:var(--teal-600);
  white-space:nowrap;
  display:flex; align-items:center; gap:6px;
}
.apply-form-wrap{
  max-width:640px;
  margin:0 auto;
}
.form-row-3{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.file-field{
  border:1.5px dashed var(--line-200);
  border-radius:8px;
  padding:22px;
  text-align:center;
  background:var(--white);
  cursor:pointer;
  transition:border-color .15s ease;
}
.file-field:hover{ border-color:var(--teal-600); }
.file-field input[type="file"]{ display:none; }
.file-field .file-label{ font-size:13.5px; color:var(--slate-500); }
.file-field .file-label strong{ color:var(--teal-600); }
.file-field .file-name{ margin-top:8px; font-size:12.5px; color:var(--ink-900); font-weight:600; }
.form-disclaimer{
  margin-top:16px;
  font-size:12px;
  color:var(--slate-500);
  line-height:1.6;
}
@media (max-width:700px){
  .form-row-3{ grid-template-columns:1fr; }
  .job-row{ flex-direction:column; align-items:flex-start; }
}

.footer-bottom a{
  color:rgba(255,255,255,.5);
  transition:color .15s ease;
}
.footer-bottom a:hover{ color:var(--teal-400); }
#cookie-prefs-link{ transition:color .15s ease; }
#cookie-prefs-link:hover{ color:var(--teal-400) !important; }

/* ---------- RAG Chat Widget ---------- */
.chat-fab{
  position:fixed;
  bottom:24px; right:24px;
  width:58px; height:58px;
  border-radius:50%;
  background:var(--teal-600);
  color:var(--white);
  border:none;
  box-shadow:0 10px 28px rgba(14,122,108,.4);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:200;
  transition:transform .15s ease, background .15s ease;
}
.chat-fab:hover{ transform:translateY(-2px); background:var(--teal-500); }
.chat-fab svg{ width:26px; height:26px; }
.chat-fab .chat-fab-close{ display:none; }
.chat-fab.open .chat-fab-chat{ display:none; }
.chat-fab.open .chat-fab-close{ display:block; }

.chat-panel{
  position:fixed;
  bottom:96px; right:24px;
  width:380px;
  max-width:calc(100vw - 32px);
  height:520px;
  max-height:calc(100vh - 140px);
  background:var(--white);
  border-radius:16px;
  box-shadow:0 24px 60px rgba(8,20,48,.28);
  display:none;
  flex-direction:column;
  overflow:hidden;
  z-index:200;
  border:1px solid var(--line-200);
}
.chat-panel.open{ display:flex; }
.chat-panel-head{
  background:var(--navy-950);
  color:var(--white);
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:10px;
}
.chat-panel-head .dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--teal-400);
  flex-shrink:0;
}
.chat-panel-head h4{ font-size:14.5px; font-weight:700; margin:0; }
.chat-panel-head p{ font-size:11.5px; color:rgba(255,255,255,.55); margin:2px 0 0; }
.chat-messages{
  flex:1;
  overflow-y:auto;
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  background:var(--cream-50);
}
.chat-msg{
  max-width:85%;
  padding:10px 14px;
  border-radius:12px;
  font-size:13.5px;
  line-height:1.55;
}
.chat-msg.user{
  align-self:flex-end;
  background:var(--teal-600);
  color:var(--white);
  border-bottom-right-radius:3px;
}
.chat-msg.assistant{
  align-self:flex-start;
  background:var(--white);
  border:1px solid var(--line-200);
  color:var(--ink-900);
  border-bottom-left-radius:3px;
}
.chat-msg.assistant.error{
  border-color:#F3C6B8;
  background:#FDF3EE;
  color:#8A4A2E;
}
.chat-sources{
  align-self:flex-start;
  max-width:85%;
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:-6px;
}
.chat-sources a{
  font-size:11px;
  color:var(--teal-600);
  font-family:var(--mono);
}
.chat-sources a:hover{ text-decoration:underline; }
.chat-typing{
  align-self:flex-start;
  display:flex;
  gap:4px;
  padding:12px 14px;
  background:var(--white);
  border:1px solid var(--line-200);
  border-radius:12px;
  border-bottom-left-radius:3px;
}
.chat-typing span{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--slate-300);
  animation:chatTypingBlink 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2){ animation-delay:.2s; }
.chat-typing span:nth-child(3){ animation-delay:.4s; }
@keyframes chatTypingBlink{
  0%, 80%, 100%{ opacity:.3; transform:translateY(0); }
  40%{ opacity:1; transform:translateY(-2px); }
}
.chat-input-row{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid var(--line-200);
  background:var(--white);
}
.chat-input-row input{
  flex:1;
  border:1.5px solid var(--line-200);
  border-radius:100px;
  padding:10px 16px;
  font-size:13.5px;
  font-family:var(--body);
}
.chat-input-row input:focus{ outline:none; border-color:var(--teal-600); }
.chat-input-row button{
  width:38px; height:38px;
  border-radius:50%;
  background:var(--teal-600);
  color:var(--white);
  border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  flex-shrink:0;
  transition:background .15s ease;
}
.chat-input-row button:hover{ background:var(--teal-500); }
.chat-input-row button:disabled{ background:var(--slate-300); cursor:not-allowed; }
@media (max-width:480px){
  .chat-panel{ right:16px; left:16px; width:auto; bottom:88px; }
  .chat-fab{ right:16px; bottom:16px; }
}

.footer-contact-list li{
  margin-bottom:16px;
  line-height:1.6;
}
.footer-contact-list li:last-child{ margin-bottom:0; }
.footer-contact-list a{
  display:inline-flex;
  align-items:flex-start;
  gap:9px;
  transition:color .15s ease;
}
.footer-contact-list a:hover{ color:var(--teal-400); }
.footer-contact-list li > .fc-icon{
  display:inline-flex;
  margin-right:9px;
}
.fc-icon{
  color:var(--teal-400);
  flex-shrink:0;
  display:inline-block;
  width:14px;
}

/* ---------- Mega menu (Industries / Technologies) ---------- */
.dropdown-mega{
  min-width:620px;
  padding:30px;
}
.mega-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px 36px;
}
.mega-col-title{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--teal-600);
  margin-bottom:6px;
  grid-column:1 / -1;
}
.mega-col-title:not(:first-child){ margin-top:8px; }
.mega-item{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:9px 8px;
  border-radius:6px;
  transition:background .15s ease;
}
.mega-item:hover{ background:var(--cream-50); }
.mega-item .mi-icon{
  width:30px; height:30px;
  border-radius:8px;
  background:var(--navy-950);
  display:flex; align-items:center; justify-content:center;
  font-size:14px;
  flex-shrink:0;
}
.mega-item h5{
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-950);
  margin:0;
}
.mega-item p{
  font-size:11.5px;
  color:var(--slate-500);
  margin:2px 0 0;
  line-height:1.4;
}
@media (max-width:900px){
  .dropdown-mega{ min-width:480px; }
}
@media (max-width:760px){
  .dropdown-mega{ min-width:0; padding:14px 20px; }
  .mega-grid{ grid-template-columns:1fr; }
  .mega-item{ padding:8px 4px; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner{
  position:fixed;
  left:20px; right:20px; bottom:20px;
  max-width:560px;
  background:var(--navy-950);
  color:var(--white);
  border-radius:14px;
  padding:22px 24px;
  box-shadow:0 20px 50px rgba(8,20,48,.35);
  z-index:210;
  display:none;
}
.cookie-banner.show{ display:block; }
.cookie-banner p{
  font-size:13.5px;
  line-height:1.6;
  color:rgba(255,255,255,.75);
  margin-bottom:16px;
}
.cookie-banner p a{
  color:var(--teal-400);
  font-weight:600;
}
.cookie-banner-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cookie-banner-actions .btn{
  padding:10px 20px;
  font-size:12px;
}
.cookie-decline-btn{
  background:transparent;
  border:1.5px solid rgba(255,255,255,.3);
  color:var(--white);
}
.cookie-decline-btn:hover{ background:rgba(255,255,255,.08); }
@media (max-width:480px){
  .cookie-banner{ left:12px; right:12px; bottom:12px; padding:18px 20px; }
}
