/* ═══════════════════════════════════════════════════════════════
   WSS CORPORATE LAYER
   Loaded last on every page. Brings the site back to the WSS house
   style: white surfaces, navy #0a0e34 for text and actions, light
   blue #8da7c3 only as accent, IBM Plex Sans, hairlines instead of
   shadows, no glow, no gradients, no hover jumps.
   ═══════════════════════════════════════════════════════════════ */

:root{
  --wss-navy:#0a0e34;
  --wss-blue:#8da7c3;
  --wss-blue-tint:#eef2f7;
  --wss-line:rgba(10,14,52,.12);
  --wss-line-strong:rgba(10,14,52,.22);
  --wss-muted:#4a5068;

  --navy-900:#0a0e34; --navy-800:#0a0e34; --navy-700:#151a45; --navy-600:#1d2353; --navy-500:#2a3163;
  --blue-600:#0a0e34; --blue-500:#0a0e34; --blue-400:#8da7c3; --blue-300:#8da7c3; --blue-100:#dde5ee; --blue-50:#eef2f7;
  --scaleteam-color:#0a0e34; --scaleteam-light:#eef2f7;
  --scaleit-color:#0a0e34;   --scaleit-light:#eef2f7;
  --scaleterra-color:#0a0e34;--scaleterra-light:#eef2f7;
  --green:#0a0e34; --orange:#0a0e34;

  --bg:#ffffff; --bg-warm:#ffffff; --bg-cream:#ffffff; --bg-card:#ffffff; --bg-dark:#ffffff;
  --text-900:#0a0e34; --text-700:#2b3050; --text-500:#4a5068; --text-400:#7a8096;
  --border:rgba(10,14,52,.12);

  --shadow-sm:none; --shadow-md:none; --shadow-lg:none; --shadow-xl:none;
  --radius:6px; --radius-lg:8px; --radius-full:4px;

  --heading:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ─── Type ─────────────────────────────────────────────────── */
html,body{ background:#fff !important; }
body{ font-family:var(--body); color:var(--text-900); font-feature-settings:"kern"; }
h1,h2,h3,h4,h5,h6{ font-family:var(--heading) !important; letter-spacing:-.012em !important; color:var(--wss-navy); }
h1{ font-weight:500 !important; line-height:1.08 !important; }
h2{ font-weight:500 !important; line-height:1.14 !important; }
h3,h4{ font-weight:600 !important; }
h1 strong,h2 strong,h1 b,h2 b{ font-weight:600 !important; color:inherit !important; }
h1 .light,h2 .light,h1 em,h2 em{ font-weight:300 !important; }
p{ color:var(--wss-muted); }
button,input,select,textarea{ font-family:var(--body); }

/* gradient or coloured "highlight" words go back to plain navy */
[style*="background-clip"],[class*="grad"],.accent,.hl,.highlight{
  background:none !important; -webkit-background-clip:border-box !important; background-clip:border-box !important;
  -webkit-text-fill-color:currentColor !important; color:inherit !important; text-shadow:none !important;
}

/* eyebrows: letterspaced navy, like the wordmark under the logo */
.section-eyebrow,.services-eyebrow,.sec-eyebrow,.eyebrow,[class*="eyebrow"],[class*="-kicker"]{
  color:var(--wss-navy) !important; letter-spacing:.22em !important; font-weight:600 !important;
  background:none !important; border:none !important; padding-left:0 !important; padding-right:0 !important; border-radius:0 !important;
}

/* ─── Surfaces: everything white, separated by hairlines ───── */
section,.section,[class*="-section"]{ background-color:#fff; }
.sectors,.approach,.blog,.about-preview,.services,.systems,.cta,.stats{ background:#fff !important; }
main > section + section,body > section + section{ border-top:1px solid var(--wss-line); }

/* kill glow, blur and gradient decoration */
*,*::before,*::after{ text-shadow:none !important; }
[class*="glow"],[class*="orb"],[class*="blob"],.hero::after,.cta-box::before{ display:none !important; }
.nav{ background:#fff !important; backdrop-filter:none !important; border-bottom:1px solid var(--wss-line) !important; }
.nav.scrolled{ box-shadow:none !important; }
.nav-brand img{ height:28px !important; width:auto !important; }
.nav-link{ font-weight:500 !important; color:var(--text-700) !important; }
.nav-link.active,.nav-link:hover{ color:var(--wss-navy) !important; }
.nav-link::after{ background:var(--wss-navy) !important; height:1px !important; }
.nav-lang button.active{ color:var(--wss-navy) !important; }

/* ─── Buttons: rectangular, navy, calm ─────────────────────── */
.btn,.nav-cta,a[class*="btn"],button[class*="btn"]{
  border-radius:4px !important; box-shadow:none !important; font-weight:600 !important; letter-spacing:0 !important;
  transition:background-color .2s, color .2s, border-color .2s !important;
}
.btn:hover,.nav-cta:hover,a[class*="btn"]:hover,button[class*="btn"]:hover{ transform:none !important; box-shadow:none !important; }
.btn-accent,.btn-primary,.nav-cta{ background:var(--wss-navy) !important; color:#fff !important; border:1px solid var(--wss-navy) !important; }
.btn-accent:hover,.btn-primary:hover,.nav-cta:hover{ background:#1d2353 !important; }
.btn-ghost,.btn-soft,.btn-secondary,.btn-outline,.btn-white{
  background:#fff !important; color:var(--wss-navy) !important; border:1px solid var(--wss-line-strong) !important;
}
.btn-ghost:hover,.btn-soft:hover,.btn-secondary:hover,.btn-outline:hover,.btn-white:hover{ border-color:var(--wss-navy) !important; }
.nav-cta{ padding:.55rem 1.2rem !important; }

/* text links: navy, underline on hover instead of colour shifts */
.bf-link,.svc-link,.sector a,.more,[class*="-link"]:not(.nav-link):not(.footer-social-link){ color:var(--wss-navy) !important; }

/* ─── Cards: hairline borders, no shadows, no lift ─────────── */
[class*="card"],.svc,.st-feat,.sector-card,.faq-item,details,.ap-step,.st-step,.client-card,
[class*="tile"],[class*="panel"],[class*="box"]:not(.cta-box){
  box-shadow:none !important;
}
[class*="card"]:hover,.svc:hover,.st-feat:hover,.sector-card:hover,.blog-featured:hover,.blog-item:hover,
[class*="tile"]:hover,.client-card:hover,.card:hover{ transform:none !important; box-shadow:none !important; }
.svc,.st-feat,.sector-card,[class*="-card"]:not(.client-card){ border-radius:6px !important; }
.st-feat{ background:#fff !important; border:1px solid var(--wss-line) !important; }
.sector-card::after{ background:var(--wss-navy) !important; height:2px !important; }
img{ border-radius:inherit; }
.split-visual img,.ap-visual img{ border-radius:6px !important; box-shadow:none !important; }

/* pills and tags: square, quiet */
[class*="tag"]:not(.footer-col-title),[class*="pill"],[class*="chip"],[class*="badge"]{
  border-radius:3px !important; box-shadow:none !important;
}

/* ─── Page heroes on inner pages: white, navy type ─────────── */
.page-hero{
  background:#fff !important; color:var(--wss-navy) !important;
  padding:10rem 0 5rem !important; border-bottom:1px solid var(--wss-line);
}
.page-hero h1,.page-hero p,.page-hero .eyebrow{ color:var(--wss-navy) !important; }
.page-hero p{ color:var(--wss-muted) !important; }
.page-hero .wave-bottom,.wave-bottom{ display:none !important; }

/* ─── CTA block: white with a navy rule instead of a dark box ─ */
.cta-box{
  background:#fff !important; color:var(--wss-navy) !important;
  border:1px solid var(--wss-line) !important; border-top:3px solid var(--wss-navy) !important;
  border-radius:6px !important;
}
.cta-box h2{ color:var(--wss-navy) !important; }
.cta-box p{ color:var(--wss-muted) !important; }

/* ─── Logo strips: real logos in grey on white ─────────────── */
.client-strip{ background:#fff !important; padding:3rem 0 3.5rem !important; border-bottom:1px solid var(--wss-line); }
.client-strip-label{ color:var(--text-400) !important; }
.client-card{ background:transparent !important; border:none !important; border-radius:0 !important; height:90px !important; }
.client-card img{ filter:grayscale(1) !important; opacity:.6 !important; }
.client-card:hover img{ opacity:.9 !important; }

/* ─── Stat tickers: navy figures on white between hairlines ── */
.hp-ticker,[class*="ticker"]:not([class*="track"]):not(span):not(b){
  background:#fff !important; color:var(--wss-navy) !important;
  border-top:1px solid var(--wss-line); border-bottom:1px solid var(--wss-line);
}
.hp-ticker span,[class*="ticker"] span{ color:var(--wss-muted) !important; }
.hp-ticker b,[class*="ticker"] b{ color:var(--wss-navy) !important; font-weight:600 !important; }

/* ─── Blog teasers: drop the generated thumbnails ──────────── */
.bi-thumb{ display:none !important; }
.bf-img{ height:auto !important; background:none !important; border-radius:0 !important; margin-bottom:1rem !important; overflow:visible !important; }
.bf-img .bf-tag{ position:static !important; background:none !important; backdrop-filter:none !important; color:var(--wss-navy) !important; padding:0 !important; letter-spacing:.2em !important; }
.blog-featured{ border-top:3px solid var(--wss-navy); padding-top:1.6rem; }
.bi-date svg{ color:var(--text-400) !important; }

/* ─── Forms ────────────────────────────────────────────────── */
input,textarea,select{ border-radius:4px !important; }
input:focus,textarea:focus,select:focus{ border-color:var(--wss-navy) !important; box-shadow:0 0 0 3px rgba(141,167,195,.35) !important; }

/* ─── Footer: white, the brand lines on top ────────────────── */
.footer-full{ background:#fff !important; color:var(--wss-navy) !important; margin-top:0 !important; border-top:none; }
.footer-waves{ display:block; width:100%; height:120px; }
.footer-main{ padding:3rem 0 2.5rem !important; }
.footer-brand img{ height:56px !important; width:auto !important; }
.footer-brand-text,.footer-list a,.footer-contact-item,.footer-contact-item a,.footer-bottom-inner,.footer-bottom-links a{ color:var(--wss-muted) !important; }
.footer-list a:hover,.footer-contact-item a:hover,.footer-bottom-links a:hover{ color:var(--wss-navy) !important; }
.footer-col-title{ color:var(--wss-navy) !important; letter-spacing:.2em !important; }
.footer-contact-item svg{ color:var(--wss-blue) !important; }
.footer-social-link{ background:#fff !important; border:1px solid var(--wss-line) !important; color:var(--wss-navy) !important; border-radius:4px !important; }
.footer-social-link:hover{ background:var(--wss-navy) !important; color:#fff !important; transform:none !important; }
.footer-bottom{ border-top:1px solid var(--wss-line) !important; }

/* ─── Product screenshot placeholders ──────────────────────── */
.shot-ph{
  position:relative; width:100%; aspect-ratio:16/10; border-radius:6px;
  background:
    repeating-linear-gradient(135deg, rgba(10,14,52,.035) 0 1px, transparent 1px 14px),
    var(--wss-blue-tint);
  border:1px solid var(--wss-line);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.shot-ph span{
  font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; font-weight:600;
  color:rgba(10,14,52,.45); background:#fff; padding:.5rem .9rem; border:1px solid var(--wss-line); border-radius:3px;
}
.st-shot .shot-ph,.hero-shot .shot-ph{ aspect-ratio:16/8; border-radius:0 0 6px 6px; border:none; }
[class*="zoom"],[class*="lightbox-btn"],[class*="expand"]{ }

/* ─── Motion: calmer reveals ───────────────────────────────── */
.reveal{ transform:translateY(12px) !important; }
.reveal.visible{ transform:none !important; }

/* CTA: primary action stays navy */
.cta-box .btn-white,.cta .btn-white{ background:var(--wss-navy) !important; color:#fff !important; border-color:var(--wss-navy) !important; }
/* blog cards */
.bx-card{ border-radius:6px !important; }
.bx-tag{ background:none !important; color:var(--wss-navy) !important; padding:0 !important; letter-spacing:.2em !important; }
.bx-thumb{ display:none !important; }

/* ═══ ScaleTeam / sector / module pages (.st system) ═══ */
.st{ --ink:#0a0e34; --ink-2:#4a5068; --ink-3:#7a8096; --line:rgba(10,14,52,.12); --card:#ffffff; --card-2:#ffffff;
     --navy:#0a0e34; --blue:#0a0e34; --blue-soft:#eef2f7; --green:#0a0e34; --green-soft:#eef2f7; --amber:#0a0e34; --amber-soft:#eef2f7;
     --r:6px; --r-lg:8px; }
/* rotating headline word: plain navy with a light-blue underline, no pill, no dot */
.st-hero h1 .rot,h1 .rot{ background:none !important; color:var(--wss-navy) !important; padding:0 !important; border-radius:0 !important;
  box-shadow:inset 0 -.12em 0 var(--wss-blue) !important; font-weight:600 !important; }
h1 .rot::before{ display:none !important; }
/* hero product frame: flat, no tilt, no fade */
.st-shot{ box-shadow:none !important; transform:none !important; margin-bottom:0 !important; border-radius:8px 8px 0 0 !important; }
.st-shot::after{ display:none !important; }
.st-shot-bar{ background:#fff !important; }
/* client strip: white instead of navy */
.st-clients{ background:#fff !important; border-top:1px solid var(--wss-line); border-bottom:1px solid var(--wss-line); }
.st-clients *{ color:var(--text-400) !important; }
.st-marquee-track > div{ background:transparent !important; border:none !important; }
.st-marquee-track img{ filter:grayscale(1) brightness(.35) !important; opacity:.6 !important; }
/* cards and tables on white get hairlines */
.st-cmp{ border:1px solid var(--wss-line) !important; }
.st-cmp tbody tr:nth-child(even) th,.st-cmp tbody tr:nth-child(even) td{ background:#f7f9fb !important; }
.st-cmp td.is,.st-cmp thead th.is{ background:#eef2f7 !important; color:var(--wss-navy) !important; }
.st-faq details,details{ background:#fff !important; border:1px solid var(--wss-line) !important; border-radius:6px !important; }
.st-sect-tags a{ border-radius:3px !important; }
.st-sect,.st-sect::before{ border-radius:8px !important; }
.st-sect .tag{ border-radius:2px !important; letter-spacing:.16em !important; }
/* integration logos: monochrome until hover, like the homepage */
.st-erp div{ border-radius:6px !important; }
.st-erp img{ filter:grayscale(1) !important; opacity:.7 !important; transition:filter .2s, opacity .2s; }
.st-erp div:hover img{ filter:none !important; opacity:1 !important; }
/* data block: white panel, navy rule */
.st-data{ background:#fff !important; color:var(--wss-navy) !important; border:1px solid var(--wss-line) !important; border-top:3px solid var(--wss-navy) !important; }
.st-data-body h2,.st-data-body h3,.st-data-body li,.st-data-body span{ color:var(--wss-navy) !important; }
.st-data-body p{ color:var(--wss-muted) !important; }
.st-data-body svg{ color:var(--wss-navy) !important; stroke:currentColor; }
.st-data .btn,.st-data a[class*="btn"]{ background:var(--wss-navy) !important; color:#fff !important; border-color:var(--wss-navy) !important; }
/* timeline dots and step numbers: thin outlines */
[class*="-num"]{ border-radius:2px !important; }

/* ═══ Dark panels turned into white panels ═══ */
.tr-hero,.it-svc.dark,.tr-svc > div.dark,.it-board,.statstrip,.values.dark,.contact-sec,.article-cta,
.tr-calc-out,.tr-cost-row.is,.tr-tier.mid,.st-flow-col.mid,.st-ba-cell.after,.tr-vol-note.n1,.tr-stack a.is{
  background:#fff !important; background-image:none !important; color:var(--wss-navy) !important; border-color:var(--wss-line) !important;
}
.it-svc.dark,.tr-svc > div.dark,.it-board,.tr-calc-out,.tr-tier.mid,.st-flow-col.mid,.st-ba-cell.after,.tr-cost-row.is,.article-cta{
  border:1px solid var(--wss-line) !important; border-top:3px solid var(--wss-navy) !important;
}
:is(.tr-hero,.it-svc.dark,.tr-svc > div.dark,.it-board,.statstrip,.values.dark,.contact-sec,.article-cta,.tr-calc-out,.tr-cost-row.is,.tr-tier.mid,.st-flow-col.mid,.st-ba-cell.after,.tr-vol-note.n1,.tr-stack a.is)
  :is(h1,h2,h3,h4,h5,strong,b,span,li,a:not([class*="btn"]),div,small,em,label,td,th,dt,dd){ color:var(--wss-navy) !important; }
:is(.tr-hero,.it-svc.dark,.tr-svc > div.dark,.it-board,.statstrip,.values.dark,.contact-sec,.article-cta,.tr-calc-out,.tr-tier.mid,.st-flow-col.mid,.st-ba-cell.after) p{ color:var(--wss-muted) !important; }
.tr-hero{ border-bottom:1px solid var(--wss-line) !important; padding-top:10rem !important; }
.statstrip-num{ background:none !important; -webkit-text-fill-color:var(--wss-navy) !important; color:var(--wss-navy) !important; font-weight:500 !important; }
.contact-sec::before,.contact-sec::after,.statstrip::before,.statstrip::after,.values.dark::before,.values.dark::after,.article-cta::before,.article-cta::after,.tr-hero::before,.tr-hero::after{ display:none !important; }
/* bars and fills that were white-on-navy */
.it-board [class*="bar"],.it-board i,.it-board b{ background-color:var(--wss-navy) !important; }
.it-board [class*="track"],.it-board [class*="row"]{ border-color:var(--wss-line) !important; }
/* quote card side bars */
.st-quote.q1::before,.st-quote.q2::before{ background:var(--wss-navy) !important; }
.tr-m-file em,.tr-stage em,[class*="tr-m-"] em{ color:#fff !important; border-radius:3px !important; }
.tr-m-code,.tr-m-code *,.tr-code,.tr-code *{ color:#e6e9f2 !important; }

/* blog article header: white, left rule on the meta */
.article-hero{ background:#fff !important; color:var(--wss-navy) !important; border-bottom:1px solid var(--wss-line); padding:9.5rem 0 3.5rem !important; }
.article-hero h1,.article-hero .eyebrow,.article-hero *{ color:var(--wss-navy) !important; }
.article-hero p,.article-hero [class*="meta"],.article-hero [class*="meta"] *{ color:var(--text-400) !important; }
.article-hero canvas{ display:none !important; }
/* icon tiles: hairline instead of tinted blobs */
[class*="icon"]:not(svg):not(img){ background:#fff !important; border-radius:4px !important; }
.contact-info [class*="icon"],.value [class*="icon"],.values [class*="icon"]{ border:1px solid var(--wss-line) !important; }
.page-hero h1 em,.page-hero h1 .light,[class*="page-hero--"] h1 em,[class*="page-hero--"] .eyebrow{ color:var(--wss-navy) !important; font-weight:300 !important; }

/* ═══ Nav dropdowns ═══ */
.nav-dd{ position:relative; }
.nav-dd-btn{ background:none; border:none; cursor:pointer; font:inherit; font-size:.88rem; padding:0; display:inline-flex; align-items:center; gap:.4rem; }
.nav-dd-btn::before{ content:''; order:2; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .2s; }
.nav-dd.open .nav-dd-btn::before{ transform:translateY(1px) rotate(-135deg); }
.nav-dd-menu{ position:absolute; top:calc(100% + 1.2rem); left:-1.4rem; width:340px; background:#fff; border:1px solid var(--wss-line); border-top:2px solid var(--wss-navy);
  padding:.6rem; display:none; z-index:120; }
.nav-dd.open .nav-dd-menu{ display:block; }
@media (hover:hover) and (min-width:821px){ .nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu{ display:block; } .nav-dd::after{ content:''; position:absolute; left:0; right:0; top:100%; height:1.3rem; } }
.nav-dd-item{ display:block; padding:.85rem .9rem; border-radius:3px; }
.nav-dd-item + .nav-dd-item{ border-top:1px solid var(--wss-line); }
.nav-dd-item strong{ display:block; font-size:.92rem; font-weight:600; color:var(--wss-navy); margin-bottom:.2rem; }
.nav-dd-item span{ display:block; font-size:.82rem; color:var(--wss-muted); line-height:1.45; }
.nav-dd-item:hover{ background:var(--wss-blue-tint); }
@media (max-width:820px){
  .nav-links.open .nav-dd{ width:100%; }
  .nav-dd-menu{ position:static; width:auto; border:none; border-left:2px solid var(--wss-navy); padding:.2rem 0 .2rem .8rem; margin-top:.6rem; }
  .nav-dd-item{ padding:.6rem .4rem; } .nav-dd-item span{ display:none; }
  .nav-dd-item + .nav-dd-item{ border-top:none; }
}
[class*="consent"] button,[id*="consent"] button,[class*="consent"] a[class*="btn"]{ border-radius:4px !important; }
[class*="consent"]:not(button){ border-radius:6px !important; }
