/* =========================================================
   BILSOFT SOFTWARE SOLUTIONS — Brand Stylesheet
   Palette : Navy Core #0B1F4D · Navy Deep #071633 · Navy Mid #16316E
             Gold #C9962B · Gold Light #E8C468 · Paper #F5F7FB · Ink #10192E
   Type    : Playfair Display (display) · Inter (UI/body) · IBM Plex Mono (data)
   ========================================================= */

:root{
  --navy-core:#0B1F4D;
  --navy-deep:#071633;
  --navy-mid:#16316E;
  --navy-soft:#1E3E82;
  --gold:#C9962B;
  --gold-light:#E8C468;
  --paper:#F5F7FB;
  --paper-dim:#EDF0F7;
  --ink:#10192E;
  --slate:#5B6B85;
  --line:rgba(11,31,77,0.12);
  --line-on-navy:rgba(255,255,255,0.14);
  --white:#FFFFFF;

  --font-display:'Playfair Display', Georgia, serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:'IBM Plex Mono', 'Courier New', monospace;

  --shadow-lg: 0 30px 70px -25px rgba(7,22,51,0.45);
  --shadow-md: 0 18px 40px -18px rgba(7,22,51,0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:700; }
p{ margin:0; }
section{ position:relative; }

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
  position:relative;
  z-index:1;
}

::selection{ background:var(--gold-light); color:var(--navy-deep); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:4px;
}

/* -------------------------------------------------
   Eyebrow / labels
------------------------------------------------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--gold);
  display:inline-block;
}
.on-light .eyebrow{ color:#9B7317; }
.on-light .eyebrow::before{ background:#9B7317; }

/* -------------------------------------------------
   Buttons
------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  padding:14px 26px;
  border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.btn::after{
  content:"";
  position:absolute;
  top:0; left:0;
  width:60%; height:100%;
  background:linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transform:translateX(-160%) skewX(-18deg);
  transition:transform .65s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
  z-index:1;
}
.btn:hover::after{ transform:translateX(220%) skewX(-18deg); }
.btn-outline::after, .btn-ghost-light::after{ background:linear-gradient(115deg, transparent 20%, rgba(201,150,43,0.35) 50%, transparent 80%); }
.btn-gold{
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  color:var(--navy-deep);
  box-shadow:0 14px 30px -12px rgba(201,150,43,0.55);
}
.btn-gold:hover{ transform:translateY(-3px) perspective(600px) rotateX(3deg); box-shadow:0 20px 38px -12px rgba(201,150,43,0.75); }
.btn-outline{
  background:transparent;
  border-color:var(--line-on-navy);
  color:var(--white);
}
.btn-outline:hover{ border-color:var(--gold-light); color:var(--gold-light); transform:translateY(-3px); }
.btn-navy{
  background:var(--navy-core);
  color:var(--white);
}
.btn-navy:hover{ background:var(--navy-deep); transform:translateY(-3px); box-shadow:0 16px 32px -16px rgba(7,22,51,0.6); }
.btn-ghost-light{
  background:transparent;
  border-color:var(--line);
  color:var(--navy-core);
}
.btn-ghost-light:hover{ border-color:var(--gold); color:#9B7317; transform:translateY(-2px); }

/* -------------------------------------------------
   Header / Nav
------------------------------------------------- */
.scroll-progress{
  position:fixed;
  top:0; left:0; right:0;
  height:3px;
  z-index:300;
  background:rgba(255,255,255,0.06);
}
.scroll-progress span{
  display:block;
  height:100%;
  width:0%;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow:0 0 12px rgba(232,196,104,0.6);
  transition:width .1s linear;
}

.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  background:rgba(7,22,51,0.86);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line-on-navy);
  transition:background .3s ease;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 32px;
  max-width:1200px;
  margin:0 auto;
}
.nav-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--white);
}
.nav-brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.nav-brand-text b{ font-family:var(--font-display); font-size:18px; letter-spacing:.03em; }
.nav-brand-text span{ font-family:var(--font-mono); font-size:9.5px; letter-spacing:.22em; color:var(--gold-light); }

.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  color:rgba(255,255,255,0.78);
  font-size:14.5px;
  font-weight:500;
  position:relative;
  padding:6px 0;
  transition:color .2s ease;
}
.nav-links a:hover{ color:var(--white); }
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background:var(--gold);
  transition:width .25s ease;
}
.nav-links a:hover::after{ width:100%; }

.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none;
  background:none; border:none;
  width:38px; height:38px;
  color:var(--white);
  cursor:pointer;
  align-items:center; justify-content:center;
}

/* -------------------------------------------------
   Hero
------------------------------------------------- */
.hero{
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(201,150,43,0.16), transparent 60%),
    linear-gradient(190deg, var(--navy-core) 0%, var(--navy-deep) 78%);
  color:var(--white);
  padding:190px 0 110px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:64px;
  align-items:center;
}
.hero-copy .eyebrow{ margin-bottom:22px; }
.hero h1{
  font-size:clamp(34px, 4.4vw, 56px);
  line-height:1.08;
  letter-spacing:-.01em;
  margin-bottom:22px;
}
.hero h1 em{
  font-style:italic;
  color:var(--gold-light);
}
.hero-sub{
  font-size:17px;
  color:rgba(255,255,255,0.72);
  max-width:520px;
  margin-bottom:34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:44px; }

