/* Header and story adaptations share the original RU/EN design language. */
.hero-actions > * { flex-shrink: 0; }
.story-copy { transition: none; }
.hero-water-labels { position:absolute;inset:0;z-index:3;pointer-events:none;visibility:hidden;opacity:0; }
.hero-water-label { position:absolute;margin:0;color:var(--ink);font-family:var(--font-accent);font-size:16px;font-weight:400;line-height:1.35;letter-spacing:0; }
.hero-water-label strong { display:block;font-family:var(--font-accent);font-stretch:75%;font-size:20px;font-weight:800;text-transform:uppercase;line-height:1.15;margin-bottom:6px;color:var(--red); }
.hero-water-label span { display:block; }
@media(max-width:900px) {
  .hero-water-label { font-size:13px;line-height:1.35; }
  .hero-water-label strong { font-size:16px;margin-bottom:5px; }
}
@media(max-width:700px) {
  .hero-water-label { font-size:12px;line-height:1.25; }
  .hero-water-label strong { font-size:14px;margin-bottom:4px; }
}
@media(max-width:1024px) and (max-height:540px) and (orientation:landscape) {
  .hero-water-label { font-size:10px; }
  .hero-water-label strong { font-size:12px; }
}
@media (max-width:1200px) {
  .wrap { width:calc(100% - 64px); }
  :root { --header:80px; }
  .desktop-nav { display:none; }
  .header-inner { gap:20px; }
  .header-actions { gap:16px; }
  .menu-toggle { display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:44px;height:44px;padding:0; }
  .menu-toggle span { width:24px;height:1px;background:var(--ink);transition:transform .2s; }
  .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); }
  #mobile-menu { padding:16px 32px 24px; }
  .site-header .brand .company-logo { width:94px;height:64px; }
}
@media (min-width:901px) and (max-height:800px) {
  .story-sticky { min-height:0; }
  .hero-video-ready .initial-main { top:7%; }
  .hero-video-ready .story-copy.assembly { top:14%; }
  .hero-video-ready .story-copy.result { top:max(18%,calc(var(--story-inlet-bottom,0px) + 22px)); }
  .hero-video-ready .story-copy.finale { bottom:90px; }
  .hero-video-ready .story-copy h1,.hero-video-ready .story-copy h2 { margin-bottom:16px; }
  .hero-video-ready .story-copy.initial .hero-signature { font-size:calc(14px * var(--story-copy-scale)); }
  .hero-video-ready .story-copy .hero-actions { margin-top:18px;gap:18px;flex-wrap:wrap; }
  .hero-video-ready .story-copy .btn { min-height:48px; }
}
@media (max-width:900px), (max-width:1024px) and (max-height:540px) and (orientation:landscape) {
  .wrap { width:calc(100% - 48px); }
  .story-sticky { height:calc(100svh - var(--header));min-height:0; }
  .story:has(.hero-scroll-video) { height:calc(100svh + (100svh - var(--header)) * 4.2); }
  .hero-copy { height:100%; }
  .story-copy.initial { top:0;width:100%;height:100%; }
  .initial-main { position:absolute;top:7%;left:0;width:42%; }
  .hero-video-ready .story-copy.assembly { top:15%;left:0;width:42%; }
  .hero-video-ready .story-copy.result { top:24%;left:0;width:42%; }
  .hero-video-ready .story-copy.finale { top:auto;left:24px;bottom:100px;width:44%; }
  .story-copy.initial h1,.story-copy.assembly h2,.story-copy.result h2,.story-copy.finale h2 {
    font-family:var(--font-display);font-weight:500;font-size:clamp(22px,3.4vw,30px);line-height:1.06;letter-spacing:-.045em;margin:0 0 20px;max-width:none;text-align:left;
  }
  .story-copy.initial h1>.hero-title-line { display:block;margin:0;color:var(--ink); }
  .story-copy.initial h1>.hero-title-ending { font-size:inherit;white-space:normal;max-width:none; }
  .story-copy.initial h1>.hero-title-accent { font-size:clamp(56px,9vw,80px);margin:12px 0;white-space:normal; }
  .story-copy.assembly h2>.assembly-title-accent,
  html[lang=en] .story-copy.assembly h2>.assembly-title-accent,
  .story-copy.result h2>span,.story-copy.finale h2>span { width:auto;font-size:clamp(38px,5.9vw,54px);line-height:.99;margin-top:14px; }
  .story-copy .eyebrow { font-size:10px;line-height:1.5;margin-bottom:14px; }
  .story-copy.initial .hero-signature,.story-copy.assembly>p,.story-copy.result>p:not(.eyebrow) { font-family:var(--font-accent);font-weight:400;font-size:15px!important;line-height:1.5!important;max-width:none!important;text-transform:none;margin:0; }
  .hero-actions { position:static;display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px; }
  .hero-actions .btn,.story-copy.result .btn,.story-copy.finale .btn { min-height:48px;font-size:11px;gap:20px;padding-inline:18px; }
  .hero-actions .btn { white-space:nowrap; }
  .hero-actions .text-button { min-height:44px;font-size:10px;gap:12px; }
  .story-copy.result .btn,.story-copy.finale .btn { margin-top:18px; }
  .story-copy.initial p.hero-manufacturer,
  html[lang=en] .story-copy.initial p.hero-manufacturer { position:absolute;left:0;right:0;bottom:72px;width:100%;font-size:clamp(16px,2.8vw,24px);line-height:1.15;white-space:normal;text-align:left;text-align-last:auto;margin:0; }
  .hero-video-ready .story-sticky .scene-viewport { top:0;bottom:0;left:0;right:0;height:100%;min-height:0;width:100%; }
  .scene-viewport .hero-home-frame,.hero-home-video { object-position:72% 50%; }
  .story-bottom { bottom:24px;display:flex; }
  .scroll-link { font-size:9px;max-width:none;min-height:44px; }
  .chat-launcher { width:52px;height:52px;min-height:52px;justify-content:center;padding:0; }
  .chat-launcher>span { display:none; }
}
@media (max-width:700px) {
  :root { --header:70px; }
  .wrap { width:calc(100% - 40px); }
  .header-inner { gap:8px; }
  .header-actions { gap:4px; }
  .site-header .brand .company-logo { width:79px;height:54px; }
  .brand>span { display:none; }
  .language { min-width:36px;min-height:44px;font-size:11px; }
  .account { min-height:44px;font-size:9px;padding-inline:12px;gap:8px; }
  .account>span:last-child { font-size:18px; }
  #mobile-menu { padding-inline:20px; }
  .story-sticky { min-height:0; }
  .initial-main { top:20px;width:100%; }
  .hero-video-ready .story-copy.assembly { top:28px;width:100%; }
  .hero-video-ready .story-copy.result { top:36px;width:100%; }
  .hero-video-ready .story-copy.finale { left:20px;bottom:84px;width:calc(100% - 40px);max-width:260px;padding:16px!important;background:var(--white); }
  .story-copy.initial h1,.story-copy.assembly h2,.story-copy.result h2,.story-copy.finale h2 { font-size:23px;line-height:1.06;margin-bottom:14px; }
  .story-copy.initial h1>.hero-title-accent { font-size:64px;line-height:.95;margin:8px 0; }
  .story-copy.initial h1 .hero-title-ending br { display:none; }
  .story-copy.initial h1>.hero-title-ending { font-size:23px; }
  .story-copy.assembly h2>.assembly-title-accent,
  html[lang=en] .story-copy.assembly h2>.assembly-title-accent { font-size:44px;margin-top:10px; }
  .story-copy.result h2>span { font-size:42px;margin-top:10px;max-width:100%; }
  .story-copy.finale h2 { max-width:none;font-size:21px; }
  .story-copy.finale h2>span { font-size:42px;margin-top:12px; }
  .story-copy .eyebrow { font-size:9px;line-height:1.4;margin-bottom:10px; }
  .story-copy.initial .hero-signature,.story-copy.assembly>p,.story-copy.result>p:not(.eyebrow) { font-size:14px!important;line-height:1.45!important; }
  .hero-actions { flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:14px; }
  .hero-actions .btn,.story-copy.result .btn { min-height:44px;font-size:10px;padding-inline:15px;gap:16px; }
  .hero-actions .text-button { font-size:9px;gap:8px; }
  .hero-video-ready .story-copy.result .btn { margin-top:12px; }
  .story-copy.initial p.hero-manufacturer,
  html[lang=en] .story-copy.initial p.hero-manufacturer { bottom:68px;font-size:16px;line-height:1.12; }
  .story-bottom { bottom:14px; }
  .scroll-link { font-size:8px;gap:10px; }
  .story-bottom .scroll-link { max-width:calc(100% - 60px); }
  .chat-launcher { width:52px;height:52px;min-height:52px;justify-content:center;padding:0; }
  .chat-launcher>span { display:none; }
  .chat-launcher>svg { width:24px;height:24px; }
  .chat-panel { width:calc(100vw - 40px);max-height:calc(100svh - var(--header) - 86px - var(--chat-footer-offset,0px));overflow-y:auto; }
  .scene-viewport .hero-home-frame,.hero-home-video { object-position:82% 50%; }
}
@media (max-width:700px) and (max-height:720px) {
  .initial-main,.hero-video-ready .story-copy.assembly,.hero-video-ready .story-copy.result { top:16px; }
  .story-copy.initial h1,.story-copy.assembly h2,.story-copy.result h2 { font-size:20px;margin-bottom:10px; }
  .story-copy.initial h1>.hero-title-accent { font-size:52px; }
  .story-copy.initial h1>.hero-title-ending { font-size:20px; }
  .story-copy.assembly h2>.assembly-title-accent,
  html[lang=en] .story-copy.assembly h2>.assembly-title-accent,.story-copy.result h2>span { font-size:36px; }
  .story-copy.initial .hero-signature,.story-copy.assembly>p,.story-copy.result>p:not(.eyebrow) { font-size:13px!important;line-height:1.35!important; }
  .hero-actions { margin-top:10px; }
  .story-copy.initial p.hero-manufacturer,html[lang=en] .story-copy.initial p.hero-manufacturer { font-size:14px;bottom:60px; }
}
@media (max-width:1024px) and (max-height:540px) and (orientation:landscape) {
  :root { --header:60px; }
  .site-header .brand .company-logo { width:70px;height:48px; }
  .hero-video-ready .initial-main { top:14px;width:45%; }
  .hero-video-ready .story-copy.assembly,.hero-video-ready .story-copy.result { top:14px;width:45%; }
  .hero-video-ready .story-copy.finale { left:24px;bottom:62px;width:43%; }
  .hero-video-ready .story-copy.initial h1,.hero-video-ready .story-copy.assembly h2,.hero-video-ready .story-copy.result h2,.hero-video-ready .story-copy.finale h2 { font-size:19px;line-height:1.02;margin-bottom:10px; }
  .hero-video-ready .story-copy.initial h1>.hero-title-accent { font-size:42px;margin:6px 0; }
  .hero-video-ready .story-copy.initial h1>.hero-title-ending { font-size:19px; }
  .hero-video-ready .story-copy.assembly h2>.assembly-title-accent,html[lang=en] .hero-video-ready .story-copy.assembly h2>.assembly-title-accent,.hero-video-ready .story-copy.result h2>span,.hero-video-ready .story-copy.finale h2>span { width:auto;font-size:30px;line-height:1;margin-top:8px; }
  .story-copy.initial .hero-signature,.story-copy.assembly>p,.story-copy.result>p:not(.eyebrow) { font-size:12px!important;line-height:1.35!important; }
  .story-copy.initial .hero-signature { max-width:320px!important; }
  .hero-video-ready .story-copy .hero-actions { position:static;flex-direction:row;flex-wrap:nowrap;gap:12px;margin-top:10px; }
  .hero-video-ready .hero-actions .btn,.hero-video-ready .story-copy.result .btn { min-width:0;min-height:44px;font-size:10px; }
  .hero-actions .text-button { font-size:9px; }
  .story-copy .eyebrow { font-size:8px;margin-bottom:8px; }
  .story-copy.result h2 { margin-bottom:8px; }
  .story-copy.result>p:not(.eyebrow) { line-height:1.25!important; }
  .hero-video-ready .story-copy.result .btn { margin-top:8px; }
  .hero-video-ready .story-copy.initial p.hero-manufacturer,html[lang=en] .hero-video-ready .story-copy.initial p.hero-manufacturer { font-size:12px;bottom:72px;width:45%;white-space:normal;text-align:left;text-align-last:auto; }
  .story-bottom { bottom:8px; }
}
@media (max-width:359px) {
  .wrap { width:calc(100% - 32px); }
  .site-header .brand .company-logo { width:64px;height:44px; }
  .header-actions { gap:2px; }
  .language { min-width:30px; }
  .menu-toggle { width:36px; }
  .account { font-size:8px;padding-inline:8px; }
  .hero-actions { gap:8px; }
  .hero-actions .btn { min-width:0;padding-inline:10px;gap:8px; }
  .hero-actions .text-button { gap:6px; }
  .hero-actions { flex-wrap:nowrap; }
}
/* In a short portrait stage, keep the full project paragraph and a real-sized
 * system view. The redundant pipe labels yield their space to the equipment. */
@media (max-width:360px) and (max-height:640px) and (orientation:portrait) {
  .hero-video-ready .story-copy.result { top:12px; }
  .hero-video-ready .story-copy.result>.eyebrow { font-size:9px;line-height:1.3;margin-bottom:8px; }
  .hero-video-ready .story-copy.result h2 { font-size:18px;line-height:1.04;margin-bottom:8px; }
  .hero-video-ready .story-copy.result h2>span { font-size:30px;line-height:.98;margin-top:6px; }
  .hero-video-ready .story-copy.result>p:not(.eyebrow) { font-size:12px!important;line-height:1.3!important; }
  .hero-video-ready .story-copy.result .btn { min-height:44px;margin-top:8px;padding-inline:12px;font-size:10px; }
  .hero-water-labels { display:none; }
}
.dealer h4 { overflow-wrap:anywhere; }
@media (prefers-reduced-motion:reduce) {
  .story-copy { transition:none; }
  .story-sticky { position:sticky;top:var(--header); }
  .menu-toggle span { transition:none; }
}
