/* Mobile storefront layer. Desktop composition remains owned by the base files. */
@media (max-width: 820px) {
  /* `hidden` creates a mobile scroll container and breaks sticky story stages. */
  html { overflow-x: clip; overflow-y: visible; }
  body { padding-bottom: 58px; overflow-x: clip; overflow-y: visible; }
  .home-page main,
  .catalog-page main { overflow: clip; }

  /* Compact top identity with a persistent, thumb-friendly bottom navigation. */
  .site-header {
    position: absolute;
    height: 64px;
    padding: 0 16px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    background: linear-gradient(180deg, rgba(3,8,14,.72), transparent);
    border-bottom-color: rgba(255,255,255,.14);
  }
  .site-header .brand-centered {
    position: relative;
    left: auto;
    top: auto;
    justify-self: start;
    height: 64px;
    transform: none;
    animation-name: mobileLogoEnter;
  }
  .home-page .site-header .brand-centered { animation-name: mobileLogoEnter; }
  .brand-wordmark span { font-size: 16px; }
  .brand-wordmark strong { font-size: 10px; }
  .site-header::after,
  .home-page .site-header::after,
  .catalog-page .site-header::after { display: none; }
  .site-header .nav-links {
    position: fixed;
    z-index: 90;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    min-height: 50px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 6px;
    background: rgba(7,12,17,.88);
    color: #fff;
    box-shadow: 0 16px 38px rgba(0,0,0,.34);
    backdrop-filter: blur(18px) saturate(125%);
    width: auto;
    max-width: none;
    justify-self: stretch;
  }
  .site-header .nav-links a {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 9px 3px;
    border: 0;
    color: rgba(255,255,255,.62);
    font-size: 8px;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
  }
  .site-header .nav-links a:hover,
  .site-header .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
  .site-header .nav-actions { grid-column: 2; gap: 8px; justify-self: end; }
  .language-switch { gap: 9px; font-size: 8px; }
  .language-switch a { padding: 10px 0; }
  .header-contact { display: none; }
  html[lang="ru"] .site-header { padding-right: 16px; padding-left: 16px; }
  html[lang="ru"] .site-header .nav-links { gap: 0; }
  html[lang="ru"] .site-header .nav-links a { font-size: 7px; }
  html[lang="ru"] .vessel-copy h2 { max-width: 100%; overflow-wrap: anywhere; font-size: 40px; }

  .catalog-page .site-header {
    background: linear-gradient(180deg, rgba(244,244,240,.96), rgba(244,244,240,.72) 72%, transparent);
    border-bottom-color: rgba(17,20,23,.1);
  }
  .catalog-page .site-header .language-switch a { color: rgba(17,20,23,.52); }
  .catalog-page .site-header .language-switch a.active { color: #111417; }

  /* Full-height cinema, composed around the vertical crop. */
  .hero-cinema { min-height: max(720px,100svh); }
  .hero-cinema video.hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 61% center;
    transform: scale(1.01);
  }
  .hero-cinema .hero-shade {
    background:
      linear-gradient(180deg, rgba(3,8,14,.55) 0%, rgba(3,8,14,.08) 28%, rgba(3,8,14,.12) 48%, rgba(3,8,14,.94) 88%, #07141c 100%),
      linear-gradient(90deg, rgba(3,8,14,.54), transparent 72%);
  }
  .hero-sound-toggle {
    position: absolute;
    top: 78px;
    right: 16px;
    min-height: 38px;
    padding: 9px 0;
  }
  .hero-cinema .cinema-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 66px;
    width: auto;
    padding: 0 18px;
  }
  .hero-cinema .hero-kicker { font-size: 8px; }
  .hero-cinema .cinema-copy h1 {
    max-width: 350px;
    margin: 20px 0 0;
    font-size: clamp(48px,15vw,64px);
    line-height: .88;
  }
  html[lang="ru"] .hero-cinema .cinema-copy { width: auto; }
  html[lang="ru"] .cinema-copy h1 { max-width: 360px; font-size: clamp(42px,12.8vw,56px); }
  .hero-cinema .hero-summary { max-width: 335px; margin-top: 18px; font-size: 12px; line-height: 1.55; }
  .hero-cinema .hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 330px; margin-top: 22px; }
  .hero-cinema .hero-actions a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .cinema-offer,
  .hero-footnote { display: none; }
  .section-transition { height: 110px; margin: -56px 0; }

  /* Scroll journey remains cinematic, with copy clear of the product silhouette. */
  .vessel-journey { height: 225vh; }
  .vessel-sticky { min-height: 620px; }
  .vessel-copy { top: 12vh; }
  .vessel-copy-three { top: 12vh; bottom: auto; }
  .vessel-copy h2 { max-width: 330px; font-size: clamp(38px,11vw,48px); }
  .vessel-copy > span { max-width: 300px; }
  .vessel-craft-frame { width: min(72vw,300px); }
  .vessel-progress { left: 5vw; right: 5vw; bottom: 6vh; }
  .vessel-next { bottom: 11vh; }

  /* Arc carousel: center model stays large; adjacent models remain discoverable. */
  .featured-products {
    min-height: 870px;
    margin-top: -90px;
    padding: 170px 18px 82px;
    -webkit-mask-image: linear-gradient(180deg,transparent 0,#000 92px,#000 100%);
    mask-image: linear-gradient(180deg,transparent 0,#000 92px,#000 100%);
  }
  .featured-heading { gap: 13px; margin-bottom: 0; }
  .featured-heading h2 { font-size: 43px; }
  .featured-heading > p:last-child { max-width: 325px; font-size: 11px; }
  .featured-carousel { margin-right: -18px; margin-left: -18px; }
  .featured-viewport { height: 430px; touch-action: pan-y; }
  .featured-card { width: min(64vw,248px); height: 340px; padding: 14px; }
  .featured-card img { height: 254px; margin-top: 14px; }
  .featured-card-copy { left: 14px; right: 14px; bottom: 14px; }
  .featured-card-copy h3 { font-size: 12px; }
  .featured-selection { min-height: 92px; margin-top: -62px; }
  .featured-selection strong { max-width: 90vw; font-size: 30px; }
  .featured-status { grid-template-columns: 25px 1fr 25px; gap: 10px; margin-top: 18px; }
  .featured-status button { min-height: 42px; width: 100%; max-width: 250px; justify-content: center; }

  /* Model presentation turns into a natural vertical product story. */
  .spotlight-dialog { width: 100%; height: 100%; }
  .spotlight-shell { display: block; height: auto; min-height: 0; }
  .spotlight-visual { min-height: 57svh; }
  .spotlight-visual img { left: 50%; top: 48%; width: 88%; height: 52%; }
  .spotlight-part { top: 64px; }
  .part-one { left: 5vw; }
  .part-two { left: 35vw; }
  .part-three { left: 65vw; }
  .spotlight-part-copy { left: 5vw; bottom: 28px; width: 62%; }
  .spotlight-copy { padding: 46px 20px 108px; border: 0; }
  .spotlight-copy h2 { margin-top: 24px; font-size: clamp(45px,14vw,62px); }
  .spotlight-summary { margin-top: 18px; }
  .spotlight-specs { margin-top: 30px; }
  .spotlight-price { grid-template-columns: 1fr; margin-top: 30px; }
  .spotlight-price span { grid-column: 1; grid-row: auto; margin-top: 12px; text-align: left; }
  .spotlight-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .spotlight-actions .primary-action { min-height: 46px; }
  .spotlight-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .spotlight-model-nav {
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 5px;
    border: 1px solid rgba(17,20,23,.15);
    border-radius: 28px;
    background: rgba(250,250,248,.88);
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
  }
  .assembly-sticky { min-height: 1160px; padding: 70px 20px 90px; }
  .assembly-heading { top: 54px; left: 20px; width: calc(100% - 40px); }
  .assembly-heading h2 { max-width: 100%; font-size: 28px; }
  .assembly-route { top: 168px; width: 82vw; }
  .assembly-visual { inset: 155px 0 auto; height: 600px; }
  .assembly-product { width: 90vw; }
  .assembly-narrative { right: 20px; bottom: 78px; left: 20px; }

  /* Markets and metrics fit without shrinking text into illegibility. */
  .markets { padding: 82px 18px 44px; }
  .markets-heading h2 { font-size: 42px; }
  .markets-heading > p { max-width: 330px; font-size: 11px; }
  .world-map { min-height: 625px; margin-top: 22px; }
  .globe-canvas {
    inset: 0 -20% 42%;
    filter: brightness(1.22) contrast(1.04) drop-shadow(0 24px 42px rgba(0,0,0,.38));
  }
  .map-label { width: 44%; }
  .label-russia,.label-belarus { top: 57%; }
  .label-central-asia,.label-africa { top: 72%; }
  .label-russia,.label-central-asia { left: 0; }
  .label-belarus,.label-africa { left: 54%; }
  .market-summary { font-size: 9px; }
  .momentum { padding: 70px 18px; }
  .momentum-sticky { min-height: 720px; }
  .momentum-copy h2 { font-size: 42px; }
  .annual-value { margin-top: 55px; }
  .annual-value strong { font-size: clamp(42px,13vw,58px); }
  .quarter-chart { left: 18px; right: 18px; top: 49%; }
  .run-rate-formula { left: 18px; right: 18px; bottom: 68px; }
  .projection-source { left: 18px; right: 18px; bottom: 20px; font-size: 7px; }

  /* Delivery becomes a tap-friendly vertical sequence. */
  .delivery { height: auto; min-height: 0; padding: 88px 18px 92px; }
  .delivery-sticky {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }
  .delivery-sticky::before { top: -42px; right: 0; }
  .delivery .route-copy { max-width: none; }
  .delivery .route-copy h2 { font-size: 42px; }
  .delivery .route-copy > p:not(.section-kicker) { font-size: 12px; }
  .delivery-live { margin: 26px 0 18px; }
  .delivery .secondary-dark { width: 100%; min-height: 44px; }
  .delivery .route-map { min-height: 0; margin-top: 46px; }
  .delivery .route-line { top: 5%; bottom: 5%; }
  .route-step { grid-template-columns: 43px 28px minmax(0,1fr); min-height: 72px; padding-right: 4px; opacity: .48; }
  .route-step.active,.route-step:hover,.route-step:focus-visible { transform: translateX(5px); }
  .route-step h3 { font-size: 15px; }
  .route-step.active p { max-height: 90px; }
  .delivery-corridor { margin-top: 30px; gap: 10px; font-size: 7px; }

  .proof { padding: 82px 18px 70px; }
  .proof-title h2 { font-size: 42px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 0; }
  .home-page .footer,
  .catalog-page .footer { padding: 70px 18px 105px; }
  .home-page .footer .legal { padding-right: 0; padding-left: 0; }
  .home-page .footer .footer-socials { flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 0; padding-left: 0; }
  .home-page .footer .footer-social-links { width: 100%; justify-content: space-between; }
  .home-page .footer .footer-social-link { width: 52px; height: 52px; }
  .contact-dock { right: 14px; bottom: calc(70px + env(safe-area-inset-bottom)); }

  /* Catalogue and transactional dialogs. */
  .catalog-page .site-header { position: absolute; }
  .catalog-intro { min-height: 520px; padding: 112px 18px 62px; }
  .catalog-intro h1 { font-size: clamp(46px,13vw,60px); }
  .catalog-intro-summary strong { font-size: 22px; }
  .catalog-back { top: 76px; left: 18px; }
  .catalog-page .collection { padding: 56px 18px 78px; }
  .section-heading h2 { font-size: 42px; }
  .brand-tabs { grid-template-columns: 1fr 1fr; }
  .brand-tab { min-height: 104px; }
  .catalog-page .catalog-tools { gap: 12px; }
  .catalog-page .filters { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .catalog-page .filter { flex: 0 0 auto; min-width: 120px; }
  .catalog-page .search-box { width: 100%; }
  .catalog-page .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .catalog-page .product-image { aspect-ratio: 1.28; }
  .product-dialog,
  .quote-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; }
  .product-dialog { overflow-y: auto; }
  .product-dialog .dialog-layout { display: block; }
  .product-dialog .dialog-visual { min-height: 42svh; padding: 48px 20px 20px; }
  .product-dialog .dialog-content { padding: 36px 20px 70px; }
  .product-dialog .dialog-content h2 { font-size: 40px; }
  .product-dialog .dialog-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-dialog .dialog-actions { align-items: stretch; flex-direction: column; }
  .quote-dialog { overflow-y: auto; padding: 62px 20px 70px; }
  .quote-dialog .quote-layout { display: block; }
  .quote-dialog .quote-socials { margin-top: 24px; padding-top: 20px; }
  .quote-dialog form { margin-top: 34px; }

  /* About keeps its editorial motion while gaining usable mobile navigation. */
  .about-page { padding-bottom: 0; overflow-x: clip; overflow-y: visible; }
  .about-header { height: 58px; padding: 0 14px; grid-template-columns: 1fr auto; mix-blend-mode: normal; background: rgba(8,8,11,.72); backdrop-filter: blur(14px); }
  .about-header .wordmark strong { font-size: 9px; }
  .about-header .book-call { font-size: 8px; }
  .about-hero { height: 165vh; }
  .about-page .hero-copy { left: 18px; bottom: 11%; width: calc(100% - 36px); }
  .about-page .hero-tv-screen { width: 122vw; }
  .about-page .hero-copy h1 { font-size: clamp(39px,11.5vw,48px); }
  .about-page .hero-ghost { left: 18px; width: calc(100% - 36px); font-size: 36px; }
  .work-sticky header { top: 78px; padding: 0 18px; }
  .work-sticky h2 { font-size: 38px; }
  .paper-hero span { width: 90%; text-align: center; }
  .paper-intro,.paper-showcase,.paper-serious { padding-right: 18px; padding-left: 18px; }
  .paper-intro > h2,.paper-showcase h2,.serious-main h2 { overflow-wrap: anywhere; font-size: 40px; }
  .paper-serious aside { width: 100%; }
  .about-footer { padding-right: 18px; padding-bottom: 80px; padding-left: 18px; }
}

@media (max-width: 430px) {
  .language-switch { gap: 7px; }
  .brand-wordmark strong { max-width: 92px; }
  .hero-cinema .cinema-copy { bottom: 72px; }
  .hero-cinema .cinema-copy h1 { font-size: 49px; }
  .featured-card { width: 66vw; }
  .map-label strong { font-size: 14px; }
  .map-label small { font-size: 8px; }
  .spotlight-part strong { font-size: 8px; }
  .spotlight-copy h2 { font-size: 46px; }
  .spotlight-specs { grid-template-columns: repeat(2,1fr); }
  .spotlight-specs div:nth-child(3) { border-top: 1px solid rgba(17,20,23,.12); border-left: 0; }
  .catalog-intro h1 { font-size: 47px; }
  .brand-tab { min-height: 92px; }
  .brand-tab strong { font-size: 15px; }
}

@media (max-width: 520px) {
  /* Compact the model overview, then give every product-system frame a full scroll beat. */
  .spotlight-visual { min-height: 48svh; }
  .spotlight-visual img { top: 47%; width: 92%; height: 55%; }
  .spotlight-part { top: 52px; }
  .spotlight-part-copy { bottom: 20px; width: 72%; }
  .spotlight-copy { padding: 32px 18px 76px; }
  .spotlight-copy h2 { margin-top: 18px; font-size: 42px; line-height: .9; }
  .spotlight-series { margin-top: 12px; }
  .spotlight-summary { margin-top: 14px; line-height: 1.58; }
  .spotlight-specs { margin-top: 18px; }
  .spotlight-specs div { padding-top: 13px; padding-bottom: 13px; }
  .spotlight-price { margin-top: 20px; }
  .spotlight-actions { margin-top: 20px; }

  .assembly-story {
    height: 420svh;
    min-height: 3000px;
  }
  .assembly-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 0;
    padding: 24px 18px 30px;
  }
  .assembly-heading { top: 24px; left: 18px; width: calc(100% - 36px); }
  .assembly-heading h2 { font-size: 26px; }
  .assembly-route { top: 94px; width: 86vw; }
  .assembly-visual { inset: 108px 0 auto; height: 430px; }
  .assembly-product,.assembly-item { left: 50%; top: 47%; }
  .assembly-product { width: 96vw; height: 410px; }
  .assembly-item { width: 82vw; height: 390px; }
  .assembly-narrative {
    right: 18px;
    bottom: 34px;
    left: 18px;
    min-height: 0;
    padding: 16px 0 0;
  }
  .assembly-narrative > p:first-of-type { margin: 0 0 8px; }
  .assembly-narrative h3 { font-size: 30px; }
  #assembly-description { min-height: 0; margin-top: 12px; line-height: 1.55; }
  .assembly-state { margin-top: 15px; }
  .assembly-narrative > a { margin-top: 15px; }
  .assembly-caveat { margin-top: 13px; }
  .assembly-story[data-line="atv"] .assembly-product { width: 94vw; height: 410px; }
  .assembly-story[data-line="atv"] .assembly-item { width: 82vw; height: 150px; }
}

