/* ============================================================
   RESPONSIVE — Albatross Analytics
   Breakpoints: 1024px (tablet), 768px (large mobile), 480px (mobile)
   ============================================================ */

/* --- TABLET --- */
@media (max-width: 1024px) {

  /* Nav */
  #nav { padding: 20px 32px; }

  /* What We Do */
  .section-what {
    grid-template-columns: 100px 1fr;
    gap: 32px;
    padding: 48px 32px;
  }

  /* Services */
  .section-services { padding: 0 32px 48px; }

  .service-card { padding: 40px 32px; }

  .service-title { font-size: clamp(22px, 2vw, 28px); }

  /* Contact */
  .section-contact { padding: 48px 32px; }

  /* Footer */
  #footer { padding: 28px 32px; }
}

/* --- LARGE MOBILE / SMALL TABLET --- */
@media (max-width: 768px) {

  /* Nav — show hamburger */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 13, 0.98);
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 90;
    backdrop-filter: blur(8px);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 5px;
    color: #a8c4d8;
  }

  .nav-toggle { display: flex; }

  #nav { padding: 20px 24px; }

  /* Hero */
  .hero { min-height: 100svh; padding-bottom: 48px; }

  .hero-tagline {
    font-size: 8px;
    letter-spacing: 5px;
  }

  /* What We Do */
  .section-what {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 48px 24px;
  }

  .what-body {
    font-size: clamp(18px, 4vw, 24px);
  }

  /* Services */
  .section-services { padding: 0 24px 48px; }

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

  .service-card {
    padding: 36px 24px;
  }

  .service-title {
    font-size: 28px;
  }

  .service-desc {
    font-size: 13px;
  }

  /* Contact */
  .section-contact { padding: 48px 24px; }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .btn-submit {
    width: 100%;
    text-align: center;
    padding: 16px;
  }

  /* Footer */
  #footer {
    padding: 32px 24px;
    gap: 16px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .divider { display: none; }
}

/* --- MOBILE --- */
@media (max-width: 480px) {

  /* Nav */
  .logo-main { font-size: 10px; letter-spacing: 4px; }
  .logo-sub { font-size: 8px; letter-spacing: 5px; }

  /* Hero */
  .hero-tagline {
    font-size: 7px;
    letter-spacing: 4px;
  }

  /* What We Do */
  .section-what { padding: 40px 20px; }

  .what-body { font-size: 18px; line-height: 1.7; }

  /* Services */
  .section-services { padding: 0 20px 40px; }

  .service-card { padding: 32px 20px; }

  .service-title { font-size: 26px; }

  .service-list li {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  /* Contact */
  .section-contact { padding: 40px 20px; }

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

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 14px 12px;
  }

  /* Footer */
  #footer { padding: 28px 20px; }

  .footer-logo { font-size: 16px; }

  .footer-copy { font-size: 8px; }
}

/* --- LARGE SCREENS --- */
@media (min-width: 1400px) {
  .section-what,
  .section-services,
  .section-contact,
  #footer {
    padding-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2));
    padding-right: max(var(--gutter), calc((100vw - var(--max-width)) / 2));
  }
}

/* --- SAFE AREA (iPhone notch / home bar) --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}