
/* ==========================================================
   ICODE MEDIA PUBLIC V5
   Homepage + Header + Mobile Navigation
   ========================================================== */

:root{
  --v5-bg:#080706;
  --v5-panel:#11100d;
  --v5-panel2:#17140f;
  --v5-ink:#f7f2ec;
  --v5-muted:#8f8880;
  --v5-accent:#dda06e;
  --v5-line:rgba(255,255,255,.105);
  --v5-max:1440px;
}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
body.mobile-menu-open{overflow:hidden}

/* HEADER */
.cinema-header{
  position:fixed;
  z-index:9000;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  width:min(calc(100% - 34px),1450px);
  height:88px;
  padding:0 14px 0 20px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:25px;
  background:rgba(11,10,8,.82);
  backdrop-filter:blur(22px) saturate(1.18);
  display:grid;
  grid-template-columns:190px 1fr auto;
  align-items:center;
  box-shadow:0 16px 55px rgba(0,0,0,.2);
  transition:height .28s ease,top .28s ease,background .28s ease,box-shadow .28s ease;
}
.cinema-header.scrolled{
  top:9px;
  height:74px;
  background:rgba(8,7,6,.94);
  box-shadow:0 20px 65px rgba(0,0,0,.38);
}
.cinema-logo{
  display:flex;
  align-items:center;
  height:100%;
}
.cinema-logo img{
  width:166px;
  max-height:68px;
  object-fit:contain;
  object-position:left center;
  display:block;
}
.cinema-desktop-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:27px;
}
.cinema-desktop-nav>a,
.cinema-mega>summary{
  color:#c7c1ba;
  text-decoration:none;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  transition:color .2s ease;
}
.cinema-desktop-nav>a:hover,
.cinema-mega>summary:hover{color:#fff}
.cinema-mega{position:relative}
.cinema-mega>summary{
  list-style:none;
  display:flex;
  gap:7px;
  align-items:center;
}
.cinema-mega>summary::-webkit-details-marker{display:none}
.cinema-mega>summary i{
  width:6px;height:6px;
  border-right:1px solid var(--v5-accent);
  border-bottom:1px solid var(--v5-accent);
  transform:rotate(45deg) translateY(-2px);
  transition:.2s;
}
.cinema-mega[open]>summary i{transform:rotate(225deg) translate(-1px,-1px)}
.cinema-erp{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  gap:1px;
  line-height:1;
}
.cinema-erp small{
  color:var(--v5-accent);
  font-size:5px;
  letter-spacing:.16em;
}
.cinema-erp span{font-size:10px}
.cinema-header-actions{display:flex;align-items:center;gap:8px}
.cinema-project-btn{
  height:50px;
  min-width:160px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  border-radius:15px;
  background:#f5f1eb;
  color:#111!important;
  text-decoration:none;
  font-size:10px;
  font-weight:900;
  transition:.25s ease;
}
.cinema-project-btn b{font-size:16px}
.cinema-project-btn:hover{
  background:var(--v5-accent);
  transform:translateY(-2px);
}
.cinema-mobile-trigger{display:none}

/* desktop mega */
.cinema-mega-panel{
  position:absolute;
  z-index:20;
  top:37px;
  left:50%;
  transform:translateX(-50%);
  width:min(930px,80vw);
  padding:12px;
  border:1px solid var(--v5-line);
  border-radius:25px;
  background:rgba(10,9,7,.98);
  box-shadow:0 40px 110px rgba(0,0,0,.6);
  backdrop-filter:blur(25px);
  grid-template-columns:260px 1fr;
  gap:10px;
}
.cinema-mega:not([open])>.cinema-mega-panel{display:none}
.cinema-mega[open]>.cinema-mega-panel{display:grid;animation:megaIn .2s ease both}
@keyframes megaIn{from{opacity:0;transform:translateX(-50%) translateY(8px) scale(.985)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
.mega-title{
  min-height:360px;
  padding:24px;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0,rgba(221,160,110,.18),transparent 45%),
    #15130f;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.mega-title>small,.mega-groups section>span{
  color:var(--v5-accent);
  font-size:7px;
  letter-spacing:.17em;
}
.mega-title h3{
  margin:8px 0 15px;
  color:#fff;
  font-size:34px;
  line-height:.92;
  letter-spacing:-.055em;
}
.mega-title h3 em{color:var(--v5-accent);font-style:normal}
.mega-title p{color:#817a73;font-size:10px;line-height:1.6}
.mega-title>a{
  margin-top:18px;
  color:var(--v5-accent);
  font-size:8px;
  font-weight:900;
  text-decoration:none;
}
.mega-groups{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
}
.mega-groups section{
  padding:15px 7px 7px;
  border-left:1px solid rgba(255,255,255,.07);
}
.mega-groups section:first-child{border-left:0}
.mega-groups section>span{display:block;padding:0 8px 10px}
.mega-groups a{
  display:grid;
  grid-template-columns:26px 1fr;
  gap:5px;
  padding:12px 8px;
  border-radius:11px;
  color:#aaa;
  text-decoration:none;
  transition:.2s;
}
.mega-groups a:hover{background:#191713;color:#fff}
.mega-groups a>b{color:#554f49;font-size:7px;padding-top:2px}
.mega-groups strong{display:block;font-size:9px;line-height:1.35}
.mega-groups small{display:block;margin-top:4px;color:#6f6963;font-size:7px;line-height:1.45}
.work-mega{width:min(760px,78vw)}
.work-mega-links{display:grid;grid-template-columns:1fr 1fr;gap:5px;align-content:center}
.work-mega-links a{
  min-height:82px;
  padding:14px;
  border:1px solid transparent;
  border-radius:13px;
  display:flex;
  gap:12px;
  align-items:center;
  color:#aaa;
  text-decoration:none;
  background:#11100d;
  transition:.2s;
}
.work-mega-links a:hover{border-color:rgba(221,160,110,.4);background:#17140f;color:#fff;transform:translateY(-2px)}
.work-mega-links b{font-size:7px;color:var(--v5-accent)}
.work-mega-links span{font-size:10px;font-weight:800}

/* MOBILE MENU */
.mobile-scene{
  display:none;
  position:fixed;
  z-index:10000;
  inset:0;
  background:
    radial-gradient(circle at 100% 0,rgba(221,160,110,.14),transparent 37%),
    #080706;
  color:#fff;
  overflow:auto;
}
.mobile-scene.open{display:flex;flex-direction:column;animation:mobileSceneIn .28s ease both}
@keyframes mobileSceneIn{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}
.mobile-scene-top{
  height:90px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--v5-line);
}
.mobile-scene-logo img{width:155px;max-height:60px;object-fit:contain}
.mobile-scene-top button{
  width:48px;height:48px;
  border:1px solid var(--v5-line);
  border-radius:50%;
  background:#11100d;
  color:#fff;
  font-size:29px;
  font-weight:200;
}
.mobile-scene-body{
  flex:1;
  padding:28px 18px 32px;
}
.mobile-scene-label{
  margin-bottom:10px;
  color:var(--v5-accent);
  font-size:7px;
  letter-spacing:.18em;
}
.mobile-scene-section{border-bottom:1px solid var(--v5-line)}
.mobile-scene-section>summary,
.mobile-scene-link{
  min-height:76px;
  display:grid;
  grid-template-columns:38px 1fr auto;
  gap:7px;
  align-items:center;
  list-style:none;
  color:#fff;
  text-decoration:none;
}
.mobile-scene-section>summary::-webkit-details-marker{display:none}
.mobile-scene-section>summary b,
.mobile-scene-link>b{color:#5c5650;font-size:8px}
.mobile-scene-section>summary span,
.mobile-scene-link>span{
  font-size:30px;
  font-weight:900;
  letter-spacing:-.045em;
}
.mobile-scene-section>summary i,
.mobile-scene-link>i{
  color:var(--v5-accent);
  font-size:20px;
  font-style:normal;
}
.mobile-scene-section[open]>summary i{transform:rotate(45deg)}
.mobile-scene-section>div{
  padding:0 0 18px 45px;
  display:grid;
}
.mobile-scene-section>div a{
  padding:11px 0;
  color:#8f8880;
  text-decoration:none;
  font-size:12px;
  border-bottom:1px solid rgba(255,255,255,.045);
}
.mobile-scene-section>div a:last-child{border-bottom:0}
.mobile-scene-link{border-bottom:1px solid var(--v5-line)}
.mobile-scene-link small{
  display:block;
  margin-top:2px;
  color:var(--v5-accent);
  font-size:6px;
  letter-spacing:.14em;
}
.mobile-scene-bottom{
  position:sticky;
  bottom:0;
  padding:12px 18px calc(14px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(8,7,6,0),#080706 18%);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.mobile-scene-bottom>a{
  min-height:48px;
  padding:10px 12px;
  border:1px solid var(--v5-line);
  border-radius:12px;
  color:#a9a29a;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:9px;
}
.mobile-scene-bottom .mobile-start{
  grid-column:1/-1;
  min-height:58px;
  background:var(--v5-accent);
  color:#111;
  border-color:var(--v5-accent);
  font-size:12px;
  font-weight:900;
}

/* HERO */
.v5-hero{
  position:relative;
  min-height:940px;
  width:min(calc(100% - 28px),var(--v5-max));
  margin:0 auto;
  padding:165px 0 65px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:35px;
  align-items:center;
  overflow:hidden;
}
.v5-hero-grid{
  position:absolute;
  inset:110px 0 0;
  pointer-events:none;
  opacity:.24;
  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:54px 54px;
  mask-image:linear-gradient(180deg,transparent,#000 18%,#000 75%,transparent);
}
.v5-hero-aura{
  position:absolute;
  width:650px;height:650px;
  right:-150px;top:70px;
  border-radius:50%;
  background:rgba(221,160,110,.1);
  filter:blur(120px);
  pointer-events:none;
}
.v5-hero-copy{position:relative;z-index:4}
.v5-hero-kicker{
  display:flex;align-items:center;gap:8px;
  color:var(--v5-accent);
  font-size:8px;
  letter-spacing:.17em;
  font-weight:900;
}
.v5-hero-kicker span{width:34px;height:1px;background:var(--v5-accent)}
.v5-hero h1{
  margin:18px 0 23px;
  font-size:clamp(68px,7vw,122px);
  line-height:.79;
  letter-spacing:-.075em;
}
.v5-hero h1>span{display:block}
.v5-hero h1 .accent{color:var(--v5-accent)}
.v5-hero-copy>p{
  max-width:620px;
  color:#9b948d;
  font-size:15px;
  line-height:1.75;
}
.v5-hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px}
.v5-primary,.v5-secondary{
  min-height:52px;
  padding:0 18px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:25px;
  text-decoration:none;
  font-size:9px;
  font-weight:900;
}
.v5-primary{background:var(--v5-accent);color:#111}
.v5-secondary{border:1px solid var(--v5-line);color:#d3cdc6;background:#0d0c0a}
.v5-primary b,.v5-secondary b{font-size:17px}
.v5-hero-proof{
  margin-top:50px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#69635d;
  font-size:7px;
  letter-spacing:.1em;
}
.v5-hero-proof i{width:26px;height:1px;background:#393530}
.v5-hero-stage{
  position:relative;
  z-index:3;
  min-height:690px;
  perspective:1400px;
}
.hero-stage-ring{
  position:absolute;
  border:1px solid rgba(221,160,110,.17);
  border-radius:50%;
  pointer-events:none;
}
.hero-stage-ring.r1{width:540px;height:540px;left:50%;top:50%;transform:translate(-50%,-50%)}
.hero-stage-ring.r2{width:390px;height:390px;left:50%;top:50%;transform:translate(-50%,-50%)}
.hero-stage-center{
  position:absolute;
  z-index:2;
  left:50%;top:50%;
  width:155px;height:155px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(221,160,110,.36);
  background:#0c0b09;
  display:grid;
  place-content:center;
  text-align:center;
  box-shadow:0 0 80px rgba(221,160,110,.12);
}
.hero-stage-center small{color:var(--v5-accent);font-size:7px;letter-spacing:.2em}
.hero-stage-center b{margin-top:5px;font-size:19px;line-height:.9}
.v5-hero-shot{
  --px:0px;--py:0px;
  position:absolute;
  margin:0;
  padding:6px 6px 23px;
  border-radius:10px;
  background:#f3f0ea;
  box-shadow:0 25px 75px rgba(0,0,0,.43);
  transition:transform .24s ease-out,box-shadow .25s ease;
  transform:translate3d(var(--px),var(--py),0) rotate(var(--r)) scale(var(--s));
  transform-origin:center;
  overflow:hidden;
}
.v5-hero-shot img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:5px;
}
.v5-hero-shot figcaption{
  position:absolute;left:8px;bottom:7px;
  max-width:calc(100% - 16px);
  color:#292521;
  font-size:6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v5-hero-shot:hover{z-index:20!important;box-shadow:0 35px 100px rgba(0,0,0,.6)}
.v5-hero-shot.s1{--r:-6deg;--s:1;left:5%;top:8%;width:44%;height:33%;z-index:5}
.v5-hero-shot.s2{--r:5deg;--s:.88;right:3%;top:5%;width:38%;height:29%;z-index:4}
.v5-hero-shot.s3{--r:3deg;--s:.84;left:0;bottom:7%;width:39%;height:29%;z-index:3}
.v5-hero-shot.s4{--r:-5deg;--s:.93;right:1%;bottom:6%;width:44%;height:33%;z-index:6}
.v5-hero-shot.s5{--r:1deg;--s:.74;left:35%;top:33%;width:34%;height:26%;z-index:7}
.v5-hero-shot.s6{--r:-8deg;--s:.66;right:5%;top:37%;width:27%;height:21%;z-index:8}
.v5-hero-shot.s7{--r:7deg;--s:.63;left:10%;top:41%;width:27%;height:20%;z-index:2}
.v5-scroll-cue{
  position:absolute;
  left:0;bottom:30px;
  display:flex;gap:9px;align-items:center;
  color:#6c665f;text-decoration:none;font-size:7px;letter-spacing:.11em
}
.v5-scroll-cue i{font-style:normal;color:var(--v5-accent);font-size:14px}

/* signal strip */
.v5-signal-strip{
  width:100%;
  overflow:hidden;
  border-top:1px solid var(--v5-line);
  border-bottom:1px solid var(--v5-line);
  padding:13px 0;
  background:#0b0a08;
}
.v5-signal-strip>div{
  display:flex;
  gap:21px;
  align-items:center;
  width:max-content;
  animation:v5Ticker 34s linear infinite;
}
.v5-signal-strip span{
  color:#c7c0b8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.v5-signal-strip b{color:var(--v5-accent);font-size:8px}
@keyframes v5Ticker{to{transform:translateX(-50%)}}

/* shared headings */
.v5-services,.v5-work,.v5-partners,.v5-insights,.v5-contact{
  width:min(calc(100% - 28px),var(--v5-max));
  margin:0 auto;
  padding:100px 0;
}
.v5-section-head{
  display:grid;
  grid-template-columns:1fr .58fr;
  gap:45px;
  align-items:end;
  margin-bottom:38px;
}
.v5-section-head>div>span,.v5-erp-copy>span,.v5-contact-copy>span{
  color:var(--v5-accent);
  font-size:8px;
  letter-spacing:.17em;
  font-weight:900;
}
.v5-section-head h2,.v5-erp h2,.v5-contact h2{
  margin:10px 0 0;
  font-size:clamp(50px,6vw,90px);
  line-height:.88;
  letter-spacing:-.065em;
}
.v5-section-head h2 em,.v5-erp h2 em,.v5-contact h2 em{font-style:normal;color:var(--v5-accent)}
.v5-section-head>p{
  margin:0;
  color:var(--v5-muted);
  line-height:1.75;
  font-size:12px;
}
.v5-section-head>a{
  justify-self:end;
  color:var(--v5-accent);
  text-decoration:none;
  font-size:9px;
  font-weight:900;
}

/* service switchboard */
.v5-service-switchboard{border-top:1px solid var(--v5-line)}
.v5-service-row{
  position:relative;
  min-height:112px;
  display:grid;
  grid-template-columns:62px .8fr 92px 35px;
  gap:17px;
  align-items:center;
  padding:18px 5px;
  border-bottom:1px solid var(--v5-line);
  color:#fff;
  text-decoration:none;
  overflow:hidden;
  transition:padding .28s ease;
}
.v5-service-row:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,rgba(221,160,110,.16),rgba(221,160,110,.02));
  transform:translateX(-101%);
  transition:transform .4s cubic-bezier(.2,.8,.2,1);
}
.v5-service-row:hover:before{transform:none}
.v5-service-row:hover{padding-left:16px}
.v5-service-row>small{color:#514b45;font-size:8px}
.v5-service-row h3{
  margin:0;
  font-size:clamp(20px,2.2vw,34px);
  letter-spacing:-.04em;
  transition:.25s;
}
.v5-service-row:hover h3{color:var(--v5-accent)}
.v5-service-row p{
  margin:5px 0 0;
  color:#76706a;
  font-size:9px;
  line-height:1.45;
  max-width:670px;
}
.v5-service-row>span{color:#77716a;font-size:7px;letter-spacing:.11em}
.v5-service-row>b{font-size:22px;color:var(--v5-accent);font-weight:300}

/* work doors */
.v5-work{padding-top:95px}
.work-doors{
  height:650px;
  display:flex;
  gap:6px;
}
.work-door{
  position:relative;
  flex:1 1 0;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--v5-line);
  border-radius:22px;
  background:#0d0c0a;
  color:#fff;
  text-decoration:none;
  transition:flex .52s cubic-bezier(.2,.8,.2,1),border-color .3s ease;
}
.work-door:hover,.work-door.active{
  flex:4.2 1 0;
  border-color:rgba(221,160,110,.48);
}
.door-bg{
  position:absolute;inset:0;
}
.door-bg:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,7,6,.12),rgba(8,7,6,.78) 78%,#080706);
}
.door-bg img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(.7) brightness(.42);
  transition:filter .45s,transform .55s;
}
.work-door:hover .door-bg img,.work-door.active .door-bg img{filter:none;transform:scale(1.035)}
.door-number{
  position:absolute;right:12px;top:13px;
  font-size:7px;color:rgba(255,255,255,.4)
}
.door-title{
  position:absolute;z-index:3;
  left:16px;right:16px;bottom:18px;
}
.door-title small{
  color:var(--v5-accent);
  font-size:6px;letter-spacing:.14em;
  opacity:0;transition:.25s;
}
.door-title h3{
  margin:5px 0 0;
  font-size:18px;
  line-height:.96;
  letter-spacing:-.045em;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  max-height:240px;
  transition:.35s;
}
.door-title span{
  display:block;
  margin-top:14px;
  color:var(--v5-accent);
  font-size:7px;
  font-weight:900;
  opacity:0;
  transform:translateY(5px);
  transition:.25s;
}
.work-door:hover .door-title small,.work-door.active .door-title small,
.work-door:hover .door-title span,.work-door.active .door-title span{opacity:1;transform:none}
.work-door:hover .door-title h3,.work-door.active .door-title h3{
  writing-mode:horizontal-tb;
  transform:none;
  max-height:none;
  font-size:37px;
}
.door-preview{
  position:absolute;z-index:2;
  top:35px;right:23px;
  width:48%;height:46%;
  opacity:0;transition:.35s;
}
.work-door:hover .door-preview,.work-door.active .door-preview{opacity:1}
.door-preview figure{
  position:absolute;margin:0;
  border:5px solid #f2eee8;
  border-bottom-width:20px;
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}
.door-preview img{width:100%;height:100%;object-fit:cover}
.door-preview .p1{width:70%;height:75%;right:2%;top:0;transform:rotate(5deg)}
.door-preview .p2{width:60%;height:64%;left:0;bottom:0;transform:rotate(-6deg)}
.v5-work-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-top:16px;
  color:#625d57;
  font-size:7px;
  letter-spacing:.1em;
}
.v5-work-bottom a{color:var(--v5-accent);font-size:9px;font-weight:900;text-decoration:none}

/* partners */
.v5-partners{padding-top:90px}
.v5-logo-mosaic{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
}
.v5-logo-mosaic figure{
  margin:0;
  min-width:0;
  padding:9px 9px 7px;
  border:1px solid var(--v5-line);
  border-radius:18px;
  background:#10100e;
  transition:.28s ease;
}
.v5-logo-mosaic figure:nth-child(5n+2),
.v5-logo-mosaic figure:nth-child(5n+4){transform:translateY(12px)}
.v5-logo-mosaic figure:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(221,160,110,.45);
  background:#15130f;
}
.v5-logo-mosaic figure>div{
  width:100%;
  padding:11px;
  background:#f4f2ee;
  border-radius:12px;
  overflow:hidden;
}
.v5-logo-mosaic img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.v5-logo-mosaic small{
  display:block;
  margin-top:7px;
  color:#5c5650;
  font-size:6px;
}

/* ERP cockpit */
.v5-erp{
  width:min(calc(100% - 28px),var(--v5-max));
  margin:30px auto 0;
  padding:45px;
  border:1px solid var(--v5-line);
  border-radius:32px;
  background:
    radial-gradient(circle at 90% 0,rgba(221,160,110,.12),transparent 36%),
    #0c0b09;
  display:grid;
  grid-template-columns:.6fr 1.4fr;
  gap:40px;
  align-items:center;
}
.v5-erp-copy p{
  max-width:520px;color:var(--v5-muted);font-size:12px;line-height:1.7;margin:18px 0 22px
}
.v5-cockpit{
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  padding:14px;
  background:#11100d;
  box-shadow:0 35px 100px rgba(0,0,0,.32);
}
.cockpit-top{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 5px 14px;color:#8f8880;font-size:7px;letter-spacing:.12em
}
.cockpit-top span{display:flex;gap:7px;align-items:center}
.cockpit-top span i{width:7px;height:7px;border-radius:50%;background:#62d79b;box-shadow:0 0 13px rgba(98,215,155,.5)}
.cockpit-top>b{color:var(--v5-accent);font-size:6px}
.cockpit-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.cockpit-kpis article{
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:#15130f;
}
.cockpit-kpis small{display:block;color:#5f5953;font-size:6px;letter-spacing:.12em}
.cockpit-kpis strong{display:block;margin-top:11px;font-size:23px;letter-spacing:-.04em}
.cockpit-kpis span{display:block;margin-top:4px;color:#77716b;font-size:7px}
.cockpit-main{display:grid;grid-template-columns:1.3fr .7fr;gap:7px;margin-top:7px}
.cockpit-chart,.cockpit-feed{
  min-height:300px;
  padding:15px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:#0e0d0b;
}
.cockpit-chart>span,.cockpit-feed>span{color:#5f5953;font-size:6px;letter-spacing:.12em}
.cockpit-chart svg{width:100%;height:230px;margin-top:20px}
.cockpit-feed>div{
  display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;
  padding:14px 0;border-bottom:1px solid rgba(255,255,255,.07)
}
.cockpit-feed>div:last-child{border-bottom:0}
.cockpit-feed b{font-size:6px;color:#59534d}
.cockpit-feed p{margin:0;font-size:8px;color:#aaa}
.cockpit-feed i{font-style:normal;color:var(--v5-accent)}

/* insights */
.v5-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.v5-article-grid>a{
  min-height:280px;
  padding:20px;
  border:1px solid var(--v5-line);
  border-radius:18px;
  background:#0d0c0a;
  color:#fff;
  text-decoration:none;
  display:flex;flex-direction:column;
  transition:.28s
}
.v5-article-grid>a:hover{transform:translateY(-5px);background:#14120f;border-color:rgba(221,160,110,.45)}
.v5-article-grid small{color:#5e5852;font-size:7px}
.v5-article-grid h3{margin:35px 0 0;font-size:23px;line-height:1.04;letter-spacing:-.035em}
.v5-article-grid span{margin-top:auto;color:var(--v5-accent);font-size:8px;font-weight:900}

/* contact */
.v5-contact{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:55px;
  align-items:end;
  border-top:1px solid var(--v5-line);
}
.v5-contact-copy p{max-width:600px;color:var(--v5-muted);line-height:1.75}
.v5-contact-direct{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}
.v5-contact-direct a{
  padding:10px 12px;border:1px solid var(--v5-line);border-radius:999px;
  color:#a49d96;text-decoration:none;font-size:8px
}
.v5-contact-direct b{color:var(--v5-accent)}
.v5-contact-form{
  padding:18px;
  border:1px solid var(--v5-line);
  border-radius:24px;
  background:#0e0d0b;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.v5-contact-form label{display:grid;gap:5px}
.v5-contact-form label span{color:#5f5953;font-size:6px;letter-spacing:.1em}
.v5-contact-form input,.v5-contact-form select{
  width:100%;
  min-height:52px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:11px;
  background:#15130f;
  color:#fff;
  outline:none;
}
.v5-contact-form input:focus,.v5-contact-form select:focus{border-color:rgba(221,160,110,.6)}
.v5-contact-form button{
  grid-column:1/-1;
  min-height:58px;
  border:0;border-radius:12px;
  background:var(--v5-accent);color:#111;
  font-weight:900;
  display:flex;align-items:center;justify-content:center;gap:25px;
  cursor:pointer;
}
.v5-contact-form button b{font-size:18px}

/* reveal */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}

/* make old header disappear if cached markup somehow survives in partial */
.v2-header{display:none!important}

/* Mobile */
@media(max-width:1100px){
  .cinema-header{grid-template-columns:170px 1fr auto}
  .cinema-desktop-nav{gap:15px}
  .cinema-desktop-nav>a,.cinema-mega>summary{font-size:9px}
  .cinema-project-btn{min-width:140px}
  .v5-hero{grid-template-columns:.9fr 1.1fr}
  .v5-hero h1{font-size:72px}
  .v5-service-row{grid-template-columns:48px 1fr 70px 28px}
  .work-doors{height:590px}
}
@media(max-width:920px){
  .cinema-header{
    top:10px;height:76px;
    width:calc(100% - 20px);
    grid-template-columns:1fr auto;
    padding:0 9px 0 14px;
    border-radius:20px;
  }
  .cinema-logo img{width:154px;max-height:60px}
  .cinema-desktop-nav,.cinema-project-btn{display:none}
  .cinema-mobile-trigger{
    display:grid;
    place-content:center;
    width:52px;height:52px;
    border:1px solid var(--v5-line);
    border-radius:14px;
    background:#14120f;
  }
  .cinema-mobile-trigger span{display:block;width:21px;height:1px;background:#fff;margin:3px 0}
  .cinema-mobile-trigger span:last-child{width:14px;justify-self:end}

  .v5-hero{
    min-height:auto;
    padding-top:130px;
    grid-template-columns:1fr;
    gap:25px;
  }
  .v5-hero-copy{max-width:780px}
  .v5-hero-stage{min-height:660px}
  .v5-scroll-cue{display:none}
  .v5-section-head,.v5-contact{grid-template-columns:1fr}
  .v5-section-head>p{max-width:700px}
  .v5-section-head>a{justify-self:start}
  .work-doors{
    overflow-x:auto;
    height:560px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    padding-bottom:8px;
  }
  .work-doors::-webkit-scrollbar{display:none}
  .work-door,.work-door:hover,.work-door.active{
    flex:0 0 76vw;
    scroll-snap-align:center;
  }
  .door-title h3,.work-door:hover .door-title h3,.work-door.active .door-title h3{
    writing-mode:horizontal-tb;transform:none;font-size:32px;max-height:none
  }
  .door-title small,.door-title span{opacity:1!important;transform:none!important}
  .door-preview{opacity:1;width:45%}
  .v5-logo-mosaic{grid-template-columns:repeat(3,1fr)}
  .v5-logo-mosaic figure:nth-child(n){transform:none}
  .v5-erp{grid-template-columns:1fr;padding:28px}
  .cockpit-main{grid-template-columns:1fr}
  .v5-article-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .floating-whatsapp{right:13px;bottom:13px}
  .v5-hero{
    width:calc(100% - 20px);
    padding-top:118px;
  }
  .v5-hero h1{font-size:clamp(55px,17vw,72px);line-height:.82}
  .v5-hero-copy>p{font-size:12px}
  .v5-hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .v5-primary,.v5-secondary{padding:0 12px;justify-content:space-between;gap:8px}
  .v5-hero-proof{flex-wrap:wrap;margin-top:30px}
  .v5-hero-stage{min-height:490px;margin-top:5px}
  .hero-stage-ring.r1{width:390px;height:390px}
  .hero-stage-ring.r2{width:270px;height:270px}
  .hero-stage-center{width:105px;height:105px}
  .hero-stage-center b{font-size:14px}
  .v5-hero-shot{padding:4px 4px 17px}
  .v5-hero-shot figcaption{font-size:5px;bottom:4px}
  .v5-hero-shot.s1{width:48%;height:31%;left:2%;top:8%}
  .v5-hero-shot.s2{width:43%;height:28%;right:0;top:4%}
  .v5-hero-shot.s3{width:43%;height:27%;left:0;bottom:5%}
  .v5-hero-shot.s4{width:48%;height:31%;right:0;bottom:4%}
  .v5-hero-shot.s5{width:38%;height:23%;left:32%;top:36%}
  .v5-hero-shot.s6,.v5-hero-shot.s7{display:none}

  .v5-services,.v5-work,.v5-partners,.v5-insights,.v5-contact{
    width:calc(100% - 20px);
    padding:75px 0;
  }
  .v5-section-head h2,.v5-erp h2,.v5-contact h2{font-size:47px}
  .v5-service-row{
    min-height:105px;
    grid-template-columns:32px 1fr 24px;
    padding:15px 1px;
  }
  .v5-service-row>span{display:none}
  .v5-service-row h3{font-size:20px}
  .v5-service-row p{font-size:8px}

  .work-doors{height:490px;margin-right:-10px}
  .work-door,.work-door:hover,.work-door.active{flex-basis:84vw}
  .door-preview{width:52%;top:30px;right:13px}
  .v5-work-bottom>span{display:none}

  .v5-logo-mosaic{grid-template-columns:1fr 1fr;gap:7px}
  .v5-logo-mosaic figure{padding:7px;border-radius:14px}
  .v5-logo-mosaic figure>div{padding:7px}
  .v5-logo-mosaic small{font-size:5px}

  .v5-erp{width:calc(100% - 20px);padding:20px;border-radius:24px}
  .cockpit-kpis{grid-template-columns:1fr}
  .cockpit-main{grid-template-columns:1fr}
  .cockpit-chart{min-height:230px}
  .cockpit-chart svg{height:170px}
  .cockpit-feed{min-height:auto}

  .v5-article-grid{grid-template-columns:1fr}
  .v5-article-grid>a{min-height:220px}
  .v5-contact{gap:28px}
  .v5-contact-form{grid-template-columns:1fr;padding:12px}
  .v5-contact-form button{grid-column:auto}

  .mobile-scene-section>summary span,.mobile-scene-link>span{font-size:26px}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
  .v5-signal-strip>div{animation:none}
  .reveal{opacity:1;transform:none;transition:none}
  .v5-hero-shot{transition:none}
}


/* ==========================================================
   V5.1 — Header hierarchy + black partner wall + ERP/CRM home
   ========================================================== */

/* Larger, richer header */
.cinema-header{
  height:98px;
  grid-template-columns:220px 1fr auto;
  padding-left:24px;
  padding-right:16px;
  border-radius:28px;
}
.cinema-header.scrolled{height:82px}
.cinema-logo img{
  width:195px;
  max-height:78px;
}

/* Main nav uses brand copper by default, white on hover/active */
.cinema-desktop-nav{gap:31px}
.cinema-desktop-nav>a,
.cinema-mega>summary{
  position:relative;
  color:var(--v5-accent)!important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.005em;
}
.cinema-desktop-nav>a:after,
.cinema-mega>summary:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-9px;
  height:1px;
  background:#fff;
  transition:right .23s ease;
}
.cinema-desktop-nav>a:hover,
.cinema-desktop-nav>a.active,
.cinema-mega>summary:hover,
.cinema-mega.active>summary{
  color:#fff!important;
}
.cinema-desktop-nav>a:hover:after,
.cinema-desktop-nav>a.active:after,
.cinema-mega>summary:hover:after,
.cinema-mega.active>summary:after{
  right:0;
}
.cinema-erp small{
  color:#fff!important;
  font-size:6px;
  opacity:.72;
  letter-spacing:.18em;
}
.cinema-erp span{
  color:var(--v5-accent);
  font-size:12px;
}
.cinema-erp:hover span,.cinema-erp.active span{color:#fff}

/* WhatsApp header action */
.cinema-whatsapp-btn{
  width:50px;
  height:50px;
  border:1px solid rgba(221,160,110,.35);
  border-radius:15px;
  color:var(--v5-accent);
  display:grid;
  place-items:center;
  text-decoration:none;
  background:#11100d;
  transition:.24s;
}
.cinema-whatsapp-btn svg{width:24px;height:24px}
.cinema-whatsapp-btn:hover{
  background:#25D366;
  color:#fff;
  border-color:#25D366;
  transform:translateY(-2px);
}
.cinema-project-btn{
  height:56px;
  min-width:178px;
  font-size:11px;
}

/* Partners: black surfaces make light/white marks readable */
.v5-logo-mosaic{
  gap:10px;
}
.v5-logo-mosaic figure{
  background:#0b0b09;
  border-color:rgba(221,160,110,.16);
}
.v5-logo-mosaic figure:hover{
  background:#11100d;
  border-color:rgba(221,160,110,.58);
}
.v5-logo-mosaic figure>div{
  min-height:180px;
  padding:24px;
  background:#050505!important;
  border:1px solid rgba(255,255,255,.055);
  display:grid;
  place-items:center;
}
.v5-logo-mosaic img{
  width:auto!important;
  height:auto!important;
  max-width:88%!important;
  max-height:145px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
}

/* ERP / CRM home section */
.v51-erp{
  position:relative;
  width:min(calc(100% - 28px),var(--v5-max));
  margin:35px auto 20px;
  padding:58px;
  border:1px solid rgba(221,160,110,.25);
  border-radius:38px;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 5%,rgba(221,160,110,.16),transparent 31%),
    radial-gradient(circle at 100% 100%,rgba(221,160,110,.08),transparent 34%),
    #0b0a08;
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:48px;
  align-items:center;
}
.v51-erp:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.23;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:48px 48px;
}
.v51-erp-intro,.v51-os-window{position:relative;z-index:2}
.v51-erp-intro>span{
  color:var(--v5-accent);
  font-size:8px;
  font-weight:900;
  letter-spacing:.17em;
}
.v51-erp-intro h2{
  margin:12px 0 19px;
  font-size:clamp(50px,5.4vw,82px);
  line-height:.88;
  letter-spacing:-.065em;
}
.v51-erp-intro h2 em{font-style:normal;color:var(--v5-accent)}
.v51-erp-intro>p{
  max-width:540px;
  color:#938c84;
  line-height:1.75;
  font-size:12px;
}
.v51-erp-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:24px;
}
.v51-demo-btn{
  min-height:52px;
  padding:0 15px;
  border:1px solid rgba(221,160,110,.35);
  border-radius:14px;
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:10px;
  background:#11100d;
  transition:.25s;
}
.v51-demo-btn small{
  padding:4px 6px;
  border-radius:999px;
  background:#63db9f;
  color:#0a0a08;
  font-size:6px;
  font-weight:900;
}
.v51-demo-btn span{font-size:9px;font-weight:900}
.v51-demo-btn>b{color:var(--v5-accent);font-size:17px}
.v51-demo-btn:hover{
  transform:translateY(-2px);
  border-color:var(--v5-accent);
}
.v51-erp-capabilities{
  margin-top:26px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.v51-erp-capabilities span{
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  color:#77716a;
  font-size:7px;
}

/* visual OS window */
.v51-os-window{
  border:1px solid rgba(255,255,255,.13);
  border-radius:26px;
  background:#11100d;
  box-shadow:0 38px 100px rgba(0,0,0,.42);
  overflow:hidden;
  transform:perspective(1300px) rotateY(-2deg) rotateX(1deg);
  transition:.35s ease;
}
.v51-os-window:hover{
  transform:perspective(1300px) rotateY(0) rotateX(0) translateY(-4px);
}
.os-window-bar{
  min-height:46px;
  padding:0 14px;
  display:grid;
  grid-template-columns:80px 1fr auto;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:#0d0c0a;
}
.os-window-bar>div{display:flex;gap:5px}
.os-window-bar i{width:7px;height:7px;border-radius:50%;background:#4f4943}
.os-window-bar i:nth-child(1){background:#dda06e}
.os-window-bar i:nth-child(2){background:#d5c06e}
.os-window-bar i:nth-child(3){background:#65d6a1}
.os-window-bar>span{
  justify-self:center;
  color:#77716b;
  font-size:6px;
  letter-spacing:.14em;
}
.os-window-bar>b{
  color:var(--v5-accent);
  font-size:6px;
  letter-spacing:.13em;
}
.os-window-shell{
  min-height:510px;
  display:grid;
  grid-template-columns:145px 1fr;
}
.os-window-shell>aside{
  padding:17px 10px;
  border-right:1px solid rgba(255,255,255,.07);
  background:#0d0c0a;
  display:grid;
  align-content:start;
  gap:5px;
}
.os-window-shell>aside strong{
  padding:7px 9px 16px;
  color:var(--v5-accent);
  font-size:12px;
}
.os-window-shell>aside span{
  padding:9px;
  border-radius:8px;
  color:#625c56;
  font-size:7px;
}
.os-window-shell>aside span.active{
  background:#1a1712;
  color:#fff;
}
.os-window-main{padding:19px}
.os-main-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}
.os-main-head small{
  color:#5d5751;
  font-size:6px;
  letter-spacing:.12em;
}
.os-main-head h3{
  margin:6px 0 0;
  font-size:27px;
  line-height:.92;
  letter-spacing:-.045em;
}
.os-main-head>span{
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  color:#77716b;
  font-size:6px;
}
.os-kpi-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
  margin-top:18px;
}
.os-kpi-row article{
  padding:12px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:#15130f;
}
.os-kpi-row small{
  display:block;
  color:#5f5952;
  font-size:5px;
  letter-spacing:.1em;
}
.os-kpi-row b{
  display:block;
  margin-top:10px;
  font-size:19px;
}
.os-kpi-row span{
  display:block;
  margin-top:4px;
  color:#6d6761;
  font-size:6px;
}
.os-dashboard-grid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:6px;
  margin-top:6px;
}
.os-chart-card,.os-flow-card{
  min-height:300px;
  padding:13px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:#0d0c0a;
}
.os-chart-card>small,.os-flow-card>small{
  color:#5f5952;
  font-size:5px;
  letter-spacing:.11em;
}
.os-chart-card svg{
  width:100%;
  height:230px;
  margin-top:15px;
}
.os-flow-card>div{
  display:grid;
  grid-template-columns:22px 1fr auto;
  gap:6px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.os-flow-card>div:last-child{border-bottom:0}
.os-flow-card b{color:#57514b;font-size:6px}
.os-flow-card span{color:#9b948d;font-size:7px}
.os-flow-card i{color:var(--v5-accent);font-style:normal}

/* Remove old V5 ERP block if any cached CSS remains */
.v5-erp{display:none!important}

@media(max-width:1200px){
  .cinema-header{
    grid-template-columns:195px 1fr auto;
  }
  .cinema-logo img{width:178px}
  .cinema-desktop-nav{gap:20px}
  .cinema-desktop-nav>a,.cinema-mega>summary,.cinema-erp span{font-size:10px}
  .cinema-whatsapp-btn{width:46px;height:46px}
  .cinema-project-btn{min-width:156px;height:52px}
  .v51-erp{grid-template-columns:1fr;padding:38px}
}

@media(max-width:920px){
  .cinema-header{
    height:82px;
    grid-template-columns:1fr auto;
  }
  .cinema-logo img{width:170px}
  .cinema-whatsapp-btn{display:none}
  .v51-erp{
    width:calc(100% - 20px);
    padding:24px;
    border-radius:28px;
  }
  .v51-os-window{transform:none}
}

@media(max-width:620px){
  .cinema-header{height:80px}
  .cinema-logo img{width:165px}
  .mobile-scene-section>summary span,
  .mobile-scene-link>span{color:var(--v5-accent)}
  .mobile-scene-section>summary:hover span,
  .mobile-scene-link:hover span{color:#fff}

  .v5-logo-mosaic{
    grid-template-columns:1fr 1fr;
  }
  .v5-logo-mosaic figure>div{
    min-height:125px;
    padding:14px;
  }
  .v5-logo-mosaic img{
    max-height:100px!important;
  }

  .v51-erp{
    padding:18px;
    margin-top:15px;
  }
  .v51-erp-intro h2{font-size:48px}
  .v51-erp-actions{display:grid;grid-template-columns:1fr 1fr}
  .v51-demo-btn,.v51-erp-actions .v5-primary{
    justify-content:space-between;
    padding:0 11px;
  }
  .os-window-shell{
    min-height:auto;
    grid-template-columns:1fr;
  }
  .os-window-shell>aside{
    display:none;
  }
  .os-window-main{padding:12px}
  .os-main-head h3{font-size:21px}
  .os-kpi-row{
    grid-template-columns:1fr 1fr;
  }
  .os-dashboard-grid{
    grid-template-columns:1fr;
  }
  .os-flow-card{min-height:auto}
  .os-chart-card{min-height:220px}
  .os-chart-card svg{height:160px}
}
