/* ═══════════════════════════════════════════════
   INTEGRON — Main Stylesheet
   Edit colours in :root only
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --blue:    #0052CC;
  --blue2:   #1A6FFF;
  --blue3:   #4D94FF;
  --navy:    #070D1A;
  --black:   #080B12;
  --white:   #FFFFFF;
  --off:     #F7F9FC;
  --g50:     #EFF2F7;
  --g100:    #DDE3ED;
  --g400:    #7A8599;
  --g600:    #3D4A5C;
  --accent:  #00E5FF;
  --bluepale:#E8F0FF;
}

body { background: var(--white); color: var(--black); font-family: 'Syne', sans-serif; overflow-x: hidden; cursor: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--blue); }

/* ── CURSOR ── */
#cur  { width:8px; height:8px; background:var(--blue); border-radius:50%; position:fixed; top:0; left:0; pointer-events:none; z-index:99999; }
#ring { width:28px; height:28px; border:1.5px solid var(--blue); border-radius:50%; position:fixed; top:0; left:0; pointer-events:none; z-index:99998; transition:transform .18s, width .2s, height .2s, border-color .2s; transform:translate(-10px,-10px); }
#ring.h     { width:44px; height:44px; border-color:var(--blue2); transform:translate(-18px,-18px); }
#ring.click { width:20px; height:20px; transform:translate(-6px,-6px); opacity:.5; }

/* ── PROGRESS BAR ── */
#prog { position:fixed; top:0; left:0; height:2px; background:linear-gradient(90deg,var(--blue),var(--accent)); z-index:1000; width:0; transition:width .08s; }

/* ── SPLASH ── */
#splash { position:fixed; inset:0; background:var(--navy); z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; transition:opacity .8s ease, transform .8s ease; }
#splash.out { opacity:0; transform:translateY(-100%); pointer-events:none; }
.sp-mark { opacity:0; animation:fadeUp .5s .05s ease forwards; }
.sp-wm   { font-size:52px; font-weight:800; letter-spacing:-.03em; color:var(--white); opacity:0; animation:fadeUp .5s .15s ease forwards; }
.sp-wm span { color:var(--blue2); }
.sp-tag  { font-family:'DM Mono',monospace; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--g400); opacity:0; animation:fadeUp .5s .25s ease forwards; }
.sp-bar  { width:180px; height:2px; background:rgba(255,255,255,.08); opacity:0; animation:fadeUp .5s .3s ease forwards; }
.sp-fill { height:100%; background:linear-gradient(90deg,var(--blue),var(--accent)); width:0; transition:width .05s linear; }
.sp-pct  { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.15em; color:var(--g400); opacity:0; animation:fadeUp .5s .35s ease forwards; }

/* ── NAV ── */
nav { position:fixed; top:0; left:0; right:0; z-index:100; height:64px; background:rgba(255,255,255,.95); backdrop-filter:blur(20px); border-bottom:1px solid var(--g100); transform:translateY(-100%); transition:transform .5s ease; }
nav.vis { transform:translateY(0); }
.nav-inner { max-width:1200px; margin:0 auto; padding:0 60px; height:100%; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo-name { font-size:18px; font-weight:800; letter-spacing:-.03em; color:var(--black); }
.nav-logo-name span { color:var(--blue); }
.nav-status { display:flex; align-items:center; gap:6px; font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.12em; text-transform:uppercase; color:var(--g400); }
.nav-dot { width:7px; height:7px; background:#22C55E; border-radius:50%; animation:pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.4)} 50%{box-shadow:0 0 0 5px rgba(34,197,94,0)} }
.nav-links { display:flex; gap:32px; align-items:center; }
.nav-links a { font-family:'DM Mono',monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--g600); text-decoration:none; transition:color .2s; position:relative; }
.nav-links a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:1px; background:var(--blue); transition:width .2s; }
.nav-links a:hover { color:var(--blue); }
.nav-links a:hover::after { width:100%; }
.nav-cta { background:var(--blue)!important; color:var(--white)!important; padding:9px 20px!important; }
.nav-cta::after { display:none!important; }
.nav-cta:hover { background:var(--blue2)!important; }

