:root{
  --ink:#10182B;
  --ink-soft:#2B3448;
  --steel:#4B5568;
  --paper:#FFFFFF;
  --panel:#ECEAE2;
  --panel-2:#E2DFD4;
  --line:#DEDBD1;
  --sky:#A7C8E6;
  --sky-light:#CBDEF0;
  --sky-deep:#2D689F;
  --sky-deeper:#224E77;
  --max:1120px;
  --radius:16px;
  --radius-organic:28px 12px 28px 12px;
  --shadow-sm:0 1px 3px rgba(16,24,43,0.06), 0 1px 2px rgba(16,24,43,0.05);
  --shadow-md:0 14px 32px rgba(16,24,43,0.10), 0 3px 8px rgba(16,24,43,0.06);
  --ease:cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Poppins', -apple-system, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
  position:relative;
}

/* subtle grain texture, sits above everything but never blocks input */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:999;
  pointer-events:none;
  opacity:0.035;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress{
  position:fixed;
  top:0; left:0;
  height:3px;
  width:0%;
  background:linear-gradient(90deg, var(--sky-deep), var(--sky));
  z-index:1000;
  transition:width .1s linear;
}

/* ---------- Preloader ---------- */
html.preloading, html.preloading body{ overflow:hidden; height:100%; }

.page-shell{
  transform:scale(0.94);
  transform-origin:center center;
  transition:transform 1s var(--ease);
}
.page-shell.zoomed{ transform:scale(1); }

