/* Usability fixes layered over the original AN OS console design. */
:root { --text: #c1ccdc; --muted: #a8b6cc; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:is(a, button, summary, input, textarea):focus-visible { outline: 2px solid #82c8ff; outline-offset: 5px; }
button { touch-action: manipulation; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 3000; padding: 14px 20px; background: #dbeeff; color: #051226; border-radius: 8px; }
.skip-link:focus { top: 15px; }
.page { scroll-margin-top: 180px; }
.page h1[tabindex="-1"]:focus { outline: none; }
.nav-btn { min-height: 44px; font-size: 12px; color: #b5c2d6; white-space: nowrap; flex-shrink: 0; }
.nav-btn.active { color: white; }
.main-nav { padding: 5px 4px; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.brand span { color: #a5b4cb; }
.eyebrow { font-size: 10px; line-height: 1.6; }
.hero-description { font-size: 16px; }
.module-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.module-actions .primary-btn { min-height: 44px; font-size: 14px; }
.quick-link { min-height: 44px; font-size: 12px; color: #b5c2d8; }
.page-heading p { font-size: 16px; line-height: 1.75; }
.testimonial-card p { font-size: 16px; line-height: 1.75; }
.testimonial-person { font-size: 14px; }
.bottom-controls { left: 0; right: 0; bottom: 0; padding: 12px 42px; min-height: 64px; color: #b1bfd3; font-size: 11px; background: linear-gradient(0deg, rgba(2, 8, 22, .98), rgba(2, 8, 22, .88) 65%, transparent); }
#return-boot { min-height: 44px; color: #b4c7e0; font-size: 12px; }
.boot-content { padding: 24px; }
.boot-controls { font-size: 12px; color: #b5c4d9; }
.boot-message { line-height: 1.6; }
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 26px; }
.project-image { height: auto; aspect-ratio: 1363 / 936; border-radius: 12px; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-card:hover .project-image img { transform: none; }
/* Older captures share a 120 px browser toolbar. Clip it through layout,
   keeping the complete website width and original image proportions. */
.project-image.legacy-preview { aspect-ratio: 1919 / 912; }
.legacy-preview img { position: absolute; top: 0; width: 100%; height: auto; transform: translateY(-11.63%); }
.project-card:hover .legacy-preview img { transform: translateY(-11.63%); }
.project-type { font-size: 10px; top: auto; bottom: 12px; background: rgba(3, 10, 23, .94); }
.project-number { font-size: 11px; letter-spacing: 1px; }
.project-info h2 { font-size: 22px; margin-top: 10px; line-height: 1.3; }
.project-kind { display: block; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.2px; color: #a5c2e2; margin-top: 9px; }
.project-info p { min-height: 0; color: #bac8dc; font-size: 15px; line-height: 1.7; margin-top: 14px; }
.tech-tags { gap: 6px; margin-top: 18px; }
.tech-tags span { font-size: 11px; color: #bfcee3; border-color: #30445e; padding: 5px 8px; border-radius: 4px; }
.project-btn { font-size: 13px; min-height: 44px; padding: 11px 15px; }
.project-story { margin-top: 20px; padding-top: 14px; border-top: 1px solid #2b4059; }
.project-story summary { font-size: 14px; color: #c1e2ff; cursor: pointer; min-height: 36px; }
.project-story dl { padding: 6px 0 0; }
.project-story dt, .client-story dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #97c9f7; margin: 15px 0 6px; }
.project-story dd, .client-story dd { font-size: 14px; line-height: 1.7; color: #c0cee0; }
.client-image { height: auto; aspect-ratio: 1363 / 936; }
.client-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.client-info p { font-size: 16px; line-height: 1.7; }
.client-visit-btn { font-size: 13px; min-height: 44px; }
.client-actions { margin-top: 24px; }
.services-area { margin: 0 0 70px; }
.service-title h3 { font-size: 22px; }
.service-title p { font-size: 15px; color: #c0ccdf; }
.service-title > span { font-size: 10px; }
.service-toggle { color: #a8c9ed; font-size: 11px; }
.service-details li { font-size: 15px; color: #becbe0; }
.more-services { margin-top: 25px; border-bottom: 1px solid var(--border); padding-bottom: 25px; }
.more-services > summary { padding: 10px 0; font-size: 17px; cursor: pointer; color: #c6e3ff; }
.more-services > summary span { display: block; font-size: 14px; color: #adbed4; margin-top: 8px; margin-left: 21px; }
.specialist-services { margin-top: 22px; }
.services-cta { margin-top: 30px; }
.form-group label { font-size: 13px; color: #c6d2e5; }
.form-group input, .form-group textarea { font-size: 16px; }
.form-status { font-size: 14px; line-height: 1.6; }
.contact-item span { font-size: 11px; color: #a3c8ec; }
.contact-item strong { font-size: 15px; }

@media (max-width: 1150px) {
  .topbar { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; margin: 12px 0 0; overflow-x: auto; padding: 5px 4px; }
  .page-container { padding-top: 180px; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topbar { padding: 12px 18px; }
  .main-nav { gap: 7px; margin-top: 10px; }
  .nav-btn { font-size: 12px; padding: 10px 12px; }
  .page-container { padding: 170px 20px 100px; }
  .hero h1 { font-size: clamp(48px, 11vw, 72px); letter-spacing: -3px; line-height: .98; }
  .hero-description { font-size: 16px; }
  .home-divider { margin: 36px 0 24px; }
  .selected-module { gap: 18px; }
  .module-number { width: 44px; height: 44px; font-size: 14px; }
  .module-content { min-width: 0; }
  .module-content p { font-size: 15px; }
  .module-actions { gap: 10px; margin-top: 20px; }
  .module-actions .primary-btn { margin-top: 0; padding: 11px 15px; font-size: 13px; gap: 14px; }
  .quick-links { gap: 8px 20px; margin-top: 28px; }
  .home-section { margin-top: 48px; }
  .section-title { font-size: 25px; }
  .feedback-counter { flex-direction: row; }
  .counter-line { width: 25px; height: 1px; }
  .feedback-shell { padding: 20px; }
  .feedback-slider { display: grid; }
  .testimonial-card { position: relative; grid-area: 1 / 1; }
  .projects-grid, .clients-grid { grid-template-columns: 1fr; }
  .page-heading h1 { font-size: clamp(36px, 10vw, 50px); letter-spacing: -1.5px; }
  .page-heading p { font-size: 16px; }
  .service-header { padding: 20px 16px; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .service-title h3 { font-size: 20px; }
  .service-title p { font-size: 14px; line-height: 1.6; }
  .service-details-inner, .service-dropdown.open .service-details-inner { padding-left: 22px; padding-right: 22px; }
  .service-details li { font-size: 14px; }
  .client-info { padding: 22px; }
  .contact-item { padding: 18px; }
  .contact-form { padding: 22px 18px; }
  .bottom-controls { padding: 8px 20px; justify-content: flex-end; }
  .more-services > summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .boot-particles, .ambient-particles { display: none; }
}
