@media(max-width:1100px){.header__logo{min-width:auto}.header__logo small{display:none}.nav{gap:18px}.hero__content{padding-right:22%}.product-grid--listing{grid-template-columns:repeat(3,1fr)}.filter-bar{grid-template-columns:repeat(3,1fr)}.filter-bar .button{margin-top:5px}.process-flow{grid-template-columns:repeat(2,1fr)}.process-flow li,.process-flow li:nth-child(n){grid-column:auto;grid-row:auto}.process-flow li::after,.process-flow li:nth-child(n)::after{content:"↓";top:auto;right:50%;bottom:-21px;left:auto}.process-flow li:last-child::after{display:none}}
@media(max-width:820px){.container{width:min(calc(100% - 32px),var(--container))}.section{padding:76px 0}.header{height:70px}.header__inner{gap:12px}.header__logo{flex:1}.header__logo-symbol{width:40px;height:40px}.header__logo strong{font-size:.9rem}.header__toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;width:42px;height:42px;padding:9px;border:0;background:transparent}.header__toggle span{width:22px;height:2px;background:var(--ink);transition:.25s}.header__toggle em{position:absolute;clip:rect(0 0 0 0)}.header__toggle[aria-expanded=true] span:nth-child(1){transform:translateY(6px) rotate(45deg)}.header__toggle[aria-expanded=true] span:nth-child(2){opacity:0}.header__toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.nav{position:fixed;top:70px;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:25px;background:var(--paper);opacity:0;pointer-events:none;transform:translateY(-10px);transition:.25s}.nav.is-open{opacity:1;pointer-events:auto;transform:none}.nav__item{padding:17px;border-bottom:1px solid var(--line);font-size:1.2rem}.nav__item::after{display:none}.header__tools{gap:4px}.search-toggle{display:grid;min-width:38px;height:38px}.search-panel{top:70px}.hero{min-height:380px}.hero__swiper{height:380px}.hero__content{padding-right:0}.hero h1{font-size:clamp(2.8rem,12vw,4.4rem)}.hero__rail{height:70px}.intro__grid,.product-detail__grid,.contact__grid{grid-template-columns:1fr;gap:45px}.intro__grid .section-heading{margin-bottom:25px}.metrics{grid-template-columns:repeat(2,1fr);margin-top:50px}.product-grid,.capability__grid,.facility__grid{grid-template-columns:1fr 1fr}.product-grid--listing{grid-template-columns:repeat(2,1fr)}.section-heading--row{align-items:start}.capability__grid article{min-height:240px}.cert-grid{grid-template-columns:repeat(2,1fr)}.process-note{grid-template-columns:auto 1fr}.filter-bar{grid-template-columns:1fr 1fr}.news-card{grid-template-columns:190px 1fr}.footer__grid{grid-template-columns:1fr 1fr}.footer__meta{grid-column:1/-1;text-align:left}}
@media(max-width:540px){.container{width:calc(100% - 28px)}.section{padding:62px 0}.header__logo strong{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.language-switch{min-width:38px;height:38px}.hero{min-height:380px}.hero__swiper{height:380px}.hero__kicker{font-size:.64rem}.hero h1{font-size:2.7rem}.hero__content>p:not(.hero__kicker){font-size:1rem}.hero__rail strong{display:none}.metrics article{padding:24px 18px}.metrics strong{font-size:1.8rem}.product-grid,.product-grid--listing,.capability__grid,.facility__grid{grid-template-columns:1fr}.section-heading--row{display:block}.section-heading--row .button,.section-heading--row .text-link{margin-top:20px}.page-hero{padding:72px 0 65px}.page-hero::after{font-size:14rem}.tabs{overflow-x:auto}.process-flow{grid-template-columns:1fr}.process-note{grid-template-columns:auto 1fr;padding:20px}.filter-bar{grid-template-columns:1fr;padding:18px}.gallery__thumb{width:65px;height:58px}.news-card{grid-template-columns:1fr;gap:18px}.news-card h2{font-size:1.4rem}.article__header{padding:65px 0 40px}.contact__form{padding:25px 20px}.footer__grid{grid-template-columns:1fr}.footer__bottom{display:block}.footer__bottom span{display:block}.footer__meta{text-align:left}.back-top{right:14px;bottom:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Keep light capability cards readable inside dark sections. */
.capability__grid article{color:var(--ink)}

/* Mobile navigation is an independent panel below the sticky header. */
@media(max-width:820px){
    .header{isolation:isolate}
    .nav{position:absolute;z-index:120;top:100%;right:0;bottom:auto;left:0;width:100%;height:calc(100vh - 70px);height:calc(100dvh - 70px);padding:14px 24px 32px;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);box-shadow:0 18px 35px rgba(7,43,42,.12);visibility:hidden;transform:translateY(-10px)}
    .nav.is-open{visibility:visible;transform:none}
    .nav__item{display:flex;align-items:center;min-height:62px;padding:17px 4px;border-bottom:1px solid var(--line);color:var(--ink);font-size:1.08rem}
    .nav__item--active{color:var(--brand)}
    body.nav-open .header{background:var(--paper)}
}

@media(max-width:540px){.header__logo-image{max-width:92px;height:38px}.footer__logo-image{max-width:120px;height:40px}}

/* Compact mobile rhythm: less empty space, clearer card hierarchy. */
@media(max-width:540px){
    .section-heading{margin-bottom:34px}
    .section-heading h2{font-size:1.85rem;line-height:1.25}
    .hero{min-height:370px}
    .hero__swiper{height:380px}
    .hero h1{margin:18px 0;font-size:clamp(2.25rem,10.5vw,2.65rem);line-height:1.12}
    .hero__content>p:not(.hero__kicker){margin-bottom:28px;line-height:1.75}
    .hero__rail{height:60px}
    .capability__grid{gap:12px;border:0;background:transparent}
    .capability__grid article{min-height:0;padding:24px 22px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);color:var(--ink)}
    .capability__grid article>span{width:42px;height:42px}
    .capability__grid h3{margin:20px 0 8px;font-size:1.15rem}
    .capability__grid p{margin:0;font-size:.94rem;line-height:1.75}
}

/* Selected template responsive components. */
@media(max-width:820px){
    .hero__visual{right:-13%;width:58vw;opacity:.6}
    .hero__proof{flex-wrap:wrap;gap:8px 16px}
    .process-teaser,.about-story{grid-template-columns:1fr;gap:38px}
    .about-story__aside{position:static}
    .quality-strip{grid-template-columns:1fr 1fr}
}

@media(max-width:540px){
    .header__inner{gap:4px}
    .header__logo{min-width:0}
    .header__logo-symbol{width:38px;height:38px;flex:0 0 38px}
    .header__logo small{display:none}
    .header__logo strong{max-width:92px}
    .header__tools{gap:2px}
    .search-toggle,.language-switch{min-width:35px;height:38px}
    .language-switch{padding:0 9px}
    .header__toggle{width:38px;height:38px}
    .nav{top:100%;right:0;bottom:auto;left:0;height:auto;max-height:calc(100dvh - 70px);padding:8px 16px 14px;overflow-y:auto;justify-content:flex-start}
    .nav__item{min-height:52px;padding:13px 4px;font-size:1rem}

    .hero{min-height:0}
    .hero__swiper{height:385px}
    .hero__slide{align-items:flex-start}
    .hero__content{padding-top:34px}
    .hero__content>p:not(.hero__kicker){margin-bottom:22px}
    .hero__proof{margin-top:20px;font-size:.67rem}
    .hero .swiper-pagination{bottom:18px!important}
    .hero__rail{display:none}
    .hero__visual{right:-32%;width:90vw;opacity:.35}
    .hero+.intro{padding-top:34px}

    .products-preview .product-grid{display:flex;gap:14px;margin-right:-14px;padding-right:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
    .products-preview .product-grid::-webkit-scrollbar{display:none}
    .products-preview .product-card{flex:0 0 86%;scroll-snap-align:start}

    .news-row{grid-template-columns:minmax(0,1fr) 28px;grid-template-rows:auto auto;gap:5px 12px;padding:20px 0}
    .news-row time{grid-column:1;grid-row:1}
    .news-row h3{grid-column:1;grid-row:2;margin:0;padding-right:8px;font-size:1.08rem;line-height:1.55}
    .news-row>span{grid-column:2;grid-row:1/3;align-self:center;justify-self:end}

    .process-teaser__copy{order:1}
    .process-teaser__diagram{order:2;min-height:auto;padding:22px 18px}
    .process-mini li{padding:11px 12px}
    .process-facts,.quality-strip{grid-template-columns:1fr}
    .about-story{gap:28px}
    .cert-card{min-height:210px}

    .process-flow{display:grid;grid-template-columns:1fr;gap:12px;background:transparent}
    .process-flow li,.process-flow li:nth-child(n){display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;min-height:0;padding:17px 18px;border:1px solid var(--line);border-radius:14px;background:var(--white);box-shadow:none}
    .process-flow span{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff}
    .process-flow strong{grid-column:2;grid-row:1;margin:0;font-size:1.05rem;line-height:1.35}
    .process-flow small{grid-column:2;grid-row:2;margin:4px 0 0;line-height:1.55}
    .process-flow li::after,.process-flow li:nth-child(n)::after{content:"\2193";top:auto;right:auto;bottom:-16px;left:29px;z-index:3;display:block;width:18px;height:20px;border:0;background:transparent;color:var(--brand);line-height:20px;text-align:center}
    .process-flow li:last-child::after{display:none}

    .article__cover--mock{min-height:240px;font-size:4rem}
    .map--preview{height:300px}

    .footer{padding-top:38px}
    .footer__grid{grid-template-columns:1fr;gap:24px;padding-bottom:28px}
    .footer__grid h3{margin:0 0 10px}
    .footer__grid>div:first-child p{margin:12px 0 0}
    .footer__nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
    .footer__nav a{display:block;padding:5px 0}
    .footer__meta{text-align:left}
    .footer__meta p{margin:7px 0}
    .footer__bottom{display:grid;grid-template-columns:1fr;gap:4px;padding-top:16px;padding-bottom:18px}
}
