/* ==========================================================================
   Innovation IT Consulting Inc. — site stylesheet
   ========================================================================== */

:root{
  --bg:#14181C;
  --bg-raised:#1B2027;
  --bg-raised-2:#20262E;
  --paper:#EDEFF2;
  --muted:#8B94A0;
  --accent:#E8A33D;
  --accent-dim:#B97F2E;
  --signal:#5EA8A0;
  --line:#2A313B;
  --line-soft:#232A32;
  --danger:#D9695F;
  --max:1180px;
  --radius:2px;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  background:var(--bg);
  color:var(--paper);
  font-family:'IBM Plex Sans', sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  letter-spacing:-0.01em;
  color:var(--paper);
}

p{color:var(--muted);}

a{color:inherit; text-decoration:none;}

img{max-width:100%; display:block;}

.mono{font-family:'IBM Plex Mono', monospace;}

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

/* ---------- utility ---------- */
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

/* ==========================================================================
   NAV
   ========================================================================== */
header.sitehead{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(20,24,28,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:16px;
  white-space:nowrap;
}
.brand .mark{
  width:26px;
  height:26px;
  border:1.5px solid var(--signal);
  display:grid;
  place-items:center;
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:var(--signal);
  flex-shrink:0;
}

nav.primary{
  display:flex;
  align-items:center;
  gap:2px;
}
.navitem{
  position:relative;
}
.navitem > a, .navitem > button{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:var(--muted);
  padding:12px 14px;
  background:none;
  border:none;
  font-family:'IBM Plex Sans', sans-serif;
  cursor:pointer;
  transition:color .2s ease;
}
.navitem > a:hover, .navitem > button:hover,
.navitem.active > a{color:var(--paper);}
.navitem.active > a{position:relative;}
.navitem.active > a::after{
  content:'';
  position:absolute;
  left:14px; right:14px; bottom:6px;
  height:1.5px;
  background:var(--accent);
}
.caret{
  width:8px; height:8px;
  border-right:1.4px solid currentColor;
  border-bottom:1.4px solid currentColor;
  transform:rotate(45deg);
  margin-top:-3px;
  transition:transform .2s ease;
}

.dropdown{
  position:absolute;
  top:100%;
  left:0;
  min-width:260px;
  background:var(--bg-raised);
  border:1px solid var(--line);
  padding:8px;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.navitem:hover .dropdown,
.navitem:focus-within .dropdown,
.navitem.open .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown a{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 12px;
  font-size:13.5px;
  color:var(--paper);
  border-left:2px solid transparent;
  transition:border-color .15s ease, background .15s ease;
}
.dropdown a span{
  color:var(--muted);
  font-size:12px;
}
.dropdown a:hover{
  border-left-color:var(--signal);
  background:var(--bg-raised-2);
}
.dropdown a.view-all{
  color:var(--accent);
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  border-top:1px solid var(--line-soft);
  margin-top:4px;
  padding-top:12px;
}

.nav-cta{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  color:var(--bg);
  background:var(--accent);
  padding:10px 16px;
  border:1px solid var(--accent);
  transition:transform .18s ease;
  white-space:nowrap;
}
.nav-cta:hover{transform:translateY(-1px);}

.navtoggle{
  display:none;
  background:none;
  border:1px solid var(--line);
  width:40px;height:40px;
  color:var(--paper);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  cursor:pointer;
}
.navtoggle span{
  width:18px; height:1.4px;
  background:var(--paper);
  display:block;
  transition:transform .2s ease, opacity .2s ease;
}
.navtoggle.open span:nth-child(1){transform:translateY(5.5px) rotate(45deg);}
.navtoggle.open span:nth-child(2){opacity:0;}
.navtoggle.open span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg);}