.hero-stats{
  display:flex;
  gap:36px;
  flex-wrap:wrap;
  padding-top:28px;
  border-top:1px solid var(--line-on-navy);
}
.hero-stats div b{
  font-family:var(--font-mono);
  font-size:26px;
  color:var(--gold-light);
  display:block;
}
.hero-stats div span{
  font-size:12.5px;
  color:rgba(255,255,255,0.6);
  letter-spacing:.03em;
}

.hero-visual{ position:relative; }

.hero-glow{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(480px circle at var(--mx,72%) var(--my,20%), rgba(232,196,104,0.16), transparent 62%);
  transition:background .25s ease;
}
@media (max-width:980px){ .hero-glow{ display:none; } }

/* -------------------------------------------------
   Hero — ambient 3D shape field (pure CSS 3D, GPU-friendly)
------------------------------------------------- */
.hero-3d-field{
  position:absolute;
  inset:-60px -40px;
  z-index:0;
  pointer-events:none;
  perspective:1200px;
}
.h3d-shape{ position:absolute; transform-style:preserve-3d; opacity:.85; }

.h3d-cube{
  top:-6%; right:6%;
  width:58px; height:58px;
  transform-style:preserve-3d;
  animation:h3dSpin 16s linear infinite, h3dFloat 7s ease-in-out infinite;
}
.h3d-cube span{
  position:absolute; inset:0;
  border:1px solid rgba(232,196,104,0.55);
  background:linear-gradient(150deg, rgba(232,196,104,0.16), rgba(201,150,43,0.04));
  backdrop-filter:blur(2px);
}
.h3d-cube span:nth-child(1){ transform:translateZ(29px); }
.h3d-cube span:nth-child(2){ transform:rotateY(180deg) translateZ(29px); }
.h3d-cube span:nth-child(3){ transform:rotateY(90deg) translateZ(29px); }
.h3d-cube span:nth-child(4){ transform:rotateY(-90deg) translateZ(29px); }
.h3d-cube span:nth-child(5){ transform:rotateX(90deg) translateZ(29px); }
.h3d-cube span:nth-child(6){ transform:rotateX(-90deg) translateZ(29px); }

.h3d-ring{
  bottom:4%; left:-4%;
  width:120px; height:120px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.22);
  border-top-color:rgba(232,196,104,0.7);
  animation:h3dSpin 11s linear infinite reverse, h3dFloat 8s ease-in-out infinite 1s;
}
.h3d-ring::before{
  content:"";
  position:absolute; inset:14px;
  border-radius:50%;
  border:1px dashed rgba(255,255,255,0.18);
}

.h3d-diamond{
  top:38%; right:-6%;
  width:40px; height:40px;
  transform-style:preserve-3d;
  animation:h3dSpin 13s linear infinite, h3dFloat 6.5s ease-in-out infinite .5s;
}
.h3d-diamond span{
  position:absolute; inset:0;
  border:1px solid rgba(255,255,255,0.35);
  background:rgba(255,255,255,0.05);
}
.h3d-diamond span:nth-child(1){ transform:rotateY(0deg) translateZ(20px); }
.h3d-diamond span:nth-child(2){ transform:rotateY(90deg) translateZ(20px); }
.h3d-diamond span:nth-child(3){ transform:rotateX(90deg) translateZ(20px); }
.h3d-diamond span:nth-child(4){ transform:rotateX(-90deg) translateZ(20px); }

.h3d-dot{ width:8px; height:8px; border-radius:50%; background:var(--gold-light); box-shadow:0 0 16px 2px rgba(232,196,104,0.5); }
.h3d-dot-a{ top:14%; left:8%; animation:h3dFloat 5.5s ease-in-out infinite; }
.h3d-dot-b{ bottom:18%; right:14%; animation:h3dFloat 6.8s ease-in-out infinite 1.2s; }
.h3d-dot-c{ top:58%; left:-2%; animation:h3dFloat 7.4s ease-in-out infinite .6s; }

@keyframes h3dSpin{ from{ transform:rotateX(0) rotateY(0); } to{ transform:rotateX(360deg) rotateY(360deg); } }
@keyframes h3dFloat{ 0%,100%{ margin-top:0; } 50%{ margin-top:-14px; } }

@media (prefers-reduced-motion: reduce){
  .h3d-shape{ animation:none !important; }
}
@media (max-width:980px){
  .hero-3d-field{ display:none; }
}