/* ── HERO ── */
#hero { position:relative; min-height:100vh; background:var(--navy); display:flex; flex-direction:column; justify-content:center; overflow:hidden; }
#particleCanvas { position:absolute; inset:0; z-index:1; }
.hero-grid { position:absolute; inset:0; z-index:2; background-image:linear-gradient(rgba(0,82,204,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(0,82,204,.05) 1px,transparent 1px); background-size:80px 80px; transition:transform .1s ease-out; }
.hero-inner { position:relative; z-index:3; padding:140px 60px 120px; max-width:1200px; margin:0 auto; width:100%; }
.hero-tag { font-family:'DM Mono',monospace; font-size:11px; letter-spacing:.25em; text-transform:uppercase; color:var(--blue3); display:flex; align-items:center; gap:12px; margin-bottom:32px; opacity:0; animation:fadeUp .8s 2.8s ease forwards; }
.hero-tag::before { content:''; width:28px; height:1px; background:var(--blue3); }
.hero-h1 { font-size:clamp(32px,8.5vw,84px); font-weight:800; letter-spacing:-.025em; color:var(--white); line-height:1.0; margin-bottom:28px; }
.line { display:block; overflow:hidden; }
.line span { display:block; transform:translateY(110%); animation:lineUp .9s ease forwards; }
.line:nth-child(1) span { animation-delay:2.9s; }
.line:nth-child(2) span { animation-delay:3.05s; }
.morph-line { display:flex; align-items:center; gap:16px; margin-top:8px; }
.morph-prefix { font-size:clamp(32px,8.5vw,84px); font-weight:800; letter-spacing:-.025em; color:var(--white); line-height:1.0; opacity:0; animation:fadeUp .8s 3.3s ease forwards; }
.morph-word { font-size:clamp(32px,8.5vw,84px); font-weight:800; letter-spacing:-.025em; color:var(--blue2); line-height:1.0; min-width:auto; opacity:0; animation:fadeUp .8s 3.3s ease forwards; transition:opacity .4s, transform .4s; }
.hero-sub  { font-family:'DM Mono',monospace; font-size:14px; color:var(--g400); line-height:1.9; max-width:560px; margin-bottom:44px; opacity:0; animation:fadeUp .8s 3.5s ease forwards; }
.hero-btns { display:flex; gap:16px; align-items:center; opacity:0; animation:fadeUp .8s 3.7s ease forwards; }
.hero-stats { position:absolute; bottom:0; left:0; right:0; z-index:3; border-top:1px solid rgba(255,255,255,.06); opacity:0; animation:fadeUp .8s 3.9s ease forwards; }
.hero-stats-inner { max-width:1200px; margin:0 auto; padding:0 60px; display:flex; }
.hstat { flex:1; padding:28px 40px; border-right:1px solid rgba(255,255,255,.06); }
.hstat:last-child { border-right:none; }
.hstat-n { font-size:36px; font-weight:800; letter-spacing:-.03em; color:var(--white); margin-bottom:4px; }
.hstat-n .sfx { color:var(--blue2); }
.hstat-l { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.15em; text-transform:uppercase; color:var(--g400); }
.scroll-hint { position:absolute; right:60px; bottom:90px; z-index:3; display:flex; flex-direction:column; align-items:center; gap:8px; opacity:0; animation:fadeUp .8s 4.1s ease forwards; }
.scroll-line { width:1px; height:44px; background:linear-gradient(to bottom,var(--blue2),transparent); animation:scrollPulse 2s ease-in-out infinite; }
.scroll-txt  { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:var(--g400); writing-mode:vertical-rl; transform:rotate(180deg); }

/* ── BUTTONS ── */
.btn-primary { background:var(--blue); color:var(--white); padding:15px 34px; font-family:'DM Mono',monospace; font-size:12px; letter-spacing:.15em; text-transform:uppercase; text-decoration:none; border:none; cursor:none; transition:background .2s, transform .2s; display:inline-block; }
.btn-primary:hover { background:var(--blue2); transform:translateY(-2px); }
.btn-outline { color:var(--white); font-family:'DM Mono',monospace; font-size:12px; letter-spacing:.15em; text-transform:uppercase; text-decoration:none; padding:15px 0; border-bottom:1px solid rgba(255,255,255,.25); transition:border-color .2s, gap .2s; display:inline-flex; align-items:center; gap:10px; }
.btn-outline:hover { border-color:var(--blue2); gap:16px; }
.btn-white { background:var(--white); color:var(--blue); padding:15px 34px; font-family:'DM Mono',monospace; font-size:12px; letter-spacing:.15em; text-transform:uppercase; text-decoration:none; transition:background .2s, transform .2s; display:inline-block; text-align:center; cursor:none; border:none; }
.btn-white:hover { background:var(--off); transform:translateY(-2px); }
.btn-ghost { border:1px solid rgba(255,255,255,.3); color:var(--white); padding:15px 34px; font-family:'DM Mono',monospace; font-size:12px; letter-spacing:.15em; text-transform:uppercase; text-decoration:none; transition:border-color .2s; display:inline-block; text-align:center; cursor:none; }
.btn-ghost:hover { border-color:rgba(255,255,255,.7); }

/* ── TICKER ── */
.ticker-wrap  { overflow:hidden; padding:22px 0; background:var(--g50); border-top:1px solid var(--g100); border-bottom:1px solid var(--g100); }
.ticker-track { display:flex; animation:ticker 35s linear infinite; white-space:nowrap; }
.ticker-track:hover { animation-play-state:paused; }
.t-item { font-family:'DM Mono',monospace; font-size:11px; letter-spacing:.15em; text-transform:uppercase; color:var(--g400); padding:0 32px; display:flex; align-items:center; gap:32px; }
.t-item::after { content:'·'; color:var(--blue); font-size:16px; }

/* ── SHARED SECTION ── */
.section     { padding:120px 60px; max-width:1200px; margin:0 auto; }
.sec-label   { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.22em; text-transform:uppercase; color:var(--blue); display:flex; align-items:center; gap:10px; margin-bottom:40px; }
.sec-label::before { content:''; width:20px; height:1px; background:var(--blue); display:inline-block; }
.sec-h2 { font-size:clamp(28px,3.5vw,48px); font-weight:800; letter-spacing:-.02em; color:var(--black); line-height:1.05; margin-bottom:16px; }
.sec-sub { font-family:'DM Mono',monospace; font-size:13px; color:var(--g600); line-height:1.9; max-width:560px; }
.dark-bg .sec-label         { color:var(--blue3); }
.dark-bg .sec-label::before { background:var(--blue3); }
.dark-bg .sec-h2 { color:var(--white); }
.dark-bg .sec-sub { color:var(--g400); }
.dark-bg { background:var(--black); }
.grey-bg { background:var(--off); }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(32px); transition:opacity .8s ease, transform .8s ease; }
.reveal.vis { opacity:1; transform:translateY(0); }
.reveal.from-left  { transform:translateX(-40px); }
.reveal.from-right { transform:translateX(40px); }
.reveal.from-left.vis, .reveal.from-right.vis { transform:translateX(0); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.4s} .d5{transition-delay:.5s} .d6{transition-delay:.6s}

