/* =====================================================================
   Dimension Equipment Detail Pages
   Hero, overview, gallery, specs table, applications, related
   ===================================================================== */

/* HERO */
.eq-hero {
  position: relative;
  background: var(--navy-dark);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.eq-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.eq-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.5);
}
.eq-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0,51,89,0.92) 0%, rgba(0,71,121,0.6) 60%, rgba(0,172,184,0.25) 100%);
}
.eq-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.eq-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.eq-hero .breadcrumb a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.eq-hero .breadcrumb a:hover {
  color: var(--teal-light);
}
.eq-cat-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--teal);
  color: #fff;
  border-radius: 20px;
  margin-bottom: 18px;
}
.eq-hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 18px;
}
.eq-hero h1 span { color: var(--teal-light); }
.eq-tagline {
  color: rgba(255,255,255,0.85);
  font-size: clamp(15px, 1.5vw, 18px);
  max-width: 720px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.eq-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* OVERVIEW LAYOUT */
.eq-overview {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 72px;
  align-items: start;
}
.eq-overview-text h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 18px;
}
.eq-overview-text .lede {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg2);
  margin-bottom: 32px;
}
.mini-h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* CHECK LIST */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding: 10px 12px 10px 38px;
  background: var(--bg-subtle);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg1);
  transition: background 150ms ease-out;
}
.check-list li:hover { background: var(--navy-pale); }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OVERVIEW — ENGINEERING PRINCIPLES (teal-tick compact list above Key Features) */
.eq-principles-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.eq-principles-list li {
  position: relative;
  padding: 4px 0 4px 30px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg2);
}
.eq-principles-list li strong {
  color: var(--navy-dark);
  font-weight: 700;
}
.eq-principles-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-light, rgba(0, 172, 184, 0.12));
  border: 1.5px solid var(--teal);
}
.eq-principles-list li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

/* OVERVIEW — FEATURED BUILD CALLOUT (teal-rule box for headline build) */
.eq-featured-callout {
  position: relative;
  background: var(--navy-pale);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px 20px 22px;
  margin: 0 0 32px 0;
}
.eq-featured-callout .eq-featured-eyebrow {
  display: block;
  font-family: var(--font-display, 'Bebas Neue'), sans-serif;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}
.eq-featured-callout p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--navy-dark);
}
.eq-featured-callout p strong {
  color: var(--navy-dark);
  font-weight: 700;
}

/* OVERVIEW VERTICAL IMAGE — tall hero image in the right column */
.eq-overview-img {
  margin: 0 0 22px 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-pale) 0%, #fff 100%);
  border: 1px solid var(--border);
}
.eq-overview-img img {
  width: 100%;
  height: auto;
  display: block;
  /* Tall portrait — let it stretch the right column */
  max-height: 720px;
  object-fit: contain;
  object-position: center top;
}
.eq-overview-img-cap {
  font-size: 11.5px;
  color: var(--fg3);
  padding: 10px 14px 12px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* META CARD (right side) */
.eq-icon-large {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(0,71,121,0.18);
}
.eq-meta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 22px;
  overflow: hidden;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.meta-row:last-child { border-bottom: 0; }
.meta-l {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg3);
  font-weight: 700;
}
.meta-v {
  color: var(--navy-dark);
  font-weight: 600;
  text-align: right;
}
.eq-cta-box {
  background: var(--navy-dark);
  color: #fff;
  padding: 24px 24px 26px;
  border-radius: 8px;
  border-top: 4px solid var(--teal);
}
.eq-cta-box h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}
.eq-cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* GALLERY */
.eq-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.eq-gallery-item {
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-pale);
  cursor: zoom-in;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.eq-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.eq-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease-out;
}
.eq-gallery-item:hover img { transform: scale(1.04); }
.eq-gallery-note {
  font-size: 12px;
  color: var(--fg3);
  margin-top: 22px;
  font-style: italic;
  text-align: center;
  padding: 0 24px;
}

