
/* =========================================================
   INFUBIQ — HIC ACADEMY PROJECT PAGE
   Palette copied from INFUBIQ Work page
   ========================================================= */

.hic-page{
  --hic-bg:#08142f;
  --hic-mid:#0b1b3b;
  --hic-deep:#050d2a;
  --hic-mint:#45ffd7;
  --hic-text:#f1f4ff;
  --hic-muted:#aebbd8;
  --hic-border:rgba(133,181,209,.2);

  overflow-x:clip;
  background:var(--hic-bg);
  color:var(--hic-text);
}

.hic-page main,
.hic-page section{
  box-sizing:border-box;
}

.hic-shell{
  width:min(1180px,calc(100% - 48px));
  margin-inline:auto;
}

.hic-page h1,
.hic-page h2,
.hic-page h3,
.hic-page h4{
  font-family:Manrope,sans-serif;
}

/* =========================================================
   HERO — WORK PAGE PALETTE
   ========================================================= */

.hic-project-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
  padding:clamp(135px,17vh,165px) 0 26px;
  background:
    radial-gradient(ellipse at 78% 53%,rgba(15,57,116,.38),transparent 43%),
    linear-gradient(110deg,#071952 0%,#061238 55%,#030918 100%);
}

.hic-hero-grid{
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.12;
  background-image:
    linear-gradient(rgba(120,160,220,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(120,160,220,.16) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(90deg,transparent,black 25%,black);
  animation:hic-grid-drift 24s linear infinite;
}

.hic-hero-glow{
  position:absolute;
  width:650px;
  height:650px;
  border-radius:50%;
  top:10%;
  right:-15%;
  background:radial-gradient(circle,rgba(69,255,215,.07),transparent 70%);
  pointer-events:none;
  z-index:-1;
}

.hic-hero-inner{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:0;
  flex:1;
}

.hic-back-link{
  color:#aebbd8;
  text-decoration:none;
  font-size:.85rem;
  display:inline-flex;
  width:max-content;
  align-items:center;
  gap:8px;
  transition:color .25s,transform .25s;
  margin-bottom:clamp(38px,7vh,70px);
}

.hic-back-link:hover{
  color:var(--hic-mint);
  transform:translateX(-4px);
}

.hic-hero-copy{
  max-width:900px;
}

.hic-eyebrow{
  display:inline-block;
  color:var(--hic-mint);
  font-size:.73rem;
  font-weight:800;
  letter-spacing:.17em;
}

.hic-hero-copy h1{
  font-size:clamp(3.2rem,7.5vw,7rem);
  line-height:.99;
  letter-spacing:-.07em;
  font-weight:800;
  margin:22px 0 25px;
  color:var(--hic-text);
  animation:hic-fade-up .85s both;
}

.hic-hero-copy h1 span{
  display:block;
  color:#8290b0;
  margin-top:8px;
  animation:hic-fade-up .9s .12s both;
}

.hic-hero-copy>p{
  max-width:650px;
  color:#c1cce6;
  font-size:1.08rem;
  line-height:1.8;
  animation:hic-fade-up .85s .22s both;
}

.hic-tags{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:26px;
}

.hic-tags span{
  border:1px solid rgba(133,181,209,.22);
  background:rgba(13,27,61,.55);
  border-radius:999px;
  padding:9px 15px;
  color:#c5d2ed;
  font-size:.75rem;
  backdrop-filter:blur(10px);
}

.hic-hero-cta{
  display:inline-flex;
  align-items:center;
  gap:15px;
  margin-top:30px;
  text-decoration:none;
  color:var(--hic-mint);
  font-weight:750;
  animation:hic-fade-up .85s .32s both;
}

.hic-hero-cta span{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid rgba(69,255,215,.45);
  border-radius:50%;
  transition:transform .25s,background .25s;
}

.hic-hero-cta:hover span{
  background:rgba(69,255,215,.12);
  transform:translateY(4px);
}

.hic-hero-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(133,181,209,.2);
  margin-top:clamp(35px,5vh,55px);
  padding-top:18px;
  color:#8f9ebd;
  font-size:.7rem;
  letter-spacing:.15em;
}

/* =========================================================
   SECTION LABELS
   ========================================================= */

.hic-section-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid var(--hic-border);
  padding-bottom:16px;
  margin-bottom:55px;
  color:#8f9ebd;
  font-size:.7rem;
  letter-spacing:.15em;
}

.hic-section-label span:first-child{
  color:var(--hic-mint);
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.hic-overview-section{
  padding:110px 0 120px;
}

.hic-overview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start;
}

.hic-overview-heading h2{
  font:800 clamp(2.5rem,5.3vw,4.5rem)/1.05 Manrope,sans-serif;
  letter-spacing:-.065em;
  margin:0;
  color:var(--hic-text);
}

