.subpage-hero {
  --page-image: url("hero-generated.webp");
  min-height: 450px;
  display: grid;
  align-items: end;
  padding: 130px clamp(22px, 6vw, 90px) 72px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(7, 22, 43, .93), rgba(7, 22, 43, .64) 58%, rgba(7, 22, 43, .18)), var(--page-image);
  background-position: center;
  background-size: cover;
}

.subpage-hero-inner,
.content-shell,
.cta-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.subpage-hero-inner {
  margin-left: 0;
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: #8ce6cf;
}

.subpage-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.subpage-hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 2vw, 21px);
}

.content-section {
  padding: 82px 0;
}

.content-section.soft {
  background: var(--soft);
}

.content-section.deep {
  color: #fff;
  background: var(--deep);
}

.content-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.content-head h2,
.editorial-copy h2,
.cta-inner h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.content-head p:last-child,
.editorial-copy > p,
.cta-inner > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.deep .content-head p:last-child,
.deep .cta-inner > p {
  color: rgba(255, 255, 255, .68);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.editorial-media {
  overflow: hidden;
  background: #dce8ef;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.editorial-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.fact-list,
.service-lines,
.resource-list,
.sector-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-list li,
.service-lines li,
.sector-list li {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list strong,
.service-lines strong,
.sector-list strong {
  color: var(--ink);
}

.fact-list span,
.service-lines span,
.sector-list span {
  color: var(--muted);
}

.customer-network-layout {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}

.customer-network-panel {
  min-width: 0;
}

.customer-network-head {
  max-width: 620px;
  margin-bottom: 28px;
}

.customer-network-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.14;
}

.customer-network-head > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.customer-logo-grid-detail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-logo-grid-detail .customer-logo {
  min-height: 146px;
  background: #fff;
}

.customer-name-roster {
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.customer-name-roster h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.customer-name-roster ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.customer-name-roster li {
  min-width: 0;
  padding: 20px 16px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.customer-name-roster li + li {
  border-left: 1px solid var(--line);
}

.customer-name-roster > p:last-child {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-flow article {
  min-width: 0;
  padding: 34px clamp(22px, 3vw, 42px);
}

.step-flow article + article {
  border-left: 1px solid var(--line);
}

.step-flow span {
  color: var(--brand-2, var(--green));
  font-size: 13px;
  font-weight: 800;
}

.step-flow h3 {
  margin: 16px 0 0;
  font-size: 23px;
}

.step-flow p {
  margin: 10px 0 0;
  color: var(--muted);
}

.regal-proof-section .content-head {
  margin-bottom: 48px;
}

.regal-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.regal-proof-lead,
.regal-photo-strip figure {
  margin: 0;
}

.regal-proof-lead img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

.regal-proof-lead figcaption,
.regal-photo-strip figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.regal-proof-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
}

.regal-proof-facts {
  margin: 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.regal-proof-facts div {
  display: grid;
  grid-template-columns: minmax(110px, .46fr) minmax(0, 1fr);
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.regal-proof-facts dt {
  color: #8ce6cf;
  font-weight: 800;
}

.regal-proof-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, .86);
}

.regal-proof-copy .btn {
  margin-top: 28px;
}

.regal-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.regal-photo-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.regal-photo-strip figure:hover img {
  transform: translateY(-4px);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 18px 28px;
  align-items: center;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.catalog-search {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.catalog-search:focus {
  border-color: var(--brand-2, var(--green));
  outline: 3px solid rgba(0, 166, 118, .12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-buttons button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.filter-buttons button[aria-pressed="true"] {
  color: #05251d;
  background: var(--brand-2, var(--green));
  border-color: var(--brand-2, var(--green));
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 166, 118, .48);
  box-shadow: 0 18px 42px rgba(17, 33, 55, .12);
}

.catalog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 22px;
  object-fit: contain;
  background: #f5f7f9;
}

.catalog-card-body {
  padding: 22px;
}

.catalog-card small {
  color: var(--brand-2, var(--green));
  font-weight: 800;
}

.catalog-card h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.catalog-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.catalog-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.catalog-empty {
  margin: 24px 0 0;
  padding: 24px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.resource-list li {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.resource-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 12px 0;
}

.resource-list a:hover strong {
  color: var(--brand);
}

.resource-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-list span {
  color: var(--muted);
  font-size: 13px;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-list a {
  display: grid;
  min-height: 190px;
  align-content: end;
  padding: 28px;
  color: #fff;
  background: linear-gradient(145deg, #0b1d3a, #123b59);
  border-radius: 10px;
  transition: transform .24s ease;
}

.video-list a:hover {
  transform: translateY(-4px);
}

.video-list small {
  color: #8ce6cf;
  font-weight: 800;
}

.video-list strong {
  margin-top: 8px;
  font-size: 23px;
}

.cta-band {
  padding: 72px 0;
  color: #fff;
  background: var(--deep);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s ease, transform .62s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .editorial-split,
  .cta-inner,
  .filter-panel,
  .regal-proof-layout,
  .customer-network-layout {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .subpage-hero {
    min-height: 520px;
    padding: 116px 22px 62px;
  }

  .subpage-hero-inner,
  .content-shell,
  .cta-inner {
    width: min(100% - 32px, 1180px);
  }

  .subpage-hero h1 {
    font-size: 38px;
  }

  .content-section {
    padding: 62px 0;
  }

  .step-flow,
  .catalog-grid,
  .resource-list,
  .video-list,
  .regal-photo-strip {
    grid-template-columns: 1fr;
  }

  .customer-logo-grid-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-name-roster ul {
    grid-template-columns: 1fr;
  }

  .customer-name-roster li {
    text-align: left;
  }

  .customer-name-roster li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .regal-proof-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .step-flow article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact-list li,
  .service-lines li,
  .sector-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .editorial-media img {
    min-height: 260px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Long-form product and support hubs. */
.knowledge-hero { --page-image: url("productpic.webp"); }
.regal-page-hero { --page-image: url("regal-training.webp"); }
.industries-hero { --page-image: url("hero-generated.webp"); }
.article-index .content-head { margin-bottom: 28px; }
.knowledge-accordion { border-top: 1px solid var(--line); }
.knowledge-accordion details { border-bottom: 1px solid var(--line); }
.knowledge-accordion summary { display: grid; grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 23px 0; cursor: pointer; list-style: none; }
.knowledge-accordion summary::-webkit-details-marker { display: none; }
.knowledge-accordion summary::after { content: "+"; color: var(--brand-2, var(--green)); font-size: 24px; line-height: 1; }
.knowledge-accordion details[open] summary::after { content: "−"; }
.knowledge-accordion summary span { color: var(--brand-2, var(--green)); font-size: 13px; font-weight: 800; }
.knowledge-accordion summary strong { font-size: 20px; }
.knowledge-accordion details > div { max-width: 860px; padding: 0 0 25px 60px; color: var(--muted); }
.knowledge-accordion details p { margin: 0 0 10px; }
.knowledge-accordion details ul { margin: 8px 0 0; padding-left: 20px; }
.source-note { margin: 30px 0 0; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.source-note a { color: var(--brand); font-weight: 700; }

.product-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-lines article { min-width: 0; padding: 28px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-lines h3 { margin: 0; font-size: 24px; }
.product-lines p { margin: 10px 0 0; color: var(--muted); }
.product-lines strong { display: block; margin-top: 18px; color: var(--ink); font-size: 14px; line-height: 1.55; }

.evidence-gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.evidence-gallery figure { margin: 0; }
.evidence-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.evidence-gallery figcaption, .editorial-media figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; }
.resource-list-dark { border-top-color: rgba(255, 255, 255, .18); }
.resource-list-dark li { border-bottom-color: rgba(255, 255, 255, .18); }
.resource-list-dark strong { color: #fff; }
.resource-list-dark span { color: rgba(255, 255, 255, .58); }

.industry-guide { border-top: 1px solid var(--line); }
.industry-guide article { display: grid; grid-template-columns: minmax(210px, .42fr) minmax(0, 1.58fr); gap: clamp(28px, 5vw, 72px); padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.industry-guide header { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-content: start; }
.industry-guide header span { color: var(--brand-2, var(--green)); font-size: 13px; font-weight: 800; }
.industry-guide h3 { margin: 0; font-size: 25px; line-height: 1.2; }
.industry-guide article > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; }
.industry-guide p { margin: 0; color: var(--muted); }
.industry-guide p strong { display: block; margin-bottom: 3px; color: var(--ink); }

.four-flow { grid-template-columns: repeat(4, 1fr); }
.compact-steps { grid-template-columns: repeat(5, 1fr); }
.compact-steps article { padding-right: 22px; padding-left: 22px; }
.compact-steps h3 { font-size: 20px; }

.product-detail-guide { border-top: 1px solid var(--line); }
.product-detail-guide article { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: clamp(34px, 6vw, 82px); align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.product-detail-guide article:nth-child(even) img { order: 2; }
.product-detail-guide img { width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 18px; object-fit: contain; background: #fff; }
.product-detail-guide h3 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.product-detail-guide p { margin: 12px 0 0; color: var(--muted); }
.product-detail-guide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 22px 0 0; padding-left: 20px; color: var(--ink); }

@media (max-width: 900px) {
  .compact-steps { grid-template-columns: repeat(2, 1fr); }
  .compact-steps article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .evidence-gallery { grid-template-columns: 1fr 1fr; }
  .evidence-gallery figure:first-child { grid-column: 1 / -1; }
  .industry-guide article { grid-template-columns: 1fr; }
  .four-flow { grid-template-columns: repeat(2, 1fr); }
  .four-flow article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 700px) {
  .knowledge-accordion details > div { padding-left: 0; }
  .knowledge-accordion summary { grid-template-columns: 32px minmax(0, 1fr) 20px; }
  .knowledge-accordion summary strong { font-size: 18px; }
  .product-lines, .evidence-gallery, .compact-steps, .four-flow { grid-template-columns: 1fr; }
  .evidence-gallery figure:first-child { grid-column: auto; }
  .industry-guide article > div { grid-template-columns: 1fr; }
  .product-detail-guide article { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .product-detail-guide article:nth-child(even) img { order: 0; }
  .product-detail-guide ul { grid-template-columns: 1fr; }
  .compact-steps article + article, .four-flow article + article { border-top: 1px solid var(--line); border-left: 0; }
}