/* SPECIFICATIONS TABLE */
.eq-specs {
  max-width: 920px;
  margin: 0 auto;
}
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.spec-table thead th {
  background: var(--navy-dark);
  color: #fff;
  text-align: left;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
}
.spec-table thead th:first-child { width: 36%; }
.spec-table tbody tr:nth-child(even) { background: var(--bg-subtle); }
.spec-table tbody tr:hover { background: var(--navy-pale); }
.spec-table tbody td {
  padding: 14px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 13px;
  letter-spacing: 0.3px;
}
.spec-table tbody td:last-child {
  color: var(--fg2);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* APPLICATIONS GRID */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.app-cell {
  background: var(--bg);
  padding: 26px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  transition: all 200ms ease-out;
}
.app-cell:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--navy);
}
.app-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.8px;
  color: var(--teal);
  margin-bottom: 8px;
  font-weight: 600;
}
.app-cell p {
  font-size: 15px;
  color: var(--navy-dark);
  font-weight: 500;
  line-height: 1.5;
}

/* DOWNLOAD BAND */
.dl-band {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}
.dl-band h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.dl-band p {
  color: var(--fg2);
  font-size: 14px;
  line-height: 1.55;
}
.dl-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.dl-actions .btn-ghost {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

/* RELATED EQUIPMENT */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  transition: all 200ms ease-out;
  text-decoration: none;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--teal);
}
.related-card .related-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-dark);
}
.related-card .related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 400ms ease-out, filter 200ms ease-out;
}
.related-card:hover .related-img img {
  transform: scale(1.05);
  filter: brightness(1);
}
.related-body {
  padding: 18px 20px 22px;
}
.related-cat {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}
.related-card h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--navy-dark);
  letter-spacing: 1px;
  line-height: 1.2;
}
.related-more {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}
.related-card:hover .related-more { color: var(--teal); }

/* MOBILE */
@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid .related-card:last-child { display: none; }
}

@media (max-width: 980px) {
  .eq-overview {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .eq-gallery { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid .related-card:last-child { display: block; }
  .dl-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dl-actions { align-items: stretch; }
}

@media (max-width: 640px) {
  .eq-hero { padding: 80px 0 56px; min-height: auto; }
  .eq-hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .eq-hero-actions { flex-direction: column; align-items: stretch; }
  .eq-hero-actions .btn { justify-content: center; }
  .eq-gallery { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .spec-table thead th,
  .spec-table tbody td { padding: 12px 14px; font-size: 12.5px; }
  .spec-table thead th:first-child { width: 50%; }
  .dl-band { padding: 26px 22px; }
  .eq-meta-card { font-size: 12px; }
  .meta-row { padding: 12px 14px; }
  .check-list li { font-size: 13px; padding: 8px 10px 8px 32px; }
  .eq-overview-text h2 { font-size: 26px; }
  .eq-icon-large { width: 64px; height: 64px; font-size: 30px; }
  .eq-project-card { padding: 18px 18px 14px; }
  .eq-project-card h4 { font-size: 18px; }
}

/* =====================================================================
   BUILD VARIANTS (optional — between specs and applications)
   ===================================================================== */
.eq-builds-section {
  padding: 88px 0;
  background: #fff;
}
.eq-builds-grid {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}
.eq-build-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px -16px rgba(0,33,57,0.18);
}
.eq-build-card.eq-build-card--no-img {
  grid-template-columns: 1fr;
}
.eq-build-img {
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.eq-build-img::before {
  /* subtle navy gradient on the image background */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-pale) 0%, #fff 100%);
  z-index: 0;
}
.eq-build-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 6px;
}
.eq-build-body {
  padding: 32px 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eq-build-body h3 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.05;
}
.eq-build-body h3 + .eq-build-subtitle {
  margin-top: -6px;
}
.eq-build-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin: 0;
}
.eq-build-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg2);
  margin: 0;
}
.eq-build-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  margin-top: 4px;
}
.kspec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kspec-row:nth-child(2n) { border-right: 0; }
.kspec-row:nth-last-child(-n+2) { border-bottom: 0; }
.kspec-l {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg3);
  font-weight: 700;
}
.kspec-v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.3;
}
.eq-build-highlights {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 8px;
}
.eq-build-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg2);
}
.eq-build-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 980px) {
  .eq-builds-section { padding: 56px 0; }
  .eq-build-card     { grid-template-columns: 1fr; }
  .eq-build-img      { padding: 20px; }
  .eq-build-img img  { max-height: 280px; }
  .eq-build-body     { padding: 26px 22px; }
  .eq-build-body h3  { font-size: 26px; }
  .eq-build-specs    { grid-template-columns: 1fr; }
  .kspec-row         { border-right: 0; }
  .kspec-row:last-child { border-bottom: 0; }
}

