@charset "utf-8";

/* ==========================================================================
   Parent hub pages (2026-11-15)
   /products/frp-fans/  /products/metal-fans/  /solutions/industries/
   Loads after style.css + solutions.css + services.css + products.css.
   Reuses the site tokens and the existing .pcard / .icard / .stable / .pline
   components; this file only adds the three layouts those pages need:
   a photo hero, the industry-match rows and the certification cards.
   ========================================================================== */

/* ---------- photo hero: studio shot on black, copy on the dark top band ---- */
.phero--hub{
  background:#050505;
  min-height:clamp(440px,42vw,620px);
  padding-block:clamp(26px,2.6vw,36px) clamp(40px,4.4vw,58px);
}
.phero--hub .phero__bg img{object-fit:cover;object-position:50% 62%}
/* Copy sits on the left half, the machines run across the frame. A
   left-to-right veil keeps the headline and BOTH buttons legible on the
   pale casings while leaving the right-hand machines completely untouched. */
.phero--hub .phero__bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,
      rgba(5,5,5,.92) 0%,rgba(5,5,5,.85) 32%,
      rgba(5,5,5,.42) 56%,rgba(5,5,5,.06) 80%,rgba(5,5,5,0) 100%),
    linear-gradient(180deg,
      rgba(5,5,5,.42) 0%,rgba(5,5,5,0) 48%,rgba(5,5,5,.10) 100%);
}
.phero--hub .phero__in{position:relative;z-index:2}
.phero--hub h1{max-width:20ch}
.phero--hub .phero__sub{max-width:70ch}

/* ---------- series cards ------------------------------------------------- */
.hubseries{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--pgap);
}
.hubseries .pcard__media{aspect-ratio:4/3}
.hubseries .pcard__spec{flex:1}
.hubseries-note{
  margin:18px 0 0;max-width:92ch;
  font-size:12.6px;line-height:1.62;color:var(--muted);
}

/* ---------- chips: series codes and certification schemes ---------------- */
.hubchips{display:flex;flex-wrap:wrap;gap:6px}
.hubchip{
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 9px;border:1px solid var(--line-2);border-radius:var(--r);
  background:var(--sand);
  font-size:11.6px;font-weight:600;letter-spacing:.02em;
  color:var(--ink);text-decoration:none;white-space:nowrap;
  transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease);
}
a.hubchip:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.hubchip--cert{background:#fff;border-color:var(--line);color:var(--brand)}
a.hubchip--cert:hover{background:var(--brand);color:#fff}

/* ---------- product-to-industry match ------------------------------------ */
.hubmatch{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.hubmatch__grp{background:#fff;padding:22px 26px}
.hubmatch__head{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  border-bottom:1px solid var(--line);padding-bottom:11px;margin-bottom:2px;
}
.hubmatch__gname{
  font-size:16.5px;font-weight:600;letter-spacing:-.01em;
  color:var(--text);text-decoration:none;
}
.hubmatch__gname:hover{color:var(--brand)}
.hubmatch__count{
  font-size:10.5px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:#8a8a92;white-space:nowrap;
}
.hubmatch__rows{list-style:none;margin:0;padding:0}
.hubmatch__row{
  display:grid;
  grid-template-columns:minmax(150px,1.05fr) minmax(150px,1.1fr) minmax(220px,2.1fr);
  gap:18px;align-items:start;
  padding:13px 0;border-bottom:1px solid var(--line);
}
.hubmatch__row:last-child{border-bottom:0}
.hubmatch__ind{
  font-size:14px;font-weight:600;color:var(--text);text-decoration:none;line-height:1.4;
}
.hubmatch__ind:hover{color:var(--brand)}
.hubmatch__note{font-size:12.7px;line-height:1.6;color:var(--muted)}

/* ---------- certification scheme cards ----------------------------------- */
.hubcert{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--pgap)}
.hubcert__i{
  border:1px solid var(--line);background:#fff;
  padding:22px 24px;display:flex;flex-direction:column;
}
.hubcert__top{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.hubcert__t{font-size:17px;font-weight:600;color:var(--text);text-decoration:none}
.hubcert__t:hover{color:var(--brand)}
.hubcert__go{font-size:12px;font-weight:600;color:var(--brand);white-space:nowrap;text-decoration:none}
.hubcert__go:hover{text-decoration:underline}
.hubcert__d{margin:9px 0 0;font-size:13px;line-height:1.62;color:var(--muted)}
.hubcert__lbl{
  margin:18px 0 0;font-size:10.2px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:#8a8a92;
}
.hubcert__covers{margin-top:8px}
.hubcert__docs{
  margin:10px 0 0;padding-left:18px;
  font-size:12.5px;line-height:1.62;color:var(--muted);
}
.hubcert__docs li{margin-bottom:3px}

/* ---------- the explicit back-link block --------------------------------- */
.hubback{
  margin-top:26px;padding:22px 26px;
  border:1px solid var(--line);background:var(--sand);
  display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;
}
.hubback p{margin:0;max-width:78ch;font-size:13.2px;line-height:1.65;color:var(--muted)}
/* only the inline links inside the paragraph; scoping to "p a" keeps this
   rule from out-specifying .hubback__go and turning its white label dark */
.hubback p a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.hubback__go{
  display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  padding:11px 18px;background:var(--brand);color:#fff;text-decoration:none;
  font-size:12.8px;font-weight:600;border:1px solid var(--brand);border-radius:var(--r);
  transition:background .2s var(--ease);
}
.hubback__go:hover{background:var(--brand-2);color:#fff;text-decoration:none}

/* ---------- the 19-row industry matrix ----------------------------------- */
.hubmatrix .stable td{font-size:12.9px}
.hubmatrix .stable td:first-child{white-space:normal;min-width:150px}
.hubmatrix .stable td:first-child a{font-weight:600;color:var(--text);text-decoration:none}
.hubmatrix .stable td:first-child a:hover{color:var(--brand)}
.hubmatrix .stable td:nth-child(2) a{color:var(--muted);text-decoration:none;font-size:12.4px}
.hubmatrix .stable td:nth-child(2) a:hover{color:var(--brand);text-decoration:underline}
.hubmatrix .hubchips{gap:5px}

/* ---------- responsive --------------------------------------------------- */
@media (max-width:1000px){
  .hubseries{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hubmatch__row{grid-template-columns:minmax(130px,1fr) minmax(130px,1fr);gap:12px 18px}
  .hubmatch__note{grid-column:1/-1}
  .hubcert{grid-template-columns:1fr}
}
@media (max-width:640px){
  .phero--hub{min-height:0;padding-bottom:clamp(180px,42vw,260px)}
  .phero--hub .phero__bg img{object-position:60% 100%}
  .hubseries{grid-template-columns:1fr}
  .hubmatch__grp{padding:18px 16px}
  .hubmatch__row{grid-template-columns:1fr;gap:7px}
  .hubmatch__note{grid-column:auto}
  .hubcert__i{padding:18px 17px}
  .hubback{padding:18px 17px}
  .hubback__go{width:100%;justify-content:center}
}