/* ── COUNTERS ── */
.counters { display:flex; gap:0; margin-top:64px; }
.counter-item { flex:1; padding:40px; border-right:1px solid var(--g100); text-align:center; min-height:120px; }
.counter-item:last-child { border-right:none; }
.counter-num { font-size:56px; font-weight:800; letter-spacing:-.04em; color:var(--blue); line-height:1; margin-bottom:8px; }
.counter-num .sfx { color:var(--blue2); font-size:40px; }
.counter-label { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--g400); }

/* ── TERMINAL ── */
.terminal-wrap { background:var(--navy); border:1px solid rgba(255,255,255,.08); margin-top:64px; }
.terminal-bar  { background:#1A2235; padding:12px 20px; display:flex; align-items:center; gap:8px; border-bottom:1px solid rgba(255,255,255,.06); }
.t-dot { width:11px; height:11px; border-radius:50%; }
.t-dot:nth-child(1){background:#FF5F57} .t-dot:nth-child(2){background:#FFBD2E} .t-dot:nth-child(3){background:#28C840}
.t-title { font-family:'DM Mono',monospace; font-size:11px; color:var(--g400); margin-left:8px; letter-spacing:.1em; }
.terminal-body { padding:32px 28px; min-height:280px; font-family:'DM Mono',monospace; font-size:13px; line-height:2; }
.t-line { opacity:0; transform:translateY(6px); transition:opacity .3s, transform .3s; color:var(--g400); }
.t-line.vis { opacity:1; transform:translateY(0); }
.t-line .cmd     { color:var(--accent); }
.t-line .success { color:#22C55E; }
.t-line .info    { color:var(--blue3); }
.t-line .blink   { animation:blink 1s step-end infinite; color:var(--accent); }

/* ── STACK SCROLL ── */
.stack-outer { overflow:hidden; margin-top:64px; position:relative; }
.stack-outer::before, .stack-outer::after { content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none; }
.stack-outer::before { left:0;  background:linear-gradient(90deg,var(--off),transparent); }
.stack-outer::after  { right:0; background:linear-gradient(-90deg,var(--off),transparent); }
.stack-track { display:flex; gap:12px; animation:stackScroll 25s linear infinite; width:max-content; padding:8px 0; }
.stack-track:hover { animation-play-state:paused; }
.stack-pill  { font-family:'DM Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--g600); border:1px solid var(--g100); background:var(--white); padding:12px 24px; white-space:nowrap; transition:background .2s, border-color .2s, color .2s; cursor:none; }
.stack-pill:hover { background:var(--bluepale); border-color:var(--blue); color:var(--blue); }

/* ── PROCESS ── */
.process-wrap { margin-top:72px; position:relative; }
.process-line { position:absolute; top:27px; left:47px; right:calc(25% - 47px); height:1px; background:var(--g100); z-index:0; }
.process-line-fill { position:absolute; top:27px; left:47px; height:1px; background:linear-gradient(90deg,var(--blue),var(--blue3)); z-index:0; width:0; transition:width 1.6s ease; }
.process-line-fill.vis { width:75%; }
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; z-index:1; }
.pstep { padding:0 20px; cursor:default; }
.pstep-dot { width:54px; height:54px; background:var(--white); border:1px solid var(--g100); display:flex; align-items:center; justify-content:center; margin-bottom:28px; transition:border-color .3s, box-shadow .3s; }
.pstep:hover .pstep-dot { border-color:var(--blue); box-shadow:0 0 0 3px var(--bluepale); }
.pstep-num   { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--blue); margin-bottom:8px; }
.pstep-title { font-size:16px; font-weight:700; letter-spacing:-.01em; color:var(--black); margin-bottom:8px; }
.pstep-desc  { font-family:'DM Mono',monospace; font-size:11px; color:var(--g600); line-height:1.8; }

/* ── ABOUT ── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; margin-top:64px; }
.about-body { font-family:'DM Mono',monospace; font-size:13px; color:var(--g600); line-height:1.9; margin-bottom:40px; }
.about-facts { display:flex; flex-direction:column; }
.af   { display:flex; justify-content:space-between; align-items:center; padding:16px 0; border-bottom:1px solid var(--g100); }
.af-l { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.18em; text-transform:uppercase; color:var(--g400); }
.af-v { font-size:14px; font-weight:600; color:var(--black); letter-spacing:-.01em; }
.exp-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--g100); border:1px solid var(--g100); }
.exp-card { background:var(--white); padding:28px; transition:background .2s; }
.exp-card:hover { background:var(--off); }
.exp-area  { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.18em; text-transform:uppercase; color:var(--blue); margin-bottom:8px; }
.exp-title { font-size:15px; font-weight:700; color:var(--black); letter-spacing:-.01em; margin-bottom:6px; }
.exp-desc  { font-family:'DM Mono',monospace; font-size:10px; color:var(--g400); line-height:1.8; }

/* ── CTA ── */
.cta-section { padding:120px 60px; background:var(--blue); position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:60px 60px; }
.cta-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:60px; }
.cta-h2  { font-size:clamp(28px,4vw,48px); font-weight:800; letter-spacing:-.03em; color:var(--white); line-height:1; margin-bottom:14px; }
.cta-sub { font-family:'DM Mono',monospace; font-size:13px; color:rgba(255,255,255,.6); line-height:1.8; }
.cta-acts { display:flex; flex-direction:column; gap:12px; flex-shrink:0; }

/* ── CONTACT ── */
.contact-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.form-group { display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.form-label { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:var(--g400); }
.form-input, .form-select, .form-textarea { background:var(--off); border:1px solid var(--g100); padding:13px 16px; font-family:'Syne',sans-serif; font-size:14px; color:var(--black); outline:none; transition:border-color .2s, background .2s; width:100%; appearance:none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color:var(--blue); background:var(--white); }
.form-textarea { resize:vertical; min-height:130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.btn-submit { background:var(--blue); color:var(--white); padding:15px 36px; font-family:'DM Mono',monospace; font-size:12px; letter-spacing:.15em; text-transform:uppercase; border:none; cursor:none; transition:background .2s; width:100%; margin-top:4px; }
.btn-submit:hover { background:var(--blue2); }
.form-success { display:none; background:#E8F5E9; border:1px solid #A5D6A7; padding:20px; text-align:center; font-family:'DM Mono',monospace; font-size:12px; color:#2E7D32; letter-spacing:.08em; }
.form-success.show { display:block; }
.contact-info { display:flex; flex-direction:column; gap:44px; }
.ci-title { font-size:24px; font-weight:800; letter-spacing:-.02em; color:var(--black); margin-bottom:12px; }
.ci-sub   { font-family:'DM Mono',monospace; font-size:12px; color:var(--g600); line-height:1.8; }
.cd   { display:flex; flex-direction:column; gap:4px; padding:18px 0; border-bottom:1px solid var(--g100); }
.cd-l { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:var(--blue); }
.cd-v { font-size:15px; font-weight:600; color:var(--black); letter-spacing:-.01em; }

/* ── FOOTER ── */
footer { background:var(--navy); padding:80px 60px 36px; }
.footer-inner { max-width:1200px; margin:0 auto; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:60px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.07); margin-bottom:36px; }
.footer-logo { font-size:20px; font-weight:800; letter-spacing:-.03em; color:var(--white); margin-bottom:12px; display:block; text-decoration:none; }
.footer-logo span { color:var(--blue2); }
.footer-tagline { font-family:'DM Mono',monospace; font-size:11px; color:var(--g400); line-height:1.9; }
.fcol-title { font-family:'DM Mono',monospace; font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:var(--g400); margin-bottom:18px; }
.fcol-links { display:flex; flex-direction:column; gap:11px; }
.fcol-links a { font-size:14px; font-weight:500; color:rgba(255,255,255,.6); text-decoration:none; transition:color .2s; }
.fcol-links a:hover { color:var(--white); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; }
.footer-copy { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.08em; color:var(--g400); }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.08em; color:var(--g400); text-decoration:none; transition:color .2s; }
.footer-legal a:hover { color:var(--white); }

/* ── BACK TO TOP ── */
#bTop { position:fixed; bottom:36px; right:36px; width:40px; height:40px; background:var(--blue); display:flex; align-items:center; justify-content:center; cursor:none; z-index:50; opacity:0; transform:translateY(12px); transition:opacity .3s, transform .3s, background .2s; }
#bTop.vis { opacity:1; transform:translateY(0); }
#bTop:hover { background:var(--blue2); }

/* ── KEYFRAMES ── */
@keyframes fadeUp     { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes lineUp     { to{transform:translateY(0)} }
@keyframes ticker     { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes stackScroll{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scrollPulse{ 0%,100%{opacity:.3} 50%{opacity:1} }
@keyframes blink      { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── HAMBURGER ── */
.nav-ham { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:none; padding:6px; flex-shrink:0; }
.nav-ham span { display:block; width:22px; height:1.5px; background:var(--black); transition:transform .3s ease, opacity .3s ease; border-radius:1px; }
.nav-ham.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-ham.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.nav-mob { position:fixed; inset:64px 0 0; background:var(--white); z-index:99; display:flex; flex-direction:column; padding:32px 24px; gap:0; transform:translateX(100%); transition:transform .4s cubic-bezier(0.23,1,0.32,1); border-top:1px solid var(--g100); }
.nav-mob.open { transform:translateX(0); }
.nav-mob-link { font-family:'DM Mono',monospace; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--black); text-decoration:none; padding:18px 0; border-bottom:1px solid var(--g100); transition:color .2s; display:block; }
.nav-mob-link:hover { color:var(--blue); }
.nav-mob-cta { border-bottom:none; color:var(--blue); margin-top:16px; font-weight:700; }

/* ── TABLET (≤1100px) — hide status to keep nav clean ── */
@media(max-width:1100px) {
  .nav-status { display:none; }
}

/* ── RESPONSIVE (≤900px) ── */
@media(max-width:900px){
  .nav-inner { padding:0 24px; }
  .nav-links { display:none; }
  .nav-ham { display:flex; }
  .hero-inner { padding:120px 24px 140px; }
  .hero-stats { display:none; }
  .scroll-hint { display:none; }
  .section { padding:80px 24px; }
  footer { padding:60px 24px 28px; }
  .cta-section { padding:80px 24px; }
  .about-grid { grid-template-columns:1fr; gap:40px; }
  .contact-inner { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .cta-inner { flex-direction:column; text-align:center; }
  .cta-acts { flex-direction:row; flex-wrap:wrap; justify-content:center; }
  .counters { flex-wrap:wrap; }
  .counter-item { flex:1 1 calc(50% - 1px); border-bottom:1px solid var(--g100); }
  .process-steps { grid-template-columns:1fr 1fr; }
  .process-line, .process-line-fill { display:none; }
  .hstat { padding:24px; }
  .cs-cta-row { flex-direction:column; gap:20px; text-align:center; }
}

/* ── TOUCH DEVICES — restore cursor, disable mouse-only effects ── */
@media(hover:none) {
  body { cursor:auto; }
  .btn-primary,.btn-white,.btn-ghost,.btn-outline,.nav-cta,.btn-submit,
  .nav-ham,.stack-pill,.logo-pill,.logo-pill-dark,.h-cap-card,
  .exp-card,.cs-card { cursor:pointer; }
}

/* ── TOUCH TARGETS — snappy tap response ── */
a, button, [role="button"], .stack-pill, .logo-pill, .logo-pill-dark,
.h-cap-card, .exp-card, .nav-mob-link {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ── FOCUS VISIBLE — keyboard navigation ── */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* ── ACTIVE NAV LINK ── */
.nav-links a.active { color:var(--blue); }
.nav-links a.active::after { width:100%; }

/* ── PREFERS REDUCED MOTION ── */
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
  }
  html { scroll-behavior:auto; }
  .reveal { opacity:1; transform:none; transition:none; }
  .ticker-track, .stack-track { animation:none; }
  .scroll-line { animation:none; }
  /* Carousels are slow (30s) and non-flashing — keep them running */
  .logo-row-left  { animation: logoLeft  30s linear infinite !important; animation-duration:30s !important; animation-iteration-count:infinite !important; }
  .logo-row-right { animation: logoRight 30s linear infinite !important; animation-duration:30s !important; animation-iteration-count:infinite !important; }
}

/* ═══════════════════════════════════════════════
   LOGO CAROUSELS (two-row, opposite directions)
   ═══════════════════════════════════════════════ */

.logo-carousel-wrap {
  overflow: hidden;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.logo-carousel-wrap::before,
.logo-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.logo-carousel-wrap::before { left:  0; background: linear-gradient(90deg,  var(--white), transparent); }
.logo-carousel-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }

/* row track */
.logo-row {
  display: flex;
  gap: 0;
  width: max-content;
}
.logo-row-left  { animation: logoLeft  30s linear infinite; }
.logo-row-right { animation: logoRight 30s linear infinite; }
.logo-row:hover { animation-play-state: paused; }

/* individual logo pill */
.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-right: 1px solid var(--g100);
  min-width: 160px;
  height: 72px;
  cursor: none;
  transition: background .25s;
  position: relative;
}
.logo-pill svg { filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-pill:hover svg { filter: grayscale(0); opacity: 1; }
.logo-pill:hover { background: var(--off); }

/* dark variant (for client carousel on dark bg) */
.logo-carousel-dark { /* inherits wrap */ }
.logo-carousel-dark::before { background: linear-gradient(90deg,  var(--black), transparent); }
.logo-carousel-dark::after  { background: linear-gradient(-90deg, var(--black), transparent); }
.logo-pill-dark {
  padding: 18px 40px;
  border-right: 1px solid rgba(255,255,255,.07);
  min-width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background .25s;
  color: rgba(255,255,255,0.9);
}
.logo-pill-dark svg { filter: grayscale(1) brightness(1); opacity: .55; transition: filter .3s, opacity .3s; }
.logo-pill-dark:hover svg { filter: grayscale(0) brightness(1); opacity: 1; }
.logo-pill-dark:hover { background: rgba(255,255,255,.04); }

@keyframes logoLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logoRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }


/* ═══════════════════════════════════════════════
   CASE STUDIES — MAIN PAGE SECTION
   ═══════════════════════════════════════════════ */

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g100);
  border: 1px solid var(--g100);
  margin-top: 64px;
}
.cs-card {
  background: var(--white);
  padding: 40px;
  cursor: none;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
}
.cs-card:hover { background: var(--off); }
.cs-card.placeholder { opacity: .5; cursor: default; }
.cs-card.placeholder:hover { background: var(--white); }

.cs-client-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs-logo-box {
  width: 56px; height: 32px;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 6px;
  flex-shrink: 0;
}
.cs-client-name   { font-size: 13px; font-weight: 700; color: var(--black); }
.cs-client-sector { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-top: 2px; }

.cs-headline { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--black); line-height: 1.35; }
.cs-summary  { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--g600); line-height: 1.8; }