.preloader{
  position:fixed;
  inset:0;
  z-index:3000;
  background:var(--paper);
  overflow:hidden;
  transition:opacity .7s ease;
}
.preloader.hide{ opacity:0; pointer-events:none; }
.preloader::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:50;
  pointer-events:none;
  opacity:0.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.preloader-scene{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity 1s ease;
  pointer-events:none;
}
.preloader-scene.active{ opacity:1; pointer-events:auto; }
.preloader-scene.scene-logo{ background:var(--paper); }
.preloader-scene.scene-logo::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(560px circle at 50% 42%, rgba(45,104,159,0.10), transparent 62%);
  pointer-events:none;
}
.preloader-scene.scene-stat{ background:var(--ink); overflow:hidden; }
.preloader-scene.scene-cert{ background:var(--ink); overflow:hidden; }
.preloader-scene.scene-cert::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(560px circle at 50% 38%, rgba(45,104,159,0.32), transparent 62%);
  pointer-events:none;
}
.cert-mini-grid{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.cert-mini{
  width:108px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  opacity:0;
  transform:scale(0.5);
}
.preloader-scene.active .cert-mini{
  animation:certPop .55s cubic-bezier(.34,1.56,.64,1) forwards;
}
.preloader-scene.active .cert-mini:nth-child(1){ animation-delay:.5s; }
.preloader-scene.active .cert-mini:nth-child(2){ animation-delay:1.05s; }
.preloader-scene.active .cert-mini:nth-child(3){ animation-delay:1.6s; }
.preloader-scene.active .cert-mini:nth-child(4){ animation-delay:2.15s; }
@keyframes certPop{
  to{ opacity:1; transform:scale(1); }
}
.cert-mini img{
  width:92px;
  height:92px;
  object-fit:contain;
  background:#fff;
  border-radius:14px;
  padding:10px;
  display:block;
}
.cert-mini span{
  font-size:0.66rem;
  font-weight:600;
  color:#C7CBD6;
  text-align:center;
  line-height:1.25;
}
.preloader-scene.scene-stat::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(16,24,43,0.55), rgba(16,24,43,0.86));
  z-index:1;
}
.scene-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0.7;
  transform:scale(1);
}
.preloader-scene.active .scene-bg{
  animation:sceneKenBurns 3.8s ease-out forwards;
}
@keyframes sceneKenBurns{
  from{ transform:scale(1); }
  to{ transform:scale(1.14); }
}
.scene-watermark{
  position:absolute;
  bottom:-26px;
  right:-26px;
  width:180px;
  height:auto;
  opacity:0.08;
  z-index:1;
  pointer-events:none;
}
.scene-content{
  position:relative;
  z-index:2;
  text-align:center;
  padding:0 32px;
  max-width:560px;
  opacity:0;
  transform:translateY(14px) scale(0.97);
}
.preloader-scene.active .scene-content{
  animation:sceneContentIn .8s var(--ease) forwards;
  animation-delay:0.15s;
}
@keyframes sceneContentIn{
  to{ opacity:1; transform:none; }
}
.scene-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.18);
  margin-bottom:18px;
}
.scene-icon svg{ width:24px; height:24px; color:var(--sky-light); }
.scene-stat-num{
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:clamp(3.4rem, 9vw, 5.8rem);
  color:var(--sky-light);
  line-height:1;
}
.scene-stat-label{
  margin-top:10px;
  font-size:1.05rem;
  font-weight:600;
  color:#fff;
  letter-spacing:0.05em;
  text-transform:uppercase;
}
.scene-stat-sub{
  margin-top:16px;
  max-width:440px;
  margin-left:auto;
  margin-right:auto;
  color:#C7CBD6;
  font-size:0.97rem;
  line-height:1.6;
}
.scene-mini-stats{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.scene-mini-stats span{
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.02em;
  color:#fff;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.18);
  padding:6px 14px;
  border-radius:999px;
}

.preloader-progress{
  position:absolute;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  display:flex;
  gap:6px;
  width:min(280px, 62vw);
  background:rgba(16,24,43,0.32);
  padding:9px 10px;
  border-radius:999px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.preloader-progress span{
  flex:1;
  height:3px;
  border-radius:2px;
  background:rgba(255,255,255,0.28);
  overflow:hidden;
}
.preloader-progress span i{
  display:block;
  height:100%;
  width:0%;
  background:var(--sky-light);
  border-radius:2px;
}
.preloader-progress span.done i{ width:100%; }

.preloader-lockup{
  position:relative;
  display:flex;
  align-items:center;
  --bull-shift:-197px;
  --word-offset:-205px;
}
.preloader-bull{
  width:230px;
  height:auto;
  flex:none;
  opacity:0;
  filter:grayscale(1) brightness(0.4);
  animation:bullIn 1.3s var(--ease) forwards, bullLight 1.1s ease forwards, bullShift .9s var(--ease) forwards;
  animation-delay:0s, 0.5s, 1.5s;
}
@keyframes bullIn{
  from{ opacity:0; transform:scale(0.8); }
  to{ opacity:1; transform:scale(1); }
}
@keyframes bullLight{
  to{ filter:grayscale(0) brightness(1); }
}
@keyframes bullShift{
  to{ transform:translateX(var(--bull-shift)) scale(1); }
}

.preloader-word{
  position:absolute;
  left:100%;
  top:50%;
  overflow:visible;
  transform:translateY(-50%) translateX(var(--word-offset));
  clip-path:inset(0 420px 0 0);
  animation:typewriterReveal 1.2s steps(22,end) forwards;
  animation-delay:2.4s;
}
@keyframes typewriterReveal{
  to{ clip-path:inset(0 -20px 0 0); }
}
.preloader-word-img{
  display:block;
  width:390px;
  height:auto;
}

.preloader-tagline{
  margin-top:24px;
  font-size:1.15rem;
  color:var(--steel);
  letter-spacing:0.03em;
  opacity:0;
  transform:translateY(8px);
  animation:tagIn .6s ease forwards;
  animation-delay:5.0s;
}
@keyframes tagIn{
  to{ opacity:1; transform:none; }
}

@media (prefers-reduced-motion: reduce){
  .preloader-bull, .preloader-word, .preloader-tagline, .scene-content{ animation:none; opacity:1; transform:none; filter:none; }
  .scene-bg{ animation:none; }
  .preloader{ transition:none; }
  .page-shell{ transition:none; }
}
@media (max-width:640px){
  .preloader-lockup{ --bull-shift:-99px; --word-offset:-107px; }
  .preloader-bull{ width:110px; }
  .preloader-word-img{ width:193px; }
  .preloader-tagline{ font-size:0.95rem; text-align:center; padding:0 24px; }
  .scene-icon{ width:44px; height:44px; margin-bottom:14px; }
  .scene-icon svg{ width:20px; height:20px; }
  .scene-stat-num{ font-size:2.7rem; }
  .scene-stat-label{ font-size:0.9rem; }
  .scene-stat-sub{ font-size:0.85rem; padding:0 8px; }
  .scene-mini-stats{ margin-top:16px; gap:7px; }
  .scene-mini-stats span{ font-size:0.7rem; padding:5px 11px; }
  .scene-watermark{ width:110px; bottom:-14px; right:-14px; }
  .preloader-progress{ bottom:18px; padding:7px 9px; }
  .cert-mini{ width:78px; }
  .cert-mini img{ width:64px; height:64px; padding:8px; }
  .cert-mini span{ font-size:0.64rem; }
  .cert-mini-grid{ gap:12px; }
}

h1,h2,h3,.display{
  font-family:'Poppins', sans-serif;
  font-weight:700;
  line-height:1.08;
  margin:0;
  letter-spacing:-0.01em;
}

p{margin:0;}

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

a{color:inherit;}

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
  will-change:opacity, transform;
}
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Nav ---------- */
header.site{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.86);
  backdrop-filter:blur(10px) saturate(1.4);
  -webkit-backdrop-filter:blur(10px) saturate(1.4);
  border-bottom:1px solid rgba(215,211,198,0.6);
  transition:box-shadow .3s ease;
}
header.site.scrolled{
  box-shadow:0 1px 28px rgba(16,24,43,0.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0;
  transition:padding .3s ease;
}
header.site.scrolled .nav{ padding:14px 0; }
.brand{
  display:flex;
  align-items:center;
  gap:2px;
  text-decoration:none;
  min-width:0;
}
.brand-icon{
  height:48px;
  width:auto;
  display:block;
  flex:none;
  transition:transform .3s ease;
}
.brand-word-img{
  height:28px;
  width:auto;
  display:block;
  position:relative;
  top:4px;
}
.brand:hover .brand-icon{ transform:rotate(-6deg); }

nav.links{
  display:flex;
  gap:32px;
  align-items:center;
}
nav.links a{
  position:relative;
  text-decoration:none;
  font-size:0.95rem;
  font-weight:500;
  color:var(--steel);
  padding-bottom:4px;
}
nav.links a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  height:2px;
  width:0%;
  background:var(--sky-deep);
  transition:width .3s var(--ease);
}
nav.links a:hover, nav.links a.active{ color:var(--ink); }
nav.links a:hover::after, nav.links a.active::after{ width:100%; }
.nav-cta{
  background:var(--ink);
  color:var(--paper) !important;
  padding:10px 22px;
  border-radius:999px;
  font-weight:600 !important;
  transition:background .3s ease, transform .3s ease;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:var(--sky-deep); transform:translateY(-2px); }

