/* Shared dimensions and interaction rules. These tokens own the site-wide scale. */
:root {
  --header-height: 88px;
  --hero-copy-top: clamp(140px, 30vh, 360px);
  --section-nav-height: 72px;
  --tag-height: 42px;
  --tab-height: 38px;
  --section-space: clamp(76px, 7.5vw, 120px);
  --radius-card: 24px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-ui: cubic-bezier(.2, .65, .3, 1);
}

html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { text-rendering: optimizeLegibility; }
/* Internal product navigation lands below the shared banner. Native anchors
   preserve open-in-new-tab, keyboard focus, and browser history restoration. */
html:has(#product-content:target) { scroll-behavior: auto; }
#product-content { scroll-margin-top: -24px; }
/* The landing container is not a control; its links retain their focus rings. */
#product-content:focus { outline: none; }
#product-content { overflow-anchor: none; }
.product-load-status {
  position: fixed; z-index: 40; left: 50%; top: 100px; transform: translateX(-50%);
  margin: 0; padding: 12px 20px; border-radius: 12px; background: #172433;
  color: white; box-shadow: 0 8px 30px #0002; font-size: 13px;
}
.product-load-status button { margin-left: 12px; padding: 4px 10px; }

/* About-page image geometry measured from the 4168px source board.
   Full-width sections use the page grid, independent of viewport scrollbar
   width and the text column's maximum width. */
.inner-content.page-about { width: 100%; max-width: none; }
.page-about > .page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(var(--content), 1440px) minmax(0, 1fr);
}
.page-about > .page-body > * { grid-column: 2; min-width: 0; }
.page-about #factory.block-wide, .page-about #vision {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.page-about #factory .image-gallery {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 2 / 1;
  gap: 0;
}
.page-about #factory .image-gallery img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}
.page-about .chapter-wordmark, .page-about .chapter-brands { height: auto; max-height: none; }
.page-about #vision { aspect-ratio: 4168 / 2063; min-height: 0; }
.page-about #vision > img { object-position: center 40.2%; }
@media (max-width: 640px) {
  .page-about #vision { min-height: 350px; }
}
.variant-tile img { object-fit: contain; padding: 18px; background: #f4f5f6; }
.variant-detail { margin-bottom: 64px; }
.variant-detail > .variant-group { margin: 32px 0 8px; color: #6b7280; font-size: 14px; }
.variant-detail > h2 { font-size: clamp(28px, 4vw, 44px); overflow-wrap: anywhere; margin-bottom: 28px; }
.variant-detail-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; margin-bottom: 24px; }
.variant-detail-photos figure { margin: 0; padding: 26px; background: #f4f5f6; border-radius: 20px; }
.variant-detail-photos img { width: 100%; height: 320px; object-fit: contain; }
.variant-detail-photos figcaption { text-align: center; font-size: 13px; margin-top: 20px; color: #647080; }
.variant-detail > .text-link:last-child { margin-top: 20px; display: inline-block; }
.product-panel.has-product-photo { background: #eef0f3; }
.product-panel.has-product-photo .product-banner-image { object-fit: contain; padding: 5% 12% 12%; }
.product-panel.has-product-photo:after { background: linear-gradient(transparent, #eef0f3); inset: 75% 0 0; }
.product-panel.has-product-photo .product-banner-title { color: #172433; }
.product-banner:has(.has-product-photo) .product-arrow { color: #283646; background: #fff; border-color: #c9ced6; box-shadow: 0 2px 10px rgb(20 35 50 / 8%); }
button, select, a { touch-action: manipulation; }
:is(section, article, [id]) { scroll-margin-top: 20px; }

/* Every top-level masthead fills the current viewport, including mobile
   browser chrome changes. Source images keep their intrinsic proportions. */
.hero, .inner-hero {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  aspect-ratio: auto;
  overflow: clip;
  isolation: isolate;
}
.hero-content,
.inner-hero > .wrap:not(.section-nav) {
  position: absolute;
  top: var(--hero-copy-top);
  left: 0;
  right: 0;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
}
.inner-hero h1 {
  font-size: clamp(32px, 2.7vw, 48px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.025em;
  max-width: 75%;
  margin: 0;
}
.inner-hero p {
  max-width: 470px;
  margin-top: 20px;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.85;
  text-wrap: pretty;
}
.hero-about .about-motto { margin-top: 22px; font-size: 20px; line-height: 1.15; }
.hero-about .about-slogan { margin-top: 15px; }
.hero-about .hero-discover { margin-top: 24px; }
.hero-art, .inner-hero > img {
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--hero-drift, 0px), 0) scale(var(--hero-scale, 1.04));
  transform-origin: 50% 45%;
}
.hero-shade, .inner-shade { pointer-events: none; }
.hero-controls { bottom: calc(var(--section-nav-height) / 2); }
/* Intrinsic dimensions may change from 720p to 1080p without affecting layout. */
.hero-video { object-fit: cover; object-position: center; pointer-events: none; }

.inner-hero > .section-nav {
  top: auto;
  bottom: 0;
  left: calc((100% - var(--content)) / 2);
  height: var(--section-nav-height);
  min-height: var(--section-nav-height);
  gap: clamp(32px, 5vw, 80px);
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 3px;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 180ms var(--ease-ui);
}
.section-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.section-nav a:hover::before, .section-nav a[aria-current]::before { transform: scaleX(1); }
.section-nav [aria-current=page]::after { display: none; }
.section-nav a:focus-visible { outline-offset: -6px; border-radius: 6px; }

/* Compact, translucent navigation with identical hit areas on every page. */
.header {
  height: var(--header-height);
  min-height: var(--header-height);
  padding: 0 3.2%;
  gap: 24px;
  z-index: 40;
  transition: background-color 280ms var(--ease-ui), box-shadow 280ms var(--ease-ui);
}
.has-experience .header { position: fixed; }
.header.is-scrolled, .header:has(.navigation.open) {
  background: rgb(9 16 29 / 86%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 10%), 0 8px 32px rgb(5 12 24 / 8%);
}
.header::after { opacity: .7; }
.header .brand-logo { width: clamp(145px, 12.6vw, 200px); max-width: none; max-height: 40px; }
.navigation, html[lang=en] .navigation { height: 100%; gap: clamp(22px, 3.2vw, 58px); align-items: center; }
.navigation > a, .navigation > .nav-group > a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  transition: color 180ms var(--ease-ui);
}
html[lang=en] .navigation { gap: 25px; }
html[lang=en] .navigation a { font-size: 12px; }
.nav-group { height: 100%; display: flex; align-items: center; }
.navigation > a[aria-current=page]::after,
.navigation > .nav-group > a[aria-current=page]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: none;
}
.nav-dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 0 0 16px 16px;
  padding: 10px;
  background: rgb(9 16 29 / 96%);
  transition: opacity 180ms var(--ease-ui), transform 240ms var(--ease-out), visibility 180ms;
}
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown {
  display: block;
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.navigation .nav-dropdown a { min-height: 44px; padding: 12px!important; border-radius: 6px; }
.nav-dropdown a:hover { background: rgb(255 255 255 / 7%); }
.header-tools { margin-left: 0; }
.language-picker select { height: 34px; padding: 0 9px; border-radius: 7px; }
.menu-toggle { min-width: 36px; min-height: 44px; padding: 8px; }
.menu-toggle span { transition: transform 220ms var(--ease-ui); }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* One specification for label heights, corner treatment and baseline alignment. */
.section-tag,
.block-title:not(.table-heading),
.variant-section > .block-title,
.article-title {
  min-height: var(--tag-height);
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: .03em;
  border-radius: 14px 0 14px 0;
  margin-bottom: 24px;
  vertical-align: top;
}
.section-tag::after, .block-title::after { display: none; }
.block-title.table-heading { line-height: 1.6; }
.page-sidebar h2 {
  min-height: var(--tag-height);
  display: flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 12px;
  line-height: 24px;
  white-space: nowrap;
  letter-spacing: 0;
}
.chapter-heading .section-tag { font-size: 13px; }
.chapter-copy .block-title, .chapter-copy .block-intro-copy > img { display: none; }
.section-heading { align-items: flex-end; min-height: 112px; padding-bottom: 26px; margin-bottom: 40px; }
.section-heading .section-tag, .intro-row .section-tag { margin-bottom: 18px; }
.section-heading .more-link { margin: 0 0 7px; }
.homepage-section, .manufacturing.homepage-section, .showcase.homepage-section { margin-top: var(--section-space); }
.about { padding-top: var(--section-space); }
.inner-content { padding-top: 72px; padding-bottom: 80px; }
.body-copy { line-height: 2; }
.body-copy, .intro-copy p, .category-card p { text-wrap: pretty; }
.product-tabs { gap: 8px; align-items: center; }
.product-tabs > button, html[lang=en] .product-tabs > button {
  height: var(--tab-height);
  min-height: var(--tab-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 100px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: color 220ms var(--ease-ui), background-color 220ms var(--ease-ui), border-color 220ms;
}
.product-category-row { min-height: 48px; gap: 18px; }
.product-tabs > button:focus-visible { outline-offset: 2px; }
.product-counter { font-variant-numeric: tabular-nums; min-width: 50px; }
.product-panel { z-index: 0; }
.product-panel.is-active { z-index: 2; }
.product-panel.is-exiting { z-index: 1; pointer-events: none; }

/* Grid rows stretch together, including translated headings and longer copy. */
.card-items { grid-auto-rows: 1fr; align-items: stretch; }
.card-items article { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.card-items h3 { text-wrap: balance; }
.page-research #process article { padding: 36px 24px 30px; border-radius: var(--radius-card); }
.page-research #process h3 { min-height: 58px; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.page-research #process img { flex-shrink: 0; }
.page-about #advantages h3 { min-height: 66px; display: grid; place-items: center; font-size: 21px; line-height: 1.4; padding: 18px 10px 0; }
.page-about #advantages .advantage-icon { flex: 0 0 110px; }
.page-about #advantages p { flex: 1; padding-top: 4px; }
.page-solutions #wet-benefits .card-items article { flex-direction: row; min-height: 140px; }
.category-card {
  padding: 44px;
  grid-template-columns: .85fr 1.15fr;
  grid-template-rows: minmax(260px, auto) minmax(144px, auto);
  gap: 28px 36px;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
}
.category-visual { min-height: 260px; height: 100%; aspect-ratio: auto; border-radius: 20px; padding: 26px; }
.category-visual img { height: 200px; max-height: 200px; max-width: 95%; }
.category-card .category-subcategories { align-content: start; grid-auto-rows: 44px; row-gap: 6px; }
.category-subcategories li a { height: 100%; min-height: 0; }
.metric-items { grid-auto-rows: 1fr; }
.metric-items h3, .statistics-grid b { font-variant-numeric: tabular-nums; }
.variant-tile { overflow: hidden; border-radius: 10px; }
.variant-tile span { min-height: 42px; display: grid; place-items: center; }
.contact-grid { align-items: stretch; }
.contact-grid > div, .contact-grid > figure { min-height: 170px; }
.intro-copy p { color: #696b70; }
.footer-sitemap a { font-size: 11px; line-height: 1.7; }
.footer-sitemap a:first-child { min-height: 36px; }
.contact-details p { font-size: 11px; }

/* Motion uses transforms/opacity only; image boxes keep their layout dimensions. */
.company-photos figure, .category-visual, .image-gallery, .manufacturing-strip { overflow: hidden; }
.company-photos img, .category-visual img, .manufacturing-scene img,
.variant-tile, .variant-tile img, .showcase-item img, .card-items article {
  transition: transform 650ms var(--ease-out), box-shadow 350ms var(--ease-ui);
}
.more-link span, .hero-discover > span, .text-link { transition: transform 300ms var(--ease-out), color 180ms; }
.more-link:hover span { transform: translateX(3px); }
.hero-discover:hover > span { transform: translateX(2px); }
.dialog-open { overflow: hidden; }
.product-dialog[open] { border-radius: 20px; animation: dialog-enter 350ms var(--ease-out); }
.product-dialog::backdrop { animation: backdrop-enter 250ms ease-out; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-enter { from { background-color: transparent; } }
@media(hover:hover) and (pointer:fine) {
  .company-photos figure:hover img, .category-visual:hover img, .manufacturing-strip:hover .manufacturing-scene img { transform: scale(1.035); }
  .variant-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgb(14 28 48 / 9%); }
  .variant-tile:hover img { transform: scale(1.02); }
  .showcase-item:hover img { transform: scale(1.045); }
  .card-items article:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgb(15 25 55 / 8%); }
}

@media(min-width:1101px) {
  .page-sidebar { position: sticky; top: calc(var(--header-height) + 24px); }
}
@media(max-width:1100px) {
  .header { padding-inline: 5%; }
  .header::after { left: 5%; right: 5%; }
  .navigation, html[lang=en] .navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    height: auto;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 5% 26px;
    background: #0c1423;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .navigation.open { display: flex; }
  .navigation > a, .navigation > .nav-group > a, html[lang=en] .navigation > a, html[lang=en] .navigation > .nav-group > a { min-height: 48px; height: auto; padding: 14px 0; font-size: 13px; border-bottom: 1px solid #ffffff20; }
  .nav-group { display: block; height: auto; }
  .navigation > a[aria-current]::after, .navigation > .nav-group > a[aria-current]::after { display: none; }
  .nav-dropdown, .nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown {
    display: flex;
    flex-wrap: wrap;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    position: static;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 4px 0 12px;
    gap: 0 20px;
    background: none;
  }
  .navigation .nav-dropdown a, html[lang=en] .navigation .nav-dropdown a { padding: 10px 0!important; min-height: 40px; font-size: 11px!important; }
  .menu-toggle { display: block; }
  .header-tools { gap: 16px; margin-left: auto; }
  .category-card { padding: 28px; column-gap: 22px; }
  .page-research #process article { padding: 28px 20px; }
}
@media(max-width:960px) {
  :root { --header-height: 76px; --section-space: 80px; }
  .inner-hero > .wrap:not(.section-nav), .hero-content { padding: 0; }
  .page-about #advantages h3 { font-size: 18px; }
  .page-about #advantages .advantage-icon { flex-basis: 85px; }
  .page-research #process h3 { font-size: 18px; }
  .category-card { grid-template-columns: .9fr 1.1fr; }
  .section-heading { min-height: 105px; }
}
@media(max-width:640px) {
  :root { --header-height: 72px; --section-nav-height: 64px; --tag-height: 38px; --tab-height: 36px; --section-space: 56px; --radius-card: 18px; }
  .header { padding-inline: 6%; }
  .header::after { left: 6%; right: 6%; }
  .header .brand-logo { width: 142px; max-height: 34px; }
  .header-tools { gap: 8px; }
  .language-picker select { height: 32px; font-size: 10px; padding-inline: 6px; }
  .inner-hero h1, html[lang=en] .inner-hero h1 { font-size: 29px; max-width: 100%; }
  .inner-hero p { font-size: 13px; max-width: 92%; margin-top: 18px; }
  .hero h1, .hero h2 { font-size: clamp(44px, 11.8vw, 62px); max-width: 100%; }
  .hero-about .about-motto { margin-top: 18px; font-size: 18px; }
  .hero-about .about-slogan { margin-top: 14px; }
  .hero-about .hero-discover { margin-top: 23px; }
  .inner-hero > .section-nav { gap: 30px; }
  .section-nav a { font-size: 12px; }
  .section-tag, .block-title:not(.table-heading), .variant-section > .block-title, .article-title,
  .chapter-heading .section-tag, .page-sidebar h2 {
    min-height: var(--tag-height);
    padding: 7px 16px;
    font-size: 12px!important;
    line-height: 24px;
    letter-spacing: .02em;
    border-radius: 12px 0 12px 0;
  }
  .section-heading { min-height: 100px; margin-bottom: 28px; padding-bottom: 22px; gap: 12px; }
  .section-heading .section-tag, .intro-row .section-tag { margin-bottom: 14px; }
  .section-heading h2, html[lang=en] .section-heading h2 { font-size: 18px; line-height: 1.7; }
  .section-heading .more-link { margin-bottom: 6px; }
  .inner-content { padding-top: 40px; padding-bottom: 56px; }
  .product-tabs { padding: 3px 0 8px; scroll-padding-inline: 2px; }
  .product-tabs > button, html[lang=en] .product-tabs > button { padding: 0 14px; font-size: 11px; }
  .product-category-row { align-items: center; margin-bottom: 16px; }
  .product-counter { padding-top: 0; min-width: 38px; }
  .statistics-grid { grid-template-columns: 1.35fr .7fr 1fr; gap: 12px; }
  .statistics-grid b, html[lang=en] .statistics-grid b { font-size: clamp(24px, 7vw, 32px); letter-spacing: -1px; }
  .statistics-grid > div > span, html[lang=en] .statistics-grid > div > span { font-size: 9px; line-height: 1.6; text-align: left; }
  .intro-copy p { font-size: 12px; line-height: 2; }
  .footer-sitemap a { font-size: 10px; }
  .footer-sitemap a:first-child, html[lang=en] .footer-sitemap a:first-child { font-size: 10px; }
  .contact-details p { font-size: 11px; }
  .category-card { padding: 24px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 22px; }
  .category-visual { grid-row: 2; height: 220px; min-height: 220px; padding: 26px; }
  .category-visual img { max-height: 180px; }
  .category-card h2 { font-size: 20px; line-height: 1.5; }
  .category-card p { font-size: 12px; line-height: 2; }
  .category-card .category-subcategories { grid-column: 1; grid-template-columns: 1fr 1fr; font-size: 11px; grid-auto-rows: minmax(44px, auto); column-gap: 20px; }
  .page-research #process article { padding: 26px 16px; }
  .page-research #process h3 { font-size: 16px; min-height: 48px; }
  .page-about #advantages h3 { font-size: 18px; min-height: 65px; }
  .page-about #advantages .advantage-icon { flex-basis: 80px; }
  .page-solutions #wet-benefits .card-items article { flex-direction: column; min-height: 150px; }
  .variant-tile span { min-height: 38px; }
  .contact-grid > div, .contact-grid > figure { min-height: 155px; }
  .table-scroll { border-radius: 8px; }
  .table-scroll:focus-visible { outline-offset: 3px; }
}
@media(max-width:360px) {
  .header .brand-logo { width: 124px; }
  .header-tools { gap: 2px; }
}
/* Compact copy on short landscape displays leaves room for both navigations. */
@media(max-height:560px) {
  :root { --hero-copy-top: calc(var(--header-height) + 18px); --section-nav-height: 52px; }
  .hero h1, .hero h2 { font-size: clamp(30px, 7vh, 42px); margin-bottom: 16px; }
  .hero-subtitle { font-size: 13px; }
  .hero-discover, .hero-about .hero-discover { margin-top: 16px; }
  .inner-hero h1, html[lang=en] .inner-hero h1 { font-size: 28px; }
  .inner-hero p { font-size: 12px; margin-top: 12px; line-height: 1.6; }
  .hero-about .about-motto { font-size: 17px; margin-top: 12px; }
  .hero-about .about-slogan { margin-top: 8px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none!important; transition: none!important; }
  .hero-art, .inner-hero > img { transform: none; }
}
