/* Shared responsive and reduced-motion rules. */
@media (max-width: 1280px) {
  :root {
    --header-height: 76px;
  }

  .global-primary-nav,
  .global-header .header-cta {
    display: none !important;
  }

  .global-header .menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-footer .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .home-slider-hero,
  .hero-slider,
  .hero-slider-track,
  .hero-slide,
  .hero-slide-content {
    min-height: 680px !important;
  }

  .hero-slide-overlay {
    background: linear-gradient(90deg, rgba(3,12,22,.93), rgba(3,12,22,.68));
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .mobile-nav {
    top: calc(var(--header-height) + 46px);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .entry-shell,
  .archive-shell {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 72px;
  }

  .entry-title,
  .archive-title {
    font-size: 40px;
  }

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

  .site-logo img {
    width: 135px;
    max-height: 39px;
  }

  .mobile-menu-brand img {
    width: 155px;
  }

  .footer-logo img {
    width: 185px;
  }

  .global-mobile-nav {
    padding-right: 16px;
    padding-left: 16px;
  }

  .global-footer .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .global-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-slider-hero,
  .hero-slider,
  .hero-slider-track,
  .hero-slide,
  .hero-slide-content {
    min-height: 710px !important;
  }

  .hero-slide-content {
    padding-top: 105px;
    padding-bottom: 115px;
  }

  .home-slider-hero h1,
  .hero-slide-title {
    font-size: 39px !important;
  }

  .home-slider-hero .hero-copy > p:not(.hero-slide-title) {
    font-size: 15px !important;
  }

  .home-slider-hero .hero-actions {
    display: grid;
  }

  .home-slider-hero .hero-actions .button {
    width: 100%;
  }

  .hero-slider-controls {
    right: 16px;
    bottom: 30px;
  }

  .slider-status {
    bottom: 78px;
    left: 16px;
  }
}

@media (max-width: 420px) {
  .global-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .global-footer .footer-brand {
    grid-column: auto;
  }

  .home-slider-hero h1,
  .hero-slide-title {
    font-size: 35px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide.is-active .hero-slide-image {
    transform: none !important;
  }
}
