/* Black Saber Industries - inner page components (loaded after styles.css) */
.ph {
  min-height: 70vh;
  align-items: flex-start;
  padding: clamp(200px, 35vh, 280px) 0 70px;
}
.ph h1 {
  font-size: clamp(32px, 5vw, 60px);
  max-width: 920px;
}
.ph .lead {
  max-width: 780px;
}
.pg {
  padding: 70px 0;
}
.pg h2 {
  margin-top: 10px;
}
.tech-hero {
  min-height: 58vh;
  padding-bottom: 35px;
}
.tech-section {
  padding: 35px 0;
}
.tech-section .split {
  margin-top: 17px;
}
.split {
  align-items: center;
  margin-top: 34px;
}
.split.rev > div:first-child {
  order: 2;
}
.split .img {
  aspect-ratio: 4 / 3;
  min-height: 240px;
  border-radius: 14px;
}
.split h3 {
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.15;
}
.fg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 36px;
}
.leader-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.leadership-board-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.leader-card:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 4px;
}
.leader-profile-page {
  padding: clamp(150px, 22vh, 220px) 0 80px;
}
.leader-profile-back {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--mut);
  font-size: 14px;
  transition: color 0.2s ease;
}
.leader-profile-back:hover {
  color: var(--acc);
}
.leader-profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.leader-profile-card {
  min-width: 0;
  max-width: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.leader-profile-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: none;
}
.leader-profile-photo .photo-placeholder {
  object-position: center 32%;
}
.leader-profile-identity {
  padding: 20px 22px 22px;
}
.leader-profile-identity .mono {
  display: block;
  margin-bottom: 8px;
}
.leader-profile-identity h1 {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.leader-profile-identity a {
  display: inline-block;
  margin-top: 14px;
  color: var(--acc);
  font-size: 14px;
}
.leader-profile-copy {
  min-width: 0;
  padding-top: 4px;
  color: #3b3538;
  line-height: 1.65;
}
.leader-profile-copy > .mono {
  margin-bottom: 16px;
}
.leader-profile-bio p {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.leader-profile-bio p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .leader-profile-page {
    padding-block: 150px 64px;
  }
  .leader-profile-back {
    margin-bottom: 24px;
  }
  .leader-profile-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .leader-profile-card {
    width: 100%;
    max-width: 500px;
  }
  .leader-profile-photo {
    aspect-ratio: 16 / 9;
  }
  .leader-profile-copy {
    padding: 0 0 12px;
  }
}
.fg .card h3 {
  margin-top: 0;
}
.fg .card .img {
  height: 130px;
  margin-bottom: 14px;
  border-radius: 10px;
}
.facility-cards > .facility-card,
.training-cards > .card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.facility-card-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.culture-cards > .culture-card {
  min-height: 280px;
}
.culture-card-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hse-cards > .hse-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.hse-card .hse-icon {
  width: 52px;
  height: 52px;
  flex: none;
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hse-card h3,
.hse-card p {
  margin: 0;
}
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.values-grid > .card {
  flex: 0 1 calc((100% - 60px) / 4);
  padding: 0 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.values-grid .value-card-image {
  height: 160px;
  margin: 0 -20px 18px;
  border-radius: 12px 12px 0 0;
}
.values-grid .card h3 {
  margin: 0 0 8px;
}

.facility-cards,
.training-cards,
.career-locations,
.career-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.facility-cards > .facility-card,
.training-cards > .card,
.career-locations > .tm,
.career-benefits > .career-benefit {
  flex: 0 1 calc((100% - 48px) / 4);
}

.reach-map-frame {
  display: block;
  width: 100%;
  margin: 28px auto 0;
  border: 0;
  border-radius: 14px;
  background: #101012;
}

.career-benefits > .career-benefit {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.career-locations .t {
  text-align: center;
}
.career-benefit-icon {
  width: 52px;
  height: 52px;
  flex: none;
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.career-benefit h3,
.career-benefit p {
  margin: 0;
}
.bl {
  list-style: none;
  margin-top: 18px;
  max-width: 760px;
}
.bl li {
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line);
  position: relative;
  color: #3d3438;
}
.bl li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acc);
}
.bl.chk li:before {
  content: "✓";
  background: none;
  width: auto;
  height: auto;
  top: 12px;
  color: var(--acc);
  font-weight: 700;
}
.banner {
  height: 320px;
  border-radius: 16px;
  margin: 40px 0;
}
.region {
  font:
    700 clamp(28px, 4vw, 44px) "Space Grotesk",
    sans-serif;
  letter-spacing: -0.02em;
  margin: 70px 0 6px;
}
.fac {
  margin-top: 40px;
}
.lead.w {
  max-width: 820px;
}
.quote {
  font:
    600 clamp(20px, 2.6vw, 28px)/1.3 "Space Grotesk",
    sans-serif;
  max-width: 760px;
  margin: 36px 0 0;
  letter-spacing: -0.01em;
}
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}
.prose p,
.prose li {
  color: #3b3538;
  margin-bottom: 6px;
}
.capability-domain {
  padding: clamp(42px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.capability-domain:nth-of-type(even) {
  background: rgba(245, 234, 237, 0.48);
}
.capability-domain-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "photo copy";
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}
.capability-domain--reverse .capability-domain-layout {
  grid-template-areas: "copy photo";
}
.capability-domain-photo {
  grid-area: photo;
  width: 100%;
  height: min(34vw, 360px);
  min-height: 260px;
  border-radius: 12px;
}
.capability-domain-copy {
  grid-area: copy;
  min-width: 0;
}
.capability-domain-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
}
.capability-domain-copy > p {
  max-width: 660px;
  margin: 0 0 18px;
  color: var(--mut);
  line-height: 1.65;
}
.capability-domain-copy h3 {
  margin: 20px 0 0;
  color: var(--acc);
  font:
    600 12px/1.4 "JetBrains Mono",
    monospace;
  text-transform: uppercase;
}
.capability-domain-copy .bl {
  max-width: none;
  margin-top: 4px;
}
.capability-domain-copy .bl li {
  padding-block: 9px;
}
.prose ul {
  margin: 10px 0 0 20px;
}
.contact {
  align-items: start;
}
.cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ci {
  background: var(--soft);
  border-radius: 14px;
  padding: 20px;
  font-size: 14px;
  color: var(--mut);
}
.ci h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.ci a {
  display: block;
  color: var(--acc);
  overflow-wrap: anywhere;
}
.fm {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.fm label {
  font-size: 12px;
  color: var(--mut);
  display: grid;
  gap: 6px;
}
.fm input {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}
.fm input:focus {
  outline: 2px solid var(--acc);
  outline-offset: 1px;
}
.fm button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}
.soon {
  border: 1px dashed var(--acc);
  border-radius: 16px;
  padding: 60px 24px;
  text-align: center;
  color: var(--mut);
  background: rgba(255, 255, 255, 0.5);
}
@media (max-width: 991.98px) {
  .split.rev > div:first-child {
    order: 0;
  }
  .cg {
    grid-template-columns: 1fr;
  }
  .leadership-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stats.s4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
@media (max-width: 575.98px) {
  .ph {
    padding-top: clamp(160px, 26vh, 220px);
  }
  .leadership-board-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 991.98px) {
  .stats.s4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .capability-domain-layout,
  .capability-domain--reverse .capability-domain-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "photo"
      "copy";
  }
  .capability-domain-photo {
    height: 300px;
    min-height: 0;
  }
}
@media (max-width: 575.98px) {
  .stats.s4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .values-grid {
    gap: 16px;
  }
  .facility-cards > .facility-card,
  .training-cards > .card,
  .career-locations > .tm,
  .career-benefits > .career-benefit {
    flex-basis: 100%;
  }
  .capability-domain-photo {
    height: 230px;
  }
  .values-grid > .card,
  .values-grid > .card:nth-child(n + 5) {
    flex-basis: 100%;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .facility-cards > .facility-card,
  .training-cards > .card,
  .career-locations > .tm,
  .career-benefits > .career-benefit {
    flex-basis: calc((100% - 16px) / 2);
  }
  .values-grid > .card,
  .values-grid > .card:nth-child(n + 5) {
    flex-basis: calc((100% - 20px) / 2);
  }
}

.catalog-intro {
  max-width: 760px;
  margin-bottom: 30px;
}
.catalog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.catalog-grid > .catalog-card {
  flex: 0 1 calc((100% - 32px) / 3);
}
.catalog-card {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-align: start;
  font: inherit;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: var(--acc);
  background: #fff;
  box-shadow: 0 14px 30px -22px rgba(16, 16, 16, 0.48);
}
.catalog-card:focus-visible,
.catalog-back:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 3px;
}
.catalog-index {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--acc);
}
.catalog-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}
.catalog-card p {
  margin: 0;
  color: var(--mut);
  font-size: 14px;
  line-height: 1.55;
}
.catalog-card p.catalog-count {
  margin-top: 14px;
  color: var(--acc);
  font-size: 13px;
  font-weight: 600;
}
.catalog-detail-count {
  margin: 14px 0 0;
  font-weight: 700;
}
.catalog-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--acc);
  font-size: 13px;
  font-weight: 600;
}
.catalog-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--mut);
  font-size: 14px;
  transition: color 0.2s ease;
}
.catalog-back:hover {
  color: var(--acc);
}
.catalog-detail-hero h1 {
  max-width: 960px;
}
.catalog-detail-section:nth-child(even) {
  background: var(--soft);
}
.catalog-detail-section h3 {
  margin: 10px 0 12px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.2;
}
.catalog-detail-section .lead {
  max-width: 820px;
}
.catalog-detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "copy image";
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.catalog-detail-section--reverse .catalog-detail-layout {
  grid-template-areas: "image copy";
}
.catalog-detail-copy {
  grid-area: copy;
  min-width: 0;
}
.catalog-detail-image {
  grid-area: image;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
}
.catalog-detail-points {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-inline-start: 22px;
}
.catalog-detail-points li {
  margin: 0;
}
@media (max-width: 991.98px) {
  .catalog-grid > .catalog-card {
    flex-basis: calc((100% - 16px) / 2);
  }
  .catalog-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "image"
      "copy";
  }
  .catalog-detail-section--reverse .catalog-detail-layout {
    grid-template-areas:
      "image"
      "copy";
  }
}
@media (max-width: 575.98px) {
  .catalog-grid > .catalog-card {
    flex-basis: 100%;
  }
  .catalog-card {
    min-height: 220px;
  }
}

/* Leadership page only: keep the man in the suit visible on phones/tablets */
@media (max-width: 991.98px) {
  .leadership-hero .bg .photo-placeholder {
    object-position: 28% 50% !important;
  }
}
@media (max-width: 575.98px) {
  .leadership-hero .bg .photo-placeholder {
    object-position: 45% 50% !important;
  }
}


/* Capabilities hero: endlessly scroll the wide collage so the last panel flows into the first */
.capabilities-hero .bg {
  container-type: size;
}
.capabilities-hero .bg picture {
  display: none;
}
.capabilities-hero .bg::before {
  --tile: calc(100cqh * 2048 / 646);
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/capabilities-hero.png") 0 0 / auto 100% repeat-x;
  animation: capabilities-hero-scroll 20s linear infinite;
}
@keyframes capabilities-hero-scroll {
  to {
    background-position-x: calc(var(--tile) * -1);
  }
}
@media (max-width: 575.98px) {
  .capabilities-hero .bg::before {
    --tile: calc(100cqh * 1080 / 341);
    background-image: url("/assets/capabilities-hero-mobile.jpg");
  }
}
@media (prefers-reduced-motion: reduce) {
  .capabilities-hero .bg::before {
    animation: none;
  }
}
