/*
 * Final mobile normalization layer.
 * Loaded after every template stylesheet so all page families share one viewport.
 */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    font-size: 15px;
    line-height: 1.65;
  }

  main,
  section,
  header,
  footer,
  nav {
    max-width: 100%;
  }

  main *,
  footer * {
    min-width: 0;
  }

  img,
  svg,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .container,
  .prototype-container,
  .landing-container,
  .contact-container,
  .footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 20px !important;
  }

  .nav-inner {
    width: 100%;
    max-width: 100%;
    height: 68px;
    padding-inline: 20px !important;
  }

  .nav-logo {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
  }

  .nav-logo img {
    width: auto;
    max-width: min(48vw, 190px);
    height: 29px;
  }

  .section,
  .prototype-section,
  .prototype-proof,
  .prototype-cta,
  .landing-section,
  .info-content,
  .policy-wrap,
  .careers-copy,
  .services-list,
  .services-process,
  .services-sectors,
  .careers-apply,
  .about-section,
  .about-ethos,
  .about-contact {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .hero-inner {
    padding: 52px 20px 46px !important;
  }

  .hero-left h1 {
    font-size: clamp(2rem, 9.3vw, 2.45rem) !important;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .hero-left p {
    margin-bottom: 30px;
    font-size: .98rem;
    line-height: 1.75;
  }

  .hero-proposition,
  .prototype-kicker,
  .landing-kicker,
  .info-kicker,
  .contact-kicker {
    line-height: 1.55;
  }

  .hero-btns,
  .prototype-actions,
  .about-actions {
    width: 100%;
  }

  .hero-btns .btn,
  .prototype-actions .prototype-button,
  .prototype-actions .prototype-link-light {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 18px;
    justify-items: start;
  }

  .hero-trust-item {
    white-space: normal;
    line-height: 1.45;
  }

  .sh,
  .prototype-page h2,
  .landing-page h2,
  .novus-info-page h2,
  .novus-services-page h2 {
    text-wrap: balance;
  }

  .sh {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
    line-height: 1.15;
  }

  .sh-sub {
    margin-top: 14px;
    font-size: .94rem;
    line-height: 1.7;
  }

  .sectors-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 36px;
  }

  .sector-tile,
  .sector-tile--qualification {
    grid-column: auto !important;
    width: 100%;
    min-height: 0;
    padding: 17px 16px;
    gap: 14px;
  }

  .sector-icon {
    width: 40px;
    height: 40px;
  }

  .sector-name {
    font-size: .92rem;
    line-height: 1.45;
  }

  .sector-arrow {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .steps-row--3 .step-card {
    padding: 26px 0;
  }

  .steps-row--3 .step-top {
    justify-content: center;
  }

  .prototype-hero-copy {
    padding: 56px 0 52px;
  }

  .prototype-hero h1,
  .landing-hero h1,
  .info-hero h1,
  .services-hero h1,
  .careers-hero h1,
  .contact-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -.04em;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .prototype-hero-copy > p:not(.prototype-kicker),
  .landing-hero p:not(.landing-kicker),
  .info-hero > .container > p:last-child,
  .services-hero-grid > div > p,
  .careers-hero-grid > div > p,
  .contact-hero .contact-container > p:last-child {
    max-width: 100%;
    font-size: .96rem;
    line-height: 1.75;
  }

  .prototype-section,
  .prototype-proof,
  .prototype-cta {
    padding-block: 58px;
  }

  .prototype-split,
  .prototype-benefits-layout,
  .prototype-proof-grid,
  .prototype-faq-layout,
  .prototype-media-split,
  .service-challenge-layout {
    gap: 36px;
  }

  .qualification-grid,
  .prototype-steps,
  .prototype-benefits,
  .testimonial-grid,
  .case-grid,
  .blog-grid,
  .related-grid,
  .contact-sidebar,
  .about-sector-grid {
    grid-template-columns: 1fr !important;
  }

  .industry-process article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .industry-process article > div {
    gap: 8px;
  }

  .landing-hero,
  .contact-hero,
  .info-hero,
  .services-hero,
  .careers-hero {
    padding-block: 56px;
  }

  .landing-panel,
  .contact-form-card,
  .policy-document,
  .career-form,
  .services-result,
  .service-card {
    padding: 25px 20px;
  }

  .contact-main {
    padding-block: 56px 66px;
  }

  .contact-grid,
  .faq-layout,
  .policy-wrap > .container,
  .careers-hero-grid,
  .services-hero-grid,
  .careers-copy-grid,
  .careers-apply-grid,
  .services-sectors > .container {
    gap: 38px;
  }

  .article-shell,
  .about-shell {
    width: 100%;
    max-width: 100%;
    padding-inline: 20px;
  }

  .article-content {
    font-size: .98rem;
    overflow-wrap: break-word;
  }

  .article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  .faq-item summary {
    gap: 16px;
    padding-block: 19px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (max-width: 390px) {
  .container,
  .prototype-container,
  .landing-container,
  .contact-container,
  .footer-inner,
  .nav-inner,
  .article-shell,
  .about-shell {
    padding-inline: 16px !important;
  }

  .hero-inner {
    padding-inline: 16px !important;
  }

  .hero-left h1,
  .prototype-hero h1,
  .landing-hero h1,
  .info-hero h1,
  .services-hero h1,
  .careers-hero h1,
  .contact-hero h1 {
    font-size: 2rem !important;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }
}