/* -------------------------------------------------
   Ambient orbs — soft drifting depth layer used across
   sections to keep the page in gentle, professional motion
------------------------------------------------- */
.ambient-orbs{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
  pointer-events:none;
}
.ambient-orbs .orb{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  will-change:transform;
}
.orbs-light .orb-a{
  width:340px; height:340px;
  top:-120px; left:-80px;
  background:radial-gradient(circle at 40% 40%, rgba(201,150,43,0.16), transparent 70%);
  animation:orbDriftA 22s ease-in-out infinite;
}
.orbs-light .orb-b{
  width:280px; height:280px;
  bottom:-100px; right:-60px;
  background:radial-gradient(circle at 60% 60%, rgba(11,31,77,0.09), transparent 70%);
  animation:orbDriftB 26s ease-in-out infinite;
}
.orbs-light .orb-c{
  width:180px; height:180px;
  top:40%; right:18%;
  background:radial-gradient(circle, rgba(201,150,43,0.12), transparent 70%);
  animation:orbDriftC 18s ease-in-out infinite;
}
.orbs-navy .orb-a{
  width:380px; height:380px;
  top:-140px; right:-100px;
  background:radial-gradient(circle at 40% 40%, rgba(232,196,104,0.14), transparent 70%);
  animation:orbDriftA 24s ease-in-out infinite;
}
.orbs-navy .orb-b{
  width:300px; height:300px;
  bottom:-120px; left:-80px;
  background:radial-gradient(circle at 60% 60%, rgba(30,62,130,0.5), transparent 70%);
  animation:orbDriftB 28s ease-in-out infinite;
}
.orbs-navy .orb-c{
  width:200px; height:200px;
  top:30%; left:14%;
  background:radial-gradient(circle, rgba(232,196,104,0.1), transparent 70%);
  animation:orbDriftC 20s ease-in-out infinite;
}
@keyframes orbDriftA{
  0%,100%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(50px,40px) scale(1.12); }
}
@keyframes orbDriftB{
  0%,100%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(-40px,-30px) scale(1.08); }
}
@keyframes orbDriftC{
  0%,100%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(28px,-36px) scale(1.15); }
}
@media (max-width:700px){
  .ambient-orbs{ display:none; }
}

/* Signature element: the "live console" window */
.console{
  position:relative;
  border-radius:18px;
  background:linear-gradient(160deg, #0E2557, #081A3C);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  transform:perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.console-bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  background:rgba(255,255,255,0.04);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.console-bar span{
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,0.18);
}
.console-bar .url{
  margin-left:12px;
  font-family:var(--font-mono);
  font-size:11.5px;
  color:rgba(255,255,255,0.45);
  letter-spacing:.02em;
}
.console-stage{
  position:relative;
  aspect-ratio:1500/950;
  overflow:hidden;
}
.console-stage img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:top;
  opacity:0;
  transition:opacity 1.1s ease;
}
.console-stage img.is-active{ opacity:1; }
.console-tag{
  position:absolute;
  bottom:16px; left:16px;
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(7,22,51,0.75);
  border:1px solid rgba(255,255,255,0.15);
  padding:7px 12px;
  border-radius:999px;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--gold-light);
  backdrop-filter:blur(6px);
}
.console-tag .dot{
  width:7px; height:7px; border-radius:50%;
  background:#3FCF8E;
  box-shadow:0 0 0 3px rgba(63,207,142,0.2);
}
.console-dots{
  display:flex; gap:6px;
  position:absolute; top:16px; right:16px;
}
.console-dots i{
  width:6px; height:6px; border-radius:50%;
  background:rgba(255,255,255,0.25);
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.console-dots i.is-active{ background:var(--gold-light); transform:scale(1.3); }
.console-float{
  position:absolute;
  bottom:-26px; right:-30px;
  background:var(--white);
  color:var(--navy-deep);
  padding:14px 18px;
  border-radius:14px;
  box-shadow:var(--shadow-md);
  font-size:13px;
  display:flex;
  align-items:center;
  gap:10px;
  transform:perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.console-float b{ font-family:var(--font-mono); color:var(--gold); font-size:15px; }

/* -------------------------------------------------
   Section headers
------------------------------------------------- */
.section-head{
  max-width:640px;
  margin-bottom:52px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{
  font-size:clamp(28px, 3.2vw, 40px);
  line-height:1.15;
  margin:16px 0 14px;
  color:var(--navy-core);
}
.section-head p{ color:var(--slate); font-size:16px; }
.on-navy .section-head h2{ color:var(--white); }
.on-navy .section-head p{ color:rgba(255,255,255,0.68); }

section.on-light{ background:var(--paper); }
section.on-white{ background:var(--white); }
section.on-navy{ background:linear-gradient(180deg, var(--navy-deep), var(--navy-core)); color:var(--white); }

.pad{ padding:110px 0; }

/* -------------------------------------------------
   About / trust strip
------------------------------------------------- */
.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:start;
}
.about-lede{
  font-family:var(--font-display);
  font-size:24px;
  line-height:1.45;
  color:var(--navy-core);
  font-weight:600;
}
.about-lede em{ font-style:italic; color:var(--gold); }
.about-list{ margin-top:28px; display:grid; gap:16px; }
.about-list li{
  display:flex; gap:14px;
  font-size:15px; color:var(--slate);
  align-items:flex-start;
}
.about-list li svg{ flex:none; margin-top:3px; color:var(--gold); }
.about-panels{ display:grid; gap:22px; }
.about-panel{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:26px 28px;
  display:flex;
  gap:20px;
  box-shadow:var(--shadow-md);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  will-change:transform;
}
.about-panel:hover{ box-shadow:var(--shadow-lg); border-color:rgba(201,150,43,0.3); }
.about-panel .num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--gold);
  border:1px solid rgba(201,150,43,0.35);
  border-radius:999px;
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.about-panel h3{ font-size:17px; color:var(--navy-core); margin-bottom:6px; }
.about-panel p{ font-size:14.5px; color:var(--slate); }

/* -------------------------------------------------
   Product suite — app-launcher style
------------------------------------------------- */
.suite-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:44px;
}
.suite-tab{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.04em;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--white);
  color:var(--slate);
  cursor:pointer;
  transition:all .2s ease;
}
.suite-tab:hover{ border-color:var(--gold); color:var(--navy-core); }
.suite-tab.is-active{
  background:var(--navy-core);
  border-color:var(--navy-core);
  color:var(--white);
}

