
/* ========================================
   21. RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section {
    padding-left: clamp(24px, 4vw, 48px);
    padding-right: clamp(24px, 4vw, 48px);
  }

  .topbar {
    padding: 0 clamp(24px, 4vw, 48px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-left {
    min-height: auto;
    padding: 48px;
  }

  .contact-right {
    min-height: auto;
    padding: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 48px;
  }

  .topbar {
    padding: 0 20px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 90px;
    align-items: flex-start;
  }

  .hero-word {
    white-space: nowrap;
    overflow: hidden;
  }

  .hero-subtitle {
    font-size: 15px;
    max-width: 100%;
    margin-top: 20px;
  }

  .hero-ctas {
    margin-top: 24px;
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    position: static;
    margin-top: 32px;
    gap: 24px;
    justify-content: flex-start;
  }

  .stat-value {
    font-size: 28px;
  }

  /* Solutions — vertical stack on mobile, no horizontal scroll */
  .solutions-track {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .solution-card {
    min-width: unset;
    width: 100%;
    padding: 24px;
  }

  .solutions .section-inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  /* Tech panels */
  .tech-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .tech-panel:nth-child(even) {
    direction: ltr;
  }

  .technology {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .tech-name {
    font-size: 22px;
  }

  .tech-desc {
    font-size: 14px;
  }

  .spec-value {
    font-size: 16px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(24px, 6vw, 40px);
  }

  /* Section inner */
  .section-inner {
    padding: 40px 0;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-left,
  .contact-right {
    padding: 32px 20px;
    min-height: auto;
  }

  .contact-form {
    max-width: 100%;
  }

  /* Buttons */
  .btn {
    padding: 12px 28px;
    font-size: 12px;
  }

  /* Footer */
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-inner {
    padding: 40px 20px;
  }

  /* Watermark — smaller on mobile */
  .section-watermark {
    font-size: clamp(80px, 20vw, 200px);
    right: -2%;
  }

  /* Timeline */
  .timeline {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 13px;
  }

  .section {
    padding: 16px;
    padding-top: 40px;
  }

  .topbar {
    height: 56px;
    padding: 0 16px;
  }

  .topbar-logo img {
    height: 24px;
  }

  .topbar-logo-text {
    font-size: 13px;
  }

  .hero {
    padding-top: 72px;
  }


  .hero-subtitle {
    font-size: 14px;
  }

  .about-grid {
    gap: 20px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p:not(.about-headline-sub),
  .about-lead {
    font-size: 14px;
  }

  .tech-panel {
    padding: 20px;
    gap: 16px;
    border-radius: 16px;
  }

  .tech-name {
    font-size: 20px;
  }

  .solution-card {
    padding: 20px;
    border-radius: 16px;
  }

  .solution-title {
    font-size: 18px;
  }

  .solution-desc {
    font-size: 14px;
  }

  .timeline-track {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-year {
    font-size: 22px;
  }

  .timeline-title {
    font-size: 16px;
  }

  .timeline-desc {
    max-width: 100%;
  }

  .contact-left h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .contact-left,
  .contact-right {
    padding: 24px 16px;
  }
}

/* ========================================
   22. UTILITY CLASSES
   ======================================== */

.no-scroll {
  overflow: hidden;
}

/* ========================================
   23. PRINT STYLES
   ======================================== */

@media print {
  body {
    background-color: white;
  }

  .topbar,
  .side-nav,
  .hamburger,
  .grain-overlay,
  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  .section {
    page-break-inside: avoid;
    padding: 20px;
  }
}