.cs-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--g100);
}
.cs-tag { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--g400); border: 1px solid var(--g100); padding: 3px 8px; }
.cs-tag-blue { color: var(--blue); border-color: rgba(0,82,204,.2); }

.cs-arrow {
  font-size: 18px;
  color: var(--blue);
  align-self: flex-end;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.cs-card:not(.placeholder):hover .cs-arrow { opacity: 1; transform: translateX(0); }

.cs-cta-row {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border: 1px solid var(--g100);
  background: var(--off);
}
.cs-cta-text { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--g600); line-height: 1.7; }
.cs-cta-text strong { color: var(--black); font-weight: 600; display: block; margin-bottom: 3px; }


/* ═══════════════════════════════════════════════
   CASE STUDIES — FULL PAGE (case-studies.html)
   ═══════════════════════════════════════════════ */

.cs-page-hero {
  background: var(--navy);
  padding: 160px 60px 80px;
}
.cs-page-hero-inner { max-width: 1200px; margin: 0 auto; }

.cs-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--g100);
  border: 1px solid var(--g100);
  margin-top: 64px;
}
.cs-full-card {
  background: var(--white);
  padding: 52px 48px;
  cursor: none;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .2s;
}
.cs-full-card:hover { background: var(--off); }
.cs-full-card.placeholder { opacity: .45; cursor: default; }
.cs-full-card.placeholder:hover { background: var(--white); }

