@media (max-width: 1080px) {
  :root { --container: min(100% - 40px, 960px); }
  .brand img { width: 220px; }
  .site-nav ul { gap: 10px; }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
  .support-card { min-height: 240px; }
  .page-layout { grid-template-columns: 210px 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  :root { --container: calc(100% - 32px); }
  .site-header { height: 72px; }
  .brand img { width: 220px; }
  .nav-toggle { position: absolute; top: 14px; right: 16px; z-index: 2; display: grid; background: var(--green); border-color: var(--green); }
  .nav-toggle img { filter: brightness(0) invert(1); }
  .site-nav { position: fixed; inset: 72px 0 auto; max-height: 0; overflow: hidden; background: #fff; box-shadow: 0 14px 30px rgba(31,66,36,.12); transition: max-height .3s ease; }
  .site-nav.open { max-height: 440px; }
  .site-nav ul { display: block; padding: 8px 20px 20px; }
  .site-nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .home-hero { min-height: 360px; padding: 30px 24px 75px; }
  .intro-grid, .showcase-grid { grid-template-columns: 1fr; }
  .document-columns { grid-template-columns: 1fr; }
  .document-panel ul { column-gap: 30px; }
  .carousel-slide { flex-basis: 50%; }
  .carousel-shell { padding-inline: 50px; }
  .carousel-button.prev { left: 0; }
  .carousel-button.next { right: 0; }
  .page-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; border-top-width: 2px; }
  .side-nav h2 { display: none; }
  .side-nav a { flex: 0 0 auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .image-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { align-items: flex-start; }
  .site-footer::after { width: 90vw; height: 350px; opacity: .9; }
  .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
  .section-remote { right: 8px; width: 44px; padding: 6px; }
  .section-remote p { display: none; }
  .section-remote a { height: 36px; padding: 0; }
  .section-remote a span { position: absolute; right: 48px; top: 50%; display: none; width: 78px; padding: 5px 8px; color: #fff; background: var(--green-dark); text-align: center; transform: translateY(-50%); }
  .section-remote a:hover span,
  .section-remote a:focus-visible span { display: block; }
  .section-remote a::before { left: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); }
}
@media (max-width: 600px) {
  :root { --container: calc(100% - 28px); }
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .header-inner { gap: 14px; }
  .brand img { width: min(220px, calc(100vw - 96px)); }
  .section-heading { justify-content: space-between; margin-bottom: 22px; }
  .section-heading::before, .section-heading::after { display: none; }
  .section-heading h2 { margin: 0; font-size: 27px; letter-spacing: .08em; white-space: normal; }
  .section-heading h2::before, .section-heading h2::after { display: none; }
  .more-link { position: static; transform: none; }
  .home-hero {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    min-height: 308px;
    padding: 30px 16px 75px;
    background-color: #eaf5ed;
    background-position: 44% center;
  }
  .hero-content { transform: translateY(-8px); }
  .home-hero h1 { max-width: 100%; gap: 0 .16em; font-size: 38px; line-height: 1.45; letter-spacing: .03em; }
  .home-hero h1 span:last-child { flex-basis: 100%; }
  .home-hero p { width: min(94%, 440px); max-width: none; margin-inline: auto; padding: 8px 10px; font-size: 19px; line-height: 1.7; letter-spacing: .02em; border-width: 3px; overflow-wrap: anywhere; word-break: break-all; }
  .home-hero p span { display: block; }
  .intro-grid { gap: 28px; }
  .play-button { width: 58px; height: 58px; }
  .document-panel { padding-inline: 16px; }
  .document-panel ul { display: block; }
  .document-panel .document-item { border-bottom: 0; }
  .support-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .support-card { min-height: 230px; padding: 26px 10px 20px; }
  .support-card h3 { font-size: 17px; }
  .showcase-grid { gap: 24px; }
  .carousel-shell { padding-inline: 44px; }
  .carousel-slide { flex-basis: 100%; }
  .carousel-button.prev { left: 0; }
  .carousel-button.next { right: 0; }
  .gallery-lightbox { padding: 70px 16px 34px; }
  .gallery-lightbox-button { top: auto; bottom: 18px; width: 46px; height: 46px; }
  .gallery-lightbox-button.prev { left: calc(50% - 58px); }
  .gallery-lightbox-button.next { right: calc(50% - 58px); }
  .gallery-lightbox-close { top: 16px; right: 16px; }
  .gallery-lightbox-image { max-height: calc(100vh - 190px); }
  .video-modal { padding: 74px 14px 34px; }
  .video-modal-body { width: 100%; }
  .video-modal-close { top: 16px; right: 16px; }
  .page-hero { min-height: 188px; }
  .page-hero h1 { font-size: 30px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .file-row { grid-template-columns: 1fr; gap: 12px; }
  .application-file-list .file-row { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .file-actions { padding-left: 50px; }
  .material-grid, .video-list, .image-list-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 1fr; gap: 5px; }
  .news-list span { display: none; }
  .footer-inner { min-height: 250px; }
  .footer-brand { max-width: 68%; }
  .site-footer::after { right: -24%; width: 125vw; height: 300px; opacity: .65; }
  .article-layout { grid-template-columns: 1fr; gap: 26px; }
  .article-sidebar { position: static; }
  .portal-back { position: absolute; top: 82px; left: 8px; width: 36px; height: 36px; }
  .section-remote { right: 6px; width: 38px; }
  .section-remote a { height: 32px; }
}
@media (max-width: 380px) {
  .brand img { width: 190px; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
