@charset "utf-8";

/* ==========================================================================
   /products/ — the product catalogue hub
   Loads after style.css + solutions.css + services.css. Keeps to the same
   tokens. Page scope: one photo hero, the overview, the core technology
   grid, the naming table, and the catalogue — one row per series, the
   drive variants of that series inside the row.
   ========================================================================== */

/* ---------- hero: the studio picture is the background, no veil ---------- */
.phero--prod{
  /* the picture is 2:1: the hero takes that height so nothing is cropped */
  min-height:clamp(420px,50vw,820px);
  /* the picture is shot on black, so the letterbox is invisible */
  background:#050505;
  padding-block:clamp(26px,2.6vw,36px) clamp(40px,4.4vw,60px);
}
/* the picture is dark enough for white type: no grey scrim over the frame */
.phero--prod .phero__bg::after{content:none}
/* keep the black top band of the picture, so the copy sits on clean black,
   and never crop the machines: the picture is fitted, not cropped */
.phero--prod .phero__bg img{
  object-fit:contain;
  object-position:50% 0%;
}
/* the eyebrow line is the page heading: keep the small caps look, drop the
   headline metrics of an h1 */
.phero--prod h1.eyebrow{
  font-family:inherit;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.19em;
  line-height:1.4;
  max-width:none;
  text-transform:uppercase;
}

/* ---------- overview: one grid, both columns on the same top line ---------- */
.pov{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:clamp(26px,4.4vw,68px);
  align-items:start;
}
.pov__main{min-width:0}
.pov__main .h2{
  font-size:clamp(24px,2.5vw,34px);
  max-width:30ch;
  margin-top:0;
}
.pov__main .lead{margin-top:16px;max-width:54ch}
.pov__main .prose{margin-top:22px;max-width:60ch}
.pov__side{
  display:grid;gap:var(--pgap);align-content:start;
}
.pline{
  padding:clamp(18px,2.2vw,26px) clamp(18px,2.2vw,26px);
  background:var(--sand);
  border:1px solid var(--line);
}
.pline b{
  display:block;
  font-family:"Archivo","Inter",sans-serif;
  font-size:15.4px;font-weight:600;letter-spacing:-.012em;color:var(--ink);
}
.pline span{
  display:block;margin-top:9px;
  font-size:14.2px;line-height:1.62;color:var(--muted);
}

/* ---------- core technology ---------- */
.featgrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--pgap);
}
.feat{
  display:flex;flex-direction:column;
  padding:clamp(20px,2.4vw,28px);
  background:#fff;
  border:1px solid var(--line);
}
.feat__no{
  font-family:"Archivo","Inter",sans-serif;
  font-size:11px;font-weight:600;letter-spacing:.16em;
  color:var(--brand);margin-bottom:16px;
}
.feat__t{
  font-size:16.4px;font-weight:600;letter-spacing:-.016em;line-height:1.28;
  color:var(--ink);
}
.feat__d{
  margin-top:11px;
  font-size:13.6px;line-height:1.62;color:var(--muted);
}

/* ---------- model naming: the bracket diagram ---------- */
.naming{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:clamp(18px,2.6vw,40px);
  align-items:start;
  margin-bottom:clamp(22px,2.6vw,34px);
}
.ncode{
  display:block;width:100%;height:auto;
  color:var(--ink);
  background:var(--sand);
  border:1px solid var(--line);
  padding:clamp(14px,1.8vw,22px) clamp(14px,1.8vw,24px);
}
.ncode__code text{fill:currentColor}
.ncode__labels text{fill:var(--muted)}
.naming__parts{display:none}
.naming__ex{
  padding:clamp(18px,2.2vw,26px) clamp(18px,2.2vw,26px);
  background:#fff;
  border:1px solid var(--line);
  border-top:2px solid var(--brand);
}
.naming__exk{
  font-family:"Archivo","Inter",sans-serif;
  font-size:10.6px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--brand);
}
.naming__exv{
  margin-top:10px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:19px;font-weight:600;letter-spacing:.02em;color:var(--ink);
}
.naming__ext{
  margin-top:8px;
  font-size:14px;line-height:1.6;color:var(--muted);
}