.suite-group{ display:none; }
.suite-group.is-active{ display:block; animation:fadeUp .5s ease; }
@keyframes fadeUp{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

.suite-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.product-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:18px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position:relative;
  overflow:hidden;
}
.product-card::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .35s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:rgba(201,150,43,0.35);
}
.product-card:hover::before{ transform:scaleX(1); }
.product-icon{
  width:52px; height:52px;
  border-radius:12px;
  background:linear-gradient(150deg, var(--navy-core), var(--navy-mid));
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-light);
  flex:none;
  transform-style:preserve-3d;
  transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.product-card:hover .product-icon{
  transform:perspective(600px) rotateY(-16deg) rotateX(10deg) translateZ(6px) scale(1.08);
  box-shadow:0 14px 26px -10px rgba(11,31,77,0.55);
}
.product-card h3{
  font-size:18px;
  color:var(--navy-core);
  font-family:var(--font-body);
  font-weight:700;
}
.product-card p{ font-size:14px; color:var(--slate); }
.product-tag{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gold);
  background:rgba(201,150,43,0.1);
  padding:4px 10px;
  border-radius:999px;
  align-self:flex-start;
}

/* -------------------------------------------------
   Showcase (screenshots) — module strip
------------------------------------------------- */
.showcase-strip{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}
.showcase-card{
  background:var(--navy-deep);
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--line-on-navy);
  box-shadow:var(--shadow-md);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  will-change:transform;
}
.showcase-card:hover{ box-shadow:0 26px 55px -20px rgba(0,0,0,0.55); }
.showcase-frame{
  aspect-ratio:1500/950;
  overflow:hidden;
  position:relative;
}
.showcase-frame img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:top;
  transition:transform .6s ease;
}
.showcase-card:hover .showcase-frame img{ transform:scale(1.06); }
.showcase-cap{
  padding:16px 18px;
  display:flex; flex-direction:column; gap:2px;
}
.showcase-cap b{ font-size:14px; color:var(--white); }
.showcase-cap span{ font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,0.5); }

/* -------------------------------------------------
   Process / how we work
------------------------------------------------- */
.process-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}
.process-step{
  padding:0 24px 0 0;
  position:relative;
}
.process-step:not(:last-child)::after{
  content:"";
  position:absolute; top:20px; right:0;
  width:24px; height:1px;
  background:var(--line);
}
.process-step .idx{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--gold);
  border-bottom:1px solid rgba(201,150,43,0.3);
  padding-bottom:14px;
  margin-bottom:16px;
  display:block;
}
.process-step h3{ font-size:17px; color:var(--navy-core); margin-bottom:10px; }
.process-step p{ font-size:14px; color:var(--slate); }

/* -------------------------------------------------
   Team
------------------------------------------------- */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.team-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease;
}
.team-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.team-top{
  background:linear-gradient(150deg, var(--navy-core), var(--navy-mid));
  height:120px;
  position:relative;
  display:flex; align-items:flex-end; justify-content:flex-start;
  padding:0 22px;
}
.team-avatar{
  width:68px; height:68px;
  border-radius:14px;
  background:var(--white);
  color:var(--navy-core);
  font-family:var(--font-display);
  font-weight:700;
  font-size:24px;
  display:flex; align-items:center; justify-content:center;
  transform:translateY(34px);
  box-shadow:var(--shadow-md);
  border:3px solid var(--paper);
}
.team-body{ padding:46px 22px 26px; }
.team-body h3{ font-size:17px; color:var(--navy-core); margin-bottom:4px; }
.team-role{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold);
  display:block;
  margin-bottom:14px;
}
.team-body p{ font-size:13.5px; color:var(--slate); }

/* -------------------------------------------------
   CTA band
------------------------------------------------- */
.cta-band{
  background:linear-gradient(120deg, var(--navy-core), var(--navy-mid) 60%, var(--navy-core));
  border-radius:28px;
  padding:64px 60px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(600px 300px at 90% 0%, rgba(201,150,43,0.22), transparent 70%);
}
.cta-band h2{ font-size:clamp(24px,2.8vw,34px); position:relative; margin-bottom:14px; }
.cta-band p{ color:rgba(255,255,255,0.72); font-size:15px; max-width:460px; position:relative; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; }