.hic-overview-heading h2 span{
  color:var(--hic-mint);
}

.hic-overview-copy p{
  color:var(--hic-muted);
  font-size:1rem;
  line-height:1.85;
  margin:0 0 22px;
}

.hic-system-overview{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:65px;
}

.hic-system-card{
  position:relative;
  overflow:hidden;
  padding:25px;
  border:1px solid rgba(125,159,220,.22);
  border-radius:18px;
  background:linear-gradient(160deg,#0d1b43,#09132f);
  transition:transform .3s,border-color .3s,box-shadow .3s;
}

.hic-system-card:hover{
  transform:translateY(-6px);
  border-color:rgba(69,255,215,.55);
  box-shadow:0 25px 60px rgba(0,0,0,.2);
}

.hic-system-card>span{
  font-size:.7rem;
  letter-spacing:.15em;
  color:var(--hic-mint);
}

.hic-system-icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border:1px solid rgba(69,255,215,.25);
  border-radius:15px;
  margin:25px 0;
  color:var(--hic-mint);
  font-size:1.5rem;
  background:rgba(69,255,215,.04);
}

.hic-system-card h3{
  color:var(--hic-text);
  font-size:1.2rem;
  margin:0 0 12px;
  font-weight:800;
}

.hic-system-card p{
  color:var(--hic-muted);
  font-size:.85rem;
  line-height:1.7;
  margin:0;
}

/* =========================================================
   WEBSITE SECTION
   ========================================================= */

.hic-website-section{
  padding:100px 0 120px;
  background:linear-gradient(130deg,#0a1738,#07112d);
  border-block:1px solid rgba(140,170,220,.12);
}

.hic-feature-grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  align-items:center;
  gap:60px;
}

.hic-feature-kicker{
  display:block;
  color:var(--hic-mint);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.15em;
  margin-bottom:18px;
}

.hic-feature-copy h2,
.hic-seo-heading h2,
.hic-erp-intro h2{
  font:800 clamp(2.5rem,5vw,4.3rem)/1.04 Manrope,sans-serif;
  letter-spacing:-.065em;
  margin:0 0 25px;
  color:var(--hic-text);
}

.hic-feature-copy p,
.hic-seo-copy p,
.hic-erp-intro p{
  color:var(--hic-muted);
  line-height:1.8;
  font-size:.98rem;
  margin:0 0 20px;
}

.hic-text-link{
  display:inline-flex;
  gap:12px;
  align-items:center;
  color:var(--hic-mint);
  text-decoration:none;
  font-weight:750;
  margin-top:15px;
  transition:gap .25s;
}

.hic-text-link:hover{
  gap:18px;
}

/* =========================================================
   MACBOOK WEBSITE PREVIEW
   ========================================================= */

.hic-browser-stage{
  min-width:0;
  perspective:1200px;
}

.hic-macbook{
  width:100%;
  max-width:760px;
  margin-inline:auto;
  position:relative;
  transform:rotateY(-4deg) rotateX(2deg);
  transform-origin:center center;
  transition:transform .5s;
}

.hic-macbook:hover{
  transform:rotateY(0) rotateX(0);
}

.hic-macbook-screen{
  position:relative;
  overflow:hidden;
  border:8px solid #202938;
  border-bottom-width:10px;
  border-radius:16px 16px 8px 8px;
  background:#0b1425;
  box-shadow:
    0 30px 65px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.12);
}

.hic-browser-top{
  height:42px;
  display:grid;
  grid-template-columns:70px 1fr 30px;
  align-items:center;
  gap:10px;
  padding:0 14px;
  background:#202938;
  color:#c4d0e4;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.hic-browser-dots{
  display:flex;
  gap:6px;
  align-items:center;
}

.hic-browser-dots i{
  width:9px;
  height:9px;
  border-radius:50%;
  display:block;
  background:#f18480;
}

.hic-browser-dots i:nth-child(2){
  background:#e9c76b;
}

.hic-browser-dots i:nth-child(3){
  background:#83c5a2;
}

.hic-browser-address{
  display:flex;
  justify-content:center;
  min-width:0;
}

.hic-browser-address span{
  display:block;
  width:min(100%,420px);
  border-radius:6px;
  background:#111d31;
  padding:7px 12px;
  text-align:center;
  font-size:.65rem;
  color:#aebbd8;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.hic-browser-top>a{
  text-align:right;
  color:var(--hic-mint);
  text-decoration:none;
}

.hic-macbook-screen iframe{
  display:block;
  width:100%;
  height:430px;
  border:0;
  background:#fff;
}

