/* Section measurements from the live homepage, 1440 × 900 desktop viewport. */
body { background: #03030b; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(110deg,#070c1b,#09011b 48%,#020608); }
.feature-slide { grid-template-columns: calc(50% - 8px) 1fr; column-gap: 16px; }
.feature-slide > div { padding-left: 12px; }
.feature-slide h2 { max-width: 100%; padding-right: 24px; }
.feature-slide h2 span { right: 0; }
.section-heading { align-items: flex-end; }
.service-card { min-height: 0; height: 220px; padding: 24px; display: flex; flex-direction: column; --card-tint: 40,188,74; background: linear-gradient(135deg,#ffffff1a,#ffffff0a),radial-gradient(circle at top right,rgba(var(--card-tint),.25),transparent 60%); }
.service-card:nth-child(2) { --card-tint: 45,163,204; }
.service-card:nth-child(3) { --card-tint: 47,174,67; }
.service-card:nth-child(4) { --card-tint: 148,70,180; }
.service-card:nth-child(5) { --card-tint: 196,183,38; }
.service-card:nth-child(6) { --card-tint: 32,154,116; }
.service-card > img { width: 40px; height: 40px; margin: 8px 0 24px 8px; }
.service-card h3 { font-size: 20px; line-height: 27.5px; margin-bottom: 12px; }
.service-card p { color: #ffffff99; line-height: 26px; }
.services .section-heading { margin-bottom: 48px; }
.services { padding-bottom: 157px; }
.awards { grid-template-columns: 432fr 880fr; gap: 64px; padding-bottom: 40px; }
.award-copy .section-heading { gap: 16px; margin-bottom: 20px; }
.award-copy h2 { font-size: 4vw; line-height: 1.2; }
.award-copy > p { font-size: 1.4vw; line-height: 1.4; margin-bottom: 36px; }
.awards-marquee img { width: 135px; height: 135px; margin-right: 24px; }
.stats { padding-bottom: 32px; }
.client-logo img { max-width: 150px; max-height: 80px; width: auto; }
.clients .section-heading { margin-bottom: 40px; }
.motto { padding: 48px 0; font-size: 7vw; line-height: 1; }
.testimonials .section-heading { justify-content: flex-start; margin-bottom: 32px; }
.testimonials { padding-top: 90px; padding-bottom: 160px; }
.testimonial-track { padding-block: 16px 48px; }
.testimonial-caption strong { font-weight: 500; }
.testimonial-dots { padding-top: 22px; }
.faq { padding: 64px 56px 24px; background: radial-gradient(ellipse at left,#204a2b55,transparent 60%); }
.faq .section-heading { margin-bottom: 36px; align-items: center; }
.faq .section-heading h2 { font-size: 48px; line-height: 1; }
.faq-track { gap: 0; }
.faq-card { flex: 0 0 100%; padding: 0; background: none; border: 0; border-radius: 0; }
.faq-card h3 { font-size: 20px; font-weight: 500; line-height: 24px; margin-bottom: 12px; }
.faq-card p { font-size: 14px; line-height: 20px; color: #fff; }
.slider-arrows { gap: 14px; }
.slider-arrows button { width: 64px; height: 48px; background: #fff; border: 0; color: #080808; }
.slider-arrows button:disabled { opacity: .5; }
.seo-copy { margin: 42px 0 0; padding: 30px 40px 24px; }
.seo-copy h2 { font-size: 20px; line-height: 30px; font-weight: 600; margin-bottom: 12px; }
.seo-copy p { font-size: 14px; line-height: 19.6px; margin-bottom: 16px; }
.contacts { width: 452px; flex-shrink: 0; }
.contact-card { min-height: 152px; }
.contact-card h3 { font-size: 16px; }
.contact-card a { font-size: 14px; line-height: 20px; }
.footer-about { width: 520px; }
.quick-links { width: 700px; }
.case-progress { display: none; }
@media(min-width:1025px) {
  #header nav { gap: 40px; margin-left: 148px; }
  #header { gap: 48px; }
  #header .menu-toggle { margin-left: auto; }
  .technology h2 { font-size: 4.5vw; line-height: 1.45; }
  .technology-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 85px; }
  .technology-tags a { padding: 18px 32px; }
  .technology-tags a:nth-child(1) { width: 192px; }
  .technology-tags a:nth-child(2) { width: 262px; }
  .technology-tags a:nth-child(3) { width: 246px; }
  .technology-tags a:nth-child(4) { width: 218px; }
  .technology-tags a:nth-child(5) { width: 232px; }
  .technology-tags a:nth-child(6) { width: 310px; }
  .technology-tags a:nth-child(7) { width: 222px; }
  .technology-tags a:nth-child(8) { width: 252px; }
  .projects-sticky { padding: 0; display: block; }
  .projects .section-heading { position: absolute; top: 50px; left: 0; }
  .case-track { position: absolute; top: 42.5vh; left: 0; }
  .case-progress { display: block; position: absolute; left: 18.75%; bottom: 56px; width: 62.5%; height: 3px; background: #d0d0d0; }
  .case-progress > span { display: block; height: 100%; background: #73c875; transform-origin: left; transform: scaleX(var(--case-progress,0)); }
  .case-progress::after { content: ''; position: absolute; left: calc(var(--case-progress,0) * 100%); top: -5px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #73c875; }
}
@media(min-width:1025px) and (max-width:1390px) {
  #header nav { margin-left: auto; gap: 24px; }
  #header { gap: 24px; }
}
@media(max-width:1024px) {
  .service-card { height: auto; min-height: 220px; }
  .awards { gap: 24px; grid-template-columns: 32% 1fr; }
  .award-copy h2 { font-size: 36px; }
  .award-copy > p { font-size: 16px; }
  .contacts { width: 42%; }
  .footer-about { width: 52%; }
  .quick-links { width: 100%; }
}
@media(max-width:600px) {
  .service-card { min-height: 180px; padding: 24px; }
  .services { padding-bottom: 48px; }
  .services .section-heading { margin-bottom: 32px; }
  .awards { display: flex; gap: 24px; }
  .award-copy h2 { font-size: 24px; }
  .award-copy > p { font-size: 14px; }
  .awards-marquee img { width: 100px; height: 100px; }
  .motto { font-size: 64px; padding: 32px 0; }
  .testimonials { padding: 48px 0 72px; }
  .faq { padding: 40px 16px 24px; }
  .faq .section-heading { flex-direction: row; align-items: center; margin-bottom: 28px; }
  .faq .section-heading h2 { font-size: 32px; }
  .slider-arrows button { width: 46px; height: 40px; }
  .faq-card h3 { font-size: 18px; }
  .seo-copy { padding: 24px; margin-top: 32px; }
  .seo-copy h2 { font-size: 18px; line-height: 26px; }
  .footer-about,.contacts { width: 100%; }
  .quick-links { width: 100%; }
}

.service-card:hover > img { transform: none; filter: brightness(0) invert(1); }
.service-card h3 { margin-top: auto; }
@media(min-width:1025px) {
  .stats { padding-top: 32px; }
  .projects { height: calc(100vh + 200vw + 414px); }
}
.pill:not(.rainbow) { background: linear-gradient(90deg,#06b22d80,#06b22d33); border-color: #337744; box-shadow: inset 0 0 6px #78d56088; font-weight: 500; }
.pill:not(.rainbow) .arrow { background: #06b22d80; }
.pill .arrow svg { width: 21px; height: 21px; }
.pill:hover .arrow { transform: none; }
.faq { background: radial-gradient(ellipse at left,#204a2b55,transparent 60%),#000; }
.testimonials { background: linear-gradient(transparent,#000 55%); }
.contacts { align-content: start; grid-auto-rows: 152px; }
.contact-card { background-color: #000; }
.footer-map { opacity: .45; }
@media(max-width:600px) {
  .section-heading { align-items: flex-start; }
  .services-grid .service-card { padding: 18px 14px; min-height: 205px; }
  .service-card > img { width: 35px; height: 35px; margin: 0 0 27px; }
  .service-card h3 { font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
  .service-card p { font-size: 12px; line-height: 1.5; }
  .awards { display: block; }
  .faq .section-heading { align-items: center; }
}

#galaxyfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; }

/* The awards mark retains the tall proportions of the original logo. */
@media (min-width: 1025px) { .award-art { height: 425px; } }

/* Fresh reference audit: shared card colors and the actual compact layout. */
.service-card:nth-child(n) { background: linear-gradient(135deg,#ffffff1a,#ffffff0a),radial-gradient(circle at top right,rgba(var(--card-tint),.25),transparent 60%); }
.service-card:nth-child(2),.service-card:nth-child(4),.service-card:nth-child(6) { --card-tint: 24,190,229; }
.service-card:nth-child(3) { --card-tint: 40,188,74; }
.service-card:nth-child(5) { --card-tint: 236,236,30; }
.service-card:hover { transform: none; border-color: rgb(var(--card-tint)); }
.service-card:hover h3,.service-card:hover .service-arrow { color: rgb(var(--card-tint)); }
.service-arrow { top: 28px; right: 24px; font-size: 32px; line-height: 40px; }
.feature-slide h2 span { font-size: 27px; line-height: 1; }
@media (max-width: 639px) {
  body::before { background: #000; }
  #starfield,#galaxyfield { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-grid .service-card { height: 180px; min-height: 180px; padding: 24px; border-radius: 24px; }
  .service-card > img { width: 40px; height: 40px; margin: 8px 0 8px 8px; }
  .service-card h3 { font-size: 20px; font-weight: 500; line-height: 27.5px; margin-bottom: 8px; }
  .service-card p { font-size: 16px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .awards { display: block; }
  .award-art { display: block; height: 340px; margin-bottom: 40px; background: radial-gradient(ellipse,#254b2255,transparent 70%); }
  .award-copy { display: grid; text-align: center; }
  .award-copy .section-heading { display: contents; }
  .award-copy h2 { order: 1; font-size: 24px; line-height: 1.2; margin-bottom: 20px; }
  .award-copy > p { order: 2; font-size: 14px; line-height: 1.4; text-align: center; margin-bottom: 24px; }
  .award-copy .pill { order: 3; width: 100%; justify-content: space-between; }
  .awards-marquee,.stats { display: none; }
  .clients { display: flex; flex-direction: column; }
  .clients-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); order: 1; }
  .client-logo { height: 128px; padding: 8px; }
  .client-logo img { width: 110px; max-width: 110px; height: 110px; max-height: 110px; object-fit: contain; }
  .clients-mobile { display: none; }
  .clients > .section-heading { order: 2; margin: 24px 0 64px; }
  .clients > .section-heading h2 { display: none; }
  .clients > .section-heading .pill { width: 100%; justify-content: space-between; }
  .case-card { flex-basis: calc(100vw - 32px); width: calc(100vw - 32px); padding: 16px; border-radius: 12px; }
  .case-card img { aspect-ratio: 2 / 1; border-radius: 12px; }
  .case-caption { left: 28px; right: 28px; bottom: 28px; }
  .case-caption h3 { font-size: 20px; margin-bottom: 8px; }
  .case-caption p { font-size: 16px; line-height: 22px; }
}

/* Source logo geometry is projected in the bottom 90vh, just like the original. */
#source-particle-logo{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#source-particle-logo[hidden]{display:none}
.feature-carousel{transition:filter .4s ease}
.feature-carousel.feature-changing{filter:blur(4px)}
.feature-slide{transition:opacity .4s,visibility .4s;transform:none}
@media(prefers-reduced-motion:reduce){.feature-carousel{transition:none;filter:none!important}.feature-slide{transition:none}}
#source-aurora{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#source-aurora[hidden]{display:none}
