/* /industries/ hub (2026-10-14). Built by tribble-marketing-skills/scripts/critters_web/industries_hub.py.
   Unlayered on purpose, so it sits over industry.css's brand.page layer. */

/* hero: the cast, every industry's Tribble */
.ind-hero .cast { margin: 0; }
.cast-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 10px; }
.cast-m { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 4px 10px; border-radius: var(--radius); text-decoration: none; }
.cast-m span:last-child { font-size: 12.5px; font-weight: 650; line-height: 1.25; text-align: center; color: rgba(255, 255, 255, .86); }
.cast-m .crit-box { height: 82px; display: flex; align-items: flex-end; justify-content: center; }
.cast-m:hover, .cast-m:focus-visible { background: rgba(255, 255, 255, .07); }
.cast-m:hover span:last-child { color: #fff; }
.cast-m:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cast figcaption { margin-top: 18px; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .72); text-align: center; }

/* industry cards */
.ic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 44px; }
.ic { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.ic-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; margin: 0 0 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.ic-shot img, .ic-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ic-shot video { opacity: 0; transition: opacity .25s var(--ease); }
.ic.is-playing .ic-shot video { opacity: 1; }
.ic-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.ic-head .ind-icon { width: 30px; height: 30px; flex: none; color: var(--ink); transform-origin: 50% 90%; }
.ic-head b { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.ic h3 { margin: 0 0 12px; font-size: clamp(21px, 2vw, 25px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.ic p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.ic p strong { font-weight: 650; }
.ic-jobs { display: block; font-size: 13.5px; line-height: 1.55; color: var(--ink2); }
.ic em { margin-top: auto; padding-top: 16px; font-style: normal; font-size: 14.5px; font-weight: 650; color: var(--signal); }
.ic:hover em, .ic:focus-visible em { text-decoration: underline; }
.ic:hover .ind-icon { animation: crit-nod .7s ease-in-out; }
.ic:focus-visible { outline: 2px solid var(--signal); outline-offset: 6px; }

/* who signs off */
.so { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.so th, .so td { padding: 15px 18px 15px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.so thead th { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.so tbody th { width: 20%; font-weight: 650; }
.so tbody th a { color: var(--ink); text-decoration: none; }
.so tbody th a:hover { color: var(--signal); }
.so td:last-child { width: 22%; font-weight: 650; }
.so td b { font-weight: 650; }

/* proof logos */
.scard .lbl .plogo { display: block; height: 20px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; }

@media (max-width: 980px) {
  .cast-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 4px; }
  .cast-m .crit-box { --cw: 58px !important; height: 66px; }
}
@media (max-width: 720px) {
  .ic-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cast-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cast-m { padding: 6px 0; }
  .cast-m .crit-box { --cw: 48px !important; height: 54px; }
  .cast-m span:last-child { font-size: 10px; letter-spacing: -.01em; max-width: 100%; hyphens: manual; }
  .so thead { display: none; }
  .so tr { display: grid; grid-template-columns: 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .so th, .so td { width: auto !important; padding: 2px 0; border: 0; }
  .so td:last-child::before { content: "Signs off: "; font-weight: 500; color: var(--ink2); }
}
@media (prefers-reduced-motion: reduce) { .ic:hover .ind-icon { animation: none; } .ic-shot video { display: none; } }