@media (max-width:980px){
  nav.primary{
    position:fixed;
    top:72px; left:0; right:0; bottom:0;
    background:var(--bg);
    flex-direction:column;
    align-items:stretch;
    padding:12px 24px;
    overflow-y:auto;
    transform:translateX(100%);
    transition:transform .25s ease;
    gap:0;
  }
  nav.primary.open{transform:translateX(0);}
  .navitem{width:100%;}
  .navitem > a, .navitem > button{
    width:100%;
    padding:16px 4px;
    border-bottom:1px solid var(--line-soft);
    font-size:15px;
    justify-content:space-between;
  }
  .dropdown{
    position:static;
    opacity:1; visibility:visible; transform:none;
    display:none;
    border:none;
    background:var(--bg-raised-2);
    padding:0 0 8px 12px;
  }
  .navitem.open .dropdown{display:flex; flex-direction:column;}
  .navitem.open .caret{transform:rotate(225deg);}
  .nav-cta{
    margin-top:16px;
    text-align:center;
  }
  .navtoggle{display:flex;}
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb{
  padding:20px 0;
  border-bottom:1px solid var(--line-soft);
}
.breadcrumb ol{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  color:var(--muted);
}
.breadcrumb a{color:var(--muted); transition:color .15s ease;}
.breadcrumb a:hover{color:var(--signal);}
.breadcrumb li:not(:last-child)::after{content:'/'; margin-left:8px; color:var(--line);}
.breadcrumb li[aria-current]{color:var(--paper);}

/* ==========================================================================
   HERO (inner pages)
   ========================================================================== */
.page-hero{
  padding:64px 0 56px;
  border-bottom:1px solid var(--line-soft);
}
.page-hero .eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  letter-spacing:0.08em;
  color:var(--accent);
  text-transform:uppercase;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  gap:10px;
}
.page-hero .eyebrow::before{content:''; width:20px; height:1px; background:var(--accent);}
.page-hero h1{
  font-size:clamp(1.9rem, 3.4vw, 2.75rem);
  line-height:1.15;
  max-width:22ch;
  margin-bottom:20px;
}
.page-hero .lede{
  color:var(--muted);
  font-size:17px;
  max-width:62ch;
}
.page-hero .hero-actions{
  display:flex; gap:14px; margin-top:32px; flex-wrap:wrap;
}

/* homepage-only large hero */
.home-hero{padding:96px 0 80px;}
.home-hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
h1.headline{
  font-size:clamp(2.1rem, 4vw, 3.15rem);
  line-height:1.12;
  margin-bottom:24px;
}
h1.headline em{font-style:normal; color:var(--signal);}
.hero-sub{color:var(--muted); font-size:17px; max-width:46ch; margin-bottom:36px;}

.diagram-wrap svg{width:100%; height:auto; display:block;}
.diagram-caption{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:var(--muted);
  text-align:center;
  margin-top:14px;
  letter-spacing:0.04em;
}
.flow-line{stroke:var(--signal); stroke-width:1.4; fill:none; stroke-dasharray:5 5; animation:flow 1.8s linear infinite;}
@keyframes flow{to{stroke-dashoffset:-20;}}
.node-box{fill:var(--bg-raised); stroke:var(--line); stroke-width:1;}
.node-label{font-family:'IBM Plex Mono', monospace; font-size:10.5px; fill:var(--paper);}
.node-sub{font-family:'IBM Plex Mono', monospace; font-size:8.5px; fill:var(--muted);}
.node-dot{fill:var(--accent);}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  font-family:'IBM Plex Mono', monospace;
  font-size:13.5px;
  padding:14px 22px;
  border:1px solid var(--accent);
  color:var(--bg);
  background:var(--accent);
  transition:transform .18s ease, box-shadow .18s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.btn:hover{transform:translateY(-2px); box-shadow:0 8px 22px -8px rgba(232,163,61,0.5);}
.btn.ghost{background:transparent; color:var(--paper); border-color:var(--line);}
.btn.ghost:hover{border-color:var(--signal); color:var(--signal); box-shadow:none;}
.btn.small{padding:10px 16px; font-size:12.5px;}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
section{padding:80px 0; border-bottom:1px solid var(--line-soft);}
section.tight{padding:56px 0;}
section.no-border{border-bottom:none;}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:48px; flex-wrap:wrap;
}
.section-tag{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; color:var(--signal); letter-spacing:0.08em;
  text-transform:uppercase; margin-bottom:14px;
}
h2.section-title{font-size:clamp(1.5rem, 2.4vw, 2rem); max-width:22ch;}
.section-note{color:var(--muted); font-size:14.5px; max-width:34ch; text-align:right;}
@media (max-width:700px){.section-note{text-align:left;}}