/* -------------------------------------------------
   Contact
------------------------------------------------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}
.contact-list{ display:grid; gap:20px; margin-top:30px; }
.contact-item{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:20px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
}
.contact-item .ic{
  width:44px; height:44px;
  border-radius:10px;
  background:rgba(201,150,43,0.1);
  color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.contact-item b{ display:block; font-size:14px; color:var(--navy-core); margin-bottom:3px; }
.contact-item span, .contact-item a{ font-size:14.5px; color:var(--slate); }
.contact-item a:hover{ color:var(--gold); }
.contact-item .ic.ic-instagram{
  background:linear-gradient(135deg, #f9ce34, #ee2a7b 60%, #6228d7);
  color:var(--white);
}

/* Social links */
.social-row{ margin-top:24px; }
.social-icon{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 18px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-core);
  background:var(--white);
  border:1px solid var(--line);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
}
.social-icon svg{
  color:#ee2a7b;
  transition:color .25s ease;
}
.social-icon:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 26px -12px rgba(238,42,123,0.35);
  border-color:rgba(238,42,123,0.35);
}
.footer-social.social-icon{
  background:rgba(255,255,255,0.06);
  border:1px solid var(--line-on-navy);
  color:var(--white);
}
.footer-social.social-icon:hover{ border-color:rgba(238,42,123,0.5); }

.form-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:36px;
  box-shadow:var(--shadow-md);
}
.form-card h3{ font-size:20px; color:var(--navy-core); margin-bottom:6px; }
.form-card > p{ font-size:14px; color:var(--slate); margin-bottom:26px; }
.field{ margin-bottom:18px; }
.field label{
  display:block; font-size:12.5px; font-weight:600;
  color:var(--navy-core); margin-bottom:7px;
  letter-spacing:.02em;
}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:9px;
  font-family:var(--font-body);
  font-size:14.5px;
  color:var(--ink);
  background:var(--paper);
  transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--gold);
  background:var(--white);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note{ font-size:12px; color:var(--slate); margin-top:14px; }

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.site-footer{
  background:var(--navy-deep);
  color:rgba(255,255,255,0.7);
  padding:70px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
  border-bottom:1px solid var(--line-on-navy);
}
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.footer-brand img{ width:54px; height:54px; border-radius:11px; box-shadow:0 6px 16px -4px rgba(0,0,0,0.5); }
.footer-brand b{ color:var(--white); font-family:var(--font-display); font-size:18px; }
.footer-col h4{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-light);
  margin-bottom:18px;
}
.footer-col ul{ display:grid; gap:11px; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,0.68); transition:color .2s ease; }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:26px;
  font-size:13px;
  flex-wrap:wrap;
  gap:12px;
}

