/* ==========================================================================
   AfriPixel Custom Systems — INDUSTRIAL theme (ConstructionHub)
   Concept: site board / spec sheet. Hard edges, 2px rules, ledger cells,
   numbered work packages, plate captions, crop marks.
   Loads AFTER revamp.css; every selector starts with .cs-theme--industrial.
   Palette: primary #008D11 · slate #0F172A · safety yellow #E8C547
            mint #41BA90 · surface #F8FAFC · border #E2E8F0 · muted #64748B
   ========================================================================== */

.cs-theme--industrial {
  --ci-green: #008d11;
  --ci-green-deep: #01660d;
  --ci-slate: #0f172a;
  --ci-yellow: #e8c547;
  --ci-mint: #41ba90;
  --ci-surface: #f8fafc;
  --ci-border: #e2e8f0;
  --ci-muted: #64748b;
  --ci-rule: 2px;
  --ci-pad: clamp(1.05rem, 2.2vw, 1.6rem);
  --ci-sans: "DM Sans", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --ci-mono: "DM Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --cs-accent: var(--ci-green);
  --cs-accent-2: var(--ci-slate);
  --cs-gold: var(--ci-yellow);
  --cs-video: var(--ci-green);
  --cs-line: var(--ci-slate);

  background: var(--ci-surface);
  color: var(--ci-slate);
  font-family: var(--ci-sans);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.cs-theme--industrial .cs-container {
  width: min(1180px, 94%);
}

/* ---------- Shared type ---------- */
.cs-theme--industrial .cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
  color: var(--ci-slate);
  font-family: var(--ci-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.cs-theme--industrial .cs-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--ci-green);
  box-shadow: 0.2rem 0.2rem 0 var(--ci-yellow);
  margin-right: 0.15rem;
}

.cs-theme--industrial .cs-detail-hero__title,
.cs-theme--industrial .cs-section__head h2,
.cs-theme--industrial .cs-result__statement,
.cs-theme--industrial .cs-cta__panel h2,
.cs-theme--industrial .cs-goal p,
.cs-theme--industrial .cs-feature h2,
.cs-theme--industrial .cs-pager__current strong,
.cs-theme--industrial .cs-pager__link strong {
  font-family: var(--ci-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ci-slate);
}

.cs-theme--industrial .cs-lead {
  color: var(--ci-muted);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  max-width: 68ch;
}

/* ---------- Sections: compact, no card fills ---------- */
.cs-theme--industrial .cs-section {
  padding: var(--ci-pad) 0;
}
.cs-theme--industrial .cs-challenge { padding-bottom: calc(var(--ci-pad) * 0.5); }
.cs-theme--industrial .cs-platform { padding-top: calc(var(--ci-pad) * 0.5); padding-bottom: calc(var(--ci-pad) * 0.6); }
.cs-theme--industrial .cs-features { padding-top: calc(var(--ci-pad) * 0.4); }
.cs-theme--industrial .cs-challenge,
.cs-theme--industrial .cs-features,
.cs-theme--industrial .cs-shots,
.cs-theme--industrial .cs-shots--secondary,
.cs-theme--industrial .cs-video,
.cs-theme--industrial .cs-pager {
  background: transparent;
}

.cs-theme--industrial .cs-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  width: 100%;
  max-width: none;
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  text-align: left;
  border-bottom: var(--ci-rule) solid var(--ci-slate);
}
.cs-theme--industrial .cs-section__head .cs-kicker { margin: 0; }
.cs-theme--industrial .cs-section__head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.15;
}

/* ==========================================================================
   HERO — title band, copy + visual, ledger metrics (layout: brutal)
   ========================================================================== */
.cs-theme--industrial .cs-detail-hero,
.cs-theme--industrial .cs-detail-hero--brutal {
  padding: 0;
  background: transparent;
  color: var(--ci-slate);
}