.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ==========================================================================
   CARD GRIDS
   ========================================================================== */
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft);}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft);}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft);}
@media (max-width:900px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

.card{
  background:var(--bg);
  padding:32px;
  transition:background .25s ease;
  display:flex;
  flex-direction:column;
}
.card:hover{background:var(--bg-raised);}
.card .icon{width:32px; height:32px; margin-bottom:20px;}
.card h3{font-size:17px; margin-bottom:10px;}
.card p{font-size:14.5px; margin-bottom:14px;}
.card .card-link{
  margin-top:auto;
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  color:var(--signal);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.card .tag-row{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px;}
.tag{
  font-family:'IBM Plex Mono', monospace;
  font-size:10.5px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:3px 8px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* ==========================================================================
   STACK / PILLS
   ========================================================================== */
.stack-groups{display:grid; grid-template-columns:repeat(4,1fr); gap:32px;}
.stack-group h4{
  font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--muted);
  text-transform:uppercase; letter-spacing:0.06em; margin-bottom:16px;
  padding-bottom:10px; border-bottom:1px solid var(--line-soft);
}
.pill-list{display:flex; flex-direction:column; gap:9px;}
.pill{font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--paper); display:flex; align-items:center; gap:9px;}
.pill::before{content:''; width:5px; height:5px; background:var(--accent); flex-shrink:0;}
@media (max-width:760px){.stack-groups{grid-template-columns:repeat(2,1fr); row-gap:36px;}}

/* ==========================================================================
   PROCESS / NUMBERED LIST
   ========================================================================== */
.approach-list{display:flex; flex-direction:column;}
.approach-item{display:grid; grid-template-columns:110px 1fr; gap:28px; padding:28px 0; border-top:1px solid var(--line-soft);}
.approach-item:last-child{border-bottom:1px solid var(--line-soft);}
.approach-step{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--accent);}
.approach-item h3{font-size:17px; margin-bottom:8px;}
.approach-item p{font-size:14.5px; max-width:60ch;}
@media (max-width:600px){.approach-item{grid-template-columns:1fr; gap:8px;}}

/* ==========================================================================
   FACT LIST / STATS
   ========================================================================== */
.fact-list{display:flex; flex-direction:column;}
.fact{display:flex; justify-content:space-between; padding:16px 0; border-top:1px solid var(--line-soft); font-size:14px;}
.fact:last-child{border-bottom:1px solid var(--line-soft);}
.fact-label{color:var(--muted); font-family:'IBM Plex Mono', monospace; font-size:12px;}
.fact-value{color:var(--paper); text-align:right;}

.stat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft);}
.stat{background:var(--bg); padding:28px; text-align:center;}
.stat .num{font-family:'Space Grotesk',sans-serif; font-size:2rem; color:var(--accent); font-weight:600;}
.stat .label{font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--muted); text-transform:uppercase; margin-top:6px;}
@media (max-width:760px){.stat-grid{grid-template-columns:repeat(2,1fr);}}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft);}
.team-card{background:var(--bg); padding:32px;}
.team-photo{
  width:100%; aspect-ratio:1; background:var(--bg-raised);
  border:1px solid var(--line); margin-bottom:20px;
  display:grid; place-items:center;
  font-family:'Space Grotesk',sans-serif; font-size:2rem; color:var(--signal);
}
.team-card h3{font-size:16px; margin-bottom:4px;}
.team-card .role{font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--signal); margin-bottom:14px; display:block;}
.team-card p{font-size:13.5px;}
@media (max-width:900px){.team-grid{grid-template-columns:1fr;}}

/* ==========================================================================
   ARTICLE / BLOG
   ========================================================================== */
