/* ==========================================================================
   Averon Industries × NICKSON TECH — case study
   NICKSON case layer: Manrope, green #3FB65C accent, light foundation.
   (Quorio product identity is indigo and lives only inside screenshots.)
   ========================================================================== */
:root{
  --green:#3FB65C; --green-deep:#2E9E4A; --green-ink:#15803D; --green-soft:#EAF7EE;
  --ink:#0B1310; --ink-2:#0F1A15;
  --text:#111827; --muted:#6B7280; --muted-2:#9AA2AF;
  --bg:#FFFFFF; --bg-soft:#F7F8F7; --bg-soft2:#F1F3F2;
  --border:#E5E7EB; --border-soft:#EEF0EF;
  --line-dark:rgba(255,255,255,.12);
  --wrap:1280px; --wide:1280px; --narrow:760px;
  --r:16px; --r-sm:12px;
  --shadow:0 24px 60px -24px rgba(16,24,20,.28);
  --shadow-sm:0 8px 24px -12px rgba(16,24,20,.18);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{font-family:'Manrope',system-ui,-apple-system,sans-serif;color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--green-ink);outline-offset:3px;border-radius:6px}
.dark :focus-visible,.cta-band :focus-visible,.ft :focus-visible{outline-color:#7BE39A}
h1,h2,h3,h4{letter-spacing:-.025em;line-height:1.1;color:var(--ink);font-weight:800}
::selection{background:var(--green);color:#fff}

/* Layout helpers */
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 28px}
.wide{width:100%;max-width:var(--wide);margin:0 auto;padding:0 28px}
.narrow{max-width:var(--narrow)}
.section{padding:96px 0}
.section.tight{padding:72px 0}
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green-ink)}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--green);border-radius:2px}
.eyebrow.light{color:#7BE39A}.eyebrow.light::before{background:#7BE39A}
.lede{font-size:19px;color:var(--muted);line-height:1.6}
.kicker{font-size:14px;font-weight:700;color:var(--green-ink);text-transform:uppercase;letter-spacing:.08em}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:9px;font-family:inherit;font-weight:700;font-size:15px;border-radius:12px;padding:14px 22px;border:1.5px solid transparent;cursor:pointer;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.btn svg{width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none}
.btn.primary{background:var(--green);color:#fff;box-shadow:0 10px 24px -12px rgba(63,182,92,.8)}
.btn.primary:hover{background:var(--green-deep);transform:translateY(-1px)}
.btn.dark{background:var(--ink);color:#fff}
.btn.dark:hover{transform:translateY(-1px)}
.btn.ghost{background:#fff;border-color:var(--border);color:var(--text)}
.btn.ghost:hover{border-color:var(--muted-2)}
.btn.onlight{background:#fff;color:var(--ink);border-color:rgba(255,255,255,.25)}

/* ---------- Header ---------- */
.hd{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.82);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.hd.scrolled{border-color:var(--border);box-shadow:0 1px 0 rgba(16,24,20,.02)}
.hd .bar{display:flex;align-items:center;gap:24px;height:72px}
.hd .logo{height:26px;flex:0 0 auto}
.hd nav{display:flex;gap:30px;margin:0 auto}
.hd nav a{font-size:14.5px;font-weight:600;color:#374151;position:relative;padding:4px 0}
.hd nav a:hover{color:var(--ink)}
.hd nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:2px;background:var(--green);transition:right .25s ease}
.hd nav a:hover::after{right:0}
.hd .right{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.hd .menu{display:none;width:42px;height:42px;border:1px solid var(--border);border-radius:11px;background:#fff;align-items:center;justify-content:center}
.hd .menu svg{width:20px;height:20px;stroke:var(--ink);stroke-width:2}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:
   radial-gradient(1200px 500px at 80% -10%,rgba(63,182,92,.10),transparent 60%),
   linear-gradient(180deg,#fff, #FAFBFA)}
.hero .grid{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);gap:56px;align-items:center;padding-top:72px;padding-bottom:84px}
.hero h1{font-size:clamp(34px,4.4vw,58px);line-height:1.04;letter-spacing:-.03em}
.hero h1 .hl{color:var(--green-deep)}
.hero p.sub{margin-top:22px;font-size:19px;color:var(--muted);max-width:33ch}
.hero .cta{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.hero .chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.hero .chips span{font-size:12.5px;font-weight:600;color:#374151;background:#fff;border:1px solid var(--border);border-radius:20px;padding:7px 13px}
.hero .visual{position:relative}
.hero .shot{border-radius:14px;border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;background:#fff}
.hero .shot img{width:100%}
.hero .floaty{position:absolute;left:-26px;bottom:26px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-sm);padding:13px 16px;display:flex;align-items:center;gap:12px;max-width:255px}
.hero .floaty .ic{width:38px;height:38px;border-radius:10px;background:var(--green-soft);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.hero .floaty .ic svg{width:19px;height:19px;stroke:var(--green-deep);stroke-width:2;fill:none}
.hero .floaty b{display:block;font-size:13px;color:var(--ink);font-weight:700}
.hero .floaty span{font-size:11.5px;color:var(--muted)}

/* At a glance */
.glance{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg-soft)}
.glance .row{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;padding-top:26px;padding-bottom:26px}
.glance .cell .l{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2)}
.glance .cell .v{font-size:15.5px;font-weight:700;color:var(--ink);margin-top:6px}

/* Generic section head */
.shead{max-width:var(--narrow)}
.shead h2{font-size:clamp(28px,3.2vw,40px);margin-top:18px}
.shead p{margin-top:16px;font-size:18px;color:var(--muted)}

/* Challenge */
.challenge .items{display:grid;grid-template-columns:1fr 1fr;gap:14px 48px;margin-top:52px}
.chal{display:flex;gap:18px;padding:24px 4px;border-top:1px solid var(--border)}
.chal .no{font-size:14px;font-weight:800;color:var(--green-ink);font-variant-numeric:tabular-nums;flex:0 0 auto;width:30px}
.chal h3{font-size:18px;margin-bottom:7px}
.chal p{font-size:15px;color:var(--muted);line-height:1.6}

/* Dark section base */
.dark{background:var(--ink);color:#D8DEDA}
.dark h2,.dark h3,.dark h4{color:#fff}
.dark .lede{color:#AEB6B1}

/* Solution + workflow */
.solution .top{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:end}
.solution .top p{font-size:17px;color:#B4BcB7;line-height:1.65}
.flow{margin-top:56px;display:flex;align-items:stretch;gap:10px;overflow:hidden;flex-wrap:wrap}
.flow .step{flex:1 1 0;min-width:130px;background:rgba(255,255,255,.04);border:1px solid var(--line-dark);border-radius:14px;padding:18px 16px;position:relative}
.flow .step .n{font-size:11px;font-weight:700;color:#6BD98A;letter-spacing:.08em}
.flow .step h4{font-size:15px;margin:9px 0 5px}
.flow .step p{font-size:12.5px;color:#9AA5A0;line-height:1.5}
.flow .step .ic{width:34px;height:34px;border-radius:9px;background:rgba(63,182,92,.14);display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.flow .step .ic svg{width:18px;height:18px;stroke:#6BD98A;stroke-width:1.9;fill:none}

/* Product sections */
.prod-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;flex-wrap:wrap;margin-bottom:34px}
.prod-head .l{max-width:640px}
.prod-head h2{font-size:clamp(26px,3vw,38px);margin-top:16px}
.prod-head p{margin-top:14px;font-size:17px;color:var(--muted)}
.brandtag{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#4F46E5;background:#EEF2FF;border:1px solid #DDE3Fb;padding:6px 12px;border-radius:20px}
.brandtag .d{width:8px;height:8px;border-radius:2px;background:#4F46E5}
.frame{border-radius:16px;border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;background:#fff}
.frame img{width:100%}
.callouts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
.callout .ic{width:40px;height:40px;border-radius:11px;background:var(--green-soft);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.callout .ic svg{width:20px;height:20px;stroke:var(--green-deep);stroke-width:1.9;fill:none}
.callout h4{font-size:16px;margin-bottom:7px}
.callout p{font-size:14.5px;color:var(--muted);line-height:1.6}

/* Split product (extraction) */
.split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:52px;align-items:center}
.split .copy h2{font-size:clamp(26px,3vw,36px);margin-top:16px}
.split .copy .lede{margin-top:16px;font-size:17px}
.split ul{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:18px}
.split ul li{display:flex;gap:14px}
.split ul li .ck{width:26px;height:26px;border-radius:8px;background:var(--green-soft);flex:0 0 auto;display:flex;align-items:center;justify-content:center;margin-top:1px}
.split ul li .ck svg{width:15px;height:15px;stroke:var(--green-deep);stroke-width:2.4;fill:none}
.split ul li b{color:var(--ink);font-weight:700}
.split ul li span{color:var(--muted);font-size:14.5px}
.split ul li span b{font-size:15px}

/* Analytics band */
.analytics-band{background:var(--bg-soft)}

/* Approvals (mobile) */
.approvals .inner{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:56px;align-items:center}
.phone{justify-self:center;width:320px;border-radius:44px;background:#0F1424;padding:11px;box-shadow:var(--shadow);position:relative}
.phone img{width:100%;border-radius:34px;display:block}
.approvals h2{font-size:clamp(26px,3vw,36px);margin-top:16px}
.approvals .mini{display:flex;flex-direction:column;gap:16px;margin-top:26px}
.approvals .mini .row{display:flex;gap:14px;align-items:flex-start}
.approvals .mini .row .ck{width:26px;height:26px;border-radius:8px;background:var(--green-soft);flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.approvals .mini .row .ck svg{width:15px;height:15px;stroke:var(--green-deep);stroke-width:2.4;fill:none}
.approvals .mini .row b{color:var(--ink)}
.approvals .mini .row span{color:var(--muted);font-size:14.5px}

/* Decisions (dark) */
.decisions .head{max-width:var(--narrow)}
.principle{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:44px 0 8px}
.principle .p{background:rgba(255,255,255,.04);border:1px solid var(--line-dark);border-radius:14px;padding:20px}
.principle .p .ic{width:36px;height:36px;border-radius:9px;background:rgba(63,182,92,.14);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.principle .p .ic svg{width:19px;height:19px;stroke:#6BD98A;stroke-width:1.9;fill:none}
.principle .p h4{font-size:15px;margin-bottom:6px}
.principle .p p{font-size:13px;color:#9AA5A0;line-height:1.55}
.dec-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}
.dec{background:rgba(255,255,255,.03);border:1px solid var(--line-dark);border-radius:16px;padding:26px}
.dec .tag{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6BD98A}
.dec h3{font-size:19px;margin:12px 0 12px}
.dec .pw{display:flex;flex-direction:column;gap:10px}
.dec .pw div{font-size:13.5px;color:#AEB6B1;line-height:1.55}
.dec .pw div b{color:#EAF0EC;font-weight:700;display:block;font-size:12px;letter-spacing:.03em;text-transform:uppercase;margin-bottom:2px;opacity:.7}

/* Impact */
.impact .tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:52px}
.tile{background:var(--bg-soft);border:1px solid var(--border);border-radius:16px;padding:28px 24px}
.tile .big{font-size:34px;font-weight:800;color:var(--green-deep);letter-spacing:-.03em}
.tile h4{font-size:16px;margin:10px 0 8px}
.tile p{font-size:14px;color:var(--muted);line-height:1.55}
.impact .note{margin-top:26px;font-size:13.5px;color:var(--muted-2);max-width:var(--narrow)}

/* Team & Technology */
.team .inner{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.roles{display:flex;flex-direction:column;gap:2px}
.role{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--border)}
.role .rn{font-size:15.5px;font-weight:700;color:var(--ink)}
.role .rc{margin-left:auto;font-size:13px;font-weight:700;color:var(--green-ink);background:var(--green-soft);border-radius:20px;padding:4px 12px}
.role .rd{font-size:13.5px;color:var(--muted)}
.techbox h3{font-size:16px;margin-bottom:16px}
.tech{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}
.tech span{font-size:13.5px;font-weight:600;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:10px;padding:9px 14px}
.deliver{background:var(--bg-soft);border:1px solid var(--border);border-radius:16px;padding:24px}
.deliver .l{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted-2);margin-bottom:14px}
.deliver .ph{display:flex;flex-direction:column;gap:12px}
.deliver .ph .p{display:flex;gap:12px;align-items:baseline}
.deliver .ph .p .n{width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 auto;transform:translateY(3px)}
.deliver .ph .p b{color:var(--ink);font-size:14.5px}
.deliver .ph .p span{color:var(--muted);font-size:13.5px}

/* CTA */
.cta-band{background:linear-gradient(120deg,var(--green-deep),var(--green));color:#fff;text-align:center;overflow:hidden;position:relative}
.cta-band::after{content:"";position:absolute;inset:0;background:radial-gradient(700px 300px at 50% -30%,rgba(255,255,255,.22),transparent)}
.cta-band .inner{position:relative;padding-top:88px;padding-bottom:88px}
.cta-band h2{color:#fff;font-size:clamp(28px,3.4vw,44px)}
.cta-band p{color:rgba(255,255,255,.92);font-size:18px;margin:18px auto 0;max-width:52ch}
.cta-band .btns{display:flex;gap:14px;justify-content:center;margin-top:32px;flex-wrap:wrap}
.cta-band .mail{margin-top:22px;font-size:14.5px;color:rgba(255,255,255,.9);font-weight:600}
.cta-band .mail a{border-bottom:1px solid rgba(255,255,255,.5)}

/* Footer — light */
.ft{background:#fff;border-top:3px solid var(--green)}
.ft .wrap{padding-top:38px;padding-bottom:30px}
.ftrow{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:28px}
.ft .logo{height:28px;display:block}
.ftright{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.ftright a:not(.btn){font-size:15px;font-weight:600;color:var(--text)}
.ftright a:not(.btn):hover{color:var(--green-ink)}
.ftdiv{border-top:1px solid var(--border)}
.ftcopy{padding-top:22px;font-size:13.5px;font-weight:600;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .hero .grid{grid-template-columns:1fr;gap:40px;padding-top:52px;padding-bottom:64px}
  .hero p.sub{max-width:46ch}
  .hero .visual{display:flex;flex-direction:column}
  .hero .floaty{position:static;left:auto;bottom:auto;max-width:100%;width:100%;margin:16px 0 0}
  .split{grid-template-columns:1fr;gap:36px}
  .approvals .inner{grid-template-columns:1fr;gap:40px}
  .phone{order:-1}
  .team .inner{grid-template-columns:1fr;gap:40px}
  .glance .row{grid-template-columns:repeat(3,1fr);gap:24px 20px}
  .principle{grid-template-columns:1fr 1fr}
  .impact .tiles{grid-template-columns:1fr 1fr}
  .flow{gap:10px}
  .flow .step{min-width:calc(33% - 10px)}
}
@media (max-width:760px){
  .section{padding:66px 0}.section.tight{padding:52px 0}
  .wrap,.wide{padding:0 20px}
  .hd nav{display:none}
  .hd .right{display:none}
  .hd .menu{display:flex;order:2;margin-left:auto}
  .hd .bar{height:64px}
  .hero h1{font-size:clamp(31px,8vw,42px)}
  .hero p.sub{font-size:17px;margin-top:18px}
  .hero .cta .btn{flex:1}
  .challenge .items{grid-template-columns:1fr;gap:0}
  .chal{padding:22px 0}
  .solution .top{grid-template-columns:1fr;gap:20px}
  .flow{flex-direction:column}
  .flow .step{min-width:0}
  .callouts{grid-template-columns:1fr;gap:16px}
  .dec-grid{grid-template-columns:1fr}
  .principle{grid-template-columns:1fr}
  .impact .tiles{grid-template-columns:1fr 1fr;gap:14px}
  .tile{padding:22px 18px}
  .tile .big{font-size:30px}
  .glance .row{grid-template-columns:1fr 1fr;gap:20px}
  .prod-head{margin-bottom:26px}
  .roles .role{flex-wrap:wrap}
  .role .rd{width:100%;order:3}
  .ft .top{flex-direction:column}
  .ft .links{gap:32px}
  .phone{width:280px}
}
/* Mobile nav drawer */
.drawer{position:fixed;inset:0;z-index:80;background:rgba(11,19,16,.5);opacity:0;pointer-events:none;transition:opacity .2s;overflow:hidden}
.drawer.open{opacity:1;pointer-events:auto}
.drawer .panel{position:absolute;top:0;right:0;bottom:0;width:min(82vw,340px);background:#fff;padding:26px 24px;display:flex;flex-direction:column;gap:6px;transform:translateX(100%);transition:transform .25s ease}
.drawer.open .panel{transform:none}
.drawer .panel .x{align-self:flex-end;width:42px;height:42px;border:1px solid var(--border);border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.drawer .panel .x svg{width:20px;height:20px;stroke:var(--ink);stroke-width:2}
.drawer .panel a{font-size:17px;font-weight:600;color:var(--ink);padding:13px 4px;border-bottom:1px solid var(--border-soft)}
.drawer .panel .btn{margin-top:18px;justify-content:center}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* Scroll hint (mobile-only horizontal product viewport) */
.scrollhint{display:none;align-items:center;justify-content:center;gap:8px;margin-top:14px;font-size:12.5px;font-weight:600;color:var(--muted-2)}
.scrollhint svg{width:16px;height:16px;stroke:var(--green-deep);stroke-width:2;fill:none}
@media (max-width:760px){
  .frame.scrollx{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border-radius:12px}
  .frame.scrollx::-webkit-scrollbar{height:0}
  .frame.scrollx img{width:800px;max-width:none}
  .split>*,.approvals .inner>*,.team .inner>*,.ex-shot{min-width:0}
  .scrollhint{display:flex}
}
