@media (max-width: 1120px) {
  .primary-nav { gap: 1rem; }
  .brand-copy small { display: none; }
  .hero-shell { grid-template-columns: 1fr; }
  .faba-process { grid-template-columns: repeat(3, minmax(0,1fr)); border-bottom: 0; }
  .faba-process article { border-bottom: 1px solid var(--line-light); }
  .faba-process article:nth-child(3) { border-right: 0; padding-right: 0; }
  .faba-process article:nth-child(4) { padding-left: 0; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 84px; height: 50px; }

  body::before { content: ""; position: fixed; inset: 0; z-index: 90; background: rgba(7,27,53,0.46); opacity: 0; visibility: hidden; pointer-events: none; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: opacity 280ms ease, visibility 280ms ease; }
  body.nav-open::before { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-header { z-index: 100; }
  .menu-toggle { display: block; position: relative; z-index: 130; }
  .primary-nav { position: fixed; inset: 0 0 0 auto; z-index: 120; width: min(86vw, 380px); height: 100dvh; display: grid; align-content: start; gap: 0; padding: 94px 24px 30px; overflow-y: auto; background: rgba(243,247,245,0.99); border-left: 1px solid var(--line); border-radius: 26px 0 0 26px; box-shadow: -24px 0 60px rgba(10,37,74,0.18); transform: translateX(105%); transition: transform 320ms cubic-bezier(.2,.8,.2,1); }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a, .site-header:not(.is-scrolled) .primary-nav a { color: var(--graphite); padding: 1rem 0.15rem; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
  .primary-nav a::after { display: none; }
  .nav-cta { margin-top: 1rem; padding: 0.95rem 1rem !important; text-align: center; border: 0 !important; background: var(--navy); color: var(--white) !important; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { min-height: 700px; }
  .hero-shell { grid-template-columns: 1fr; align-content: center; padding-top: 124px; padding-bottom: 54px; }
  .hero-main { padding: 0; }
  .hero::after { background: linear-gradient(90deg, rgba(5,27,55,0.95), rgba(5,27,55,0.68)), linear-gradient(0deg, rgba(5,27,55,0.38), transparent 55%); }

  .editorial-head, .services-intro, .equipment-head, .workflow-head, .faba-head { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-lead p { max-width: 760px; }
  .how-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .how-strip article:nth-child(2) { border-right: 0; }
  .how-strip article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .how-strip article:nth-child(3) { padding-left: 0; }

  .vision-statement { grid-template-columns: 1fr; gap: 1rem; }
  .vision-statement > p:last-child { max-width: 800px; }
  .mission-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mission-block:nth-child(2) { border-right: 0; }
  .mission-block:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .service-content { grid-template-columns: 1fr; gap: 0.8rem; }
  .service-content > h3, .service-summary, .service-scope { grid-column: 1; }
  .service-scope { grid-row: auto; margin-top: 0.8rem; }
  .services-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-nav { position: static; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .services-nav nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; padding-bottom: 1.5rem; }

  .equipment-slide { grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1.15fr); min-height: 350px; }
  .equipment-copy { padding-right: 2rem; }
  .equipment-photo { height: 350px; }
  .workflow-layout { grid-template-columns: 1fr; }
  .workflow-sticky { position: static; min-height: 0; padding: 2rem 0 3.5rem; }
  .workflow-track { border-top: 1px solid var(--line); border-left: 0; }
  .workflow-step { grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr); }

  .hse-shell { grid-template-columns: 1fr; }
  .hse-copy { position: static; }
  .why-content { grid-template-columns: 1fr; gap: 1.5rem; }

  .contact-intro { grid-template-columns: 1fr; gap: 1rem; }
  .contact-hub { grid-template-columns: 1fr; }
  .contact-details { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand-copy { display: none; }
  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }

  .editorial-head, .services-intro, .equipment-head, .workflow-head, .faba-head, .vision-statement, .why-head, .contact-intro { min-height: 0; }

  .how-strip { grid-template-columns: 1fr; }
  .how-strip article, .how-strip article:first-child, .how-strip article:nth-child(3), .how-strip article:last-child { min-height: 0; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .how-strip article:last-child { border-bottom: 0; }
  .how-strip h3 { margin-top: 0.7rem; }

  .mission-grid { grid-template-columns: 1fr; }
  .mission-block { min-height: 0; padding: 1.35rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-block:last-child { border-bottom: 0; }
  .mission-block h3 { margin-top: 1.8rem; }

  .faba-process { grid-template-columns: 1fr; }
  .faba-process article, .faba-process article:first-child, .faba-process article:nth-child(3), .faba-process article:nth-child(4), .faba-process article:last-child { min-height: 0; padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .faba-process article:last-child { border-bottom: 0; }
  .faba-process h3 { margin-top: 0.65rem; }

  .services-nav nav { grid-template-columns: 1fr; }
  .services-nav a { padding-block: 0.7rem; }
  .service-content > h3 { font-size: 1.75rem; }
  .service-visual { aspect-ratio: 4 / 3; }
  .equipment-carousel { margin-top: 1.8rem; }
  .equipment-slide { grid-template-columns: 1fr; min-height: 0; }
  .equipment-copy { min-height: 230px; padding: 1.2rem 0 1.8rem; }
  .equipment-copy h3 { font-size: 2rem; }
  .equipment-copy p { margin-top: 1rem; }
  .equipment-photo { height: 240px; }
  .equipment-controls { position: static; justify-content: center; margin-top: 1.15rem; }

  .workflow-step { grid-template-columns: 1fr; min-height: 0; }
  .workflow-symbol { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-copy { min-height: 230px; padding: 1.8rem 1.2rem; }
  .workflow-copy h3 { margin-top: 1.1rem; }

  .hse-grid { grid-template-columns: 1fr; }
  .hse-item, .hse-item:nth-child(2n), .hse-item:nth-last-child(-n + 2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .hse-item:last-child { border-bottom: 0; }
  .hse-item h3 { margin-top: 1.4rem; }

  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(2n), .why-item:nth-last-child(-n + 2) { min-height: 0; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .why-item:last-child { border-bottom: 0; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form .button { width: 100%; }
}
