@media (max-width: 1260px) {
  .container { width: calc(100% - 70px); }
  .nav-inner { gap: 25px; }
  .brand img { width: 160px; }
  .nav-cta { padding: 13px 15px; gap: 12px; }
  .hero-layout { grid-template-columns: 43% 57%; }
  .hero h1 { font-size: clamp(51px,5vw,70px); }
  .hero-visual { height: 610px; }
  .scene-wrap { height: 380px; }
  .stat { padding-left: 18px; column-gap: 10px; }
  .stat>div { font-size: 10px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 1120px) {
  .utility-intro, .hours { display: none; }
  .utility-mail { margin-left: 10px; }
  .nav-inner { height: 78px; }
  .nav-shell.scrolled .nav-inner { height: 70px; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 76px); overflow: auto; padding: 22px 35px 30px; background: #fff; box-shadow: 0 20px 35px #08192335; }
  .primary-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: flex; width: 100%; justify-content: space-between; padding: 12px 0; font-size: 14px; }
  .nav-link:after { bottom: 5px; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; display: none!important; width: 100%; border-top: 0; border-left: 2px solid var(--gold); box-shadow: none; padding: 0 0 0 12px; margin-bottom: 10px; }
  .nav-dropdown.open .dropdown-menu { display: grid!important; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); }
  .hero, .hero-layout { min-height: 690px; }
  .hero-copy { padding-top: 105px; }
  .hero h1 { font-size: clamp(49px,5.4vw,65px); }
  .hero-visual { height: 580px; }
  .timeline { top: 75px; }
  .timeline-item { font-size: 9px; }
  .timeline-item:after { height: 65px; }
  .timeline-number { width: 36px; height: 36px; }
  .timeline-line { top: 18px; }
  .scene-wrap { height: 345px; }
  .section { padding-block: 95px; }
  .about-grid { grid-template-columns: 52% 48%; }
  .about-copy { padding: 40px; }
  .about-copy h3 { font-size: 30px; }
  .about-copy p { font-size: 14px; }
  .service-feature .service-body { padding: 35px; }
  .service-feature .service-icon { top: 35px; right: 35px; }
  .service-body { padding: 23px; }
  .service-icon { top: 23px; right: 23px; }
  .service-body h3 { font-size: 25px; }
  .strength { padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-form { grid-column: 1/-1; max-width: 600px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .utility-contact { gap: 9px; }
  .utility-contact a { font-size: 10px; }
  .utility-mail { display: none!important; }
  .hero { min-height: 0; }
  .hero-layout { min-height: 0; display: block; padding-top: 65px; padding-bottom: 30px; }
  .hero-copy { padding: 0; max-width: 650px; }
  .hero h1 { font-size: clamp(53px,8vw,75px); }
  .hero-coordinate { margin-top: 30px; }
  .hero-visual { height: 500px; margin-top: 0; }
  .timeline { top: 48px; }
  .timeline-item { font-size: 10px; }
  .timeline-item:after { height: 45px; }
  .scene-wrap { height: 355px; bottom: 8px; left: 0; right: 0; }
  .playback { bottom: 5px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat { min-height: 125px; padding: 18px 15px; border-bottom: 1px solid #ffffff30; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .stat:first-child { padding-left: 15px; }
  .section { padding-block: 80px; }
  .section-intro { align-items: start; margin-bottom: 40px; }
  .section-intro h2 { font-size: clamp(39px,6vw,55px); }
  .section-intro-aside { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image, .about-image img { min-height: 420px; }
  .about-copy { padding: 45px; }
  .about-copy h3 { font-size: 36px; max-width: 560px; }
  .service-intro { display: block; }
  .intro-side { width: 100%; max-width: 580px; margin-top: 25px; }
  .intro-side p { margin-bottom: 15px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-feature { grid-column: auto; }
  .service-card { min-height: 265px; }
  .service-feature { min-height: 360px; }
  .why-inner { padding-top: 85px; }
  .why-head { padding-bottom: 65px; }
  .why-head h2 { font-size: 53px; }
  .strength-grid { grid-template-columns: repeat(3,1fr); }
  .strength:nth-child(3) { border-right: 0; }
  .strength:nth-child(n+4) { border-top: 1px solid #ffffff3d; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 300px; }
  .project-card:first-child { grid-column: 1/-1; grid-row: auto; }
  .project-bottom h3 { font-size: 23px; }
  .certificate-card { grid-template-columns: 40px 70px 1fr auto; gap: 18px; }
  .iso-mark { width: 65px; height: 65px; }
  .client-tile { min-width: 33.333%; }
  .cta-inner { min-height: 350px; }
  .cta-slogan { display: none; }
  .footer-lead { align-items: start; flex-direction: column; gap: 30px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 65px; }
  header { top: -34px; }
  .container { width: calc(100% - 36px); }
  .utility { height: 34px; }
  .secondary-phone, .utility-separator { display: none!important; }
  .utility-quote { padding-inline: 9px; font-size: 9px; gap: 6px; }
  .utility-quote .icon { width: 13px; }
  .nav-inner, .nav-shell.scrolled .nav-inner { height: 67px; }
  .brand img { width: 145px; }
  .nav-cta { display: none; }
  .nav-actions { gap: 2px; }
  .primary-nav { padding-inline: 18px; }
  .search-inner { grid-template-columns: 1fr auto; }
  .search-inner label, .search-results { grid-column: 1/-1; }
  .hero-layout { padding-top: 48px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(43px,10.3vw,59px); }
  .hero-rule { margin: 24px 0 22px; }
  .hero-kicker { font-size: 12px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { padding: 11px 12px; min-height: 46px; gap: 12px; font-size: 10px; }
  .hero-coordinate { font-size: 8px; margin-top: 25px; }
  .hero-visual { height: 340px; margin-top: 10px; }
  .timeline { top: 20px; }
  .timeline-item { width: 19%; font-size: 7px; line-height: 1.15; }
  .timeline-number { width: 26px; height: 26px; font-size: 9px; margin-bottom: 6px; }
  .timeline-line { top: 13px; }
  .timeline-item:after { height: 24px; margin-top: 7px; }
  .scene-wrap { height: 245px; bottom: 18px; left: -9%; right: -9%; }
  .playback { right: 0; bottom: 0; font-size: 9px; padding-left: 9px; }
  .playback span { margin-right: 2px; }
  .playback button { width: 25px; height: 25px; }
  .hero-footnote { font-size: 7px; }
  .hero-footnote .container { gap: 15px; }
  .stat { min-height: 105px; padding: 13px!important; column-gap: 7px; }
  .stat strong { font-size: 30px; }
  .stat>div { font-size: 8px; gap: 4px; }
  .stat .icon { width: 17px; height: 17px; }
  .stat-index { font-size: 8px; }
  .section { padding-block: 65px; }
  .eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .16em; }
  .section-intro { margin-bottom: 32px; }
  .section-intro h2 { font-size: clamp(36px,8vw,47px); }
  .about-image, .about-image img { min-height: 310px; }
  .image-caption { min-width: 0; padding: 12px 15px; font-size: 11px; }
  .about-copy { padding: 30px 25px; }
  .about-copy h3 { font-size: 29px; margin: 20px 0; }
  .about-copy p { font-size: 14px; }
  .about-detail { margin-top: 32px; font-size: 8px; }
  .intro-side p { font-size: 14px; }
  .service-card, .service-feature { display: block; min-height: 0; }
  .service-photo, .service-feature .service-photo { height: 215px; }
  .service-photo img, .service-feature .service-photo img { min-height: 0; height: 100%; }
  .service-body, .service-feature .service-body { padding: 27px; min-height: 260px; }
  .service-feature .service-body { min-height: 320px; }
  .service-icon, .service-feature .service-icon { top: 24px; right: 25px; width: 32px; height: 32px; }
  .service-body h3 { font-size: 30px; margin-top: 25px; }
  .service-feature .service-body h3 { font-size: 42px; }
  .service-body p, .service-feature .service-body p { font-size: 14px; }
  .why-inner { padding-top: 70px; }
  .why-head { padding-bottom: 55px; }
  .why-head h2 { font-size: clamp(38px,8vw,48px); }
  .why-head p:not(.eyebrow) { font-size: 14px; }
  .strength-grid { grid-template-columns: repeat(2,1fr); }
  .strength { min-height: 130px; padding: 15px; border-top: 1px solid #ffffff3d; }
  .strength:nth-child(3) { border-right: 1px solid #ffffff3d; }
  .strength:nth-child(2n) { border-right: 0; }
  .strength strong { font-size: 13px; }
  .project-intro { display: block; }
  .project-intro .inline-link { margin-top: 24px; }
  .projects-grid { display: block; }
  .project-card { height: 360px; margin-bottom: 16px; }
  .project-card:first-child { height: 430px; }
  .project-overlay, .project-card:first-child .project-overlay { padding: 22px; }
  .project-card:first-child h3 { font-size: 34px; }
  .project-bottom h3 { font-size: 25px; }
  .cert-intro { display: block; }
  .cert-intro>p { font-size: 14px; margin-top: 22px; }
  .certificate-card { grid-template-columns: 36px 58px 1fr; gap: 9px; min-height: 155px; padding: 20px 0; }
  .certificate-card:hover { padding-left: 0; }
  .cert-index { font-size: 10px; }
  .iso-mark { width: 52px; height: 52px; font-size: 14px; }
  .certificate-card h3 { font-size: 19px; }
  .certificate-card h4 { font-size: 12px; line-height: 1.3; }
  .certificate-card p { font-size: 11px; }
  .cert-arrow { display: none; }
  .clients-section { padding-block: 65px; }
  .clients-heading { display: block; margin-bottom: 30px; }
  .clients-heading h2 { font-size: 43px; }
  .clients-heading>p { margin-top: 15px; font-size: 14px; }
  .client-tile { min-width: 50%; min-height: 85px; font-size: 14px; }
  .clients-row>button { width: 20px; font-size: 35px; }
  .cta-inner { min-height: 380px; padding-block: 55px; }
  .cta-inner h2 { font-size: clamp(40px,8vw,50px); }
  .cta-inner p:not(.eyebrow) { font-size: 14px; }
  .cta-actions .btn { font-size: 10px; min-height: 47px; padding-inline: 12px; gap: 8px; }
  .footer-lead { padding: 65px 0 42px; }
  .footer-lead h2 { font-size: 41px; }
  .footer-lead>a { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; padding-block: 45px; }
  .footer-brand, .footer-form { grid-column: 1/-1; }
  .footer-bottom .container { display: block; font-size: 10px; }
  .legal-note { display: block; margin-top: 6px; }
  .project-dialog img { height: 220px; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 40px; }
  .hero-actions .btn { font-size: 9px; }
  .hero-visual { height: 315px; }
  .scene-wrap { height: 220px; }
  .stat strong { font-size: 27px; }
  .project-card { height: 330px; }
  .project-card:first-child { height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-form { grid-column: auto; }
  .form-duo { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms!important; transition-duration: .01ms!important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive adjustments for the final hero and service showcase. */
@media (max-width: 1260px) {
  .hero-layout { grid-template-columns: 40% 60%; }
  .hero h1 { font-size: clamp(55px,5.2vw,73px); }
  .scene-wrap { height: 410px; }
}
@media (max-width: 1120px) {
  .about-grid { grid-template-columns: 43% 57%; }
  .about-copy { padding: 42px 36px 42px 0; }
  .service-tab { padding-inline: 20px; gap: 15px; }
  .service-info strong { font-size: 21px; }
  .service-panel-copy { padding: 32px; }
  .hero-visual { height: 610px; }
  .scene-wrap { height: 390px; }
}
@media (max-width: 800px) {
  .hero, .hero-layout { min-height: 0; }
  .hero h1 { font-size: clamp(58px,8.5vw,78px); }
  .hero-visual { height: 530px; }
  .scene-wrap { height: 385px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { order: 0; padding: 0 0 40px; }
  .about-image { order: 1; }
  .service-showcase { display: flex; flex-direction: column; }
  .service-panel { order: -1; min-height: 430px; }
  .service-panel>img { height: 430px; min-height: 430px; }
  .service-list { order: 2; }
  .service-tab { min-height: 90px; }
  .service-info strong { font-size: 22px; }
  .why-head h2 { font-size: clamp(43px,6.2vw,60px); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(45px,10.4vw,59px); }
  .hero-visual { height: 355px; }
  .timeline { top: 18px; }
  .timeline-item { font-size: 9px; }
  .timeline-number { width: 32px; height: 32px; font-size: 10px; }
  .timeline-line { top: 16px; }
  .timeline-label { opacity: 0; transition: opacity .2s; }
  .timeline-item.active .timeline-label { opacity: 1; }
  .timeline-item:after { display: none; }
  .scene-wrap { height: 275px; left: -17%; right: -17%; bottom: 13px; }
  .section-intro h2 { font-size: clamp(35px,8.2vw,46px); }
  .about-copy { padding: 0 0 30px; }
  .about-copy h3 { font-size: 28px; }
  .service-panel { min-height: 320px; }
  .service-panel>img { height: 320px; min-height: 320px; }
  .service-panel-copy { padding: 25px; }
  .service-panel-copy h3 { font-size: 28px; }
  .service-panel-copy p { font-size: 13px; margin-bottom: 15px; }
  .service-tab { min-height: 82px; padding: 12px 15px; gap: 10px; }
  .service-info strong { font-size: 18px; }
  .service-info small { font-size: 10px; }
  .service-tab>.icon { width: 17px; }
  .why-head h2 { font-size: clamp(38px,8.5vw,46px); }
  .footer-lead h2 { font-size: 39px; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 41px; }
  .hero-visual { height: 340px; }
  .scene-wrap { height: 260px; }
  .service-info strong { font-size: 16px; }
}

/* The image story remains full-width while the controls reflow on smaller screens. */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 47% 53%; }
  .hero-copy { padding-top: 145px; }
  .hero h1 { font-size: clamp(55px,6vw,73px); }
  .timeline { left: -2%; right: -2%; }
  .certificate-card { padding-inline: 22px; }
  .certificate-card:hover { padding-left: 22px; }
  .reviews-track { padding-left: 35px; padding-right: 35px; }
}
@media (max-width: 800px) {
  .hero-layout { display: block; min-height: 850px; }
  .hero-copy { max-width: 570px; padding-top: 110px; }
  .hero-visual { height: 335px; margin-top: 40px; }
  .timeline { top: 0; left: 0; right: 0; }
  .timeline-item { font-size: 10px; }
  .scene-wrap { bottom: -30px; left: 6%; right: 6%; height: 270px; opacity: .75; }
  .playback { bottom: 12px; right: 0; }
  .hero-film, .hero-frame { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg,#06131df0 0%,#071521c9 46%,#08192772 100%),linear-gradient(0deg,#07141ed9 0%,transparent 45%); }
  .certificate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .certificate-card { min-height: 345px; }
  .reviews-section { padding-block: 85px 58px; }
  .reviews-intro { align-items: start; }
  .reviews-source { min-width: 155px; }
  .review-card { width: 330px; }
  .client-tile { min-height: 108px; }
}
@media (max-width: 560px) {
  .hero-layout { min-height: 735px; }
  .hero-copy { padding-top: 75px; }
  .hero h1 { font-size: clamp(45px,10vw,59px); }
  .hero-visual { height: 235px; margin-top: 34px; }
  .timeline { top: 0; }
  .timeline-line { top: 16px; }
  .timeline-item { font-size: 9px; }
  .timeline-number { width: 32px; height: 32px; font-size: 9px; }
  .timeline-label { opacity: 1; font-size: 8px; }
  .scene-wrap { bottom: -12px; left: 0; right: 0; height: 155px; opacity: .45; }
  .playback { bottom: -13px; right: 0; font-size: 9px; }
  .hero-film, .hero-frame { background-position: 60% center; }
  .certificate-grid { grid-template-columns: 1fr; gap: 12px; }
  .certificate-card { min-height: 0; display: grid; grid-template-columns: 105px 1fr; column-gap: 22px; padding: 23px; }
  .certificate-card:hover { padding-left: 23px; }
  .cert-index { grid-column: 1/-1; }
  .cert-mark { grid-column: 1; grid-row: 2; width: 95px; height: 95px; margin: 22px 0 0; }
  .cert-mark img { width: 396px; top: -8px; right: 0; }
  .cert-standard-badge { top: 15px; right: 16px; width: 48px; height: 48px; }
  .cert-standard-badge b { font-size: 14px; }
  .cert-standard-badge small { font-size: 7px; }
  .cert-copy { grid-column: 2; grid-row: 2; padding-top: 22px; }
  .cert-copy strong { font-size: 23px; }
  .cert-copy small { min-height: 0; }
  .cert-view { font-size: 9px; }
  .reviews-section { padding-block: 68px 45px; }
  .reviews-intro { display: block; }
  .reviews-intro h2 { font-size: 38px; }
  .reviews-source { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; text-align: left; }
  .reviews-source>span { max-width: 140px; font-size: 9px; }
  .reviews-source a { flex: none; font-size: 9px; }
  .reviews-disclosure { margin: 20px 0 29px; font-size: 11px; }
  .reviews-track { padding-left: 18px; padding-right: 18px; gap: 12px; }
  .review-card { width: min(83vw,320px); min-height: 282px; padding: 22px; }
  .review-card p { font-size: 15px; }
  .reviews-footer { font-size: 8px; }
  .clients-section { padding-block: 70px 78px; }
  .client-tile { min-height: 100px; padding: 12px; }
  .client-tile img { max-width: 140px; max-height: 58px; }
}

/* Keep the construction controls clear of the five-stage timeline. */
@media (max-width: 1100px) {
  .hero-stage-panel { width: min(360px,58vw); }
}
@media (max-width: 800px) {
  .scene-wrap, .hero-build-layer { display: none; }
  .hero-copy { padding-top: 0; }
  .hero-visual { height: 340px; margin-top: 33px; }
  .hero-stage-panel { right: 0; bottom: 0; width: min(385px,100%); }
  .hero-film, .hero-frame { background-position: 78% center; }
}
@media (max-width: 560px) {
  .hero-layout { min-height: 0; }
  .hero-copy { padding-top: 0; }
  .hero-visual { height: 347px; margin-top: 29px; }
  .timeline { top: 0; }
  .hero-stage-panel { right: 0; bottom: 9px; width: 100%; padding: 15px 16px 0; }
  .hero-stage-panel h2 { margin-top: 10px; font-size: 21px; }
  .hero-stage-panel p { min-height: 0; margin-bottom: 11px; font-size: 11px; }
  .stage-panel-data { margin-bottom: 11px; }
  .stage-panel-data span { font-size: 7px; }
  .hero-stage-panel .playback { margin-inline: -16px; padding: 7px 9px 7px 16px; }
  .hero-stage-panel .playback span { font-size: 8px; }
  .hero-film, .hero-frame { background-position: 83% center; }
}

@media (max-width: 1260px) and (min-width: 1121px) {
  .nav-inner { gap: 13px; }
  .brand { padding-right: 13px; }
  .brand img { width: 147px; }
  .nav-link { padding-inline: 6px; font-size: 10px; }
  .nav-cta { gap: 8px; padding-inline: 12px; }
}
@media (max-width: 1120px) {
  .nav-shell:after { left: 35px; }
  .brand { border-right: 0; padding-right: 0; }
  .primary-nav { border-top: 1px solid #e4e1d8; background: #fdfcf9; }
  .nav-link { border-radius: 0; padding: 13px 11px; }
  .dropdown-menu, .nav-dropdown.open .dropdown-menu { position: static; width: 100%; grid-template-columns: 1fr; margin: 0 0 13px; padding: 0; border: 0; border-left: 2px solid var(--gold); box-shadow: none; transform: none; }
  .dropdown-menu:before, .dropdown-intro { display: none; }
  .dropdown-links { padding: 2px 0 2px 10px; }
  .dropdown-links a { min-height: 44px; }
  .dropdown-links a>.icon { opacity: 1; transform: none; }
  .menu-toggle { width: 43px; height: 43px; align-items: center; justify-content: center; gap: 5px; border: 1px solid #d8d7d0; border-radius: 50%; }
  .menu-toggle span { transition: transform .2s,opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 800px) {
  .hero-visual { height: 390px; }
  .hero-stage-panel { bottom: 34px; }
}
@media (max-width: 560px) {
  .nav-shell:after { left: 18px; }
  .nav-inner, .nav-shell.scrolled .nav-inner { height: 68px; }
  .brand img { width: 143px; }
  .nav-actions { gap: 6px; }
  .search-toggle, .menu-toggle { width: 38px; height: 38px; }
  .hero-visual { height: 382px; }
  .hero-stage-panel { bottom: 35px; }
}

@media (max-width: 1100px) {
  .client-tile { min-width: 0; }
}