.cs-theme--industrial .cs-detail-hero__brutal {
  position: relative;
  padding: 0 0 var(--ci-pad);
  color: var(--ci-slate);
  background:
    linear-gradient(var(--ci-border) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--ci-border) 1px, transparent 1px) 0 0 / 28px 28px,
    #ffffff;
  border-bottom: var(--ci-rule) solid var(--ci-slate);
}
/* hazard strip on top of the site board */
.cs-theme--industrial .cs-detail-hero__brutal::before {
  content: "";
  display: block;
  height: 8px;
  margin-bottom: var(--ci-pad);
  background: repeating-linear-gradient(
    -45deg,
    var(--ci-yellow) 0 12px,
    var(--ci-slate) 12px 24px
  );
  border-bottom: var(--ci-rule) solid var(--ci-slate);
}

/* title band — full-width block with title-block feel */
.cs-theme--industrial .cs-detail-hero__brutal-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.1rem;
  padding: clamp(0.8rem, 1.8vw, 1.1rem) clamp(0.9rem, 2vw, 1.3rem);
  background: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  border-left: 10px solid var(--ci-green);
  box-shadow: 4px 4px 0 var(--ci-slate);
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-kicker {
  color: var(--ci-green-deep);
  margin-bottom: 0.3rem;
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__title {
  max-width: none;
  margin: 0;
  color: var(--ci-slate);
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: none;
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__alt {
  display: inline-block;
  justify-self: start;
  margin: 0.55rem 0 0;
  padding: 0.18rem 0.5rem;
  background: var(--ci-yellow);
  border: 1.5px solid var(--ci-slate);
  color: var(--ci-slate);
  font-family: var(--ci-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* copy + visual */
.cs-theme--industrial .cs-detail-hero__brutal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(0.9rem, 2.2vw, 1.5rem);
  align-items: start;
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__copy {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__summary,
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__intro {
  max-width: none;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__summary {
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  border-left: 6px solid var(--ci-yellow);
  color: var(--ci-slate);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.45;
}
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__intro {
  padding: 0.1rem 0 0 0.85rem;
  border-left: var(--ci-rule) solid var(--ci-border);
  color: var(--ci-muted);
  font-weight: 500;
}

/* hero image: contained plate */
.cs-theme--industrial .cs-detail-hero__visual {
  position: relative;
  padding: 0.5rem;
  background: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  box-shadow: 4px 4px 0 var(--ci-green);
}
.cs-theme--industrial .cs-detail-hero__img,
.cs-theme--industrial .cs-media-slot--detail-hero,
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__img,
.cs-theme--industrial .cs-detail-hero__brutal .cs-media-slot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(34vh, 320px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 1px solid var(--ci-border);
  background: var(--ci-surface);
  box-shadow: none;
  transition: none;
}
.cs-theme--industrial .cs-detail-hero__img:hover,
.cs-theme--industrial .cs-media-slot--detail-hero:hover {
  border-color: var(--ci-border);
}

/* ---------- Metrics: 4 bordered ledger cells ---------- */
.cs-theme--industrial .cs-detail-hero__metrics,
.cs-theme--industrial .cs-detail-hero__metrics--bar,
.cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__metrics--bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ci-rule);
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
  padding: var(--ci-rule);
  background: var(--ci-slate);
  border: 0;
}
.cs-theme--industrial .cs-metric,
.cs-theme--industrial .cs-detail-hero__brutal .cs-metric {
  position: relative;
  display: grid;
  gap: 0.2rem;
  align-content: start;
  padding: 0.85rem 0.8rem 0.65rem;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.cs-theme--industrial .cs-metric:last-child { border-right: 0; }
/* ledger marker bar */
.cs-theme--industrial .cs-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: var(--ci-green);
}
.cs-theme--industrial .cs-metric:nth-child(even)::before { background: var(--ci-yellow); }
.cs-theme--industrial .cs-metric strong,
.cs-theme--industrial .cs-detail-hero__brutal .cs-metric strong {
  margin: 0;
  color: var(--ci-slate);
  font-family: var(--ci-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums lining-nums;
}
.cs-theme--industrial .cs-metric span,
.cs-theme--industrial .cs-detail-hero__brutal .cs-metric span {
  margin: 0;
  padding-top: 0.3rem;
  border-top: 1px dashed var(--ci-border);
  color: var(--ci-muted);
  font-family: var(--ci-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ==========================================================================
   CHALLENGE
   ========================================================================== */
.cs-theme--industrial .cs-split {
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 2.4vw, 1.6rem);
}
.cs-theme--industrial .cs-goal {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.9rem 0.8rem;
  background: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  border-left: 8px solid var(--ci-green);
  border-radius: 0;
  box-shadow: none;
}
.cs-theme--industrial .cs-goal__label {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.45rem;
  background: var(--ci-slate);
  color: var(--ci-yellow);
  font-family: var(--ci-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cs-theme--industrial .cs-goal p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

/* ==========================================================================
   PLATFORM — spec panel + 5-cell flow strip
   ========================================================================== */
.cs-theme--industrial .cs-platform__panel,
.cs-theme--industrial .cs-result__panel,
.cs-theme--industrial .cs-built__panel {
  padding: var(--ci-pad);
  border-radius: 0;
  box-shadow: none;
}
.cs-theme--industrial .cs-platform__panel {
  background: #ffffff;
  color: var(--ci-slate);
  border: var(--ci-rule) solid var(--ci-slate);
  border-top: 8px solid var(--ci-slate);
}
.cs-theme--industrial .cs-platform__panel .cs-kicker,
.cs-theme--industrial .cs-built__panel .cs-kicker {
  color: var(--ci-green-deep);
}
.cs-theme--industrial .cs-platform__panel .cs-lead,
.cs-theme--industrial .cs-built__panel .cs-lead {
  color: var(--ci-slate);
  font-weight: 500;
}

.cs-theme--industrial .cs-platform__panel .cs-flow--chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0.95rem 0 0;
  max-width: none;
  padding: 0;
  border: var(--ci-rule) solid var(--ci-slate);
  background: var(--ci-slate);
  counter-reset: ci-step;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ci-slate);
}
.cs-theme--industrial .cs-platform__panel .cs-flow--chips span {
  position: relative;
  display: grid;
  gap: 0.15rem;
  align-content: center;
  justify-items: start;
  min-width: 0;
  padding: 0.55rem 0.6rem 0.5rem;
  background: #ffffff;
  border: 0;
  border-right: var(--ci-rule) solid var(--ci-slate);
  border-radius: 0;
  color: var(--ci-slate);
  overflow-wrap: anywhere;
  counter-increment: ci-step;
}
.cs-theme--industrial .cs-platform__panel .cs-flow--chips span:last-child { border-right: 0; }
.cs-theme--industrial .cs-platform__panel .cs-flow--chips span::before {
  content: "0" counter(ci-step);
  display: block;
  padding: 0.05rem 0.3rem;
  background: var(--ci-green);
  color: #ffffff;
  font-family: var(--ci-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.cs-theme--industrial .cs-platform__panel .cs-flow--chips span:nth-child(even)::before {
  background: var(--ci-yellow);
  color: var(--ci-slate);
}
.cs-theme--industrial .cs-platform__panel .cs-flow--chips span:hover {
  background: var(--ci-yellow);
}

/* ==========================================================================
   FEATURES — numbered work packages
   ========================================================================== */
.cs-theme--industrial .cs-features__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: ci-wp;
}
.cs-theme--industrial .cs-feature {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 0 0.95rem 0.9rem;
  background: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--ci-border);
  counter-increment: ci-wp;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.cs-theme--industrial .cs-feature:nth-child(4),
.cs-theme--industrial .cs-feature:nth-child(5) {
  grid-column: span 3;
}
.cs-theme--industrial .cs-feature:hover {
  border-color: var(--ci-green);
  box-shadow: 3px 3px 0 var(--ci-green);
}
.cs-theme--industrial .cs-feature::before {
  content: "WP " counter(ci-wp, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -0.95rem 0.7rem;
  padding: 0.28rem 0.95rem;
  background: var(--ci-slate);
  color: var(--ci-yellow);
  font-family: var(--ci-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  border-bottom: 4px solid var(--ci-green);
}
.cs-theme--industrial .cs-feature h2 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--ci-slate);
}
.cs-theme--industrial .cs-feature p {
  margin: 0;
  color: var(--ci-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
}
/* tags inside work packages (when present) — square tags, not pills */
.cs-theme--industrial .cs-feature .cs-flow--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.7rem 0 0;
  max-width: none;
  font-family: var(--ci-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ci-slate);
}
.cs-theme--industrial .cs-feature .cs-flow--chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  border-radius: 0;
  background: var(--ci-surface);
  border: 1.5px solid var(--ci-slate);
  color: var(--ci-slate);
}

/* ==========================================================================
   GALLERY — PLATE 01 / 02, hard frames, crop marks
   ========================================================================== */
.cs-theme--industrial .cs-shots__gallery--industrial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  align-items: stretch;
}
.cs-theme--industrial .cs-shots__gallery--industrial.cs-shots__gallery--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cs-theme--industrial .cs-shot,
.cs-theme--industrial .cs-shot--featured,
.cs-theme--industrial .cs-shot--mobile {
  position: relative;
  grid-column: auto;
  grid-row: auto;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0.65rem;
}
/* crop marks — decorative, top-left + bottom-right registration corners */
.cs-theme--industrial .cs-shot::before,
.cs-theme--industrial .cs-shot::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  border: 0 solid var(--ci-slate);
}
.cs-theme--industrial .cs-shot::before {
  top: 0;
  left: 0;
  border-top-width: 3px;
  border-left-width: 3px;
}
.cs-theme--industrial .cs-shot::after {
  right: 0;
  bottom: 0;
  border-right-width: 3px;
  border-bottom-width: 3px;
}
.cs-theme--industrial .cs-shots__gallery--industrial .cs-shot:last-child:nth-child(odd) {
  grid-column: auto;
}
.cs-theme--industrial .cs-shots__gallery--industrial .cs-shot:last-child:nth-child(odd) .cs-shot__frame {
  max-width: none;
  margin-inline: 0;
}
.cs-theme--industrial .cs-shot__frame,
.cs-theme--industrial .cs-shot--featured .cs-shot__frame,
.cs-theme--industrial .cs-shot--mobile .cs-shot__frame,
.cs-theme--industrial .cs-shots__gallery--pair .cs-shot__frame {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin-inline: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cs-theme--industrial .cs-shot--mobile .cs-shot__frame {
  aspect-ratio: 16 / 10;
}
.cs-theme--industrial .cs-shot__frame:hover {
  transform: none;
  border-color: var(--ci-green);
  box-shadow: 4px 4px 0 var(--ci-yellow);
}
.cs-theme--industrial .cs-shot__frame img {
  width: 100%;
  height: 100%;
  background: #ffffff;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
}
.cs-theme--industrial .cs-shot__frame.cs-media-slot {
  border-style: solid;
}
.cs-theme--industrial .cs-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.55rem;
  margin-top: 0.55rem;
  color: var(--ci-slate);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}
.cs-theme--industrial .cs-shot figcaption span {
  padding: 0.12rem 0.4rem;
  background: var(--ci-yellow);
  border: 1.5px solid var(--ci-slate);
  color: var(--ci-slate);
  font-family: var(--ci-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   RESULT / BUILT BY
   ========================================================================== */
.cs-theme--industrial .cs-result__panel {
  background: var(--ci-slate);
  color: #ffffff;
  border: var(--ci-rule) solid var(--ci-slate);
  border-left: 10px solid var(--ci-green);
}
.cs-theme--industrial .cs-result__panel .cs-kicker { color: var(--ci-yellow); }
.cs-theme--industrial .cs-result__panel .cs-kicker::before { background: var(--ci-yellow); box-shadow: 0.2rem 0.2rem 0 var(--ci-green); }
.cs-theme--industrial .cs-result__panel .cs-lead { color: #cbd5e1; }
.cs-theme--industrial .cs-result__statement {
  max-width: 26ch;
  margin-top: 0.9rem;
  padding: 0.1rem 0 0.1rem 0.85rem;
  border-left: 4px solid var(--ci-yellow);
  color: #ffffff;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
}
.cs-theme--industrial .cs-built__panel {
  background: #ffffff;
  color: var(--ci-slate);
  border: var(--ci-rule) solid var(--ci-slate);
  border-left: 10px solid var(--ci-yellow);
}

/* ==========================================================================
   VIDEO (only if present)
   ========================================================================== */
.cs-theme--industrial .cs-video__frame {
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ci-slate);
  border: var(--ci-rule) solid var(--ci-slate);
  background: var(--ci-slate);
  overflow: hidden;
}
.cs-theme--industrial .cs-video__toggle {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--ci-yellow);
  border: var(--ci-rule) solid var(--ci-slate);
  box-shadow: 4px 4px 0 var(--ci-slate);
}
.cs-theme--industrial .cs-video__icon--play { border-left-color: var(--ci-slate); }
.cs-theme--industrial .cs-video__icon--pause {
  background:
    linear-gradient(var(--ci-slate), var(--ci-slate)) 0 0 / 6px 100% no-repeat,
    linear-gradient(var(--ci-slate), var(--ci-slate)) 100% 0 / 6px 100% no-repeat;
}
.cs-theme--industrial .cs-video__progress { height: 6px; background: rgba(255, 255, 255, 0.25); }
.cs-theme--industrial .cs-video__progress-fill { background: var(--ci-green); }
.cs-theme--industrial .cs-media-slot--video {
  background:
    linear-gradient(var(--ci-green), var(--ci-green)) left bottom / 22% 6px no-repeat,
    var(--ci-slate);
}
.cs-theme--industrial .cs-media-slot--video::before {
  border-radius: 0;
  background: var(--ci-yellow);
  box-shadow: 4px 4px 0 #000;
}
.cs-theme--industrial .cs-media-slot--video::after {
  border-left-color: var(--ci-slate);
}

/* ==========================================================================
   CTA — hard slate block, offset shadow, utility button
   ========================================================================== */
.cs-theme--industrial .cs-cta {
  background: transparent;
  color: inherit;
  padding: var(--ci-pad) 0 calc(var(--ci-pad) + 0.4rem);
}
.cs-theme--industrial .cs-cta__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
  padding: clamp(1rem, 2.2vw, 1.4rem) clamp(1rem, 2.4vw, 1.6rem);
  background: var(--ci-slate);
  border: var(--ci-rule) solid var(--ci-slate);
  border-top: 8px solid var(--ci-yellow);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ci-green);
}
.cs-theme--industrial .cs-cta__panel h2 {
  flex: 1 1 18rem;
  margin: 0;
  max-width: none;
  white-space: normal;
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
}
.cs-theme--industrial .cs-cta__panel .cs-btn,
.cs-theme--industrial .cs-cta__panel .cs-btn--accent,
.cs-theme--industrial .cs-cta__panel .cs-btn--lg {
  flex: 0 0 auto;
  width: auto;
  min-width: 148px;
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  background: var(--ci-yellow);
  color: var(--ci-slate);
  border: var(--ci-rule) solid var(--ci-yellow);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--ci-green);
  font-family: var(--ci-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.cs-theme--industrial .cs-cta__panel .cs-btn::after {
  content: "\2192";
  font-family: var(--ci-sans);
  font-size: 1rem;
  line-height: 1;
}
.cs-theme--industrial .cs-cta__panel .cs-btn:hover,
.cs-theme--industrial .cs-cta__panel .cs-btn--accent:hover,
.cs-theme--industrial .cs-cta__panel .cs-btn--lg:hover {
  background: var(--ci-green);
  border-color: var(--ci-green);
  color: #ffffff;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ci-yellow);
}
.cs-theme--industrial .cs-cta__panel .cs-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ==========================================================================
   PAGER — flat spec cells
   ========================================================================== */
.cs-theme--industrial .cs-pager {
  padding: 0 0 clamp(1.4rem, 3vw, 2rem);
}
.cs-theme--industrial .cs-pager__grid {
  gap: 0;
  border: var(--ci-rule) solid var(--ci-slate);
  background: var(--ci-slate);
  column-gap: var(--ci-rule);
}
.cs-theme--industrial .cs-pager__link,
.cs-theme--industrial .cs-pager__current {
  padding: 0.7rem 0.9rem;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.12s ease;
}
.cs-theme--industrial .cs-pager__link span,
.cs-theme--industrial .cs-pager__current span {
  color: var(--ci-muted);
  font-family: var(--ci-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}
.cs-theme--industrial .cs-pager__link strong,
.cs-theme--industrial .cs-pager__current strong {
  font-size: 1rem;
}
.cs-theme--industrial .cs-pager__current { background: var(--ci-surface); }
.cs-theme--industrial .cs-pager__current a {
  margin-top: 0.2rem;
  color: var(--ci-green-deep);
  font-family: var(--ci-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cs-theme--industrial .cs-pager__link:hover {
  background: var(--ci-yellow);
  color: var(--ci-slate);
}
.cs-theme--industrial .cs-pager__link:hover span { color: var(--ci-slate); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .cs-theme--industrial .cs-detail-hero__brutal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-theme--industrial .cs-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
  .cs-theme--industrial .cs-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-theme--industrial .cs-feature,
  .cs-theme--industrial .cs-feature:nth-child(4),
  .cs-theme--industrial .cs-feature:nth-child(5) {
    grid-column: auto;
  }
  .cs-theme--industrial .cs-feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .cs-theme--industrial .cs-detail-hero__metrics,
  .cs-theme--industrial .cs-detail-hero__metrics--bar,
  .cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__metrics--bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-theme--industrial .cs-shots__gallery--industrial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-theme--industrial .cs-shot,
  .cs-theme--industrial .cs-shot--featured,
  .cs-theme--industrial .cs-shot--mobile {
    grid-column: auto;
  }
  .cs-theme--industrial .cs-pager__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--ci-rule);
  }
}

@media (max-width: 720px) {
  .cs-theme--industrial .cs-container { width: min(1180px, 92%); }
  .cs-theme--industrial .cs-detail-hero__brutal-top {
    border-left-width: 8px;
    box-shadow: 3px 3px 0 var(--ci-slate);
  }
  .cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__title {
    font-size: clamp(1.5rem, 7.2vw, 1.9rem);
  }
  .cs-theme--industrial .cs-detail-hero__visual { box-shadow: 3px 3px 0 var(--ci-green); }
  .cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__summary { font-size: 0.98rem; }
  .cs-theme--industrial .cs-detail-hero__brutal .cs-detail-hero__intro,
  .cs-theme--industrial .cs-lead { font-size: 0.93rem; line-height: 1.55; }
  .cs-theme--industrial .cs-goal p { font-size: 0.98rem; }
  .cs-theme--industrial .cs-metric,
  .cs-theme--industrial .cs-detail-hero__brutal .cs-metric {
    border-right: 0;
    border-bottom: 0;
    padding: 0.8rem 0.65rem 0.55rem;
  }
  .cs-theme--industrial .cs-metric span,
  .cs-theme--industrial .cs-detail-hero__brutal .cs-metric span {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }
  .cs-theme--industrial .cs-platform__panel .cs-flow--chips {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }
  .cs-theme--industrial .cs-platform__panel .cs-flow--chips span {
    padding: 0.45rem 0.3rem 0.4rem;
  }
  .cs-theme--industrial .cs-platform__panel .cs-flow--chips span::before {
    font-size: 0.54rem;
    padding: 0.05rem 0.2rem;
  }
  .cs-theme--industrial .cs-features__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .cs-theme--industrial .cs-feature,
  .cs-theme--industrial .cs-feature:nth-child(4),
  .cs-theme--industrial .cs-feature:nth-child(5),
  .cs-theme--industrial .cs-feature:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .cs-theme--industrial .cs-shots__gallery--industrial,
  .cs-theme--industrial .cs-shots__gallery--industrial.cs-shots__gallery--pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-theme--industrial .cs-cta__panel {
    align-items: stretch;
    flex-direction: column;
    box-shadow: 3px 3px 0 var(--ci-green);
  }
  .cs-theme--industrial .cs-cta__panel h2 { flex: 0 0 auto; }
  .cs-theme--industrial .cs-cta__panel .cs-btn,
  .cs-theme--industrial .cs-cta__panel .cs-btn--accent,
  .cs-theme--industrial .cs-cta__panel .cs-btn--lg {
    width: 100%;
  }
  .cs-theme--industrial .cs-section__head { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-theme--industrial *,
  .cs-theme--industrial *::before,
  .cs-theme--industrial *::after {
    transition: none !important;
  }
}