/* -------------------------------------------------
   Brand mark — nav logo + hero badge
------------------------------------------------- */
.nav-cube-stage{
  display:block;
  perspective:600px;
  width:108px; height:120px;
  flex:none;
}
.nav-cube{
  position:relative;
  display:block;
  width:100%; height:100%;
  transform-style:preserve-3d;
  animation:navCubeSpin 6s ease-in-out infinite;
}
@keyframes navCubeSpin{
  0%   { transform:rotateY(0deg); }
  45%  { transform:rotateY(360deg); }
  55%  { transform:rotateY(360deg); }
  100% { transform:rotateY(720deg); }
}
.nav-cube-face{
  position:absolute;
  top:0; left:0;
  width:107px; height:107px;
  border:3px solid #FFFFFF;
  border-radius:9px;
  background:linear-gradient(145deg, var(--navy-core) 0%, var(--navy-mid) 100%);
  box-shadow:0 18px 34px -8px rgba(0,0,0,0.55);
  backface-visibility:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:4px 0 8px;
  box-sizing:border-box;
}
.nav-cube-front{ transform:translateZ(13px); }
.nav-cube-back{ transform:rotateY(180deg) translateZ(13px); }
.nc-letter{
  font-family:'Times New Roman', Times, serif;
  font-size:47px;
  font-weight:700;
  color:#FFFFFF;
  line-height:1;
  text-shadow:0 3px 8px rgba(0,0,0,0.4);
}
.nc-word{
  font-family:'Times New Roman', Times, serif;
  color:#FFFFFF;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  margin-top:2px;
}
.nc-tag{
  font-family:'Times New Roman', Times, serif;
  color:#FFFFFF;
  font-size:4px;
  letter-spacing:1.3px;
  opacity:0.85;
  margin-top:2px;
}
.nc-rule{
  width:26px; height:1.5px;
  background:#FFFFFF;
  margin-top:3px;
}
.nav-brand:hover .nav-cube{ animation-play-state:running; }
/* Static hero logo badge — replaces the old spinning cube mark */
.hero-logo-badge{
  position:absolute;
  top:-38px; left:-30px;
  z-index:4;
  width:132px; height:132px;
  border-radius:24px;
  padding:8px;
  background:linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.16);
  box-shadow:0 26px 50px -14px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,150,43,0.12);
  backdrop-filter:blur(6px);
  animation:heroLogoFloat 5s ease-in-out infinite;
  transition:transform .35s ease, box-shadow .35s ease;
}
.hero-logo-badge:hover{ transform:translateY(-4px) scale(1.03); box-shadow:0 30px 60px -14px rgba(0,0,0,0.65), 0 0 0 1px rgba(201,150,43,0.3); }
.hero-logo-badge img{ width:100%; height:100%; border-radius:18px; display:block; }
@keyframes heroLogoFloat{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}
.years-ribbon{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(201,150,43,0.14);
  border:1px solid rgba(201,150,43,0.4);
  color:var(--gold-light);
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.08em;
  padding:6px 14px 6px 10px;
  border-radius:999px;
  margin-bottom:18px;
}
.years-ribbon b{ color:var(--white); font-family:var(--font-mono); }
.on-white .years-ribbon, .on-light .years-ribbon{ background:rgba(201,150,43,0.1); color:#9B7317; border-color:rgba(201,150,43,0.3); }
.on-white .years-ribbon b, .on-light .years-ribbon b{ color:var(--navy-core); }

/* -------------------------------------------------
   Clients — marquee + grid
------------------------------------------------- */
.client-marquee{
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:22px 0;
  margin-bottom:46px;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-track{
  display:flex;
  gap:14px;
  width:max-content;
  animation:clientScroll 34s linear infinite;
}
.client-marquee:hover .client-track{ animation-play-state:paused; }
@keyframes clientScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.client-chip{
  display:flex; align-items:center; gap:9px;
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.03em;
  color:var(--navy-core);
  background:var(--paper);
  border:1px solid var(--line);
  padding:10px 18px;
  border-radius:999px;
  white-space:nowrap;
  flex:none;
}
.client-chip svg{ color:var(--gold); flex:none; }

.client-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.client-search{
  position:relative;
  display:flex; align-items:center; gap:10px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:999px;
  padding:11px 16px;
  min-width:260px;
  color:var(--slate);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.client-search:focus-within{ border-color:var(--gold); box-shadow:0 0 0 4px rgba(201,150,43,0.12); }
.client-search svg{ flex:none; color:var(--slate); }
.client-search input{
  border:none; outline:none; background:none;
  font-family:var(--font-body); font-size:14px; color:var(--ink);
  width:100%;
}
.client-search input::placeholder{ color:#9AA6BC; }
.client-search-clear{
  flex:none; border:none; background:var(--paper-dim); color:var(--slate);
  width:20px; height:20px; border-radius:50%; font-size:14px; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.client-search-clear:hover{ background:var(--gold-light); color:var(--navy-deep); }

.client-tabs{
  display:flex; flex-wrap:wrap; gap:10px;
}
.client-tab{
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.03em;
  padding:9px 18px; border-radius:999px;
  border:1px solid var(--line); background:var(--white); color:var(--slate);
  cursor:pointer; transition:all .2s ease;
}
.client-tab:hover{ border-color:var(--gold); color:var(--navy-core); }
.client-tab.is-active{ background:var(--navy-core); border-color:var(--navy-core); color:var(--white); }
.client-tab .cc-count{
  font-size:10.5px; padding:1px 7px; border-radius:999px;
  background:rgba(11,31,77,0.08); color:var(--navy-core);
}
.client-tab.is-active .cc-count{ background:rgba(255,255,255,0.18); color:var(--white); }

.client-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  perspective:1200px;
}
.client-card[hidden]{ display:none; }
.client-card{
  position:relative;
  display:flex; flex-direction:column; gap:12px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px 20px;
  overflow:hidden;
  transform-style:preserve-3d;
  will-change:transform;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.client-card::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
  transform:scaleX(0); transform-origin:left;
  transition:transform .35s ease;
}
.client-card:hover{ box-shadow:var(--shadow-md); border-color:rgba(201,150,43,0.35); }
.client-card:hover::before{ transform:scaleX(1); }
.cc-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.client-card .ic{
  width:42px; height:42px; flex:none;
  border-radius:10px;
  background:linear-gradient(150deg, var(--navy-core), var(--navy-mid));
  color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  transform:translateZ(18px);
}
.cc-badge{
  font-family:var(--font-mono); font-size:10px; letter-spacing:.04em;
  color:#9B7317; background:rgba(201,150,43,0.1);
  padding:3px 9px; border-radius:999px; white-space:nowrap;
}
.client-card b{ font-size:14px; color:var(--navy-core); line-height:1.3; display:block; transform:translateZ(10px); }
.cc-live{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:10.5px; color:var(--slate); letter-spacing:.02em;
}
.cc-live i{ width:6px; height:6px; border-radius:50%; background:#3FCF8E; box-shadow:0 0 0 3px rgba(63,207,142,0.18); flex:none; }
.client-empty{
  text-align:center;
  padding:36px 20px;
  color:var(--slate);
  font-size:14.5px;
  border:1px dashed var(--line);
  border-radius:var(--radius-md);
  background:var(--paper);
}
.client-more{
  text-align:center;
  margin-top:30px;
  font-size:14.5px;
  color:var(--slate);
  font-style:italic;
}

/* Client mix — industry breakdown bars */
.client-breakdown{
  margin-top:46px;
  padding:26px 28px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
}
.client-breakdown-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;
  margin-bottom:18px;
}
.client-breakdown-head h4{ font-family:var(--font-body); font-weight:700; font-size:14.5px; color:var(--navy-core); margin:0; }
.client-breakdown-head span{ font-size:12px; color:var(--slate); }
.cb-bars{ display:flex; flex-direction:column; gap:12px; }
.cb-row{ display:grid; grid-template-columns:170px 1fr 44px; align-items:center; gap:14px; }
.cb-label{ font-size:12.5px; color:var(--slate); }
.cb-track{ height:8px; border-radius:999px; background:var(--paper-dim); overflow:hidden; }
.cb-fill{
  display:block; height:100%; width:0;
  border-radius:999px;
  background:linear-gradient(90deg, var(--navy-mid), var(--gold));
  transition:width 1.1s cubic-bezier(.2,.8,.2,1);
}
.cb-val{ font-family:var(--font-mono); font-size:12px; color:var(--navy-core); text-align:right; }

.client-stat-strip{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:44px;
  padding-top:34px;
  border-top:1px solid var(--line);
}
.client-stat-strip div{ text-align:center; }
.client-stat-strip b{ display:block; font-family:var(--font-mono); font-size:30px; color:var(--navy-core); }
.client-stat-strip span{ font-size:12.5px; color:var(--slate); letter-spacing:.03em; }

/* -------------------------------------------------
   Testimonials / quotes
------------------------------------------------- */
.testi-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.testi-card{
  background:var(--white);
  border:1px solid var(--line-on-navy);
  border-radius:var(--radius-lg);
  padding:30px 28px;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:18px;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  will-change:transform;
}
.testi-card:hover{ box-shadow:var(--shadow-md); }
.on-navy .testi-card{ background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.12); }
.testi-quote-mark{
  font-family:var(--font-display);
  font-size:52px;
  line-height:0.6;
  color:var(--gold);
  opacity:0.8;
}
.testi-card p{ font-size:15px; line-height:1.6; color:rgba(255,255,255,0.85); font-style:italic; }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-avatar{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(150deg, var(--gold-light), var(--gold));
  color:var(--navy-deep);
  font-family:var(--font-display); font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.testi-who b{ display:block; font-size:13.5px; color:var(--white); }
.testi-who span{ display:block; font-size:12px; color:rgba(255,255,255,0.5); font-family:var(--font-mono); }

/* -------------------------------------------------
   Sub-showcase headers (CRM / Lab strips)
------------------------------------------------- */
.subshowcase-head{
  display:flex; align-items:baseline; justify-content:space-between;
  margin:64px 0 24px;
  flex-wrap:wrap; gap:12px;
}
.subshowcase-head h3{ font-size:19px; color:var(--white); font-family:var(--font-display); }
.subshowcase-head span{ font-family:var(--font-mono); font-size:11.5px; color:var(--gold-light); letter-spacing:.06em; text-transform:uppercase; }
.showcase-gallery-cta{ text-align:center; margin-top:56px; }
.showcase-gallery-cta p{ color:rgba(255,255,255,0.6); font-size:14px; margin-bottom:18px; }

/* -------------------------------------------------
   Gallery drawer + lightbox
------------------------------------------------- */
.gallery-drawer{
  position:fixed; inset:0;
  z-index:400;
  display:flex;
  justify-content:flex-end;
  visibility:hidden;
  opacity:0;
  transition:opacity .35s ease, visibility .35s ease;
}
.gallery-drawer.is-open{ visibility:visible; opacity:1; }
.gallery-drawer::before{
  content:"";
  position:absolute; inset:0;
  background:rgba(7,22,51,0.65);
  backdrop-filter:blur(3px);
}
.gallery-drawer-inner{
  position:relative;
  width:min(680px, 92vw);
  height:100%;
  background:var(--paper);
  box-shadow:-30px 0 60px rgba(0,0,0,0.35);
  padding:30px 30px 40px;
  overflow-y:auto;
  transform:translateX(30px);
  transition:transform .4s ease;
}
.gallery-drawer.is-open .gallery-drawer-inner{ transform:translateX(0); }
.gallery-drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:6px;
}
.gallery-drawer-head h3{ font-size:21px; color:var(--navy-core); }
.gallery-drawer-head p{ color:var(--slate); font-size:13.5px; margin-bottom:20px; }
.gallery-close, .lightbox-close{
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--white);
  color:var(--navy-core);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.gallery-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin:18px 0 20px; }
.gallery-tab{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.03em;
  padding:8px 14px; border-radius:999px;
  border:1px solid var(--line); background:var(--white); color:var(--slate);
  cursor:pointer; transition:all .2s ease;
}
.gallery-tab:hover{ border-color:var(--gold); color:var(--navy-core); }
.gallery-tab.is-active{ background:var(--navy-core); border-color:var(--navy-core); color:var(--white); }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}
.gallery-thumb{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  background:var(--white);
  padding:0;
  text-align:left;
  transition:transform .25s ease, box-shadow .25s ease;
}
.gallery-thumb:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:rgba(201,150,43,0.4); }
.gallery-thumb{ position:relative; }
.gallery-thumb img{ width:100%; aspect-ratio:1500/950; object-fit:cover; object-position:top; transition:transform .5s ease; }
.gallery-thumb:hover img{ transform:scale(1.08); }
.gallery-thumb .cap{ padding:10px 12px; font-size:12px; color:var(--navy-core); font-weight:600; }
.gallery-thumb[hidden]{ display:none; }

