/* Studio proofs: larger plates, dark sample rails, same sans and orthogonal hero. */

@media (min-width:861px){
  .hero.hero-press.hero-impact .press{
    width:min(1620px,calc(100% - 16px));
    margin-left:auto;margin-right:0;
    grid-template-columns:minmax(320px,390px) minmax(0,1fr);
    gap:36px;
  }
}

#screenline h2,#compare h2,#materials h2,#library h2{
  font-size:clamp(40px,4.8vw,72px);line-height:1.12;
}

#screenline .screenline-head{padding-bottom:8px}
#screenline .screenline-layout{
  width:min(1600px,calc(100% - 20px));
  grid-template-columns:minmax(0,1fr) 300px;
  gap:0;align-items:stretch;
}
#screenline .screenline-stage{
  position:sticky;top:84px;
  height:min(82vh,880px);aspect-ratio:auto;border-radius:0;
}
#screenline .screenline-steps li{min-height:0}
@media (min-width:861px){
  #screenline .screenline-steps{
    background:#2A2724;color:#E8E4DF;
    display:flex;flex-direction:column;
    height:min(82vh,880px);margin:0;padding:0;
    position:sticky;top:84px;
  }
  html:not(.reduce-motion) #screenline .screenline-steps li{
    flex:1;min-height:0;display:flex;align-items:center;
  }
  #screenline .screenline-steps li{border-top-color:rgba(232,228,223,.14)}
  #screenline .screenline-steps button{color:#E8E4DF;font-size:18px;padding:0 18px}
  #screenline .screenline-steps b{color:#E1067A;font-size:13px}
  #screenline .screenline-steps li.is-on{background:rgba(225,6,122,.12)}
}

#compare{padding:88px 0 96px}
#compare .wrap{width:min(1560px,calc(100% - 24px))}
#compare .ba-pair{display:grid;grid-template-columns:1fr;gap:36px;counter-reset:build}
#compare .ba-pair > *{position:relative;counter-increment:build}
#compare .ba-pair > *::before{
  content:counter(build,decimal-leading-zero);
  position:absolute;z-index:5;top:16px;left:16px;
  background:#2A2724;color:#E8E4DF;
  font-size:16px;letter-spacing:.08em;padding:8px 12px;
  pointer-events:none;
}
#compare .ba{height:min(86vh,920px);border-radius:0}
#compare .ba .lab{border-radius:0;background:#2A2724;font-size:14px;padding:8px 12px}
#compare .ba .lab.l{left:72px;top:16px}
.build-plate{margin:0;position:relative;background:#2A2724}
.build-plate img{width:100%;height:min(82vh,880px);object-fit:cover;display:block}
.build-plate figcaption{
  position:absolute;left:0;bottom:0;display:flex;gap:12px;align-items:baseline;
  background:#2A2724;color:#E8E4DF;padding:12px 16px;font-size:18px;
}
.build-plate .concept{position:static;background:transparent;color:#E8E4DF;padding:0;letter-spacing:.08em}

#materials{padding:80px 0 88px}
#materials .wrap{width:min(1600px,calc(100% - 20px))}
#materials .mat-studio{
  display:grid;grid-template-columns:minmax(0,1fr) 220px;
  gap:0;align-items:stretch;background:#2A2724;
}
#materials .reg-plate{position:relative;display:block;margin:0}
#materials .reg-frame{height:min(86vh,940px);min-height:560px;aspect-ratio:auto}
#materials .reg-frame img{width:100%;height:100%;object-fit:cover}
#materials .reg-frame .concept{top:16px;right:16px;bottom:auto}
#materials .reg-meta{
  position:absolute;left:0;bottom:0;z-index:3;
  max-width:min(36rem,78%);
  background:#2A2724;color:#E8E4DF;
  padding:18px 22px 16px;border-top:0;border-left:4px solid #E1067A;
}
#materials .reg-meta .kicker{color:#E1067A}
#materials .reg-meta strong{font-size:clamp(32px,3.4vw,52px);letter-spacing:0.012em;line-height:1.2;color:#FCFAF7}
#materials .reg-meta p:last-child{margin:0;color:#E8E4DF}
#materials .gallery-row{
  display:flex;flex-direction:column;gap:0;
  max-height:min(86vh,940px);overflow:auto;
  margin:0;padding:0;scroll-snap-type:y proximity;cursor:default;
  background:#2A2724;
}
#materials .g-item{
  flex:0 0 auto;height:auto;width:100%;border-radius:0;
  display:grid;grid-template-rows:108px auto auto;
  background:#2A2724;border:0;border-bottom:1px solid rgba(232,228,223,.12);
  scroll-snap-align:start;
}
#materials .g-item img{width:100%;height:108px;object-fit:cover}
#materials .g-item .concept{
  position:static;order:3;background:transparent;color:#6E675E;
  padding:0 10px 8px;font-size:10px;border-radius:0;
}
#materials .g-name{
  order:2;display:block;padding:8px 10px 2px;font-size:13px;line-height:1.35;color:#E8E4DF;
}
#materials .g-item.is-hot{outline:none;box-shadow:inset 3px 0 0 #E1067A}

