@font-face{
  font-family:'Sora';
  font-style:normal;
  font-weight:100 800;
  font-display:swap;
  src:url(fonts/sora-latin.woff2) format('woff2');
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url(fonts/inter-latin.woff2) format('woff2');
}

:root{
  --primary:#2b4dff;
  --primary-600:#1f3ee0;
  --dark:#0a165e;
  --theme-dark:#040d43;
  --light:#ced0df;
  --muted:#5b6078;
  --soft:#f4f5f9;
  --line:#e6e8f0;
  --white:#ffffff;
  --font-head:'Sora',system-ui,-apple-system,Segoe UI,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --container:1320px;
  --gutter:32px;
  --radius:20px;
  --shadow:0 24px 60px -30px rgba(10,22,94,.35);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  color:var(--muted);
  background:var(--white);
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--dark);margin:0;line-height:1.15;letter-spacing:-.02em}
p{margin:0}
svg{width:100%;height:100%;display:block}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.section{padding:100px 0}

.section-title{
  font-size:clamp(2rem,3.4vw,3.1rem);
  font-weight:700;
  line-height:1.14;
}
.section-title--center{text-align:center;max-width:720px;margin:0 auto}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:56px;
}
.section-head .section-title{max-width:620px}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-size:.95rem;
  font-weight:600;
  padding:15px 26px;
  border-radius:10px;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
  white-space:nowrap;
}
.btn svg{width:16px;height:16px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.btn--primary{background:var(--primary);color:#fff;box-shadow:0 14px 30px -14px rgba(43,77,255,.75)}
.btn--primary:hover{background:var(--primary-600);transform:translateY(-2px)}
.btn--white{background:#fff;color:var(--dark)}
.btn--white:hover{transform:translateY(-2px);box-shadow:0 16px 30px -18px rgba(4,13,67,.6)}

.topbar{background:var(--primary);color:#fff}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:48px;
  flex-wrap:wrap;
  font-size:.82rem;
}
.topbar__item{display:inline-flex;align-items:center;gap:9px;font-weight:500}
.topbar__item svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.topbar__right{display:flex;align-items:center;gap:28px;flex-wrap:wrap}

.header{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--theme-dark);
  transition:box-shadow .25s ease,background .25s ease;
}
.header.is-scrolled{box-shadow:0 14px 34px -20px rgba(0,0,0,.85);background:#030b39}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:88px;
}
.logo{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-head);font-size:1.45rem;font-weight:700;color:#fff;letter-spacing:-.01em}
.logo__mark{width:26px;height:26px;fill:var(--primary);flex:none}
.nav{display:flex;align-items:center;gap:38px}
.nav__link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:var(--font-head);
  font-size:.98rem;
  font-weight:500;
  color:#e7e9f6;
  padding:6px 0;
  transition:color .2s ease;
}
.nav__link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:2px;
  background:var(--primary);
  transition:width .25s ease;
}
.nav__link:hover,.nav__link.is-active{color:#fff}
.nav__link:hover::after,.nav__link.is-active::after{width:22px}
.nav__toggle svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.nav__dropdown{position:relative}
.nav__dropdown:hover .nav__toggle svg{transform:rotate(180deg)}
.dropdown{
  position:absolute;
  top:calc(100% + 16px);
  left:-18px;
  min-width:210px;
  background:#fff;
  border-radius:14px;
  padding:10px;
  box-shadow:0 30px 60px -24px rgba(10,22,94,.45);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
.nav__dropdown:hover .dropdown,.nav__dropdown.open .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{
  display:block;
  padding:10px 14px;
  border-radius:9px;
  font-size:.92rem;
  font-weight:500;
  color:#3a3f5c;
  transition:background .18s ease,color .18s ease;
}
.dropdown a:hover{background:var(--soft);color:var(--primary)}
.badge{
  font-family:var(--font-body);
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.06em;
  padding:4px 8px;
  border-radius:999px;
  background:#c9b6ff;
  color:#3a1d8a;
  line-height:1;
}
.menu-btn{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:52px;
  height:52px;
  align-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  transition:background .2s ease;
}
.menu-btn:hover{background:rgba(255,255,255,.08)}
.menu-btn span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .25s ease,opacity .25s ease}
.menu-btn.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn.is-open span:nth-child(2){opacity:0}
.menu-btn.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.drawer-overlay{position:fixed;inset:0;background:rgba(4,13,67,.6);z-index:90;opacity:0;transition:opacity .3s ease}
.drawer-overlay.show{opacity:1}
.drawer{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(360px,88vw);
  background:var(--theme-dark);
  z-index:100;
  padding:26px;
  transform:translateX(100%);
  transition:transform .35s cubic-bezier(.22,.61,.36,1);
  display:flex;
  flex-direction:column;
  gap:26px;
  overflow-y:auto;
}
.drawer.open{transform:translateX(0)}
.drawer__head{display:flex;align-items:center;justify-content:space-between}
.drawer__close{font-size:2rem;line-height:1;color:#fff;width:44px;height:44px;border:1px solid rgba(255,255,255,.18);border-radius:12px}
.drawer__nav{display:flex;flex-direction:column;gap:4px}
.drawer__nav a{
  font-family:var(--font-head);
  font-size:1.05rem;
  font-weight:500;
  color:#e7e9f6;
  padding:13px 14px;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:10px;
  transition:background .2s ease,color .2s ease;
}
.drawer__nav a:hover{background:rgba(255,255,255,.07);color:#fff}
.drawer__foot{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.92rem;
  color:#c7cbe4;
}

.hero{
  position:relative;
  background:linear-gradient(165deg,#0a165e 0%,#040d43 42%,#062061 100%);
  padding-top:92px;
  overflow:hidden;
}
.hero__dots{
  position:absolute;
  background:url(img/dots-light.svg) no-repeat;
  background-size:104px auto;
  pointer-events:none;
  opacity:.9;
}
.hero__dots--a{top:120px;right:9%;width:160px;height:190px;background-size:100% auto}
.hero__dots--b{bottom:24%;left:44%;width:120px;height:210px;background-size:100% auto;opacity:.55}
.hero__grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:64px;
  align-items:center;
  padding-bottom:76px;
}
.hero__title{
  font-size:clamp(2.7rem,5.05vw,5rem);
  font-weight:700;
  line-height:1.06;
  letter-spacing:-.035em;
  color:#fff;
  max-width:11ch;
}
.hero__side p{font-size:1.05rem;line-height:1.75;color:#d8dcf2;max-width:470px}
.hero__actions{display:flex;gap:16px;margin-top:30px;flex-wrap:wrap}
.hero__media-wrap{padding-bottom:0}
.hero__media{
  margin:0;
  border-radius:70px 70px 0 0;
  overflow:hidden;
  box-shadow:0 -30px 80px -50px rgba(0,0,0,.8);
}
.hero__media img{width:100%;aspect-ratio:1786/881;object-fit:cover}

.brands{background:linear-gradient(180deg,#062061 0%,#040d43 70%,#040d43 100%);padding:24px 0 96px;color:#fff}
.brands__label{text-align:center;font-size:1.02rem;color:#cfd4ea;margin-bottom:52px}
.brands__track{overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.brands__row{
  display:flex;
  align-items:center;
  gap:96px;
  width:max-content;
  animation:marquee 34s linear infinite;
}
.brands__row img{height:34px;width:auto;object-fit:contain;opacity:.92}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.features{background:var(--white);padding:96px 0 84px;border-bottom:1px solid var(--line)}
.features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:56px}
.feature{display:flex;gap:22px;align-items:flex-start}
.feature__icon{
  flex:none;
  width:62px;
  height:62px;
  border-radius:16px;
  background:#eef1ff;
  border:1px solid #dfe5ff;
  color:var(--primary);
  display:grid;
  place-items:center;
  padding:15px;
}
.feature__icon svg{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.feature h3{font-size:1.22rem;margin-bottom:6px}
.feature p{font-size:.95rem}

.about{padding:96px 0 110px}
.about__grid{display:grid;grid-template-columns:1.05fr 1fr;gap:90px;align-items:center}
.about__media{position:relative;padding-bottom:70px}
.about__img{border-radius:26px;object-fit:cover}
.about__img--main{width:90%;aspect-ratio:4/3;box-shadow:var(--shadow)}
.about__img--sub{
  position:absolute;
  right:0;
  bottom:0;
  width:52%;
  aspect-ratio:1/1;
  border:6px solid #fff;
  box-shadow:var(--shadow);
}
.about__dots{
  position:absolute;
  top:38%;
  right:34%;
  width:120px;
  height:120px;
  background:url(img/dots-dark.svg) no-repeat;
  background-size:contain;
  z-index:2;
}
.about__body .section-title{max-width:14ch;margin-bottom:26px}
.about__lead{font-family:var(--font-head);font-weight:600;font-size:1.16rem;line-height:1.55;color:var(--dark);margin-bottom:18px}
.about__body p:not(.about__lead){margin-bottom:18px}
.about__body .btn{margin-top:16px}

.services{background:var(--soft);padding:100px 0}
.services .section-title{margin-bottom:60px}
.carousel{position:relative}
.carousel__track{
  display:flex;
  gap:30px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:6px max(var(--gutter),calc((100vw - var(--container)) / 2 + var(--gutter))) 22px;
  scrollbar-width:none;
  cursor:grab;
}
.carousel__track::-webkit-scrollbar{display:none}
.carousel__track.is-dragging{cursor:grabbing;scroll-snap-type:none}
.service-card{
  position:relative;
  flex:none;
  width:300px;
  height:400px;
  border-radius:16px;
  overflow:hidden;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  text-align:center;
  padding:30px 26px;
  isolation:isolate;
}
.service-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
  transition:transform .6s ease;
}
.service-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(4,13,67,.05) 25%,rgba(4,13,67,.82) 100%);
}
.service-card:hover img{transform:scale(1.07)}
.service-card__icon{
  width:58px;
  height:58px;
  border-radius:15px;
  background:var(--primary);
  color:#fff;
  display:grid;
  place-items:center;
  padding:14px;
  margin-bottom:18px;
  box-shadow:0 14px 26px -12px rgba(43,77,255,.9);
}
.service-card__icon svg{stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.service-card h3{color:#fff;font-size:1.06rem;font-weight:600;line-height:1.35}
.service-card > a{position:absolute;inset:0}
.services__cta{text-align:center;margin-top:56px}

.skills{padding:110px 0}
.skills__grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}
.skills__body .section-title{max-width:13ch;margin-bottom:22px}
.skills__body > p{margin-bottom:34px;max-width:56ch}
.bars{display:flex;flex-direction:column;gap:26px}
.bar__head{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--font-head);font-weight:600;color:var(--dark);font-size:1rem;margin-bottom:12px}
.bar__value{color:var(--dark)}
.bar__rail{height:5px;border-radius:99px;background:#e9ebf4;overflow:hidden}
.bar__fill{height:100%;width:0;border-radius:99px;background:var(--primary);transition:width 1.1s cubic-bezier(.22,.61,.36,1)}
.skills__media{position:relative;padding:0 40px 60px 0}
.skills__img{border-radius:24px;object-fit:cover}
.skills__img--a{width:100%;aspect-ratio:4/3}
.skills__img--b{
  position:absolute;
  left:-6%;
  bottom:0;
  width:46%;
  aspect-ratio:1/1.1;
  border:6px solid #fff;
  box-shadow:var(--shadow);
}
.skills__dots{
  position:absolute;
  right:6%;
  bottom:8%;
  width:110px;
  height:130px;
  background:url(img/dots-dark.svg) no-repeat;
  background-size:contain;
  z-index:3;
}

.projects{background:var(--soft);padding:100px 0}
.projects__grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:24px;
}
.project{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:var(--theme-dark);
  display:flex;
  align-items:flex-end;
  min-height:320px;
  isolation:isolate;
}
.project img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s ease}
.project::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(4,13,67,.72) 0%,rgba(4,13,67,.12) 42%,rgba(4,13,67,.88) 100%);
}
.project:hover img{transform:scale(1.06)}
.project__body{padding:30px 28px;text-align:center;width:100%}
.project__body h3{color:#fff;font-size:1.28rem;font-weight:600;margin-bottom:8px}
.project__body p{color:#c3c9e6;font-size:.86rem}
.project--tall{grid-column:span 2;min-height:540px}
.project--mid{grid-column:span 3;min-height:330px}
.project--wide{grid-column:span 4;min-height:330px}
.project--small{grid-column:span 2;min-height:330px}

.team{padding:100px 0}
.team .section-title{margin-bottom:60px}
.team__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.member{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 14px 24px;
  text-align:center;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.member:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#d9def0}
.member__photo{border-radius:14px;overflow:hidden;background:var(--soft);aspect-ratio:306/330}
.member__photo img{width:100%;height:100%;object-fit:cover}
.member h3{font-size:1.15rem;margin:20px 0 4px}
.member p{font-size:.92rem}
.team__cta{text-align:center;margin-top:56px}

.testimonials{background:var(--soft);padding:100px 0}
.testimonials .section-title{margin-bottom:60px}
.quote-card{
  flex:none;
  width:400px;
  background:#fff;
  border-radius:18px;
  padding:34px 32px;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  gap:18px;
  box-shadow:0 20px 50px -40px rgba(10,22,94,.6);
}
.stars{color:#ff9b1a;font-size:1.05rem;letter-spacing:3px}
.quote-card p{font-size:.98rem;line-height:1.72;color:var(--muted)}
.quote-card__foot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-top:8px}
.quote-card__foot h3{font-size:1.12rem;margin-bottom:2px}
.quote-card__foot span{font-size:.88rem}
.quote-mark{width:34px;height:34px;fill:#e4e6f2;flex:none}

.blog{padding:100px 0}
.blog__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.post{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
  transition:transform .3s ease,box-shadow .3s ease;
}
.post:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.post__media{display:block;overflow:hidden;aspect-ratio:828/560}
.post__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.post:hover .post__media img{transform:scale(1.06)}
.post__body{padding:28px;display:flex;flex-direction:column;gap:14px;flex:1}
.post__meta{font-size:.85rem;color:#7b809a}
.post__meta span{margin:0 6px;color:#c2c6d6}
.post h3{font-size:1.28rem;font-weight:600;line-height:1.3}
.post h3 a{transition:color .2s ease}
.post h3 a:hover{color:var(--primary)}
.link-arrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  font-family:var(--font-head);
  font-size:.92rem;
  font-weight:600;
  color:var(--primary);
}
.link-arrow svg{width:15px;height:15px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.link-arrow:hover svg{transform:translate(3px,-3px)}

.cta{
  position:relative;
  background:linear-gradient(120deg,#1f3ee0 0%,#0a165e 48%,#040d43 100%);
  padding:120px 0;
  overflow:hidden;
  color:#fff;
}
.cta__dots{position:absolute;background:url(img/dots-light.svg) no-repeat;background-size:contain;pointer-events:none}
.cta__dots--a{top:-30px;right:6%;width:260px;height:300px;opacity:.7}
.cta__dots--b{bottom:-60px;left:2%;width:300px;height:340px;opacity:.5}
.cta__inner{position:relative;text-align:center;max-width:820px;margin:0 auto}
.cta__inner h2{color:#fff;font-size:clamp(2.4rem,4.6vw,4.2rem);font-weight:700;letter-spacing:-.03em;margin-bottom:22px}
.cta__inner p{font-size:1.05rem;color:#d9ddf2;margin-bottom:34px}

.footer{background:var(--theme-dark);color:#b9bedb;padding:88px 0 0}
.footer__grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:56px;
  padding-bottom:64px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer__brand p{margin:22px 0 24px;font-size:.95rem;line-height:1.75;max-width:38ch}
.footer__brand .logo{font-size:1.5rem}
.footer__contact{display:flex;flex-direction:column;gap:12px}
.footer__contact a{display:inline-flex;align-items:center;gap:10px;font-size:.95rem;color:#d7dbf0;transition:color .2s ease}
.footer__contact a:hover{color:#fff}
.footer__contact svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.socials{display:flex;gap:12px;margin-top:30px}
.socials a{
  width:42px;
  height:42px;
  border-radius:11px;
  background:rgba(255,255,255,.09);
  display:grid;
  place-items:center;
  padding:11px;
  color:#e6e9f8;
  transition:background .2s ease,transform .2s ease;
}
.socials a:hover{background:var(--primary);transform:translateY(-3px)}
.socials svg{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.footer__col{display:flex;flex-direction:column;gap:14px}
.footer__col h3{color:#fff;font-size:1.14rem;margin-bottom:8px}
.footer__col a{font-size:.96rem;color:#b9bedb;transition:color .2s ease,padding .2s ease}
.footer__col a:hover{color:#fff;padding-left:5px}
.footer__bottom{padding:26px 0;text-align:center;font-size:.9rem;color:#8f95bc}
.footer__bottom p{margin:0}

.to-top{
  position:fixed;
  right:26px;
  bottom:26px;
  width:48px;
  height:48px;
  border-radius:12px;
  background:#fff;
  color:var(--dark);
  display:grid;
  place-items:center;
  padding:13px;
  box-shadow:0 16px 34px -16px rgba(4,13,67,.7);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .3s ease,transform .3s ease,visibility .3s;
  z-index:70;
}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top svg{stroke:currentColor;stroke-width:2.1;fill:none;stroke-linecap:round;stroke-linejoin:round}

.reveal{opacity:0;transform:translateY(26px);filter:blur(6px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.36,1),filter .7s ease}
.reveal.is-visible{opacity:1;transform:none;filter:blur(0)}

@media (max-width:1100px){
  .section{padding:80px 0}
  .hero__grid{grid-template-columns:1fr;gap:34px}
  .hero__title{max-width:16ch}
  .hero__media{border-radius:44px 44px 0 0}
  .features__grid{grid-template-columns:1fr;gap:34px}
  .about__grid,.skills__grid{grid-template-columns:1fr;gap:56px}
  .about__body .section-title,.skills__body .section-title{max-width:none}
  .team__grid{grid-template-columns:repeat(2,1fr)}
  .blog__grid{grid-template-columns:1fr 1fr}
  .projects__grid{grid-template-columns:repeat(2,1fr)}
  .project--tall,.project--mid,.project--wide,.project--small{grid-column:span 1;min-height:380px}
  .footer__grid{grid-template-columns:1fr 1fr;gap:44px}
}
@media (max-width:820px){
  :root{--gutter:22px}
  .nav{display:none}
  .menu-btn{display:flex}
  .section-head{flex-direction:column;align-items:flex-start;gap:24px;margin-bottom:40px}
  .quote-card{width:320px}
  .project--wide{grid-column:span 2}
  .footer__grid{grid-template-columns:1fr;gap:40px}
}
@media (max-width:560px){
  .topbar__right{gap:16px}
  .hero{padding-top:64px}
  .hero__title{font-size:2.4rem}
  .hero__media{border-radius:30px 30px 0 0}
  .brands__row{gap:56px}
  .brands__row img{height:26px}
  .carousel__track{gap:20px}
  .service-card{width:260px;height:360px}
  .projects__grid,.blog__grid,.team__grid{grid-template-columns:1fr}
  .project--wide{grid-column:span 1}
  .quote-card{width:86vw}
  .cta{padding:80px 0}
  .to-top{right:16px;bottom:16px}
}

[id]{scroll-margin-top:104px}

.header__actions{display:flex;align-items:center;gap:14px}
.header__cta{padding:12px 20px;font-size:.9rem}
.header__cta svg{width:15px;height:15px}
.drawer__cta{justify-content:center;margin-top:4px}

.eyebrow{
  font-family:var(--font-head);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#8fa2ff;
  margin-bottom:18px;
}
.eyebrow--dark{color:var(--primary)}
.eyebrow--center{text-align:center}
.eyebrow--light{color:#b9c4ff}
.hero__copy .eyebrow{margin-bottom:20px}
.cta .eyebrow{margin-bottom:14px}

.hero__caption{
  position:absolute;
  left:26px;
  bottom:26px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 18px;
  border-radius:999px;
  background:rgba(4,13,67,.72);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.18);
  color:#eef1ff;
  font-size:.82rem;
  font-weight:500;
}
.hero__caption-dot{width:8px;height:8px;border-radius:50%;background:#7dffa5;box-shadow:0 0 0 4px rgba(125,255,165,.16);flex:none}
.hero__media{position:relative}

.brands__row{gap:42px;align-items:center}
.brand-word{
  font-family:var(--font-head);
  font-size:1.06rem;
  font-weight:500;
  color:#aab0d2;
  white-space:nowrap;
  letter-spacing:-.01em;
}
.brand-dot{width:5px;height:5px;border-radius:50%;background:var(--primary);opacity:.7;flex:none}

.about__body .eyebrow{margin-bottom:14px}
.about__body .section-title{max-width:16ch}

.skills__media{padding-top:26px}
.skills__stat{
  position:absolute;
  right:-6px;
  top:0;
  z-index:4;
  display:flex;
  gap:24px;
  padding:18px 22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 24px 50px -30px rgba(10,22,94,.45);
}
.skills__stat div{display:flex;flex-direction:column;gap:2px}
.skills__stat strong{font-family:var(--font-head);font-size:1.5rem;line-height:1.1;color:var(--dark)}
.skills__stat span{font-size:.72rem;line-height:1.3;color:var(--muted);max-width:10ch}

.steps{list-style:none;margin:36px 0 0;padding:0;border-top:1px solid var(--line)}
.step{display:flex;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.step__num{
  flex:none;
  width:40px;
  height:40px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:#eef1ff;
  border:1px solid #dfe5ff;
  color:var(--primary);
  font-family:var(--font-head);
  font-size:.8rem;
  font-weight:700;
}
.step__body h3{font-size:1.06rem;margin-bottom:4px}
.step__body p{font-size:.93rem;line-height:1.65}

.project__tag{
  display:inline-block;
  margin-bottom:12px;
  padding:5px 11px;
  border-radius:999px;
  background:rgba(43,77,255,.22);
  border:1px solid rgba(159,176,255,.42);
  color:#c6d0ff;
  font-family:var(--font-head);
  font-size:.66rem;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  line-height:1.2;
}
.project__body h3{font-size:1.22rem}
.project__body p{color:#c3c9e6;font-size:.87rem}

.benefit-tag{
  display:inline-block;
  width:max-content;
  padding:6px 12px;
  border-radius:999px;
  background:#eef1ff;
  border:1px solid #dfe5ff;
  color:var(--primary);
  font-family:var(--font-head);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  line-height:1.2;
}

.cta__actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}

.footer__contact-item{display:inline-flex;align-items:center;gap:10px;font-size:.95rem;color:#d7dbf0}
.footer__contact-item svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}

@media (max-width:1100px){
  .nav{display:none}
  .menu-btn{display:flex}
  .skills__stat{top:-8px;right:0}
}
@media (max-width:820px){
  .header__cta{display:none}
  .header__inner{min-height:76px}
  .about__body .section-title{max-width:none}
  .skills__media{padding-top:40px}
  .skills__stat{gap:18px;padding:14px 18px}
  .skills__stat strong{font-size:1.3rem}
}
@media (max-width:560px){
  .topbar__right .topbar__item:last-child{display:none}
  .logo{font-size:1.25rem}
  .logo__mark{width:22px;height:22px}
  .hero__caption{left:14px;bottom:14px;padding:9px 14px;font-size:.75rem}
  .brand-word{font-size:.95rem}
  .skills__stat{position:static;margin-top:18px;width:100%;justify-content:space-between}
  .step{gap:14px}
  .step__num{width:34px;height:34px;font-size:.72rem}
}

/* Proposal-based layout additions */
.hero__title{max-width:16ch}
.hero__media--gallery{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13);
  padding:14px;
  border-radius:44px 44px 0 0;
  box-shadow:0 -30px 80px -50px rgba(0,0,0,.8);
}
.hero__media--gallery .hero__gallery{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:12px;
  height:clamp(290px,33vw,460px);
}
.hero__shot{position:relative;border-radius:16px;overflow:hidden;background:#081750;min-height:0}
.hero__shot img{
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
  transition:transform .7s ease;
}
.hero__shot:hover img{transform:scale(1.04)}
.hero__shot span{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(4,13,67,.7);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.18);
  color:#eef1ff;
  font-family:var(--font-head);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.04em;
}

.btn--ghost{border:1px solid rgba(255,255,255,.42);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.1);border-color:#fff;transform:translateY(-2px)}

.section-sub{max-width:660px;margin:16px auto 0;font-size:1.02rem;line-height:1.75}
.section-sub--center{text-align:center}
.services .eyebrow--center{margin-bottom:14px}
.services .section-title{margin-bottom:48px}
.team .eyebrow--center{margin-bottom:14px}
.team .section-title{margin-bottom:52px}

.about__img--contain{object-fit:contain;background:#fff;padding:14px;border:1px solid var(--line)}

.service-card--plain{
  height:auto;
  min-height:290px;
  justify-content:center;
  align-items:flex-start;
  text-align:left;
  background:#fff;
  border:1px solid var(--line);
  padding:32px 30px;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.service-card--plain::after{display:none}
.service-card--plain:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#d9def0}
.service-card--plain .service-card__icon{
  background:#eef1ff;
  color:var(--primary);
  border:1px solid #dfe5ff;
  box-shadow:none;
  margin-bottom:22px;
}
.service-card--plain h3{color:var(--dark);font-size:1.12rem}
.service-card__desc{margin-top:10px;font-size:.92rem;line-height:1.68;color:var(--muted)}

.skills__img--a.skills__img--contain{aspect-ratio:16/10;object-fit:contain;background:#fff;padding:14px;border:1px solid var(--line)}
.skills__img--b.skills__img--contain{aspect-ratio:4/5;object-fit:contain;background:#fff;padding:10px;border:1px solid var(--line)}

.project--diagram{background:#fff}
.project--diagram img{object-fit:contain;padding:26px 24px 118px;background:#fff}
.project--diagram::after{background:linear-gradient(180deg,rgba(4,13,67,0) 34%,rgba(4,13,67,.9) 60%,#040d43 100%)}
.project--diagram .project__body p{color:#c9cfec}
.project--diagram.project--wide img{padding:30px 32px 116px}
.project--diagram.project--small img{padding:18px 18px 104px}

.member__photo--initials{
  display:grid;
  place-items:center;
  background:linear-gradient(150deg,#0a165e 0%,#1a37b8 58%,#2b4dff 100%);
}
.member__photo--initials span{
  font-family:var(--font-head);
  font-size:2.4rem;
  font-weight:700;
  color:#fff;
  letter-spacing:.06em;
}
.team__members{
  max-width:840px;
  margin:36px auto 0;
  text-align:center;
  font-size:.94rem;
  line-height:1.8;
}

.benefits__grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1000px;margin:0 auto}
.benefit-card{
  display:flex;
  gap:20px;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:30px;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.benefit-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#d9def0}
.benefit-card__icon{
  flex:none;
  width:52px;
  height:52px;
  border-radius:14px;
  background:#eef1ff;
  border:1px solid #dfe5ff;
  color:var(--primary);
  display:grid;
  place-items:center;
  padding:13px;
}
.benefit-card__icon svg{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.benefit-card h3{font-size:1.1rem;margin-bottom:6px}
.benefit-card p{font-size:.93rem;line-height:1.7}

.post__media--contain img{object-fit:contain;background:#fff;padding:18px}

.footer__contact a.footer__contact-item:hover{color:#fff}

@media (max-width:1100px){
  .hero__media--gallery{border-radius:34px 34px 0 0}
  .hero__media--gallery .hero__gallery{height:clamp(270px,40vw,420px)}
  .service-card--plain{width:280px;min-height:300px}
}
@media (max-width:820px){
  .hero__media--gallery{padding:10px;border-radius:28px 28px 0 0}
  .hero__media--gallery .hero__gallery{
    grid-template-columns:1fr 1fr;
    height:auto;
  }
  .hero__shot{aspect-ratio:4/3}
  .hero__shot:first-child{grid-column:span 2;aspect-ratio:16/9}
  .project--diagram.project--wide img{padding:22px 22px 112px}
  .benefits__grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .hero{padding-top:56px}
  .hero__title{font-size:2.5rem;max-width:14ch}
  .hero__media--gallery{padding:8px;border-radius:22px 22px 0 0}
  .hero__media--gallery .hero__gallery{gap:8px}
  .hero__shot{border-radius:12px}
  .hero__shot span{left:8px;bottom:8px;padding:5px 9px;font-size:.62rem}
  .service-card--plain{width:264px;padding:26px 24px}
  .benefit-card{padding:24px 22px;gap:16px}
  .team__members{margin-top:28px;text-align:left;font-size:.9rem}
}

/* Refinements after visual QA */
.hero__shot{background:#000}
.hero__shot img{object-fit:contain}

.carousel__track{
  scroll-padding-left:max(var(--gutter),calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.about__img--main{width:100%;aspect-ratio:16/9}
.about__media{padding-bottom:86px}
.about__dots{display:none}
.about__badge{
  position:absolute;
  left:18px;
  bottom:0;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 20px;
  border-radius:14px;
  background:var(--theme-dark);
  color:#fff;
  box-shadow:0 22px 44px -24px rgba(4,13,67,.75);
}
.about__badge-icon{
  flex:none;
  width:38px;
  height:38px;
  border-radius:10px;
  display:grid;
  place-items:center;
  padding:9px;
  background:rgba(43,77,255,.28);
  color:#b9c6ff;
}
.about__badge-icon svg{stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.about__badge strong{display:block;font-family:var(--font-head);font-size:.95rem;line-height:1.25}
.about__badge span{display:block;font-size:.78rem;color:#aeb6da;margin-top:2px}

.skills__media{padding:0;display:flex;flex-direction:column;gap:18px}
.skills__figure{
  display:block;
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.skills__img--flow{
  width:100%;
  aspect-ratio:1043/435;
  object-fit:contain;
  background:#fff;
  padding:10px;
  border-radius:0;
  transition:transform .5s ease;
}
.skills__figure:hover .skills__img--flow{transform:scale(1.015)}
.skills__figure-cap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 16px;
  border-top:1px solid var(--line);
  font-family:var(--font-head);
  font-size:.78rem;
  font-weight:600;
  color:var(--primary);
  background:#fbfbff;
}
.skills__stat{
  position:static;
  margin:0;
  width:100%;
  justify-content:space-between;
  gap:18px;
  padding:16px 22px;
}
.skills__stat span{max-width:16ch}

.benefit-card__body{min-width:0}
.benefit-card__body h3{margin-bottom:6px}
.testimonials .section-title{margin-bottom:18px}
.benefits__grid{margin-top:44px}
.project--tall{min-height:480px}

@media (max-width:820px){
  .skills__stat{position:static;margin-top:0;width:100%}
  .about__media{padding-bottom:76px}
}
@media (max-width:560px){
  .about__badge{left:10px;padding:12px 15px;gap:11px}
  .about__badge-icon{width:32px;height:32px;padding:7px}
  .about__badge strong{font-size:.86rem}
  .about__badge span{font-size:.72rem}
  .skills__figure-cap{font-size:.72rem;padding:10px 12px}
  .benefits__grid{margin-top:32px}
}

.project--contain img{object-fit:contain;background:#000}
.project--contain::after{background:linear-gradient(180deg,rgba(4,13,67,0) 30%,rgba(4,13,67,.82) 62%,#040d43 100%)}

@media (max-width:560px){
  .team__grid{grid-template-columns:1fr 1fr;gap:14px}
  .member{padding:10px 10px 18px}
  .member__photo--initials span{font-size:1.9rem}
  .member h3{font-size:.98rem;margin:14px 0 4px;line-height:1.3}
  .member p{font-size:.8rem;line-height:1.45}
  .team__cta{margin-top:40px}
}

/* No-photo version: dashboard mockup, spec panels, text cards */
.hero__monitor-wrap{padding-bottom:76px}
.hero__grid{padding-bottom:52px}
.monitor{
  position:relative;
  padding:28px 30px 24px;
  border-radius:26px;
  background:linear-gradient(160deg,rgba(255,255,255,.11) 0%,rgba(255,255,255,.035) 55%,rgba(255,255,255,.02) 100%);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 40px 90px -50px rgba(0,0,0,.85);
  backdrop-filter:blur(14px);
  overflow:hidden;
}
.monitor::before{
  content:"";
  position:absolute;
  top:-140px;
  right:-80px;
  width:380px;
  height:380px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(43,77,255,.4),transparent 65%);
  pointer-events:none;
}
.monitor__head{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:1}
.monitor__brand{display:inline-flex;align-items:center;gap:11px;font-family:var(--font-head);font-size:.92rem;font-weight:600;color:#eef1ff}
.monitor__mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;padding:7px;background:rgba(43,77,255,.3);border:1px solid rgba(159,176,255,.35);color:#c6d0ff}
.monitor__mark svg{fill:currentColor}
.monitor__live{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;background:rgba(125,255,165,.1);border:1px solid rgba(125,255,165,.28);color:#a6ffc1;font-family:var(--font-head);font-size:.7rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.monitor__live i,.monitor__status i{width:7px;height:7px;border-radius:50%;background:#7dffa5;box-shadow:0 0 0 4px rgba(125,255,165,.14);flex:none}
.monitor__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0 16px;position:relative;z-index:1}
.monitor__metric{padding:15px 17px;border-radius:12px;background:rgba(4,13,67,.42);border:1px solid rgba(255,255,255,.08)}
.monitor__label{display:block;font-family:var(--font-head);font-size:.66rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#8f9bcc;margin-bottom:6px}
.monitor__metric strong{display:block;font-family:var(--font-head);font-size:1.65rem;font-weight:700;line-height:1.1;color:#fff;letter-spacing:-.03em}
.monitor__metric small{font-size:.8rem;font-weight:500;color:#aab6e8;letter-spacing:0}
.monitor__meta{display:block;margin-top:5px;font-size:.74rem;color:#98a3cc}
.monitor__chart{position:relative;z-index:1;padding:14px 18px 12px;border-radius:12px;background:rgba(4,13,67,.3);border:1px solid rgba(255,255,255,.07)}
.monitor__chart-head{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:.72rem;color:#98a3cc;margin-bottom:10px}
.monitor__chart-head span:first-child{font-family:var(--font-head);font-weight:600;color:#dfe4fb}
.monitor__bars{display:flex;align-items:flex-end;gap:6px;height:58px}
.monitor__bars span{flex:1;height:var(--h);border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,#6d87ff,#2b4dff);opacity:.85;min-height:5px}
.monitor__bars span:nth-child(4n){opacity:1;background:linear-gradient(180deg,#9fb0ff,#4f6bff)}
.monitor__foot{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;font-size:.74rem;color:#8f9bcc;position:relative;z-index:1}
.monitor__status{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:600;color:#c9ffd8}

.spec-card{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:30px 32px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.spec-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--primary),#8fa2ff)}
.spec-card__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.spec-card__eyebrow{font-family:var(--font-head);font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}
.spec-card__badge{padding:5px 11px;border-radius:999px;background:#eef1ff;border:1px solid #dfe5ff;color:var(--primary);font-family:var(--font-head);font-size:.66rem;font-weight:600;letter-spacing:.05em}
.spec-list{list-style:none;margin:0;padding:0}
.spec-list li{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}
.spec-list li:last-child{border-bottom:0}
.spec-list__icon{flex:none;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;padding:10px;background:#eef1ff;border:1px solid #dfe5ff;color:var(--primary)}
.spec-list__icon svg{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.spec-list__body{flex:1;min-width:0}
.spec-list__body strong{display:block;font-family:var(--font-head);font-size:.94rem;font-weight:600;color:var(--dark);line-height:1.3}
.spec-list__body span{display:block;font-size:.82rem;color:var(--muted);margin-top:2px}
.spec-list em{flex:none;font-style:normal;font-family:var(--font-head);font-size:.76rem;font-weight:600;color:var(--primary);background:var(--soft);border-radius:8px;padding:6px 9px;white-space:nowrap}
.spec-card__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:16px;border-top:1px dashed var(--line);font-size:.86rem;color:var(--muted)}
.spec-card__foot strong{font-family:var(--font-head);font-size:1rem;color:var(--dark)}
.about__media{padding-bottom:0}

.skills__media{display:block;padding:0}
.schedule-card{
  position:relative;
  overflow:hidden;
  padding:34px;
  border-radius:24px;
  background:linear-gradient(155deg,#0c1c74 0%,#081352 55%,#040d43 100%);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 30px 70px -40px rgba(4,13,67,.85);
  color:#fff;
}
.schedule-card::after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-110px;
  width:290px;
  height:290px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(43,77,255,.38),transparent 65%);
  pointer-events:none;
}
.schedule-card__top{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}
.schedule-card__eyebrow{font-family:var(--font-head);font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8fa2ff}
.schedule-card__pill{padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);font-family:var(--font-head);font-size:.68rem;font-weight:600;color:#d8ddf6}
.schedule-card__range{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap;margin:22px 0 20px;position:relative;z-index:1}
.schedule-card__range strong{font-family:var(--font-head);font-size:clamp(1.45rem,2.1vw,1.9rem);font-weight:700;letter-spacing:-.03em;color:#fff;line-height:1.1}
.schedule-card__range span{font-size:.8rem;color:#a7afd6}
.schedule-card__months{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;position:relative;z-index:1}
.schedule-card__months span{text-align:center;padding:9px 4px;border-radius:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);font-family:var(--font-head);font-size:.72rem;font-weight:500;color:#ccd3f3}
.schedule-card__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);position:relative;z-index:1}
.schedule-card__facts div{display:flex;flex-direction:column;gap:2px}
.schedule-card__facts strong{font-family:var(--font-head);font-size:1.55rem;font-weight:700;color:#fff;line-height:1}
.schedule-card__facts span{font-size:.72rem;line-height:1.35;color:#a7afd6}

.project--plain{
  padding:28px;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-start;
  background:linear-gradient(155deg,#0c1d78 0%,#071150 58%,#040d43 100%);
  border:1px solid rgba(255,255,255,.09);
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.project--plain::after{display:none}
.project--plain::before{
  content:"";
  position:absolute;
  top:-70px;
  right:-70px;
  width:230px;
  height:230px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(43,77,255,.34),transparent 66%);
  pointer-events:none;
}
.project--plain:hover{transform:translateY(-6px);box-shadow:0 28px 60px -34px rgba(4,13,67,.8);border-color:rgba(159,176,255,.32)}
.project__icon{
  position:relative;
  z-index:1;
  width:56px;
  height:56px;
  border-radius:15px;
  display:grid;
  place-items:center;
  padding:14px;
  background:rgba(43,77,255,.2);
  border:1px solid rgba(159,176,255,.3);
  color:#c6d0ff;
}
.project__icon svg{stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.project--plain .project__body{position:relative;z-index:1;margin-top:26px;padding:0;text-align:left}
.project--plain.project--tall{min-height:320px}
.project--plain.project--mid,.project--plain.project--wide,.project--plain.project--small{min-height:280px}

.post--plain .post__head{
  height:136px;
  padding:22px 24px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(140deg,#eef1ff 0%,#f7f8ff 60%,#fff 100%);
  border-bottom:1px solid var(--line);
}
.post__head-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;padding:11px;background:#fff;border:1px solid #dfe5ff;color:var(--primary);box-shadow:0 12px 24px -18px rgba(10,22,94,.5)}
.post__head-icon svg{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.post__head-label{font-family:var(--font-head);font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;line-height:1.6;color:#7b81a0;text-align:right;max-width:14ch}
.post--plain .post__body{padding:26px 28px}

@media (max-width:1100px){
  .hero__monitor-wrap{padding-bottom:60px}
  .project--plain.project--tall{min-height:290px}
  .project--plain.project--mid,.project--plain.project--wide,.project--plain.project--small{min-height:260px}
}
@media (max-width:820px){
  .monitor{padding:22px 20px 20px;border-radius:20px}
  .monitor__grid{grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 14px}
  .monitor__metric{padding:13px 14px}
  .monitor__metric strong{font-size:1.4rem}
  .monitor__bars{height:46px}
  .monitor__foot{flex-wrap:wrap;gap:8px}
  .about__grid{gap:44px}
  .spec-card{padding:26px}
  .schedule-card{padding:26px}
  .project--plain.project--tall,.project--plain.project--mid,.project--plain.project--wide,.project--plain.project--small{min-height:240px}
  .post--plain .post__head{height:120px}
}
@media (max-width:560px){
  .hero{padding-top:52px}
  .hero__monitor-wrap{padding-bottom:52px}
  .monitor{padding:18px 15px 15px;border-radius:18px}
  .monitor__brand{font-size:.82rem}
  .monitor__mark{width:28px;height:28px;padding:6px}
  .monitor__metric{padding:12px 12px}
  .monitor__metric strong{font-size:1.25rem}
  .monitor__meta{font-size:.7rem}
  .monitor__chart{padding:12px 13px 10px}
  .monitor__chart-head{font-size:.68rem}
  .monitor__bars{height:40px;gap:4px}
  .monitor__foot{font-size:.68rem}
  .monitor__chart{display:none}
  .spec-card{padding:22px 20px;border-radius:20px}
  .spec-list li{gap:11px;padding:13px 0}
  .spec-list__icon{width:38px;height:38px;padding:9px}
  .spec-list__body strong{font-size:.9rem}
  .spec-list__body span{font-size:.78rem}
  .spec-list em{font-size:.7rem;padding:5px 7px}
  .spec-card__foot{font-size:.8rem}
  .schedule-card{padding:22px 20px;border-radius:20px}
  .schedule-card__range{margin:18px 0 16px}
  .schedule-card__months span{padding:8px 2px;font-size:.66rem}
  .schedule-card__facts{gap:12px;margin-top:18px;padding-top:16px}
  .schedule-card__facts strong{font-size:1.35rem}
  .schedule-card__facts span{font-size:.68rem}
  .project--plain{padding:22px;min-height:0!important}
  .project__icon{width:50px;height:50px;padding:12px;border-radius:13px}
  .project--plain .project__body{margin-top:20px}
  .post--plain .post__head{height:108px;padding:18px}
  .post__head-icon{width:42px;height:42px;padding:10px}
  .post__head-label{font-size:.62rem;max-width:13ch}
  .post--plain .post__body{padding:22px 22px 24px}
}

.monitor__live{background:rgba(159,176,255,.12);border-color:rgba(159,176,255,.3);color:#c6d0ff}
.monitor__live i,.monitor__status i{background:#9fb0ff;box-shadow:0 0 0 4px rgba(159,176,255,.14)}
.monitor__status{color:#aab6e8}

/* Monitor status chips */
.monitor__chips{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;position:relative;z-index:1}
.monitor__chips>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 13px;border-radius:10px;background:rgba(4,13,67,.3);border:1px solid rgba(255,255,255,.07)}
.monitor__chips span{font-size:.72rem;color:#98a3cc}
.monitor__chips strong{font-family:var(--font-head);font-size:.84rem;font-weight:600;color:#e7ebff;white-space:nowrap}
@media (max-width:820px){.monitor__chips{grid-template-columns:1fr 1fr;gap:8px}.monitor__chips>div{padding:9px 11px}}
@media (max-width:560px){.monitor__chips span{font-size:.68rem}.monitor__chips strong{font-size:.78rem}}

/* Projects intro aligned with section heading */
.projects .section-sub{margin:16px 0 26px;max-width:720px}

/* Detail pages */
.page-hero{
  position:relative;
  background:linear-gradient(165deg,#0a165e 0%,#040d43 55%,#062061 100%);
  color:#fff;
  padding:64px 0 72px;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute;
  right:-60px;
  top:-70px;
  width:300px;
  height:300px;
  background:url(img/dots-light.svg) no-repeat;
  background-size:contain;
  opacity:.55;
  pointer-events:none;
}
.page-hero .eyebrow{color:#b9c4ff;margin-bottom:14px}
.page-hero__title{color:#fff;font-size:clamp(2.1rem,4vw,3.3rem);max-width:20ch}
.page-hero__lead{color:#c7cbe4;max-width:840px;margin-top:18px;font-size:1.06rem}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.82rem;color:#9aa6e0;margin-bottom:22px;position:relative;z-index:1}
.breadcrumb a{color:#c7cbe4}
.breadcrumb a:hover{color:#fff}
.breadcrumb span[aria-current]{color:#fff}
.page-hero .eyebrow,.page-hero__title,.page-hero__lead{position:relative;z-index:1}
.prose{max-width:860px}
.prose > p{font-size:1.02rem;line-height:1.8;margin-bottom:18px}
.prose > p:last-child{margin-bottom:0}
.prose h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:0 0 18px}
.prose h3{font-size:1.2rem;margin:30px 0 12px}
.prose ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.prose ul li{position:relative;padding-left:28px;line-height:1.7}
.prose ul li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--primary)}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.detail-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px 26px;
  background:#fff;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.detail-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d9def0}
.detail-card__icon{
  width:54px;
  height:54px;
  border-radius:14px;
  background:#eef1ff;
  border:1px solid #dfe5ff;
  color:var(--primary);
  display:grid;
  place-items:center;
  padding:13px;
  margin-bottom:18px;
}
.detail-card__icon svg{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.detail-card h3{font-size:1.12rem;margin-bottom:8px}
.detail-card p{font-size:.95rem;line-height:1.7}
.dropdown a.is-current{background:var(--soft);color:var(--primary)}
@media (max-width:960px){.detail-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){
  .detail-grid{grid-template-columns:1fr}
  .page-hero{padding:48px 0 56px}
}