.menu-toggle{ display:none; }
#nav-check{ display:none; }
.menu-icon .bar{ transition:transform .3s var(--ease), opacity .2s ease; transform-origin:12px 12px; }
#nav-check:checked ~ .menu-toggle .bar-top{ transform:translateY(5px) rotate(45deg); }
#nav-check:checked ~ .menu-toggle .bar-mid{ opacity:0; }
#nav-check:checked ~ .menu-toggle .bar-bot{ transform:translateY(-5px) rotate(-45deg); }

/* ---------- Page header (non-home pages) ---------- */
.page-header{
  position:relative;
  padding:64px 0 54px;
  border-bottom:1px solid var(--line);
  background:var(--panel);
  overflow:hidden;
}
.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px circle at 10% 20%, rgba(45,104,159,0.10), transparent 60%),
    radial-gradient(420px circle at 90% 90%, rgba(16,24,43,0.06), transparent 60%);
  pointer-events:none;
}
.page-header .wrap{ position:relative; }
.page-header .kicker{
  font-size:0.85rem;
  color:var(--sky-deep);
  font-weight:600;
  margin-bottom:12px;
}
.page-header h1{
  font-size:clamp(2.4rem, 4.6vw, 3.6rem);
  color:var(--ink);
}
.page-header p{
  margin-top:16px;
  max-width:60ch;
  font-size:1.05rem;
  color:var(--steel);
}