/* ---------- the catalogue: one row per series ---------- */
.prow{
  padding-top:clamp(26px,2.8vw,36px);
  margin-top:clamp(30px,3.4vw,48px);
  border-top:1px solid var(--ink);
}
.prows>.prow:first-child{padding-top:0;margin-top:0;border-top:0}

.prow__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(16px,3vw,48px);
  align-items:end;
  margin-bottom:clamp(18px,2.2vw,28px);
}
.prow__code{
  font-family:"Archivo","Inter",sans-serif;
  font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--brand);margin-bottom:11px;
}
.prow__name{
  font-size:clamp(19px,1.9vw,25px);
  letter-spacing:-.022em;line-height:1.16;color:var(--ink);
}
.prow__fit{
  font-size:14.4px;line-height:1.66;color:var(--muted);
}
.prow__press{margin-top:12px}
.ptag{
  display:inline-block;
  padding:5px 11px;
  background:#fff;border:1px solid var(--line-2);
  font-size:11.8px;font-weight:600;letter-spacing:.02em;
  color:var(--ink);font-variant-numeric:tabular-nums;
}

.prow__cards{
  display:grid;
  /* one card width for every row, so a series with two members does not turn
     into two very large cards — the row simply stops where it ends */
  grid-template-columns:repeat(auto-fill,minmax(240px,340px));
  gap:var(--pgap);
}

/* a row with a single member reads as a wide card: picture left, text right */
.prow--solo .prow__cards{grid-template-columns:1fr}
.prow--solo .pcard a{flex-direction:row;align-items:stretch}
.prow--solo .pcard__media{
  flex:0 0 clamp(190px,22vw,300px);
  aspect-ratio:auto;padding:20px;
  border-right:1px solid var(--line);
}
.prow--solo .pcard__body{
  border-top:0;
  padding:clamp(20px,2.4vw,28px) clamp(20px,2.4vw,28px);
}
.prow--solo .pcard__name{font-size:17px}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .featgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .naming{grid-template-columns:1fr}
}
@media (max-width:900px){
  .pov{grid-template-columns:1fr}
  .pov__side{margin-top:6px}
  .prow__head{grid-template-columns:1fr;align-items:start;gap:12px}
  .prow__cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
  .prow--solo .prow__cards{grid-template-columns:1fr}
  .prow--solo .pcard a{flex-direction:column}
  .prow--solo .pcard__media{
    flex:none;aspect-ratio:1/1;
    border-right:0;border-bottom:1px solid var(--line);
  }
}
@media (max-width:900px){
  /* On a phone the picture cannot be the background of the whole hero: it
     would shrink into a strip and leave an empty black block. It becomes its
     own band under the copy instead - cropped left and right, never top and
     bottom, and no empty space in between. */
  .phero--prod{
    display:flex;flex-direction:column;
    min-height:0;padding-bottom:0;
  }
  .phero--prod .container{order:1}
  .phero--prod .phero__bg{
    position:static;order:2;
    /* 12:5 band: cover then scales the picture by its width, so the whole
       width is kept and the crop comes off the black top sixth */
    aspect-ratio:12/5;
    overflow:hidden;
  }
  .phero--prod .phero__bg img{
    object-fit:cover;
    object-position:50% 100%;
  }
  .phero--prod .phero__bg::after{content:none}
}
@media (max-width:720px){
  .featgrid{grid-template-columns:1fr}
  /* the bracket diagram is too wide to read on a phone: the same four parts
     are listed instead */
  .ncode{display:none}
  .naming__parts{
    display:grid;gap:0;
    border:1px solid var(--line);
    background:var(--sand);
  }
  .naming__parts li{
    display:flex;align-items:baseline;gap:16px;
    padding:12px 16px;
    border-bottom:1px solid var(--line);
  }
  .naming__parts li:last-child{border-bottom:0}
  .naming__parts b{
    flex:0 0 42px;
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
    font-size:14px;font-weight:600;color:var(--ink);
  }
  .naming__parts span{font-size:13.6px;line-height:1.5;color:var(--muted)}
}