.cs-full-num { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.cs-full-headline { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--black); line-height: 1.25; }
.cs-full-summary  { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--g600); line-height: 1.9; }
.cs-full-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--g100);
  margin-top: auto;
}
.cs-full-meta { display: flex; gap: 24px; }
.cs-full-meta-item { display: flex; flex-direction: column; gap: 3px; }
.cs-full-meta-label { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.cs-full-meta-val   { font-size: 13px; font-weight: 600; color: var(--black); }

/* Individual case study page */
.cs-detail-hero { background: var(--navy); padding: 160px 60px 80px; }
.cs-detail-inner { max-width: 900px; margin: 0 auto; }
.cs-detail-body  { max-width: 900px; margin: 0 auto; padding: 80px 60px; }
.cs-section-title { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.cs-body-text { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--g600); line-height: 2; margin-bottom: 48px; }
.cs-outcomes { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.cs-outcomes li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'DM Mono', monospace; font-size: 13px; color: var(--g600); line-height: 1.6;
}
.cs-outcomes li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Placeholder state */
.cs-placeholder-banner {
  border: 1px dashed var(--g100);
  padding: 48px;
  text-align: center;
  margin-top: 64px;
}
.cs-placeholder-banner p {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--g400);
  line-height: 1.9;
  max-width: 480px;
  margin: 12px auto 0;
}