/* ---------- Hero (home) ---------- */
.hero{
  position:relative;
  padding:96px 0 84px;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0.4;
  z-index:0;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.72) 30%, rgba(167,200,230,0.45) 66%, rgba(45,104,159,0.35) 100%),
    radial-gradient(640px circle at 12% 15%, rgba(45,104,159,0.10), transparent 60%);
  z-index:1;
  pointer-events:none;
}
.hero-grid{
  position:relative;
  z-index:2;
}
.hero-grid > div{ max-width:640px; }
.kicker{
  font-size:0.85rem;
  color:var(--sky-deep);
  font-weight:600;
  margin-bottom:14px;
}
.hero h1{
  font-size:clamp(2.7rem, 5.4vw, 4.2rem);
  color:var(--ink);
}
.hero .lede{
  margin-top:22px;
  max-width:52ch;
  font-size:1.1rem;
  color:var(--ink-soft);
}
.hero-actions{
  margin-top:32px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.btn{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:inline-block;
  text-decoration:none;
  padding:14px 28px;
  font-weight:600;
  font-size:0.98rem;
  border-radius:999px;
  border:1px solid transparent;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease, color .3s ease;
}
.btn::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:radial-gradient(120px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.45), transparent 60%);
  opacity:0;
  transition:opacity .35s ease;
}
.btn:hover::before{ opacity:1; }
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--sky); color:var(--ink); box-shadow:0 10px 24px rgba(45,104,159,0.24); }
.btn-primary:hover{ background:var(--sky-deep); color:#fff; box-shadow:0 14px 30px rgba(45,104,159,0.35); }
.btn-ghost{ border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; box-shadow:0 10px 24px rgba(16,24,43,0.18); }

/* ---------- Section shell ---------- */
section{ padding:80px 0; border-bottom:1px solid var(--line); }
section.panel{ background:var(--panel); }
section.tight{ padding:56px 0; }
.section-head{
  max-width:60ch;
  margin-bottom:48px;
}
.section-head h2{
  font-size:clamp(1.9rem, 3vw, 2.6rem);
  color:var(--ink);
}
.section-head h2::after{
  content:"";
  display:block;
  width:44px;
  height:3px;
  background:var(--sky-deep);
  border-radius:2px;
  margin-top:16px;
}
.section-head p{
  margin-top:16px;
  color:var(--steel);
  font-size:1.05rem;
}

/* ---------- Pipeline ---------- */
.pipeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.pipeline .step{
  padding:30px 26px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.pipeline .step:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.step .num{
  font-family:'Poppins',sans-serif;
  font-size:0.95rem;
  color:var(--sky-deep);
  font-weight:700;
  letter-spacing:0.04em;
}
.step h3{
  margin-top:10px;
  font-size:1.4rem;
  color:var(--ink);
}
.step p{
  margin-top:10px;
  color:var(--steel);
  font-size:0.95rem;
}

/* ---------- Product split ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.split.split-3{
  grid-template-columns:repeat(3,1fr);
}
.split.split-4{
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
@media (max-width:1024px){
  .split.split-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  .split.split-3{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .split.split-3{ grid-template-columns:1fr; }
  .split.split-4{ grid-template-columns:1fr; }
}
.split > div{
  background:var(--paper);
  padding:38px;
  border:1px solid var(--line);
  border-radius:var(--radius-organic);
  box-shadow:var(--shadow-sm);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.split > div:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.split-4 > div{ padding:26px; }
.split h3{
  font-size:1.5rem;
  color:var(--ink);
}
.split .tag{
  display:inline-block;
  font-size:0.8rem;
  font-weight:600;
  color:var(--sky-deep);
  margin-bottom:10px;
}
.split ul{
  list-style:none;
  margin:22px 0 0;
  padding:0;
}
.split li{
  padding:14px 0;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:0.95rem;
}
.split li:first-of-type{ border-top:none; }
.split li .name{ font-weight:600; color:var(--ink); }
.split li .desc{ color:var(--steel); text-align:right; max-width:56%; }

/* ---------- Certifications (why-us page) ---------- */
.cert-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}
.cert-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  text-align:center;
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cert-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.cert-card img{
  width:100%;
  max-width:110px;
  height:110px;
  object-fit:contain;
  margin:0 auto 16px;
  display:block;
}
.cert-card h3{
  font-size:1rem;
  color:var(--ink);
  font-family:'Poppins',sans-serif;
  font-weight:700;
}
.cert-card p{
  margin-top:8px;
  font-size:0.85rem;
  color:var(--steel);
  line-height:1.5;
}
@media (max-width:900px){
  .cert-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- Individual industry pages ---------- */
.industry-hero{
  position:relative;
  height:360px;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
}
.industry-hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(16,24,43,0.78), rgba(16,24,43,0.08) 65%);
}
.industry-hero .wrap{ position:relative; z-index:1; padding-bottom:32px; }
.industry-hero .kicker{ color:var(--sky-light); }
.industry-hero h1{ color:#fff; font-size:clamp(2rem,4vw,3.1rem); }
.industry-hero .fit-badge{
  display:inline-block;
  margin-top:14px;
  font-size:0.85rem;
  font-weight:600;
  color:#fff;
  background:rgba(255,255,255,0.16);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  padding:7px 16px;
  border-radius:999px;
}
.industry-copy{ max-width:760px; }
.industry-copy p{ font-size:1.05rem; color:var(--steel); }
.industry-copy ul{ margin:22px 0 0; padding-left:20px; color:var(--steel); font-size:0.98rem; }
.industry-copy li{ margin-bottom:8px; }

.rec-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;
}
.rec-card{
  display:block;
  text-decoration:none;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rec-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.rec-card .rec-name{ font-weight:700; color:var(--ink); font-size:1.02rem; }
.rec-card .rec-tag{ display:block; margin-top:6px; font-size:0.8rem; color:var(--sky-deep); font-weight:600; }
.rec-card .rec-arrow{ display:inline-block; margin-top:12px; font-size:0.85rem; color:var(--steel); }
@media (max-width:640px){
  .industry-hero{ height:280px; }
}

/* ---------- Product cards (products page) ---------- */
.product-grid{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.product-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px;
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  scroll-margin-top:88px;
}
.product-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.product-card-head{
  display:flex;
  align-items:center;
  gap:16px;
}
.product-icon{
  flex:none;
  width:64px;
  height:64px;
  border-radius:14px;
  background:var(--panel);
  overflow:hidden;
}
.product-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.product-icon-vec{
  flex:none;
  width:64px;
  height:64px;
  border-radius:14px;
  background:var(--panel);
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-icon-vec svg{
  width:28px;
  height:28px;
  color:var(--sky-deep);
}

/* ---------- Product tabs (products page) ---------- */
.product-tabs-wrap{
  border-bottom:1px solid var(--line);
  background:var(--paper);
  position:sticky;
  top:93px;
  z-index:30;
}
header.site.scrolled ~ main .product-tabs-wrap{ top:77px; }
.product-tabs{
  display:flex;
  gap:8px;
  padding:14px 0;
}
.product-tab{
  font-family:'Poppins',sans-serif;
  font-size:0.92rem;
  font-weight:600;
  color:var(--steel);
  background:var(--panel);
  border:1px solid var(--line);
  padding:10px 20px;
  border-radius:999px;
  cursor:pointer;
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
.product-tab:hover{ color:var(--ink); }
.product-tab.active{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }
.product-title{
  display:flex;
  flex:1;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.product-card-head h3{
  font-size:1.3rem;
  color:var(--ink);
  font-family:'Poppins',sans-serif;
  font-weight:700;
}
.product-tag{
  font-size:0.76rem;
  font-weight:600;
  color:var(--sky-deep);
  background:var(--panel);
  padding:5px 13px;
  border-radius:999px;
  white-space:nowrap;
}
.product-blurb{
  margin-top:10px;
  color:var(--steel);
  font-size:0.96rem;
  max-width:72ch;
}
.product-specs{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px 24px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.product-specs > div{ display:flex; flex-direction:column; gap:3px; }
.product-specs .k{
  font-size:0.7rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--sky-deep);
  font-weight:600;
}
.product-specs .v{ font-size:0.9rem; color:var(--ink); }
.product-apps{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.product-apps span{
  font-size:0.78rem;
  color:var(--steel);
  background:var(--panel);
  padding:5px 12px;
  border-radius:999px;
}

/* ---------- Spec table ---------- */
.table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.spec-table{
  width:100%;
  border-collapse:collapse;
  font-size:0.92rem;
}
.spec-table th, .spec-table td{
  text-align:left;
  padding:16px 18px;
  border-bottom:1px solid var(--line);
}
.spec-table thead th{
  background:var(--panel);
  font-weight:600;
  color:var(--ink);
  font-size:0.85rem;
}
.spec-table tbody tr{ transition:background .25s ease; }
.spec-table tbody tr:hover{ background:var(--panel); }
.spec-table tbody tr:last-child td{ border-bottom:none; }
.spec-table td.name{ font-weight:600; color:var(--ink); }
.spec-table td{ color:var(--steel); }

/* ---------- Industries (icon grid, used on home) ---------- */
.industry-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
}
.industry-cell{
  display:block;
  position:relative;
  padding:20px 16px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.industry-cell:hover{ transform:translateY(-7px); box-shadow:var(--shadow-md); }
.industry-cell::before{
  content:"";
  position:absolute;
  top:10px; left:6px;
  width:44px; height:44px;
  border-radius:50%;
  background:var(--panel-2);
  transition:background .35s ease;
}
.industry-cell:hover::before{ background:var(--sky); }
.industry-cell svg{
  position:relative;
  z-index:1;
  width:22px; height:22px;
  display:block;
  stroke:var(--ink);
  transition:stroke .35s ease;
}
.industry-cell:hover svg{ stroke:var(--ink); }
.industry-cell h3{
  font-size:0.96rem;
  margin-top:12px;
  color:var(--ink);
  font-family:'Poppins',sans-serif;
  font-weight:600;
  letter-spacing:0;
  line-height:1.25;
}
.industry-cell p{
  margin-top:6px;
  font-size:0.78rem;
  color:var(--steel);
  line-height:1.4;
}

/* ---------- Industry photo strip ---------- */
.industry-strip{
  display:flex;
  width:100%;
  height:520px;
  overflow:hidden;
}
.industry-panel{
  position:relative;
  flex:1;
  min-width:60px;
  background-size:cover;
  background-position:center;
  transition:flex-grow 0.5s var(--ease);
  cursor:pointer;
}
.industry-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(16,24,43,0) 45%, rgba(16,24,43,0.82) 100%);
}
.industry-panel:hover{ flex-grow:2.6; }
.industry-panel .label{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:20px 16px;
  z-index:2;
  color:#fff;
  pointer-events:none;
}
.industry-panel .panel-link{
  position:absolute;
  inset:0;
  z-index:3;
}
.industry-panel .label h3{
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:1.02rem;
  letter-spacing:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width: 900px){
  .industry-strip{ flex-wrap:wrap; height:auto; }
  .industry-panel{ flex:1 1 50%; height:200px; }
  .industry-panel:hover{ flex-grow:1; }
  .industry-panel .label h3{ white-space:normal; font-size:0.95rem; line-height:1.25; }
}

/* ---------- Industry detail rows (industries page) ---------- */
.industry-detail{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:32px;
  padding:32px;
  margin-bottom:20px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  scroll-margin-top:88px;
}
.industry-detail:last-child{ margin-bottom:0; }
.industry-detail:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.industry-detail h3{
  font-size:1.3rem;
  color:var(--ink);
  font-family:'Poppins',sans-serif;
  font-weight:700;
}
.industry-detail .fit{
  margin-top:10px;
  font-size:0.85rem;
  color:var(--sky-deep);
  font-weight:600;
}
.industry-detail p{ color:var(--steel); font-size:0.98rem; }
.industry-detail ul{
  margin:14px 0 0;
  padding-left:18px;
  color:var(--steel);
  font-size:0.94rem;
}
.industry-detail li{ margin-bottom:6px; }

/* ---------- Why us ---------- */
.why-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.why-item{
  display:flex;
  gap:18px;
  padding:26px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.why-item .mark{
  flex:none;
  width:5px;
  border-radius:3px;
  background:var(--sky);
}
.why-item h3{
  font-size:1.2rem;
  color:var(--ink);
  font-family:'Poppins',sans-serif;
  font-weight:700;
}
.why-item p{
  margin-top:8px;
  color:var(--steel);
  font-size:0.97rem;
}

/* ---------- Stats (bento) ---------- */
.stats-bento{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:16px;
}
.stat{
  background:var(--ink);
  color:var(--paper);
  padding:36px 32px;
  border-radius:var(--radius-organic);
  position:relative;
  overflow:hidden;
}
.stat::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(280px circle at 90% 110%, rgba(45,104,159,0.45), transparent 70%);
  pointer-events:none;
}
.stat.big-cell{ grid-row:span 2; display:flex; flex-direction:column; justify-content:center; }
.stat .big{
  position:relative;
  font-family:'Poppins',sans-serif;
  font-weight:700;
  font-size:3rem;
  color:var(--sky-light);
  line-height:1;
}
.stat.big-cell .big{ font-size:3.6rem; }
.stat p{
  position:relative;
  margin-top:12px;
  color:#C7CBD6;
  font-size:0.95rem;
  max-width:32ch;
}
@media (max-width:900px){
  .stats-bento{ grid-template-columns:1fr; }
  .stat.big-cell{ grid-row:auto; }
}

/* ---------- CTA ---------- */
.cta{
  background:var(--ink);
  color:var(--paper);
  padding:84px 0;
  border-bottom:none;
  position:relative;
  overflow:hidden;
}
.cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(600px circle at 85% 20%, rgba(45,104,159,0.25), transparent 60%);
  pointer-events:none;
}
.cta-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
  align-items:center;
}
.cta h2{
  color:var(--paper);
  font-size:clamp(2rem, 3.4vw, 2.8rem);
}
.cta p{
  margin-top:16px;
  color:#B9BEC9;
  max-width:48ch;
  font-size:1.02rem;
}
.cta-form{
  position:relative;
  background:var(--ink-soft);
  padding:28px;
  border:1px solid #3A445A;
  border-radius:var(--radius);
}
.cta-form label{
  display:block;
  font-size:0.85rem;
  color:#B9BEC9;
  margin-bottom:6px;
}
.cta-form input, .cta-form select, .cta-form textarea{
  width:100%;
  background:var(--ink);
  border:1px solid #3A445A;
  color:var(--paper);
  padding:11px 14px;
  font-family:inherit;
  font-size:0.95rem;
  margin-bottom:16px;
  border-radius:10px;
  transition:border-color .25s ease, box-shadow .25s ease;
}
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus{
  outline:none;
  border-color:var(--sky);
  box-shadow:0 0 0 3px rgba(167,200,230,0.28);
}
.cta-form button{
  width:100%;
  background:var(--sky);
  color:var(--ink);
  border:none;
  padding:14px;
  font-weight:600;
  font-size:0.98rem;
  cursor:pointer;
  border-radius:999px;
  transition:background .25s ease, color .25s ease, transform .25s ease;
}
.cta-form button:hover{ background:var(--sky-deep); color:#fff; transform:translateY(-2px); }

/* ---------- Contact page extras ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
}
.contact-info .item{
  padding:22px 0;
  border-top:1px solid var(--line);
  transition:padding-left .3s ease;
}
.contact-info .item:first-child{ border-top:none; }
.contact-info .item:hover{ padding-left:8px; }
.contact-info .label{
  font-size:0.82rem;
  color:var(--sky-deep);
  font-weight:600;
  margin-bottom:6px;
}
.contact-info .value{ font-size:1.05rem; color:var(--ink); }
.contact-info .value.muted{ color:var(--steel); font-size:0.95rem; }

/* ---------- Footer ---------- */
footer{
  background:var(--ink);
  color:#8D93A3;
  padding:40px 0;
}
.foot-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}
.foot-brand{ display:flex; align-items:center; gap:4px; }
.foot-icon{ height:78px; width:auto; display:block; }
.foot-word-img{ height:46px; width:auto; display:block; position:relative; top:6px; }
footer .foot-links{ display:flex; gap:26px; }
footer .foot-links a{ text-decoration:none; color:#8D93A3; font-size:0.9rem; transition:color .25s ease; }
footer .foot-links a:hover{ color:var(--sky-light); }
footer .copyright{
  margin-top:24px;
  font-size:0.82rem;
  color:#5C6478;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-grid > div{ max-width:none; }
  .pipeline{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; }
  .industry-grid{ grid-template-columns:repeat(2,1fr); }
  .industry-detail{ grid-template-columns:1fr; gap:10px; }
  .why-grid{ grid-template-columns:1fr; }
  .stats-bento{ grid-template-columns:1fr; grid-template-rows:none; }
  .stat.big-cell{ grid-row:auto; }
  .cta-inner{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; gap:36px; }

  header.site.scrolled .nav{ padding:22px 0; }

  .nav-backdrop{
    display:none;
    position:fixed; inset:0;
    background:rgba(16,24,43,0.32);
    z-index:35;
  }
  #nav-check:checked ~ .nav-backdrop{ display:block; }

  nav.links{
    position:fixed;
    top:98px; right:20px;
    z-index:40;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow-md);
    flex-direction:column; align-items:stretch;
    padding:10px;
    display:none; gap:2px;
    min-width:190px;
    max-width:calc(100vw - 40px);
  }
  #nav-check:checked ~ nav.links{ display:flex; }
  nav.links a{
    font-size:1rem;
    padding:12px 14px;
    border-radius:10px;
    width:100%;
  }
  nav.links a::after{ display:none; }
  nav.links a:hover, nav.links a.active{ background:var(--panel); color:var(--ink); }
  nav.links .nav-cta{ margin-top:4px; text-align:center; }
  .menu-toggle{
    flex:none;
    display:flex; align-items:center; justify-content:center;
    background:none; border:1px solid var(--line);
    width:48px; height:48px; border-radius:10px; cursor:pointer;
  }
  .menu-icon{ width:24px; height:24px; color:var(--ink); }
  .nav-cta{ padding:12px 20px; }
  .brand-icon{ height:40px; }
  .brand-word-img{ height:24px; }
  .foot-icon{ height:40px; }
  .foot-word-img{ height:24px; top:4px; }
}
@media (min-width:901px){
  .menu-toggle{ display:none; }
  .nav-backdrop{ display:none !important; }
}

@media (max-width: 640px){
  .wrap{ padding:0 20px; }
  section{ padding:56px 0; }
  section.tight{ padding:40px 0; }
  .hero{ padding:56px 0 40px; }
  .page-header{ padding:48px 0 40px; }
  .cta{ padding:56px 0; }
  .pipeline{ grid-template-columns:1fr; }
  .industry-detail{ padding:24px; }
  .product-card{ padding:22px; }
  .why-item{ padding:22px; }
  .spec-table th, .spec-table td{ padding:12px 14px; font-size:0.85rem; }
  .btn{ width:100%; text-align:center; }
  .hero-actions{ flex-direction:column; }
}

@media (max-width: 380px){
  .preloader-lockup{ --bull-shift:-85px; --word-offset:-93px; }
  .preloader-bull{ width:95px; }
  .preloader-word-img{ width:166px; }
}
