/* Mobile layout: the film, message and next action each have their own space. */
.header .languages{justify-content:flex-end;justify-self:end;gap:4px;margin-left:auto;padding-left:0}
.header .languages a{padding:6px 4px}
@media (max-width: 900px) {
  .header {
    display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto auto;
    height:auto;min-height:0;padding:12px 18px 6px;gap:5px 14px;
  }
  .header .brand{grid-column:1;grid-row:1;width:160px;max-width:100%;margin:0}
  .header .menu-toggle{display:block;grid-column:2;grid-row:1;width:44px;min-height:44px;margin:0}
  .header .languages{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-end;gap:0;width:100%;padding:0;margin:0;border-top:1px solid #45484a}
  .header .languages a{display:grid;place-items:center;min-width:36px;min-height:40px;padding:0 5px;font-size:11px;letter-spacing:.03em;color:#c5c9cb}
  .header .languages a[aria-current]{color:#fff}
  .header .desktopnav,.header .headercta{display:none}
  .header .mobile-nav{top:100%;left:0;right:0;max-height:calc(100dvh - 112px);overflow-y:auto;padding:10px 18px 18px;background:#282a2c}
  .header .mobile-nav:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .header .mobile-nav[hidden]{display:none}
  .header .mobile-nav a{display:flex;align-items:center;min-width:0;min-height:48px;font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #44484a}
  .header .mobile-nav a:last-child{grid-column:1/-1;justify-content:space-between;margin-top:12px;padding:12px 14px;min-height:48px;background:#333c42;border:1px solid #64828f}
}

@media (max-width: 900px) {
  body[data-page="home"] .hero{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;max-height:none;overflow:hidden;background:#282a2c}
  body[data-page="home"] .hero>video{position:relative;inset:auto;grid-column:1;grid-row:1;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center;background:#151719;visibility:visible}
  body[data-page="home"] .hero-shade,body[data-page="home"] .hero:after,body[data-page="home"] .hero:before{display:none}
  body[data-page="home"] .hero-content{grid-column:1;grid-row:2;position:relative;width:auto;max-width:none;margin:0;padding:25px 20px 28px;background:#282a2c}
  body[data-page="home"] .hero-content>.eyebrow,body[data-page="home"] .hero-content>p:not(.eyebrow){display:none}
  body[data-page="home"] .hero h1{font-size:clamp(29px,8vw,36px);line-height:1.14;letter-spacing:-.04em;max-width:100%;margin:0 0 22px;overflow-wrap:normal}
  body[data-page="home"] .hero .actions{display:block;width:100%;max-width:360px;margin:0}
  body[data-page="home"] .hero .actions .btn:first-child{display:flex;justify-content:center;width:100%;min-height:49px;padding:13px 16px;background:#0b7ca6;border-color:#0b7ca6;color:#fff;font-size:13px}
  body[data-page="home"] .hero .actions .btn.secondary,body[data-page="home"] .hero-arrow,body[data-page="home"] .hero .actions .link-arrow{display:none}
  body[data-page="home"] .hero-bottom{position:relative;grid-column:1;grid-row:1;align-self:end;justify-self:end;inset:auto;display:block;width:auto;margin:0 12px 12px 0;padding:0;z-index:3}
  body[data-page="home"] .hero-caption{display:none}
  body[data-page="home"] #video-toggle{display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:1px solid #ffffff90;border-radius:50%;background:#151719b8;color:#fff}
  body[data-page="home"] #video-toggle span{display:none}

}

@media (max-width: 680px) {
  .wrap{width:calc(100% - 36px)}
  main,main section,main article,.config-layout>*{min-width:0}
  body{font-size:15px;line-height:1.65}
  h2{font-size:29px;line-height:1.18;letter-spacing:-.035em}
  .section,.home-band{padding-block:42px}
  .btn{min-height:48px;max-width:100%;font-size:13px;line-height:1.4;white-space:normal}
  .page-intro{padding-top:36px;padding-bottom:30px}
  .page-intro h1,.config-heading h1{font-size:clamp(29px,8vw,37px);line-height:1.13;letter-spacing:-.04em;margin-bottom:18px}
  .page-intro p,.lead-small{font-size:16px;line-height:1.65}
  .page-intro:after{opacity:.07}


  body[data-page="home"] .home-role-band{padding-block:64px}
  .home-role-band h2{font-size:29px;line-height:1.2;margin-bottom:32px}
  .home-role-grid{grid-template-columns:1fr}
  .home-role-grid>a{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;gap:14px;align-items:center;padding:24px 0;margin:0;border-right:0;border-top:0;border-bottom:1px solid #56585a}
  .home-role-grid>a:nth-child(n+4){border-top:0}
  .home-role-grid h3{font-size:19px;line-height:1.35;margin:0}
  .home-role-grid p{display:none}
  .home-role-grid .role-number{padding-top:0}
  .home-role-grid .role-arrow{grid-column:3;grid-row:1;margin:0}
  .home-band-head{gap:15px;margin-bottom:22px;padding-bottom:17px}
  .home-band h2,.home-guide h2{font-size:28px;line-height:1.18}
  .home-band-head p:not(.home-kicker){font-size:15px;line-height:1.6}
  .showcase-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  .showcase-tabs button{min-width:0;min-height:58px;padding:10px 7px;font-size:11px;line-height:1.4;white-space:normal}
  .home-model-copy{padding:18px}
  .home-model-copy h3{font-size:23px;line-height:1.2}
  .home-model-copy>p{font-size:14px;line-height:1.6}
  .home-model-actions{flex-direction:column;align-items:stretch;gap:9px}
  .home-model-actions .textlink{align-self:flex-start;min-height:40px}
  .home-use-grid{gap:18px}
  .home-use{display:flex;flex-direction:column}
  .home-use img{width:100%;height:auto;min-height:0;aspect-ratio:3/2;object-fit:contain;background:var(--photo-mat)}
  .home-use>div{padding:18px 47px 20px 18px}
  .home-use h3{font-size:19px;line-height:1.25}
  .home-use p{font-size:14px;line-height:1.6}
  .home-use .use-arrow{width:28px;height:28px;right:12px;top:17px}
  .home-installation{padding-block:42px}
  body[data-page="home"] .home-benefits{padding-block:72px}
  .home-installation h2{font-size:28px;line-height:1.2}
  .home-benefits h2{font-size:clamp(30px,8.6vw,36px);line-height:1.16}
  .home-installation p{font-size:15px;line-height:1.65}
  .home-benefits .home-benefit-intro>p{font-size:16px;line-height:1.8;max-width:34ch}

  .models-grid{gap:24px}
  .model-body{padding:20px}
  .model-body h2{font-size:27px;line-height:1.17;overflow-wrap:anywhere}
  .model-body p,.model-body dd{font-size:14px;line-height:1.6}
  .model-specs summary{min-height:48px;line-height:1.45}
  .model-specs table{table-layout:fixed;width:100%;font-size:12px}
  .model-specs th,.model-specs td{overflow-wrap:anywhere}
  .filterbar{gap:8px;padding-block:17px 24px}
  .filterbar button{min-height:44px;font-size:12px}

  .about-photo-split .barteni-sparks-head{padding:33px 20px 24px}
  .about-photo-split .barteni-sparks-head :is(h1,h2){font-size:31px;line-height:1.15}
  .about-photo-split figure{height:clamp(360px,58vh,460px);min-height:0;max-height:none}
  .about-photo-split .barteni-sparks-copy{padding:28px 20px 34px}
  .about-photo-split .barteni-sparks-copy>p{font-size:15px;line-height:1.7}
  .story-person .portrait-platform,.contact-person .portrait-platform{--portrait-size:88px;--platform-rim:18px}
  .story-person,.contact-person{gap:14px}
  .story-person .story-name{font-size:16px}
  .story-person .story-role,.story-person a{font-size:12px;line-height:1.6}
  .contact-grid{gap:24px;padding-bottom:40px}
  .contact-info{padding:22px 20px}
  .contact-person{margin:16px 0 22px;align-items:center}
  .contact-person h2{min-width:0;font-size:22px;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
  .contact-info dd{font-size:16px;line-height:1.55;overflow-wrap:anywhere}
  .contact-project{padding:18px}
  .contact-project h2{font-size:27px}
  .contact-whatsapp{width:100%;justify-content:center;gap:10px;padding:12px;font-size:12px}

  .config-app{padding-top:34px}
  .config-heading{padding-bottom:22px}
  .config-heading+.config-layout{margin-top:24px}
  .config-heading p{font-size:15px;line-height:1.6}
  .config-heading .reset{margin-top:10px;min-height:44px}
  .config-steps{gap:6px;margin-block:22px}
  .config-steps button{display:flex;align-items:center;gap:8px;min-height:54px;font-size:11px;line-height:1.4;padding:8px;border:1px solid var(--line);border-radius:3px;text-align:left}
  .config-steps button>span{display:grid;place-items:center;flex:none;width:24px;height:24px;margin:0;font-size:9px}
  .config-steps button[aria-current]{border-color:#268cb3;background:#e8f1f4}
  .config-panel h2{font-size:25px;line-height:1.2}
  .config-panel>.intro{font-size:14px;line-height:1.6}
  .request-form h3{font-size:23px;line-height:1.25}
  .option-grid{grid-template-columns:1fr;gap:9px}
  .option{padding:15px 16px;min-height:0}
  .option b{font-size:16px;line-height:1.35}
  .option small{font-size:13px;line-height:1.5}
  .config-actions{margin-top:20px;gap:12px}
  .config-actions .btn{min-width:120px}
  .config-layout{gap:26px}
  .config-aside{position:static}
  .diagram{padding:18px}
  .diagram svg{max-height:255px}
  .aside-summary{padding:19px}
  .form-field input,.form-field select,.form-field textarea{font-size:16px;max-width:100%}
  .form-field label,.fieldhelp{line-height:1.55}

  .photo-grid{grid-template-columns:1fr;gap:15px}
  .gallery-photo img{height:auto;max-height:440px;aspect-ratio:auto;object-fit:contain;object-position:center;background:var(--photo-mat)}
  .gallery-section .section-head{margin-bottom:22px;gap:14px}
  .gallery-section .section-head h2{font-size:29px}
  .video-grid{grid-template-columns:1fr;gap:22px}
  .video-grid video{max-width:100%}
  .lightbox{width:calc(100% - 16px);max-width:none;padding:12px}
  .lightbox-bar{gap:12px;font-size:12px;line-height:1.5}
  .lightbox button{min-width:44px;min-height:44px}
  .footer-top{padding:36px 20px;gap:26px}
  .footer-bottom{padding:22px 20px;gap:14px;line-height:1.5}
}

@media (max-width:360px){
  .header{padding-inline:16px}
  .header .brand{width:148px}
  .hero-content{padding-inline:18px}
  .story-person .portrait-platform,.contact-person .portrait-platform{--portrait-size:80px;--platform-rim:16px}
  .contact-person h2{font-size:20px}
  .showcase-tabs button{font-size:10px;padding-inline:5px}
}