.article-meta{
  display:flex; gap:16px; flex-wrap:wrap;
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--muted);
  margin-bottom:24px;
}
.article-body{max-width:74ch;}
.article-body p{color:var(--paper); opacity:.86; font-size:16px; margin-bottom:20px;}
.article-body h2{font-size:1.4rem; margin:36px 0 14px;}
.article-body h3{font-size:1.15rem; margin:28px 0 12px;}
.article-body ul{margin:0 0 20px 20px; color:var(--paper); opacity:.86;}
.article-body li{margin-bottom:8px; font-size:15.5px;}
.article-body blockquote{
  border-left:2px solid var(--accent);
  padding:4px 0 4px 20px;
  color:var(--paper);
  font-style:normal;
  margin:24px 0;
  font-size:16px;
}

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px;}
.field{margin-bottom:20px;}
.field label{
  display:block; font-family:'IBM Plex Mono', monospace; font-size:11.5px;
  color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px;
}
.field input, .field textarea, .field select{
  width:100%;
  background:var(--bg-raised);
  border:1px solid var(--line);
  color:var(--paper);
  padding:13px 14px;
  font-family:'IBM Plex Sans', sans-serif;
  font-size:14.5px;
  transition:border-color .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--signal);
}
.field textarea{resize:vertical; min-height:130px;}
.form-note{font-size:12.5px; color:var(--muted); margin-top:16px;}
.form-status{
  margin-top:16px; font-family:'IBM Plex Mono', monospace; font-size:13px;
  padding:12px 14px; border:1px solid var(--line); display:none;
}
.form-status.show{display:block;}
.form-status.ok{border-color:var(--signal); color:var(--signal);}

.contact-info-list{display:flex; flex-direction:column; gap:0;}
.contact-info-item{padding:20px 0; border-top:1px solid var(--line-soft);}
.contact-info-item:last-child{border-bottom:1px solid var(--line-soft);}
.contact-info-item .k{font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; display:block; margin-bottom:6px;}
.contact-info-item .v{font-size:15px; color:var(--paper);}
.contact-info-item .v a:hover{color:var(--signal);}

@media (max-width:800px){.contact-grid{grid-template-columns:1fr; gap:40px;}}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band{
  background:var(--bg-raised);
  border:1px solid var(--line);
  padding:56px;
  display:grid;
  grid-template-columns:1.3fr 0.7fr;
  gap:40px;
  align-items:center;
}
.cta-band h2{font-size:clamp(1.4rem,2.2vw,1.9rem); margin-bottom:10px;}
.cta-band p{font-size:14.5px; max-width:48ch;}
.cta-band .cta-actions{display:flex; justify-content:flex-end; gap:12px; flex-wrap:wrap;}
@media (max-width:800px){
  .cta-band{grid-template-columns:1fr; padding:36px 28px;}
  .cta-band .cta-actions{justify-content:flex-start;}
}

/* ==========================================================================
   GENERIC CONTENT (privacy / terms)
   ========================================================================== */
.prose{max-width:74ch;}
.prose h2{font-size:1.3rem; margin:32px 0 12px;}
.prose p{color:var(--paper); opacity:.85; font-size:15px; margin-bottom:16px;}
.prose ul{margin:0 0 16px 20px; color:var(--paper); opacity:.85;}
.prose li{margin-bottom:6px; font-size:14.5px;}
.updated-tag{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--muted);
  margin-bottom:32px; display:inline-block; border:1px solid var(--line); padding:6px 10px;
}

/* ==========================================================================
   404
   ========================================================================== */
.error-page{
  min-height:60vh;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:100px 0;
}
.error-page .code{
  font-family:'IBM Plex Mono', monospace;
  color:var(--accent);
  font-size:14px;
  margin-bottom:16px;
}
.error-page h1{font-size:clamp(2rem,4vw,3rem); margin-bottom:16px;}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.sitefoot{padding:64px 0 32px;}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(4, 1fr);
  gap:32px;
  padding-bottom:48px;
  border-bottom:1px solid var(--line-soft);
}
.footer-brand .brand{margin-bottom:16px;}
.footer-brand p{font-size:13.5px; max-width:34ch; margin-bottom:20px;}
.footer-col h4{
  font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--muted);
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px;
}
.footer-col ul{list-style:none; display:flex; flex-direction:column; gap:10px;}
.footer-col a{font-size:13.5px; color:var(--muted); transition:color .15s ease;}
.footer-col a:hover{color:var(--signal);}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px; padding-top:28px;
}
.footer-bottom p, .footer-bottom a{
  color:var(--muted); font-size:12.5px; font-family:'IBM Plex Mono', monospace;
}
.footer-legal{display:flex; gap:20px;}
.footer-legal a:hover{color:var(--signal);}

@media (max-width:900px){
  .footer-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr;}
}

::selection{background:var(--signal); color:var(--bg);}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--signal); outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
}