.hic-macbook-chin{
  height:13px;
  background:linear-gradient(180deg,#293447,#141e2e);
  border-radius:0 0 5px 5px;
  position:relative;
}

.hic-macbook-chin:after{
  content:"";
  position:absolute;
  width:60px;
  height:4px;
  border-radius:0 0 5px 5px;
  background:#121b2b;
  left:50%;
  transform:translateX(-50%);
}

.hic-macbook-base{
  width:108%;
  height:12px;
  margin-left:-4%;
  border-radius:2px 2px 15px 15px;
  background:linear-gradient(180deg,#a0a9b5,#687586 35%,#364252 90%);
  box-shadow:0 12px 25px rgba(0,0,0,.35);
  position:relative;
}

.hic-macbook-base:before{
  content:"";
  position:absolute;
  top:0;
  left:40%;
  width:20%;
  height:4px;
  background:linear-gradient(180deg,#677385,#a0a9b5);
  border-radius:0 0 7px 7px;
}

.hic-preview-note{
  text-align:center;
  color:#8290b0;
  font-size:.72rem;
  line-height:1.6;
  margin-top:22px;
}

/* =========================================================
   SEO
   ========================================================= */

.hic-seo-section{
  padding:110px 0 120px;
}

.hic-seo-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start;
}

.hic-seo-heading h2{
  max-width:620px;
}

.hic-seo-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:65px;
}

.hic-seo-item{
  display:flex;
  gap:20px;
  align-items:flex-start;
  border:1px solid rgba(125,159,220,.22);
  border-radius:16px;
  background:linear-gradient(160deg,#0d1b43,#09132f);
  padding:24px;
  transition:transform .3s,border-color .3s;
}

.hic-seo-item:hover{
  transform:translateY(-5px);
  border-color:rgba(69,255,215,.5);
}

.hic-seo-item>span{
  flex-shrink:0;
  color:var(--hic-mint);
  font-size:.7rem;
  letter-spacing:.15em;
  padding-top:3px;
}

.hic-seo-item h3{
  font-size:1.1rem;
  color:var(--hic-text);
  margin:0 0 12px;
  font-weight:800;
}

.hic-seo-item p{
  font-size:.85rem;
  line-height:1.7;
  color:var(--hic-muted);
  margin:0;
}

/* =========================================================
   CRM
   ========================================================= */

.hic-crm-section{
  padding:100px 0 120px;
  background:linear-gradient(115deg,#08142f 0%,#0b1b3b 58%,#08142f 100%);
  border-block:1px solid rgba(140,170,220,.12);
}

.hic-crm-grid{
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
}

.hic-system-visual{
  border:1px solid rgba(125,159,220,.22);
  border-radius:22px;
  background:linear-gradient(160deg,#0d1b43,#09132f);
  padding:28px;
  box-shadow:0 25px 65px rgba(0,0,0,.2);
}

.hic-visual-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid rgba(140,170,220,.15);
  padding-bottom:18px;
  margin-bottom:25px;
  font-size:.65rem;
  letter-spacing:.14em;
  color:#aebbd8;
}

.hic-visual-status{
  color:var(--hic-mint);
}

.hic-flow-node{
  display:flex;
  align-items:center;
  gap:18px;
  border:1px solid rgba(125,159,220,.2);
  border-radius:13px;
  background:rgba(13,27,61,.7);
  padding:17px;
  transition:border-color .3s,transform .3s;
}

.hic-flow-node:hover{
  border-color:rgba(69,255,215,.45);
  transform:translateX(4px);
}

.hic-flow-number{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:11px;
  background:rgba(69,255,215,.08);
  border:1px solid rgba(69,255,215,.2);
  color:var(--hic-mint);
  font-size:.75rem;
  flex-shrink:0;
}

.hic-flow-node b{
  display:block;
  color:var(--hic-text);
  font-size:.95rem;
  font-family:Manrope,sans-serif;
  margin-bottom:6px;
}

.hic-flow-node small{
  display:block;
  color:#8f9ebd;
  font-size:.75rem;
  line-height:1.5;
}

.hic-flow-connector{
  height:24px;
  width:1px;
  margin-left:36px;
  background:linear-gradient(180deg,rgba(69,255,215,.35),rgba(69,255,215,.05));
}

.hic-flow-node-highlight{
  border-color:rgba(69,255,215,.45);
  background:linear-gradient(130deg,rgba(69,255,215,.08),rgba(13,27,61,.8));
}

/* =========================================================
   ERP
   ========================================================= */

.hic-erp-section{
  padding:110px 0 120px;
}

.hic-erp-intro{
  max-width:760px;
  margin-bottom:55px;
}

.hic-erp-intro h2{
  max-width:700px;
}

.hic-erp-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.hic-erp-card{
  border:1px solid rgba(125,159,220,.22);
  border-radius:18px;
  background:linear-gradient(160deg,#0d1b43,#09132f);
  padding:25px;
  transition:transform .3s,border-color .3s;
}

.hic-erp-card:hover{
  transform:translateY(-6px);
  border-color:rgba(69,255,215,.55);
}

.hic-erp-card>span{
  display:block;
  color:var(--hic-mint);
  font-size:.65rem;
  letter-spacing:.15em;
  margin-bottom:30px;
}

.hic-erp-card h3{
  color:var(--hic-text);
  font-size:1.2rem;
  font-weight:800;
  margin:0 0 14px;
}

.hic-erp-card p{
  color:var(--hic-muted);
  font-size:.85rem;
  line-height:1.7;
  margin:0;
}

/* =========================================================
   ECOSYSTEM
   ========================================================= */

.hic-ecosystem-section{
  padding:100px 0 120px;
  background:linear-gradient(130deg,#0a1738,#07112d);
  border-block:1px solid rgba(140,170,220,.12);
}

.hic-ecosystem-content{
  max-width:760px;
}

.hic-ecosystem-content h2{
  font:800 clamp(2.8rem,5.5vw,4.7rem)/1.03 Manrope,sans-serif;
  letter-spacing:-.065em;
  margin:15px 0 25px;
  color:var(--hic-text);
}

.hic-ecosystem-content h2 span{
  color:var(--hic-mint);
}

.hic-ecosystem-content p{
  color:var(--hic-muted);
  font-size:1rem;
  line-height:1.8;
  max-width:650px;
}

.hic-ecosystem-diagram{
  position:relative;
  min-height:440px;
  margin-top:70px;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:35px;
  align-items:center;
  justify-items:center;
}

.hic-eco-center{
  position:absolute;
  z-index:3;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:180px;
  height:180px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border:1px solid rgba(69,255,215,.4);
  background:radial-gradient(circle,rgba(69,255,215,.12),#0b1b3b 70%);
  box-shadow:0 0 50px rgba(69,255,215,.08);
}

.hic-eco-center span{
  font:800 2.4rem Manrope,sans-serif;
  color:var(--hic-text);
}

.hic-eco-center b{
  color:var(--hic-mint);
  font:800 1rem Manrope,sans-serif;
  letter-spacing:.1em;
}

.hic-eco-center small{
  font-size:.55rem;
  letter-spacing:.15em;
  color:#8f9ebd;
  margin-top:10px;
}

.hic-eco-node{
  width:min(100%,320px);
  border:1px solid rgba(125,159,220,.22);
  border-radius:17px;
  background:linear-gradient(160deg,#0d1b43,#09132f);
  padding:22px;
  z-index:2;
  transition:transform .3s,border-color .3s;
}

.hic-eco-node:hover{
  transform:translateY(-5px);
  border-color:rgba(69,255,215,.5);
}

.hic-eco-node>span{
  color:var(--hic-mint);
  display:block;
  font-size:.65rem;
  letter-spacing:.15em;
  margin-bottom:15px;
}

.hic-eco-node b{
  display:block;
  font:800 1.2rem Manrope,sans-serif;
  color:var(--hic-text);
}

.hic-eco-node small{
  display:block;
  margin-top:7px;
  color:#8f9ebd;
  font-size:.75rem;
}

.hic-eco-line{
  position:absolute;
  width:1px;
  height:150px;
  background:linear-gradient(180deg,rgba(69,255,215,.35),transparent);
  z-index:1;
}

.hic-eco-line-1{
  left:25%;
  top:22%;
  transform:rotate(35deg);
}

.hic-eco-line-2{
  right:25%;
  top:22%;
  transform:rotate(-35deg);
}

.hic-eco-line-3{
  left:25%;
  bottom:22%;
  transform:rotate(-35deg);
}

.hic-eco-line-4{
  right:25%;
  bottom:22%;
  transform:rotate(35deg);
}

/* =========================================================
   CTA
   ========================================================= */

.hic-next-project{
  padding:110px 0 120px;
  background:
    radial-gradient(ellipse at 80% 30%,rgba(15,57,116,.38),transparent 43%),
    linear-gradient(110deg,#071952 0%,#061238 55%,#030918 100%);
}

.hic-next-inner h2{
  font:800 clamp(3rem,6.7vw,5.6rem)/1 Manrope,sans-serif;
  letter-spacing:-.065em;
  margin:20px 0;
  color:var(--hic-text);
}

.hic-next-inner h2 span{
  color:var(--hic-mint);
}

.hic-next-inner>p{
  max-width:570px;
  color:#b8c5df;
  line-height:1.8;
}

.hic-next-actions{
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
  margin-top:35px;
}

.hic-primary-button{
  display:inline-flex;
  align-items:center;
  gap:22px;
  background:#2fb295;
  color:#fff;
  text-decoration:none;
  border-radius:9px;
  padding:15px 21px;
  font-weight:800;
  box-shadow:0 10px 30px rgba(47,178,149,.2);
  transition:background .25s,color .25s,transform .25s;
}

.hic-primary-button:hover{
  background:var(--hic-mint);
  color:#07102c;
  transform:translateY(-2px);
}

.hic-secondary-link{
  color:var(--hic-mint);
  text-decoration:none;
  font-weight:750;
  display:inline-flex;
  align-items:center;
  gap:12px;
  transition:gap .25s;
}

.hic-secondary-link:hover{
  gap:18px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.hic-page .footer{
  background:#050c22;
}

/* =========================================================
   MOTION
   ========================================================= */

@keyframes hic-fade-up{
  from{
    opacity:0;
    transform:translateY(22px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes hic-grid-drift{
  0%{background-position:0 0}
  100%{background-position:48px 48px}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1050px){

  .hic-system-overview,
  .hic-erp-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hic-feature-grid{
    grid-template-columns:1fr;
    gap:45px;
  }

  .hic-feature-copy{
    max-width:760px;
  }

  .hic-macbook{
    max-width:850px;
  }

  .hic-macbook-screen iframe{
    height:480px;
  }

  .hic-seo-grid{
    grid-template-columns:1fr;
    gap:35px;
  }
}

@media(max-width:950px){

  .hic-project-hero{
    min-height:auto;
    padding:130px 0 25px;
  }

  .hic-hero-inner{
    min-height:0;
  }

  .hic-hero-copy h1{
    font-size:clamp(3.2rem,8vw,6rem);
  }

  .hic-overview-grid{
    grid-template-columns:1fr;
    gap:35px;
  }

  .hic-crm-grid{
    grid-template-columns:1fr;
  }

  .hic-ecosystem-diagram{
    min-height:400px;
  }
}

@media(max-width:680px){

  .hic-shell{
    width:calc(100% - 32px);
  }

  .hic-project-hero{
    min-height:auto;
    padding:125px 0 24px;
  }

  .hic-back-link{
    margin-bottom:35px;
  }

  .hic-hero-copy h1{
    font-size:clamp(2.8rem,12vw,4.5rem);
    letter-spacing:-.07em;
  }

  .hic-hero-copy h1 span{
    margin-top:10px;
  }

  .hic-hero-copy>p{
    font-size:.95rem;
  }

  .hic-hero-bottom{
    flex-direction:column;
    gap:10px;
    margin-top:35px;
    font-size:.65rem;
  }

  .hic-overview-section,
  .hic-seo-section,
  .hic-erp-section{
    padding:70px 0 80px;
  }

  .hic-website-section,
  .hic-crm-section,
  .hic-ecosystem-section{
    padding:70px 0 80px;
  }

  .hic-section-label{
    margin-bottom:35px;
    font-size:.63rem;
  }

  .hic-overview-heading h2,
  .hic-feature-copy h2,
  .hic-seo-heading h2,
  .hic-erp-intro h2{
    font-size:clamp(2.5rem,11vw,3.8rem);
  }

  .hic-system-overview,
  .hic-erp-grid{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:40px;
  }

  .hic-system-card,
  .hic-erp-card{
    padding:22px;
  }

  .hic-system-icon{
    margin:18px 0;
  }

  .hic-seo-list{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:40px;
  }

  .hic-seo-item{
    padding:20px;
  }

  .hic-macbook{
    transform:none;
    max-width:100%;
  }

  .hic-macbook-screen{
    border-width:5px;
    border-bottom-width:7px;
    border-radius:10px 10px 5px 5px;
  }

  .hic-browser-top{
    height:34px;
    grid-template-columns:45px 1fr 20px;
    padding:0 7px;
    gap:5px;
  }

  .hic-browser-dots{
    gap:4px;
  }

  .hic-browser-dots i{
    width:7px;
    height:7px;
  }

  .hic-browser-address span{
    font-size:.55rem;
    padding:6px 5px;
  }

  .hic-macbook-screen iframe{
    height:320px;
  }

  .hic-macbook-chin{
    height:9px;
  }

  .hic-macbook-base{
    height:7px;
  }

  .hic-system-visual{
    padding:18px;
  }

  .hic-flow-node{
    padding:14px;
    gap:12px;
  }

  .hic-flow-node b{
    font-size:.85rem;
  }

  .hic-flow-node small{
    font-size:.68rem;
  }

  .hic-ecosystem-content h2{
    font-size:clamp(2.6rem,11vw,4rem);
  }

  .hic-ecosystem-diagram{
    display:flex;
    flex-direction:column;
    gap:15px;
    min-height:auto;
    margin-top:40px;
  }

  .hic-eco-center{
    position:relative;
    top:auto;
    left:auto;
    transform:none;
    width:150px;
    height:150px;
    margin-bottom:10px;
  }

  .hic-eco-node{
    width:100%;
    max-width:none;
  }

  .hic-eco-line{
    display:none;
  }

  .hic-next-project{
    padding:75px 0 85px;
  }

  .hic-next-inner h2{
    font-size:clamp(2.8rem,11vw,4.5rem);
  }

  .hic-next-actions{
    flex-direction:column;
    align-items:flex-start;
    gap:22px;
  }
}

@media(prefers-reduced-motion:reduce){

  .hic-page *,
  .hic-page *:before,
  .hic-page *:after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
/* =========================================================
   HIC ACADEMY — HERO FIT + WORK PAGE COLOUR + MOTION
   ========================================================= */

.hic-project-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: calc(100svh - 110px);
    height: auto;

    box-sizing: border-box;
    display: flex;
    align-items: center;

    padding: 120px 0 45px;

    background:
        radial-gradient(
            ellipse at 78% 53%,
            rgba(15, 57, 116, .38),
            transparent 43%
        ),
        linear-gradient(
            110deg,
            #071952 0%,
            #061238 55%,
            #030918 100%
        );

    border-bottom: 1px solid rgba(133, 181, 209, .18);
}

/* Background subtle texture */
.hic-project-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 80%,
            rgba(30, 70, 145, .16),
            transparent 40%
        );

    opacity: .8;
}

/* HERO INNER */
.hic-project-hero-inner {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Back link */
.hic-project-hero .back-work {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: clamp(35px, 5vh, 55px);

    color: #aebbd8;
    text-decoration: none;
    font-size: .9rem;

    transition: color .3s ease, transform .3s ease;
}

.hic-project-hero .back-work:hover {
    color: #45ffd7;
    transform: translateX(-4px);
}

/* Eyebrow */
.hic-project-hero .work-eyebrow {
    display: inline-block;

    color: #45ffd7;

    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;

    margin-bottom: 18px;
}

/* MAIN HEADING */
.hic-project-hero h1 {
    font-family: Manrope, sans-serif;
    font-weight: 800;

    font-size: clamp(2.8rem, 5.6vw, 5.3rem);
    line-height: 1.02;
    letter-spacing: -.065em;

    max-width: 1000px;

    margin: 0 0 22px;

    color: #f1f4ff;
}

/* Remove the old grey text treatment */
.hic-project-hero h1 span {
    color: #f1f4ff !important;
    opacity: 1 !important;
}

/* Description */
.hic-project-hero p {
    max-width: 650px;

    font-family: Inter, sans-serif;
    font-size: clamp(.95rem, 1.2vw, 1.08rem);
    line-height: 1.75;

    color: #c1cce6;

    margin: 0;
}

/* Tags */
.hic-project-hero .hic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 25px;
}

.hic-project-hero .hic-tags span {
    display: inline-flex;
    align-items: center;

    border: 1px solid rgba(133, 181, 209, .24);
    background: rgba(14, 29, 65, .6);

    color: #c5d2ed;

    border-radius: 999px;
    padding: 9px 15px;

    font-size: .75rem;
    letter-spacing: .05em;

    backdrop-filter: blur(8px);
}

/* Hero button */
.hic-project-hero .hic-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 28px;

    text-decoration: none;
    color: #07102c;
    background: #45ffd7;

    font-weight: 800;

    padding: 14px 20px;
    border-radius: 9px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.hic-project-hero .hic-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(69, 255, 215, .22);
    background: #35f0cf;
}

/* =========================================================
   LOAD ANIMATIONS
   ========================================================= */

.hic-project-hero .back-work {
    animation: hicFadeUp .7s ease both;
}

.hic-project-hero .work-eyebrow {
    animation: hicFadeUp .8s .08s ease both;
}

.hic-project-hero h1 {
    animation: hicFadeUp .9s .18s ease both;
}

.hic-project-hero p {
    animation: hicFadeUp .9s .3s ease both;
}

.hic-project-hero .hic-tags {
    animation: hicFadeUp .9s .42s ease both;
}

.hic-project-hero .hic-hero-cta {
    animation: hicFadeUp .9s .5s ease both;
}

/* Soft background movement */
.hic-project-hero {
    background-size: 140% 140%;
    animation: hicBackgroundMove 16s ease-in-out infinite alternate;
}

/* Animations */
@keyframes hicFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hicBackgroundMove {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

/* =========================================================
   DESKTOP — FIT HERO INTO THE VIEWPORT
   ========================================================= */

@media (min-width: 681px) {

    .hic-project-hero {
        min-height: calc(100svh - 100px);
        padding: clamp(125px, 16vh, 155px) 0 35px;
    }

    .hic-project-hero .back-work {
        margin-bottom: clamp(30px, 4vh, 45px);
    }

    .hic-project-hero h1 {
        font-size: clamp(2.8rem, 5.1vw, 4.8rem);
        max-width: 950px;
    }

    .hic-project-hero p {
        max-width: 600px;
    }
}

/* =========================================================
   SHORT SCREEN HEIGHTS
   ========================================================= */

@media (min-width: 681px) and (max-height: 800px) {

    .hic-project-hero {
        min-height: calc(100svh - 90px);
        padding-top: 115px;
        padding-bottom: 25px;
    }

    .hic-project-hero .back-work {
        margin-bottom: 28px;
    }

    .hic-project-hero h1 {
        font-size: clamp(2.7rem, 4.8vw, 4.4rem);
        margin-bottom: 18px;
    }

    .hic-project-hero p {
        line-height: 1.6;
    }

    .hic-project-hero .hic-tags {
        margin-top: 20px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .hic-project-hero {
        min-height: auto;
        height: auto;

        display: block;

        padding: 125px 0 55px;
    }

    .hic-project-hero-inner {
        width: calc(100% - 32px);
    }

    .hic-project-hero .back-work {
        margin-bottom: 35px;
    }

    .hic-project-hero h1 {
        font-size: clamp(2.7rem, 11vw, 4rem);
        line-height: 1.04;
        letter-spacing: -.06em;
    }

    .hic-project-hero p {
        font-size: .95rem;
        line-height: 1.7;
    }

    .hic-project-hero .hic-tags {
        gap: 8px;
    }

    .hic-project-hero .hic-tags span {
        padding: 8px 12px;
        font-size: .7rem;
    }
}

/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hic-project-hero,
    .hic-project-hero *,
    .hic-project-hero::before {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   HIC ACADEMY — SCROLL REVEAL ANIMATIONS
   ========================================================= */

/* Initial hidden state */
.hic-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s cubic-bezier(.2,.7,.2,1),
        transform .8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

/* Visible state */
.hic-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional reveal */
.hic-reveal-left {
    transform: translateX(-35px);
}

.hic-reveal-right {
    transform: translateX(35px);
}

.hic-reveal-left.is-visible,
.hic-reveal-right.is-visible {
    transform: translateX(0);
}

/* Scale reveal */
.hic-reveal-scale {
    transform: scale(.96);
}

.hic-reveal-scale.is-visible {
    transform: scale(1);
}

/* Stagger effect */
.hic-reveal-delay-1 {
    transition-delay: .1s;
}

.hic-reveal-delay-2 {
    transition-delay: .2s;
}

.hic-reveal-delay-3 {
    transition-delay: .3s;
}

.hic-reveal-delay-4 {
    transition-delay: .4s;
}

/* Card hover motion */
.hic-detail-card,
.hic-feature-card {
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.hic-detail-card:hover,
.hic-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(69,255,215,.4);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .hic-reveal,
    .hic-reveal-left,
    .hic-reveal-right,
    .hic-reveal-scale,
    .hic-detail-card,
    .hic-feature-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   HIC ACADEMY — FULL PAGE SCROLL ANIMATION SYSTEM
   ========================================================= */

/* Base reveal state */
.hic-reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.8s cubic-bezier(.2,.7,.2,1),
    transform 0.8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

/* Reveal from left */
.hic-reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition:
    opacity 0.8s cubic-bezier(.2,.7,.2,1),
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

/* Reveal from right */
.hic-reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition:
    opacity 0.8s cubic-bezier(.2,.7,.2,1),
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

/* Slight zoom reveal */
.hic-reveal-zoom {
  opacity: 0;
  transform: scale(.94);
  transition:
    opacity 0.85s cubic-bezier(.2,.7,.2,1),
    transform 0.85s cubic-bezier(.2,.7,.2,1);
}

/* Active state */
.hic-reveal.is-visible,
.hic-reveal-left.is-visible,
.hic-reveal-right.is-visible,
.hic-reveal-zoom.is-visible {
  opacity: 1;
  transform: translate(0,0) scale(1);
}

/* Stagger children */
.hic-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
}

.hic-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.hic-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}

.hic-stagger.is-visible > *:nth-child(2) {
  transition-delay: 100ms;
}

.hic-stagger.is-visible > *:nth-child(3) {
  transition-delay: 200ms;
}

.hic-stagger.is-visible > *:nth-child(4) {
  transition-delay: 300ms;
}

.hic-stagger.is-visible > *:nth-child(5) {
  transition-delay: 400ms;
}

.hic-stagger.is-visible > *:nth-child(6) {
  transition-delay: 500ms;
}

/* Hero entrance */
.hic-project-hero .back-work {
  animation: hicHeroFade .7s ease both;
}

.hic-project-hero .work-eyebrow {
  animation: hicHeroFade .8s .15s ease both;
}

.hic-project-hero h1 {
  animation: hicHeroTitle 1s .2s cubic-bezier(.2,.7,.2,1) both;
}

.hic-project-hero p {
  animation: hicHeroFade 1s .4s ease both;
}

.hic-project-hero .hic-tags {
  animation: hicHeroFade 1s .55s ease both;
}

.hic-project-hero .hic-hero-cta {
  animation: hicHeroFade 1s .7s ease both;
}

/* Hero title motion */
@keyframes hicHeroTitle {
  from {
    opacity: 0;
    transform: translateY(45px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hicHeroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MacBook preview subtle floating motion */
.hic-browser {
  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

.hic-browser.is-visible {
  animation: hicBrowserFloat 6s ease-in-out 1.2s infinite;
}

@keyframes hicBrowserFloat {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Card hover interaction */
.hic-detail-card,
.hic-system-card,
.hic-feature-card {
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.hic-detail-card:hover,
.hic-system-card:hover,
.hic-feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(69,255,215,.4);
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

/* Image reveal */
.hic-project-image,
.hic-image-block {
  overflow: hidden;
}

.hic-project-image img,
.hic-image-block img {
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.hic-project-image:hover img,
.hic-image-block:hover img {
  transform: scale(1.04);
}

/* Background decorative motion */
.hic-project-hero::before {
  animation: hicGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes hicGlowPulse {
  from {
    opacity: .65;
  }

  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hic-reveal,
  .hic-reveal-left,
  .hic-reveal-right,
  .hic-reveal-zoom {
    transform: translateY(25px);
  }

  .hic-reveal.is-visible,
  .hic-reveal-left.is-visible,
  .hic-reveal-right.is-visible,
  .hic-reveal-zoom.is-visible {
    transform: translateY(0) scale(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hic-reveal,
  .hic-reveal-left,
  .hic-reveal-right,
  .hic-reveal-zoom,
  .hic-stagger > *,
  .hic-project-hero *,
  .hic-browser {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .hic-reveal,
  .hic-reveal-left,
  .hic-reveal-right,
  .hic-reveal-zoom,
  .hic-stagger > * {
    opacity: 1 !important;
  }
}

/* =========================================================
   ZASA HERO — MATCH HIC ACADEMY EXACT BACKGROUND PALETTE
   ========================================================= */

body.work-page:has(.zasa-project-page),
.work-page:has(.zasa-project-page) main,
.zasa-project-page,
.zasa-project-page .zasa-project-hero {
  background-color: #08142f !important;
}

.zasa-project-page .zasa-project-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 78% 53%,
      rgba(15,57,116,.38),
      transparent 43%
    ),
    linear-gradient(
      110deg,
      #071952 0%,
      #061238 55%,
      #030918 100%
    ) !important;
}

/* Prevent other inherited background overlays from changing the hero */
.zasa-project-page .zasa-project-hero::before {
  background: none;
}

/* Keep all ZASA sections on the same page palette */
.zasa-project-page,
.zasa-project-page section {
  background-color: transparent;
}

/* Hero typography */
.zasa-project-page .zasa-project-hero h1,
.zasa-project-page .zasa-project-hero h2 {
  color: #f1f4ff;
}

.zasa-project-page .zasa-project-hero h1 span {
  color: #45ffd7;
}

.zasa-project-page .zasa-project-hero p {
  color: #b4c3dd;
}

/* Accent labels */
.zasa-project-page .zasa-project-hero .work-eyebrow {
  color: #45ffd7;
}

/* Back link — keep it separate from the project eyebrow */
.zasa-project-page .back-work {
  display: block;
  margin-bottom: 38px;
  color: #aebbd8;
}

.zasa-project-page .back-work:hover {
  color: #45ffd7;
}

/* Premium subtle grid atmosphere */
.zasa-project-page .zasa-project-hero {
  background-image:
    radial-gradient(
      ellipse at 78% 53%,
      rgba(15,57,116,.38),
      transparent 43%
    ),
    linear-gradient(
      110deg,
      #071952 0%,
      #061238 55%,
      #030918 100%
    ) !important;
}

/* Keep metadata divider consistent */
.zasa-project-page .zasa-project-meta {
  border-color: rgba(133,181,209,.2);
}

/* Responsive safety */
@media (max-width: 700px) {
  .zasa-project-page .zasa-project-hero {
    background:
      radial-gradient(
        ellipse at 78% 53%,
        rgba(15,57,116,.30),
        transparent 43%
      ),
      linear-gradient(
        110deg,
        #071952 0%,
        #061238 55%,
        #030918 100%
      ) !important;
  }
}