#library{background:#E8E4DF;color:#2A2724}
#library .hscroll-sticky{padding:80px 0 40px}
#library .hscroll-sticky:before{display:none}
#library h2,#library .lib-head p{color:#2A2724}
#library .kicker{color:#6E675E}
#library .hscroll-viewport{overflow-x:auto;scroll-snap-type:x mandatory}
#library .hscroll-track{
  display:flex;gap:18px;width:max-content;transform:none!important;
  padding:8px 18px 24px;
}
#library .lib-card{
  flex:0 0 min(94vw,1280px);height:min(88vh,920px);
  display:grid;grid-template-columns:1.55fr .62fr;gap:0;
  background:#2A2724;color:#E8E4DF;border:0;border-radius:0;box-shadow:none;
  scroll-snap-align:center;position:relative;
}
#library .lib-card:hover{transform:none;border-color:transparent;box-shadow:none}
#library .lib-card::before,#library .lib-card::after{
  content:"";position:absolute;width:16px;height:16px;z-index:3;pointer-events:none;
  border-color:#E8E4DF;border-style:solid;
}
#library .lib-card::before{left:10px;top:10px;border-width:1px 0 0 1px}
#library .lib-card::after{right:10px;bottom:10px;border-width:0 1px 1px 0}
#library .lib-media{height:100%;min-height:0;aspect-ratio:auto;border-radius:0;background:#2A2724}
#library .lib-media img{width:100%;height:100%;object-fit:cover}
#library .lib-body{
  padding:32px 28px 28px;display:flex;flex-direction:column;justify-content:flex-end;
  background:#2A2724;position:relative;
  box-shadow:inset 0 0 0 1px rgba(232,228,223,.16);
}
#library .lib-body h3{font-size:clamp(32px,3.2vw,48px);letter-spacing:0.012em;line-height:1.2;margin:8px 0 12px;color:#FCFAF7}
#library .lib-body p{font-size:16px;line-height:1.7;color:#E8E4DF}
#library .lib-spec{font-size:14px!important;color:#C8C2BA!important;border-top:1px solid rgba(232,228,223,.2)}
#library .lib-spec b{color:#E1067A}
#library .lib-tag{letter-spacing:.12em;border-radius:0;background:transparent;color:#E1067A;padding:0}
#library .lib-note{color:#6E675E}
#library .hscroll-bar{display:none}

#services{padding:100px 0}
#services .grid-3{grid-template-columns:1fr 1fr;gap:48px 28px}
#services .card .media{aspect-ratio:16/9;min-height:300px;border-radius:0}
#services .grid-3 > .card{border-top:0;border-left:3px solid #2A2724;box-shadow:none;border-radius:0}
#services .grid-3 > .card .num{color:#E1067A}
#services .grid-3 > .card:hover{box-shadow:none}
#services .card h3{font-size:clamp(26px,2.4vw,34px)}

#process{padding:88px 0}
#process .process{grid-template-columns:1fr;gap:0}
#process .process:before,#process .process .bar{display:none}
#process .step{--acc:#2A2724}
#process .step.is-on i{background:#2A2724;border-color:#2A2724;color:#E8E4DF}
#process .step{
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:2px 18px;
  text-align:left;align-items:baseline;padding:26px 0;
  border-top:1px solid rgba(42,39,36,.16);
}
#process .step i{grid-row:1 / span 3;align-self:start;margin:0;border-radius:0}
#process .step h4{font-size:22px;margin:0}
#process .step p{font-size:15px;max-width:46rem}

@media (max-width:860px){
  #materials .mat-studio{grid-template-columns:1fr;background:transparent}
  #materials .reg-frame{height:62vh;min-height:280px}
  #materials .reg-meta{position:static;max-width:none;margin-top:0;background:#2A2724;padding:14px 14px 12px}
  #materials .gallery-row{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden;cursor:grab;background:transparent;gap:8px;padding-top:10px}
  #materials .g-item{flex:0 0 148px;width:148px;height:auto;display:grid;grid-template-rows:96px auto}
  #materials .g-item img{height:96px}
  #materials .g-item .concept{display:none}
  #library .lib-card{flex-basis:90vw;height:auto;grid-template-columns:1fr}
  #library .lib-media{height:62vh}
  #compare .ba,.build-plate img{height:70vh}
  #compare .ba .lab.l{left:68px;top:16px}
  #screenline .screenline-layout{grid-template-columns:1fr;width:min(1180px,calc(100% - 32px))}
  #screenline .screenline-stage{height:auto;aspect-ratio:16/10;position:static}
  #screenline .screenline-steps{background:transparent;color:inherit;height:auto;position:static}
  #screenline .screenline-steps button{color:inherit}
  #screenline .screenline-steps .step-photo{aspect-ratio:auto;height:64vh;border-radius:0}
  #services .grid-3{grid-template-columns:1fr;gap:28px}
  #process .step{grid-template-columns:48px minmax(0,1fr)}
  #process .step i{border-radius:50%}
}
@media (max-width:390px){
  #materials .reg-meta strong{font-size:28px}
  #library .lib-body h3{font-size:28px}
  #screenline h2,#compare h2,#materials h2,#library h2{font-size:32px}
}
