.work-page { background: #030307; }
.work-page .header .work-active { color: #fff; text-shadow: 0 0 15px #a550ff; }
.work-hero { min-height: 760px; }
.work-hero-bg {
  background-image:
    linear-gradient(90deg, #030307 2%, rgba(3, 3, 7, .96) 25%, rgba(3, 3, 7, .35) 65%, rgba(3, 3, 7, .18)),
    linear-gradient(0deg, #030307 0%, transparent 48%),
    url("assets/contact-four-horsemen.webp");
  background-position: center;
  filter: saturate(1.12) contrast(1.08);
}
.work-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.work-intro { padding: 130px 0 90px; background: linear-gradient(180deg, #030307, #08040d); }
.work-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.work-intro h2,.work-process h2,.work-cta h2 { margin: 0; font: 800 clamp(44px, 6vw, 80px)/.96 Orbitron; letter-spacing: -3px; }
.work-intro h2 span,.work-process h2 span,.work-cta h2 span { color: #b864ff; }
.work-intro-grid > p { margin: 0 0 5px; color: #9b93a1; font-size: 19px; line-height: 1.55; }
.case-list { background: #08040d; }
.case-study { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0; display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(45px, 7vw, 95px); align-items: center; border-top: 1px solid rgba(151, 82, 209, .18); scroll-margin-top: 78px; }
.case-genesis { direction: rtl; }
.case-genesis > * { direction: ltr; }
.browser-frame { overflow: hidden; border: 1px solid rgba(171, 100, 232, .32); border-radius: 10px; background: #09070d; box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 42px rgba(141,61,218,.08); }
.browser-chrome { height: 39px; padding: 0 14px; display: flex; align-items: center; gap: 7px; color: #706979; border-bottom: 1px solid #2a2130; background: #100c15; font-size: 11px; }
.browser-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #6b526f; }
.browser-chrome i:nth-child(2) { background: #725277; }
.browser-chrome i:nth-child(3) { background: #4a6685; }
.browser-chrome span { margin-left: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-stage { position: relative; min-height: 430px; padding: 65px 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.client-stage::before,.client-stage::after { content: ""; position: absolute; border-radius: 50%; filter: blur(14px); pointer-events: none; }
.client-stage img { position: relative; z-index: 1; display: block; max-width: 68%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.client-stage > p { position: relative; z-index: 1; margin: 24px 0 0; font-size: 17px; letter-spacing: .5px; }
.hic-stage { color: #fff; background: linear-gradient(145deg, rgba(7,19,31,.9), rgba(9,8,12,.98)), #05080c; }
.hic-stage::before { inset: -25% 50% 30% -20%; background: rgba(56, 152, 195, .18); }
.hic-stage::after { inset: 50% -15% -30% 45%; background: rgba(179, 117, 48, .18); }
.hic-stage img { filter: drop-shadow(0 0 24px rgba(255,255,255,.12)); }
.genesis-stage { color: #f6f1e8; background: linear-gradient(145deg, rgba(17,31,24,.96), rgba(6,10,8,.99)); }
.genesis-stage::before { inset: -30% 45% 35% -20%; background: rgba(132, 183, 73, .2); }
.genesis-stage::after { inset: 45% -15% -30% 45%; background: rgba(197, 150, 52, .13); }
.genesis-stage img { filter: drop-shadow(0 0 22px rgba(216, 235, 185, .1)); }
.alpha-stage { color: #f7f4ff; background: linear-gradient(145deg, rgba(19,17,37,.98), rgba(6,7,15,.99)); }
.alpha-stage::before { inset: -28% 46% 35% -18%; background: rgba(88,101,242,.25); }
.alpha-stage::after { inset: 44% -15% -32% 42%; background: rgba(36,181,255,.15); }
.alpha-mark { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; text-align: left; }
.alpha-mark > span { display: grid; place-items: center; width: 58px; height: 58px; color: #fff; border: 1px solid #7e86ff; border-radius: 13px; background: linear-gradient(145deg,#5865f2,#3244a8); box-shadow: 0 0 28px rgba(88,101,242,.32); font: 800 16px Orbitron; }
.alpha-mark b,.alpha-mark small { display: block; }
.alpha-mark b { font: 800 18px Orbitron; letter-spacing: 1.1px; }
.alpha-mark small { margin-top: 5px; color: #8f92b0; font: 600 8px Orbitron; letter-spacing: 1px; }
.alpha-mark em { margin-left: auto; padding: 5px 7px; color: #7f849f; border: 1px solid rgba(126,134,255,.18); border-radius: 3px; font: 600 6px Orbitron; letter-spacing: .6px; font-style: normal; }
.bot-console { position: relative; z-index: 1; width: min(440px,100%); display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 28px; text-align: left; }
.bot-console > div { padding: 11px 12px; border: 1px solid rgba(126,134,255,.18); border-radius: 5px; background: rgba(6,8,17,.68); }
.bot-console span,.bot-console b { display: block; }
.bot-console span { color: #747992; font: 600 7px Orbitron; letter-spacing: .7px; }
.bot-console b { margin-top: 7px; color: #cdd1ff; font: 700 9px Orbitron; }
.bot-console > div:nth-child(1) b,.bot-console > div:nth-child(3) b { color: #6ee7ae; }
.stage-pills { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 30px; }
.stage-pills span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.68); font: 600 8px Orbitron; letter-spacing: .6px; }
.case-index,.case-industry { font: 700 9px Orbitron; letter-spacing: 1.5px; }
.case-index { color: #756b7e; }
.case-industry { margin: 19px 0 12px; color: #bd68ff; }
.case-copy h2 { margin: 0; color: #f4edf8; font: 800 clamp(38px, 5vw, 65px)/1 Orbitron; letter-spacing: -2.5px; }
.case-lead { margin: 25px 0 32px; color: #bbb2c1; font-size: 21px; line-height: 1.47; }
.case-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-details > div { padding-top: 17px; border-top: 1px solid rgba(158,87,217,.22); }
.case-details b { color: #d8cde0; font: 700 9px Orbitron; letter-spacing: 1px; }
.case-details p { margin: 10px 0 0; color: #867e8c; font-size: 15px; line-height: 1.5; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 28px 0; padding: 0; list-style: none; }
.case-tags li { padding: 7px 9px; color: #a69cac; border: 1px solid #33283a; background: rgba(10,8,14,.55); font-size: 12px; }
.case-link { display: inline-flex; gap: 13px; align-items: center; color: #f3ebf7; text-decoration: none; font: 700 10px Orbitron; letter-spacing: 1px; }
.case-link span { color: #c168ff; font-size: 16px; transition: transform .2s ease; }
.case-link:hover span,.case-link:focus-visible span { transform: translate(3px,-3px); }
.work-process { padding: 130px 0; background: linear-gradient(180deg, #08040d, #030307); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-top: 60px; }
.process-grid article { min-height: 275px; padding: 27px; border: 1px solid #302638; background: linear-gradient(145deg, rgba(151,65,235,.075), rgba(4,4,8,.82)); }
.process-grid span { color: #655a6c; font: 700 9px Orbitron; }
.process-grid b { display: block; margin-top: 55px; color: #e8dfed; font: 700 14px Orbitron; }
.process-grid p { color: #8e8594; font-size: 16px; line-height: 1.5; }
.work-cta { min-height: 72vh; padding: 110px 24px; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 100%, rgba(156,66,255,.19), transparent 45%), #030307; }
.work-cta-inner { max-width: 850px; }
.work-cta p:not(.kicker) { max-width: 610px; margin: 28px auto; color: #9d94a4; font-size: 19px; line-height: 1.5; }
.work-cta .btn { margin-top: 10px; }
@media (max-width: 950px) {
  .work-intro-grid,.case-study { grid-template-columns: 1fr; }
  .case-study { gap: 48px; }
  .case-genesis { direction: ltr; }
  .case-visual { max-width: 720px; width: 100%; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  .work-hero { min-height: 690px; }
  .work-hero h1 { font-size: clamp(43px, 15vw, 58px); }
  .work-intro { padding: 90px 0 65px; }
  .work-intro-grid { gap: 28px; }
  .case-study { width: calc(100% - 40px); padding: 72px 0; gap: 34px; }
  .client-stage { min-height: 300px; padding: 45px 22px; }
  .client-stage img { max-width: 78%; max-height: 115px; }
  .case-copy h2 { font-size: 39px; }
  .case-lead { font-size: 18px; }
  .case-details { grid-template-columns: 1fr; gap: 18px; }
  .work-process { padding: 90px 0; }
  .process-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .process-grid article { min-height: 220px; }
  .process-grid b { margin-top: 38px; }
}
@media (max-width: 420px) {
  .work-shell { width: calc(100% - 36px); }
  .work-hero { padding-inline: 20px; }
  .work-hero h1 { font-size: 42px; letter-spacing: -2px; }
  .browser-chrome span { max-width: 190px; }
  .client-stage { min-height: 260px; }
  .case-copy h2 { font-size: 34px; }
  .bot-console { grid-template-columns: 1fr; }
}
