/* Desktop composition rebuilt as live page sections. Only the decorative hero
   artwork comes from the supplied visual reference. */
.brand-logo,.hero-logo,.banner-logo { mix-blend-mode: normal; }
.contact-banner::after { bottom: -90px; }
.banner-copy { text-shadow: 0 2px 5px #01040de0; }
.work-preview-link { color: inherit; }
.work-card .work-art { height: auto; aspect-ratio: 2.08; display: grid; place-items: center; }
.work-card .laptop { width: 90%; height: auto; transform: perspective(500px) rotateX(7deg) rotateY(-3deg); }
.work-card .laptop-screen { height: auto; aspect-ratio: 960 / 442; padding: 0; background: #0b1020; }
.work-card .laptop-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 800px) {
  .brand-logo img { width: 100px; height: 100px; left: -2px; top: -20px; }
  .banner-logo img { width: 113px; height: 113px; left: 0; top: -20px; }
  .hero { overflow: visible; }
  .services { position: relative; z-index: 3; }
  .hero-visual .hero-art { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); width: min(105%,528px); height: auto; max-width: none; }
}
@media (max-width: 520px) {
  .banner-logo img { width: 95px; height: 95px; left: -5px; top: -15px; }
}
@media (min-width: 801px) {
  html { scrollbar-width: auto; }
  body { padding: 5px 0 20px; background: #000; }
  .page-frame { display: block; width: 990px; max-width: none; margin: 0 auto; zoom: var(--design-scale, 1); border: 1px solid #4169a9; border-radius: 14px; }
  .browser-bar { display: none; }
  .cosmos { background: linear-gradient(#01030aaa,#01030abe), url('assets/cosmic-nebula.webp') center/100% 100% no-repeat; }
  .cosmos::before { background-size: 233px 173px,317px 211px,411px 283px,367px 259px,191px 307px; }
  .site-header { height: 78px; padding: 0 73px 0 84px; gap: 28px; }
  .brand-logo { width: 102px; height: 67px; }
  .brand-logo img { width: 106px; height: 106px; left: 0; top: -18px; }
  .brand-logo img,.hero-logo img,.banner-logo img { mix-blend-mode: normal; }
  .nav-divider { margin-left: 18px; height: 23px; }
  .site-nav { gap: 30px; margin: 0 auto 0 13px; }
  .site-nav a { font-size: 16px; font-weight: 500; padding: 29px 0; }
  .site-nav .nav-active::after { bottom: 19px; }
  .header-button { padding: 8px 16px; margin: 0 0 0 auto; }

  .hero { display: block; height: 309px; min-height: 0; padding: 0; overflow: visible; }
  .hero-content { position: absolute; left: 102px; top: 18px; width: 355px; padding: 0; }
  .hero .eyebrow { font-size: 16px; margin-bottom: 10px; white-space: nowrap; }
  .hero h1 { font-size: 47px; line-height: .99; margin-bottom: 11px; letter-spacing: -.036em; }
  .hero-lead { max-width: 330px; font-size: 16px; line-height: 1.22; margin-bottom: 18px; }
  .hero-actions { gap: 19px; }
  .hero-actions .neon-button,.hero-actions .outline-button { padding: 8px 16px; font-size: 16px; }
  .hero-benefits { gap: 20px; margin-top: 15px; font-size: 16px; }
  .hero-benefits span { font-size: 18px; }
  .hero-visual { position: absolute; z-index: 2; left: 487px; top: 0; width: 450px; height: 310px; }
  .hero-art { position: absolute; z-index: 1; left: -70px; top: -45px; width: 573px; height: 420px; max-width: none; pointer-events: none; }

  .section-block { padding-left: 56px; padding-right: 56px; }
  .section-heading { margin-bottom: 14px; }
  .section-kicker { font-size: 16px; margin-bottom: 4px; }
  .section-heading h2 { font-size: 27px; margin-bottom: 4px; }
  .section-heading > p:last-child { font-size: 16px; line-height: 1.2; }
  .services { height: 246px; padding-top: 11px; padding-bottom: 0; }
  .services .section-heading,.services .service-grid { position: relative; z-index: 3; }
  .services .section-heading { margin-bottom: 13px; }
  .services .section-heading > p:last-child { max-width: 420px; }
  .service-grid { grid-template-columns: 214px 208px 207px 210px; gap: 15px; }
  .service-card { height: 135px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; background: linear-gradient(#091731,#071021) padding-box,linear-gradient(120deg,#43e9ff,#2348b1 49%,#a02bff) border-box; box-shadow: inset 0 0 17px #114c8d77,0 0 12px #0288ff33; overflow: hidden; }
  .service-grid > .service-card { background-image: linear-gradient(#091731,#071021),linear-gradient(120deg,#43e9ff,#2348b1 49%,#a02bff); background-position: center; background-size: 100% 100%; }
  .service-card .service-icon { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 28px; margin-bottom: 4px; }
  .service-card h3 { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 16px; }
  .service-card p { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 16px; }
  .service-card .card-arrow { inset: auto 11px 10px auto; width: 25px; height: 22px; opacity: 1; }
  .service-card:hover,.work-card:hover { outline: 2px solid #8ff5ff; outline-offset: 2px; }

  .portfolio { height: 301px; padding-top: 7px; padding-bottom: 0; }
  .portfolio .section-heading { margin-bottom: 14px; }
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .work-card { height: auto; aspect-ratio: auto; border: 1px solid #435b88; border-radius: 8px; background: #08142b; box-shadow: none; }
  .portfolio-grid > .work-card { background-image: none; }
  .work-card .work-art { display: grid; height: auto; aspect-ratio: 2.08; place-items: center; }
  .work-card .work-info > div { display: block; }
  .work-card .work-info { position: static; padding: 5px 12px; min-height: 40px; }
  .work-card .work-info a { position: static; display: block; opacity: 1; }
  .portfolio-button { margin-top: 12px; padding: 6px 17px; font-size: 16px; }

  .process { height: 156px; padding-top: 8px; padding-bottom: 0; }
  .process .section-heading { margin-bottom: 8px; }
  .process .section-heading h2 { font-size: 22px; }
  .process-icon { width: 39px; height: 39px; font-size: 16px; margin-bottom: 5px; }
  .process-grid::before { top: 19px; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { font-size: 16px; }

  .values { display: grid; grid-template-columns: .95fr repeat(3,1fr); gap: 13px; align-items: center; width: auto; height: 149px; margin: 0; padding: 8px 46px 14px; background: none; cursor: auto; }
  .values > * { position: static; width: auto; height: auto; overflow: visible; clip-path: none; visibility: visible; }
  .contact-banner { height: 90px; min-height: 0; margin: 12px 27px 0; padding: 8px 64px 8px 105px; gap: 23px; }
  .banner-logo { width: 148px; height: 70px; }
  .banner-logo img { width: 125px; height: 125px; top: -27px; left: 16px; }
  .banner-copy { padding-left: 32px; }
  .banner-copy h2 { font-size: 22px; }
  .banner-copy p { font-size: 16px; }
  .banner-email { display: none; }
  .contact-banner > .neon-button { padding: 9px 18px; }
  .site-footer { grid-template-columns: 1.2fr .8fr 1fr .7fr; padding: 14px 46px 8px; gap: 20px; }
  .site-footer > div { min-height: 56px; }
  .site-footer > div + div { padding-left: 21px; }
  .site-footer strong { font-size: 21px; }
  .site-footer p,.site-footer a { font-size: 16px; }
  .site-footer small { padding-top: 7px; }
}
/* Existing public destinations remain discoverable in the redesigned footer. */
.site-footer { grid-template-columns: 1.15fr .75fr .75fr 1fr .7fr; }
@media (max-width: 800px) { .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer > div:nth-child(5) { grid-column: 1 / -1; } }

/* Motion sits over the existing cosmic artwork, so the layout and imagery stay intact. */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -8% -4% -12%;
  pointer-events: none;
  background: radial-gradient(ellipse 12% 85% at 87% 42%, rgba(16, 221, 240, .3), transparent 75%),
    radial-gradient(ellipse 9% 86% at 79% 25%, rgba(85, 72, 231, .23), transparent 76%),
    radial-gradient(ellipse 14% 75% at 9% 51%, rgba(189, 45, 210, .16), transparent 78%);
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: aurora-flow 13s ease-in-out infinite alternate;
}
.hero-art { animation: planet-float 8s ease-in-out infinite; }
.planet-atmosphere {
  position: absolute;
  z-index: 2;
  left: 3%;
  right: 3%;
  bottom: -9%;
  height: 28%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 8%, rgba(30, 207, 255, .19), rgba(62, 79, 229, .09) 35%, transparent 68%);
  filter: blur(12px);
  animation: planet-glow 6s ease-in-out infinite alternate;
}
@keyframes aurora-flow {
  from { transform: translate3d(-2%, 0, 0) skewX(-5deg); opacity: .5; }
  to { transform: translate3d(3%, -3%, 0) skewX(6deg); opacity: .95; }
}
@keyframes planet-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes planet-glow {
  from { opacity: .35; transform: scaleX(.92); }
  to { opacity: .85; transform: scaleX(1.08); }
}
@media (max-width: 800px) {
  .planet-atmosphere { bottom: -20%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-art, .planet-atmosphere { animation: none !important; }
}
.site-nav .language-switcher { display:flex; align-items:center; gap:5px; margin-left:10px; } .site-nav .language-switcher button { display:grid; place-items:center; width:27px; height:24px; padding:2px; border:1px solid transparent; background:transparent; border-radius:5px; cursor:pointer; opacity:.72; } .site-nav .language-switcher button[aria-pressed="true"] { border-color:#35d7ff; opacity:1; } .site-nav .language-switcher img { width:19px; height:14px; object-fit:cover; }
@media (min-width: 801px) {
  .site-header { gap: 16px; }
  .site-nav { gap: 18px; }
  .site-nav .language-switcher { margin-left: 0; }
}
@media (max-width: 800px) {
  .site-nav .language-switcher { margin: 6px 0 0; padding: 10px 0 0; border-top: 1px solid #29466b; }
  .site-nav .language-switcher button { width: 34px; height: 30px; }
}