/* Mobile is a separate composition, not a compressed desktop canvas. */
@media (max-width: 820px) {
  :root { --mobile-gutter: 18px; }
  .home-page main { background: #070a0e; }
  .home-page .section-transition { height: 76px; margin: -38px 0; }

  .hero-cinema .cinema-copy { bottom: 74px; }
  .hero-cinema .cinema-copy h1 { max-width: 320px; }
  .hero-cinema .hero-summary { max-width: 310px; }
  .hero-cinema .hero-actions { max-width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-cinema .hero-actions a { min-width: 0; padding-right: 10px; padding-left: 10px; font-size: 9px; text-align: center; }

  .vessel-journey { height: 200svh; }
  .vessel-sticky { min-height: 100svh; }
  .vessel-copy { top: 11svh; right: var(--mobile-gutter); left: var(--mobile-gutter); width: auto; }
  .vessel-copy h2 { max-width: 300px; font-size: clamp(37px,10.5vw,45px); }
  .vessel-copy > span { max-width: 285px; font-size: 11px; }
  .vessel-craft-frame { width: min(68vw,286px); }
  .vessel-next { right: var(--mobile-gutter); bottom: 9svh; }

  .featured-products {
    z-index: 20;
    min-height: 880px;
    margin-top: -92svh;
    padding: 76px var(--mobile-gutter) 66px;
    -webkit-mask-image: linear-gradient(180deg,transparent 0,#000 72px,#000 100%);
    mask-image: linear-gradient(180deg,transparent 0,#000 72px,#000 100%);
  }
  .featured-heading { gap: 10px; }
  .featured-heading h2 { font-size: 39px; }
  .featured-heading > p:last-child { max-width: 300px; line-height: 1.5; }
  .featured-carousel { margin-top: 26px; }
  .featured-viewport { height: 445px; }
  .featured-card { top: 66%; }
  .featured-card { width: min(62vw,238px); height: 324px; }
  .featured-card img { height: 238px; }
  .featured-selection { min-height: 82px; margin-top: -34px; }
  .featured-selection strong { font-size: 27px; }
  .featured-status { margin-top: 12px; }

  .home-page .markets { padding: 54px var(--mobile-gutter) 38px; }
  .markets-heading { gap: 14px; }
  .markets-heading h2 { max-width: 340px; font-size: 39px; }
  .markets-heading > p { max-width: 310px; line-height: 1.5; }
  .world-map { min-height: 540px; margin-top: 18px; }
  .globe-canvas { inset: 0 -15% 39%; }
  .label-russia,.label-belarus { top: 54%; }
  .label-central-asia,.label-africa { top: 69%; }
  .market-summary { gap: 4px; padding-top: 12px; }

  .home-page .momentum { min-height: 0; padding: 64px var(--mobile-gutter) 54px; }
  .home-page .momentum-sticky { display: block; min-height: 0; height: auto; overflow: visible; padding: 0; }
  .momentum-copy h2 { max-width: 330px; font-size: 39px; }
  .momentum-note { max-width: 310px; margin-top: 18px; }
  .home-page .annual-value { margin-top: 38px; }
  .home-page .annual-value strong { font-size: clamp(39px,12vw,54px); }
  .home-page .quarter-chart { position: relative; inset: auto; height: 190px; min-height: 190px; margin-top: 34px; }
  .home-page .quarter { padding: 10px 7px; }
  .home-page .quarter-bar { right: 14%; left: 14%; }
  .home-page .run-rate-formula { position: static; display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .home-page .run-rate-formula div,.home-page .run-rate-formula div+div { padding: 11px 0; }
  .home-page .projection-source { position: static; margin-top: 16px; font-size: 8px; line-height: 1.45; text-align: left; }

  .delivery { padding-top: 72px; padding-bottom: 74px; }
  .delivery .route-copy h2,.proof-title h2 { font-size: 39px; }
  .delivery .route-map { margin-top: 36px; }
  .proof { padding-top: 68px; padding-bottom: 58px; }
  .proof-grid { margin-top: 30px; }
  .proof-grid article { padding: 24px 0; }

  .home-page .footer { grid-template-columns: 1fr; gap: 26px; padding-top: 58px; }
  .home-page .footer .footer-socials { margin-top: 0; padding-top: 18px; padding-bottom: 18px; }
  .home-page .footer .legal { font-size: 8px; line-height: 1.5; }

  .live-status {
    position: absolute;
    top: 74px;
    left: 14px;
    bottom: auto;
  }
  .contact-dock {
    right: 14px;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .hero-cinema .hero-actions { grid-template-columns: 1fr; max-width: 310px; }
  .hero-cinema .cinema-copy { bottom: 68px; }
  .featured-products { margin-top: -88svh; }
}

@keyframes mobileLogoEnter {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