@media (max-width: 900px) {
  .cs-grid       { grid-template-columns: 1fr; }
  .cs-full-grid  { grid-template-columns: 1fr; }
  .cs-page-hero  { padding: 120px 24px 60px; }
  .cs-detail-hero{ padding: 120px 24px 60px; }
  .cs-detail-body{ padding: 60px 24px; }
  .logo-pill, .logo-pill-dark { padding: 16px 28px; min-width: 120px; }
}

/* ═══════════════════════════════════════════════
   EFFECT PACK CSS
   ═══════════════════════════════════════════════ */

/* ── GRAIN OVERLAY ── */
/* Rendered by JS canvas — no CSS needed */

/* ── MAGNETIC BUTTONS — smooth snap-back ── */
.btn-primary, .btn-white, .btn-ghost, .btn-outline, .nav-cta, .btn-submit {
  will-change: transform;
}

/* ── TEXT SCRAMBLE — prevent layout shift ── */
.sec-h2 { min-height: 1em; }

/* ── CURSOR TRAIL ── */
/* Dots created in JS — no CSS needed */

/* ── PAGE WIPE ── */
#pageWipe {
  display: flex;
  align-items: center;
  justify-content: center;
}
#pageWipe::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--blue2);
  border-radius: 50%;
  animation: wipeSpin 0.7s linear infinite;
}
@keyframes wipeSpin { to { transform: rotate(360deg); } }