.lightbox{
  position:fixed; inset:0;
  z-index:500;
  display:flex; align-items:center; justify-content:center;
  background:rgba(4,10,26,0.92);
  visibility:hidden; opacity:0;
  transition:opacity .3s ease, visibility .3s ease;
  padding:40px;
}
.lightbox.is-open{ visibility:visible; opacity:1; }
.lightbox img{
  max-width:min(1000px, 86vw);
  max-height:80vh;
  border-radius:12px;
  box-shadow:0 40px 90px rgba(0,0,0,0.6);
}
.lightbox-cap{
  position:absolute; bottom:34px; left:0; right:0;
  text-align:center;
  color:var(--white);
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:.04em;
}
.lightbox-close{ position:absolute; top:26px; right:26px; }
.lightbox-prev, .lightbox-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.06);
  color:var(--white);
  font-size:22px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover{ border-color:var(--gold); color:var(--gold-light); }
.lightbox-prev{ left:20px; }
.lightbox-next{ right:20px; }

/* -------------------------------------------------
   Utility: back to top
------------------------------------------------- */
.to-top{
  position:fixed;
  right:26px; bottom:26px;
  width:46px; height:46px;
  border-radius:50%;
  background:var(--navy-core);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md);
  opacity:0; pointer-events:none;
  transform:translateY(10px);
  transition:opacity .3s ease, transform .3s ease, background .2s ease;
  z-index:150;
  cursor:pointer;
  border:none;
}
.to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.to-top:hover{ background:var(--gold); color:var(--navy-deep); }