/* =====================================================================
   BUILD PROCESS (Delivery Methodology) — 6-step horizontal flow
   ===================================================================== */
.bp-section {
  padding: 88px 0;
  background: #fff;
}
.bp-flow {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  position: relative;
}
.bp-flow::before {
  /* horizontal connector line behind the circles */
  content: '';
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.bp-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 0 4px;
}
.bp-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  background: var(--navy);
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.bp-step--teal .bp-circle { background: var(--teal); }
.bp-num {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1.4px;
  color: #fff;
}
.bp-step-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.bp-step-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg2);
  margin: 0;
}
.bp-outcome {
  margin-top: 36px;
  background: var(--navy-pale);
  border-left: 3px solid var(--teal);
  padding: 16px 20px;
  border-radius: 4px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}
.bp-outcome-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}
.bp-outcome-label::after { content: '·'; margin-left: 10px; color: var(--fg3); }
.bp-outcome-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg2);
  flex: 1;
  min-width: 200px;
}

@media (max-width: 1100px) {
  .bp-flow { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .bp-flow::before { display: none; }
}
@media (max-width: 700px) {
  .bp-section { padding: 56px 0; }
  .bp-flow    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bp-flow { grid-template-columns: 1fr; }
}

/* =====================================================================
   VARIANT TABS (tabbed showcase — used on carousels page)
   ===================================================================== */
.eq-variants-section {
  padding: 88px 0;
  background: #fff;
}
.variant-tabs {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -22px rgba(0,33,57,0.22), 0 6px 14px -10px rgba(0,33,57,0.16);
}

.vtab-strip {
  /* Auto-divide into equal columns based on the number of tabs (2, 3, 4, or more). */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--navy-pale);
  border-bottom: 1px solid var(--border);
}
.vtab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 22px 16px 18px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 140ms ease-out, color 140ms ease-out;
}
.vtab:last-child { border-right: 0; }
.vtab:hover { background: rgba(0,71,121,0.04); }
.vtab:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; }
.vtab-num {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.4px;
  color: var(--navy-dark);
  line-height: 1;
}
.vtab-vessel {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--fg3);
  line-height: 1.2;
}
.vtab.is-active {
  background: #fff;
}
.vtab.is-active .vtab-num    { color: var(--navy); }
.vtab.is-active .vtab-vessel { color: var(--teal); }
.vtab.is-active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: var(--teal);
}

.vtab-panels {
  background: #fff;
  position: relative;
}
.vpanel {
  padding: 36px 32px 40px;
  display: none;
  animation: vpanel-fade 240ms ease-out;
}
.vpanel.is-active { display: block; }
.vpanel[hidden]   { display: none !important; }
@keyframes vpanel-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vpanel-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}
.vpanel-img {
  background: linear-gradient(135deg, var(--navy-pale) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vpanel-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 6px;
}
.vpanel-body { display: flex; flex-direction: column; gap: 14px; }
.vpanel-body h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.05;
}
.vpanel-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin: 0;
}
.vpanel-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg2);
  margin: 0;
}
.vpanel-specs {
  margin: 6px 0 4px;
}
.vpanel-specs th, .vpanel-specs td {
  font-size: 12.5px;
}
.vpanel-highlights {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .eq-variants-section { padding: 56px 0; }
  .vtab-strip          { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; }
  .vtab                { padding: 16px 12px 14px; border-bottom: 1px solid var(--border); }
  .vtab:nth-child(2n)  { border-right: 0; }
  .vtab-num            { font-size: 18px; }
  .vpanel              { padding: 26px 22px 32px; }
  .vpanel-grid         { grid-template-columns: 1fr; gap: 24px; }
  .vpanel-img img      { max-height: 320px; }
  .vpanel-body h3      { font-size: 24px; }
}