/* ── HORIZONTAL SCROLL CAPABILITIES ── */
#hScroll {
  height: 250vh;
  position: relative;
  background: var(--navy);
}
.h-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  background: var(--navy);
}
.h-scroll-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 60px;
  width: 100%;
  flex-shrink: 0;
}
.h-scroll-track-wrap {
  overflow: visible;
  flex-shrink: 0;
}
#hScrollTrack {
  display: flex;
  gap: 2px;
  padding: 0 60px;
  transition: none !important;
}
.h-cap-card {
  flex-shrink: 0;
  width: 360px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  padding: 44px 36px;
  transition: background .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.h-cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.h-cap-card:hover { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); }
.h-cap-card:hover::before { transform: scaleX(1); }
.h-cap-num   { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue3); margin-bottom: 24px; }
.h-cap-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--white); margin-bottom: 14px; }
.h-cap-desc  { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--g400); line-height: 1.9; margin-bottom: 20px; }
.h-cap-tags  { display: flex; gap: 6px; flex-wrap: wrap; }
.cap-tag     { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue3); border: 1px solid rgba(77,148,255,.25); padding: 4px 10px; }
/* scroll indicator */
.h-scroll-hint {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 60px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--g400);
}
.h-scroll-hint-line {
  height: 1px;
  width: 40px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
.h-scroll-hint-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: hintSlide 1.8s ease-in-out infinite;
}
@keyframes hintSlide { 0%{left:-100%} 100%{left:100%} }