/* -------------------------------------------------
   Reveal on scroll
------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .suite-grid{ grid-template-columns:repeat(2,1fr); }
  .showcase-strip{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .process-row{ grid-template-columns:repeat(2,1fr); gap:30px; }
  .process-step:not(:last-child)::after{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .console{ max-width:560px; margin:0 auto; }
  .about-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .client-grid{ grid-template-columns:repeat(2,1fr); }
  .client-toolbar{ flex-direction:column; align-items:stretch; }
  .cb-row{ grid-template-columns:130px 1fr 40px; }
  .testi-grid{ grid-template-columns:1fr; }
  .hero-logo-badge{ width:104px; height:104px; top:-24px; left:-18px; }
  .nav-cube-stage{ width:80px; height:90px; }
  .nav-cube-face{ width:80px; height:80px; border-width:2.2px; border-radius:7px; }
  .nav-cube-front{ transform:translateZ(10px); }
  .nav-cube-back{ transform:rotateY(180deg) translateZ(10px); }
  .nc-letter{ font-size:35px; }
  .nc-word{ font-size:8px; }
  .nc-tag{ font-size:3px; }
  .nc-rule{ width:19px; }
}

@media (max-width: 760px){
  .nav-links, .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-links.is-open{
    display:flex;
    position:fixed;
    top:70px; left:0; right:0;
    background:var(--navy-deep);
    flex-direction:column;
    padding:24px 32px;
    gap:20px;
    border-bottom:1px solid var(--line-on-navy);
  }
  .hero{ padding:130px 0 70px; }
  .hero-stats{ gap:24px; }
  .suite-grid{ grid-template-columns:1fr; }
  .showcase-strip{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr; }
  .process-row{ grid-template-columns:1fr; }
  .cta-band{ grid-template-columns:1fr; padding:42px 26px; border-radius:20px; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .field-row{ grid-template-columns:1fr; }
  .console-float{ display:none; }
  .pad{ padding:76px 0; }
  .container{ padding:0 20px; }
  .client-grid{ grid-template-columns:1fr; }
  .client-tabs{ gap:8px; }
  .client-tab{ font-size:11.5px; padding:8px 14px; }
  .gallery-grid{ grid-template-columns:1fr; }
  .gallery-drawer-inner{ padding:22px 18px 30px; }
  .hero-logo-badge{ position:static; margin:0 auto 26px; width:112px; height:112px; }
  .nav-cube-stage{ width:64px; height:72px; }
  .nav-cube-face{ width:64px; height:64px; border-width:2px; border-radius:6px; }
  .nav-cube-front{ transform:translateZ(8px); }
  .nav-cube-back{ transform:rotateY(180deg) translateZ(8px); }
  .nc-letter{ font-size:28px; }
  .nc-word{ font-size:7px; }
  .nc-tag{ font-size:3px; }
  .nc-rule{ width:16px; margin-top:2px; }
  .lightbox-prev{ left:6px; } .lightbox-next{ right:6px; }
  .client-stat-strip{ gap:22px; }
  .client-search{ min-width:0; }
  .cb-row{ grid-template-columns:1fr; gap:6px; }
  .cb-val{ text-align:left; }
  .client-breakdown{ padding:20px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