/* =====================================================================
   HERO VIDEO SECTION (optional — between hero and overview)
   ===================================================================== */
.eq-video-section {
  padding: 56px 0 36px;
  background: linear-gradient(180deg, var(--navy-pale) 0%, #fff 100%);
}
.eq-video-frame {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -28px rgba(0,33,57,0.45),
              0 10px 24px -12px rgba(0,33,57,0.25);
  border: 1px solid var(--border);
}
.eq-video-frame::before {
  /* subtle teal top accent matching brand cards */
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--teal);
  z-index: 2;
}
.eq-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.eq-video-caption {
  text-align: center;
  margin: 16px auto 0;
  max-width: 720px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: var(--fg2);
  font-style: italic;
}

@media (max-width: 980px) {
  .eq-video-section { padding: 40px 0 24px; }
  .eq-video-frame   { border-radius: 8px; }
}

/* =====================================================================
   PROJECT REFERENCE CARD (between meta-card and CTA box)
   ===================================================================== */
.eq-project-card {
  background: var(--navy-pale);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 22px 22px 18px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.eq-project-card .eq-project-img {
  margin: -22px -22px 16px -22px;
  padding: 0;
  position: relative;
  background: var(--navy-dark);
  display: block;
}
/* Multiple project images — N equal columns with captions below each image.
   Auto-divides for 2 / 3 / 4+ images. */
.eq-project-card .eq-project-img-stack {
  margin: -22px -22px 16px -22px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  background: var(--border);
}
.eq-project-card .eq-project-img-stack .eq-project-img {
  margin: 0;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
}
.eq-project-card .eq-project-img-stack .eq-project-img img {
  height: 140px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.eq-project-card .eq-project-img-stack .eq-project-img::after {
  display: none;
}
.eq-project-card .eq-project-img-stack .eq-project-img-cap {
  position: static;
  background: #fff;
  color: var(--navy-dark);
  padding: 8px 10px 10px;
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  font-style: italic;
  text-shadow: none;
  flex: 1;
}

@media (max-width: 720px) {
  .eq-project-card .eq-project-img-stack {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
  }
  .eq-project-card .eq-project-img-stack .eq-project-img img { height: 180px; }
}
.eq-project-card .eq-project-img img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05) brightness(0.85);
}
.eq-project-card .eq-project-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,33,57,0) 60%, rgba(0,33,57,0.45) 100%);
  pointer-events: none;
}
.eq-project-card .eq-project-img-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.4px;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  z-index: 1;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,33,57,0.6);
}
.eq-project-card .eyebrow.with-rule {
  margin-bottom: 8px;
}
.eq-project-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin: 0 0 4px;
  line-height: 1.1;
}
.eq-project-card .eq-project-package {
  font-size: 12px;
  color: var(--fg3);
  font-style: italic;
  margin: 0 0 14px;
  line-height: 1.4;
}
.eq-project-card .eq-meta-card {
  background: #fff;
  margin-bottom: 14px;
}
.eq-project-card .eq-project-scope {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg2);
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

/* Gallery captions (when project_ref is set) */
.eq-gallery-item {
  display: flex;
  flex-direction: column;
}
.eq-gallery-cap {
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg2);
  padding: 10px 12px 4px;
  font-family: var(--font-body);
  font-style: italic;
}

/* Strong inside the equipment description — used to highlight the featured build */
.eq-overview-text .lede strong {
  color: var(--navy);
  font-weight: 700;
}