/* ── ODOMETER DIGITS ── */

/* ── RESPONSIVE — disable horizontal scroll on mobile ── */
@media (max-width: 900px) {
  #hScroll { height: auto; }
  .h-scroll-sticky { position: relative; height: auto; overflow: visible; }
  #hScrollTrack { flex-wrap: wrap; padding: 0 24px; }
  .h-cap-card { width: calc(100% - 48px); }
  .h-scroll-hint { display: none; }
}


/* ═══════════════════════════════════════════════
   WHY INTEGRON — manifesto / differentiators
   ═══════════════════════════════════════════════ */

.why-section { background: var(--navy); padding: 120px 60px; }
.why-inner   { max-width: 1200px; margin: 0 auto; }

.why-statement {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1.0;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 72px;
}
.why-statement em { color: var(--blue2); font-style: normal; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-item {
  padding: 0 40px 0 0;
  border-right: 1px solid rgba(255,255,255,.07);
}
.why-item:not(:first-child) { padding-left: 40px; }
.why-item:last-child { border-right: none; }

.why-num   { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue3); margin-bottom: 22px; }
.why-title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--white); margin-bottom: 14px; line-height: 1.2; transition: color .25s; }
.why-body  { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.9; }
.why-item:hover .why-title { color: var(--blue3); }

@media(max-width:900px) {
  .why-section { padding: 80px 24px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item { padding: 32px 24px 32px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .why-item:nth-child(odd)  { padding-right: 24px; border-right: 1px solid rgba(255,255,255,.07); }
  .why-item:nth-child(even) { padding-left: 24px; }
  .why-item:nth-last-child(-n+2) { border-bottom: none; }
}


/* ═══════════════════════════════════════════════
   IN-HOUSE PRODUCTS — Organizio & EventFox
   ═══════════════════════════════════════════════ */

.products-section { background: var(--black); padding: 120px 60px; }
.products-inner   { max-width: 1200px; margin: 0 auto; }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
}

.product-card {
  background: var(--navy);
  padding: 56px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .3s;
  cursor: none;
}
.product-card:hover { background: #0b1426; }
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
}

.product-badge  { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.product-icon   { width: 36px; height: 36px; background: rgba(0,82,204,.15); border: 1px solid rgba(0,82,204,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.product-domain { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--blue3); }

.product-name { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--white); margin-bottom: 6px; line-height: 1.0; }
.product-type { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 28px; }
.product-desc { font-family: 'DM Mono', monospace; font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.9; margin-bottom: 28px; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.product-tag  { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue3); border: 1px solid rgba(77,148,255,.2); padding: 5px 12px; }

.product-link {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: gap .2s, border-color .2s, color .2s;
  align-self: flex-start;
  cursor: none;
}
.product-link:hover { gap: 16px; border-color: var(--blue2); color: var(--white); }

@media(max-width:900px) {
  .products-section { padding: 80px 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 40px 28px; cursor: pointer; }
  .product-link { cursor: pointer; }
}
