/* =====================================================================
   Military & Defense PCB Manufacturer - page stylesheet
   Prefix: pg-milpcb-
   Scope: .pg-milpcb (page body, Hero to FAQ).
   The Final CTA / RFQ section uses the shared stylesheet tpcb-rfq.css.
   Headings, paragraphs and font families inherit the global theme.
   Color roles: amber = primary actions and the defense accent, used on
                dark surfaces and as button fills;
                deep amber = the few amber text labels on light surfaces;
                blue = data, navigation, links, and measurement.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
.pg-milpcb {
  --pg-milpcb-heading: #0d2a52;
  --pg-milpcb-text: #3d4859;
  --pg-milpcb-muted: #5b6576;
  --pg-milpcb-navy: #0b2246;
  --pg-milpcb-panel-dark: #0f2a55;

  /* Blue: data, links, navigation, measurement */
  --pg-milpcb-blue: #1565c0;
  --pg-milpcb-blue-dark: #0f4c97;
  --pg-milpcb-blue-accent: #1976d2;
  --pg-milpcb-sky: #40a0ff;

  /* Amber: actions and defense accent */
  --pg-milpcb-amber: #fbbf24;         /* fills, and on dark surfaces */
  --pg-milpcb-amber-hover: #fcd34d;
  --pg-milpcb-amber-edge: #f59e0b;    /* button edge on white */
  --pg-milpcb-amber-deep: #a14a0b;    /* text on light surfaces */

  /* Surfaces and lines */
  --pg-milpcb-bg-alt: #f4f7fb;
  --pg-milpcb-tint: #eaf2fb;
  --pg-milpcb-tier-tint: #f4f8fe;
  --pg-milpcb-line: #dce4ee;
  --pg-milpcb-line-blue: #b8cfea;

  /* Hero overlay: same values as the other landing pages */
  --pg-milpcb-hero-overlay: linear-gradient(90deg, rgba(11, 34, 70, 0.94) 0%, rgba(11, 34, 70, 0.88) 40%, rgba(13, 50, 105, 0.55) 62%, rgba(13, 50, 105, 0.26) 100%);
  --pg-milpcb-hero-overlay-stacked: linear-gradient(180deg, rgba(11, 34, 70, 0.9) 0%, rgba(13, 50, 105, 0.82) 100%);

  /* Diagram palette: PCB materials, used inside the diagrams only */
  --pg-milpcb-board: #efe3c8;
  --pg-milpcb-board-line: #d9c7a0;
  --pg-milpcb-cu: #c8793a;
  --pg-milpcb-ptfe: #f1ece2;
  --pg-milpcb-fr4: #d9c596;
  --pg-milpcb-bond: #b8a06c;
  --pg-milpcb-site: #b42318;

  --pg-milpcb-radius: 8px;
  --pg-milpcb-radius-sm: 4px;
  --pg-milpcb-section-y: 75px;
  --pg-milpcb-gap: 60px;
  --pg-milpcb-head-gap: 44px;
  --pg-milpcb-block-gap: 56px;
}


/* ---------------------------------------------------------------------
   2. Scoped base reset
   --------------------------------------------------------------------- */
.pg-milpcb *,
.pg-milpcb *::before,
.pg-milpcb *::after {
  box-sizing: border-box;
}

.pg-milpcb h2,
.pg-milpcb h3,
.pg-milpcb h4,
.pg-milpcb p,
.pg-milpcb figure,
.pg-milpcb dl,
.pg-milpcb dt,
.pg-milpcb dd {
  margin: 0;
}

.pg-milpcb img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Anchor targets clear the fixed site header */
.pg-milpcb [id] {
  scroll-margin-top: 90px;
}

.pg-milpcb a:focus-visible,
.pg-milpcb button:focus-visible {
  outline: 3px solid var(--pg-milpcb-sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden text (table captions, button labels) */
.pg-milpcb-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Two-part values and list items: one part per line */
.pg-milpcb-seg {
  display: block;
}


/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.pg-milpcb-section {
  padding: var(--pg-milpcb-section-y) 0;
  background: #fff;
}

.pg-milpcb-section--alt {
  background: var(--pg-milpcb-bg-alt);
}

.pg-milpcb-container {
  width: calc(100% - 40px);
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}

/* Vertical rhythm inside a section container */
.pg-milpcb .pg-milpcb-container > * + * {
  margin-top: var(--pg-milpcb-block-gap);
}

.pg-milpcb .pg-milpcb-container > .pg-milpcb-head + * {
  margin-top: var(--pg-milpcb-head-gap);
}

.pg-milpcb .pg-milpcb-container > .pg-milpcb-notes {
  margin-top: 20px;
}

/* Section heading: centered title and lead */
.pg-milpcb-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-milpcb-head h2 {
  color: var(--pg-milpcb-heading);
}

.pg-milpcb .pg-milpcb-head > * + * {
  margin-top: 16px;
}

.pg-milpcb-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--pg-milpcb-text);
}

/* Split heading: long title left, lead right */
.pg-milpcb .pg-milpcb-head--split {
  display: grid;
  grid-template-columns: minmax(0, 53fr) minmax(0, 64fr);
  gap: var(--pg-milpcb-gap);
  align-items: start;
  max-width: none;
  text-align: left;
}

.pg-milpcb .pg-milpcb-head--split h2 {
  text-wrap: balance;
}

.pg-milpcb .pg-milpcb-head--split > * + * {
  margin-top: 0;
}

.pg-milpcb .pg-milpcb-head--split .pg-milpcb-lead {
  max-width: none;
  margin: 0;
}

/* Sub-block with a left-aligned H3 */
.pg-milpcb .pg-milpcb-block > * + * {
  margin-top: 20px;
}

.pg-milpcb-block__title {
  color: var(--pg-milpcb-heading);
}

.pg-milpcb-block__lead,
.pg-milpcb-block__body {
  max-width: 860px;
  color: var(--pg-milpcb-text);
}

.pg-milpcb .pg-milpcb-block__lead {
  font-weight: 600;
  color: var(--pg-milpcb-heading);
}

/* Inline text links */
.pg-milpcb .pg-milpcb-link,
.pg-milpcb .pg-milpcb-link:visited {
  color: var(--pg-milpcb-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pg-milpcb .pg-milpcb-link:hover {
  color: var(--pg-milpcb-blue-dark);
}

/* Notes below tables */
.pg-milpcb-notes {
  max-width: 860px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pg-milpcb-muted);
}

/* Closing paragraph at the end of a section */
.pg-milpcb-closing {
  max-width: 860px;
  color: var(--pg-milpcb-text);
}


/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.pg-milpcb .pg-milpcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--pg-milpcb-radius-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Amber fill with navy text: the one primary action style on this page */
.pg-milpcb .pg-milpcb-btn--bright,
.pg-milpcb .pg-milpcb-btn--bright:visited {
  background: var(--pg-milpcb-amber);
  color: var(--pg-milpcb-navy);
}

.pg-milpcb .pg-milpcb-btn--bright:hover,
.pg-milpcb .pg-milpcb-btn--bright:focus-visible {
  background: var(--pg-milpcb-amber-hover);
  color: var(--pg-milpcb-navy);
}


/* ---------------------------------------------------------------------
   5. Hero
   Desktop: 604px minimum height, content centered vertically.
   --------------------------------------------------------------------- */
.pg-milpcb-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 604px;
  overflow: hidden;
  padding: var(--pg-milpcb-section-y) 0;
  background: var(--pg-milpcb-navy);
  color: #fff;
}

.pg-milpcb-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.pg-milpcb-hero .pg-milpcb-hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% center;
}

/* Directional overlay: text left, boards right */
.pg-milpcb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pg-milpcb-hero-overlay);
}

.pg-milpcb-hero .pg-milpcb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--pg-milpcb-gap);
  align-items: center;
}

.pg-milpcb .pg-milpcb-hero__inner > * {
  margin-top: 0;
}

.pg-milpcb-hero .pg-milpcb-hero__title {
  color: #fff;
  text-wrap: balance;
}

.pg-milpcb-hero__summary {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.pg-milpcb .pg-milpcb-hero__summary {
  margin-top: 20px;
}

.pg-milpcb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

/* Right panel: four assurance items with icons */
.pg-milpcb .pg-milpcb-hero__panel {
  padding: 6px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pg-milpcb-radius);
  background: rgba(8, 26, 56, 0.76);
}

.pg-milpcb-hero__item {
  position: relative;
  padding: 18px 0 18px 40px;
}

.pg-milpcb-hero__item + .pg-milpcb-hero__item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-milpcb-hero__item dt {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.pg-milpcb .pg-milpcb-hero__icon {
  position: absolute;
  top: 18px;
  left: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--pg-milpcb-amber);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-milpcb .pg-milpcb-hero__item dd {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}


/* ---------------------------------------------------------------------
   6. Applications table
   Header bar on top, each row drawn as a separate card, and the
   "How We Meet Them" column tinted. Rows reflow to cards on tablets.
   --------------------------------------------------------------------- */
.pg-milpcb .pg-milpcb-apps > .pg-milpcb-apps__note {
  margin-top: 18px;
}

.pg-milpcb .pg-milpcb-apptable {
  width: 100%;
  margin: -10px 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
  background: transparent;
  font-size: 15px;
  line-height: 1.6;
}

.pg-milpcb .pg-milpcb-apptable tr {
  background: transparent;
}

.pg-milpcb .pg-milpcb-apptable th,
.pg-milpcb .pg-milpcb-apptable td {
  padding: 20px 24px;
  border: 0;
  background: #fff;
  color: var(--pg-milpcb-text);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

/* Column proportions */
.pg-milpcb-apptable thead th:nth-child(1) { width: 28%; }
.pg-milpcb-apptable thead th:nth-child(2) { width: 32%; }
.pg-milpcb-apptable thead th:nth-child(3) { width: 40%; }

/* Header bar */
.pg-milpcb .pg-milpcb-apptable thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--pg-milpcb-line-blue);
  border-bottom: 1px solid var(--pg-milpcb-line-blue);
  background: var(--pg-milpcb-tint);
  color: var(--pg-milpcb-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.pg-milpcb .pg-milpcb-apptable thead th:first-child {
  border-left: 1px solid var(--pg-milpcb-line-blue);
  border-radius: var(--pg-milpcb-radius) 0 0 var(--pg-milpcb-radius);
}

.pg-milpcb .pg-milpcb-apptable thead th:last-child {
  border-right: 1px solid var(--pg-milpcb-line-blue);
  border-radius: 0 var(--pg-milpcb-radius) var(--pg-milpcb-radius) 0;
  color: var(--pg-milpcb-amber-deep);
}

/* Body rows as cards */
.pg-milpcb .pg-milpcb-apptable tbody th,
.pg-milpcb .pg-milpcb-apptable tbody td {
  border-top: 1px solid var(--pg-milpcb-line);
  border-bottom: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb .pg-milpcb-apptable tbody th {
  border-left: 1px solid var(--pg-milpcb-line);
  border-radius: var(--pg-milpcb-radius) 0 0 var(--pg-milpcb-radius);
  color: var(--pg-milpcb-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.pg-milpcb .pg-milpcb-apptable tbody td.pg-milpcb-apptable__build {
  border-right: 1px solid var(--pg-milpcb-line);
  border-left: 1px solid var(--pg-milpcb-line);
  border-radius: 0 var(--pg-milpcb-radius) var(--pg-milpcb-radius) 0;
  background: var(--pg-milpcb-bg-alt);
}

/* Link at the end of a row: arrow marks navigation */
.pg-milpcb .pg-milpcb-app__link,
.pg-milpcb .pg-milpcb-app__link:visited {
  display: block;
  width: fit-content;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.pg-milpcb .pg-milpcb-app__link::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.pg-milpcb .pg-milpcb-app__link:hover::after {
  transform: translateX(3px);
}

/* Phone toggle: hidden on larger screens and when the script is off */
.pg-milpcb .pg-milpcb-app__toggle {
  display: none;
}

.pg-milpcb-apps__note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-milpcb-muted);
}


/* ---------------------------------------------------------------------
   7. Material and process options (spec grid)
   Hairlines come from a 1px grid gap over the line color.
   --------------------------------------------------------------------- */
.pg-milpcb-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pg-milpcb-line);
  border-radius: var(--pg-milpcb-radius);
  background: var(--pg-milpcb-line);
}

.pg-milpcb-options__item {
  min-width: 0;
  padding: 20px 24px;
  background: #fff;
}

.pg-milpcb-options__item--wide {
  grid-column: 1 / -1;
}

.pg-milpcb-options__item dt {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-milpcb-heading);
}

.pg-milpcb .pg-milpcb-options__item dd {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-milpcb-text);
}

/* Laminate families: two columns on wide screens, one per line on phones */
.pg-milpcb .pg-milpcb-options__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 48px;
}

.pg-milpcb .pg-milpcb-options__list li {
  position: relative;
  margin: 0;
  padding: 3px 0 3px 16px;
  break-inside: avoid;
}

.pg-milpcb .pg-milpcb-options__list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--pg-milpcb-blue-accent);
}


/* ---------------------------------------------------------------------
   8. Capability tables: two tables side by side, and shared table styles
   --------------------------------------------------------------------- */
.pg-milpcb-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.pg-milpcb-specs > .pg-milpcb-block {
  min-width: 0;
}

.pg-milpcb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pg-milpcb-line);
  border-radius: var(--pg-milpcb-radius);
  background: #fff;
}

.pg-milpcb .pg-milpcb-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.pg-milpcb .pg-milpcb-table tr {
  background: transparent;
}

.pg-milpcb .pg-milpcb-table th,
.pg-milpcb .pg-milpcb-table td {
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--pg-milpcb-line);
  background: #fff;
  color: var(--pg-milpcb-text);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.pg-milpcb .pg-milpcb-table thead th {
  border-bottom: 2px solid var(--pg-milpcb-blue);
  background: var(--pg-milpcb-tint);
  color: var(--pg-milpcb-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pg-milpcb .pg-milpcb-table tbody th {
  color: var(--pg-milpcb-heading);
  font-weight: 600;
}

.pg-milpcb .pg-milpcb-table tbody tr:last-child > th,
.pg-milpcb .pg-milpcb-table tbody tr:last-child > td {
  border-bottom: 0;
}

/* Column proportions */
.pg-milpcb-table--spec thead th:first-child { width: 40%; }
.pg-milpcb-table--spec thead th:not(:first-child) { width: 30%; }
.pg-milpcb-table--review thead th:nth-child(1) { width: 22%; }
.pg-milpcb-table--review thead th:nth-child(2) { width: 36%; }
.pg-milpcb-table--tests thead th:nth-child(1) { width: 24%; }
.pg-milpcb-table--tests thead th:nth-child(2) { width: 38%; }

/* "How We Prevent It" uses the same deep amber as "How We Meet Them" */
.pg-milpcb .pg-milpcb-table--review thead th:last-child {
  color: var(--pg-milpcb-amber-deep);
}

/* Project-specific tier column */
.pg-milpcb .pg-milpcb-table thead th.pg-milpcb-table__tier {
  border-bottom-color: var(--pg-milpcb-blue-accent);
  background: var(--pg-milpcb-blue-accent);
  color: #fff;
}

.pg-milpcb .pg-milpcb-table tbody td.pg-milpcb-table__tier {
  background: var(--pg-milpcb-tier-tint);
  color: var(--pg-milpcb-heading);
  font-weight: 600;
}


/* ---------------------------------------------------------------------
   9. Text + media splits, diagram frame, captions, quote boxes
   --------------------------------------------------------------------- */
.pg-milpcb-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--pg-milpcb-gap);
  align-items: center;
}

.pg-milpcb-split--records {
  align-items: stretch;
}

.pg-milpcb-split__text {
  min-width: 0;
}

.pg-milpcb .pg-milpcb-split__text > * + * {
  margin-top: 18px;
}

.pg-milpcb .pg-milpcb-split__text > h2 + p {
  margin-top: 20px;
}

.pg-milpcb-split__text p {
  color: var(--pg-milpcb-text);
}

.pg-milpcb-split__media {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Hybrid split: construction panel left, text right on desktop */
.pg-milpcb .pg-milpcb-split--hybrid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-areas: "fig text";
}

.pg-milpcb-split--hybrid .pg-milpcb-split__text {
  grid-area: text;
}

.pg-milpcb-split--hybrid .pg-milpcb-construct {
  grid-area: fig;
}

/* Diagram frame on light sections */
.pg-milpcb-dgm {
  min-width: 0;
  padding: 22px 20px 18px;
  border-radius: var(--pg-milpcb-radius);
  background: var(--pg-milpcb-bg-alt);
}

.pg-milpcb .pg-milpcb-dgm__svg {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

/* One caption style for the page: small text under the visual */
.pg-milpcb .pg-milpcb-caption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-milpcb-muted);
}

/* Photo frame: fills the column height, crops without distortion */
.pg-milpcb-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--pg-milpcb-radius);
  background: #e4eaf2;
}

.pg-milpcb .pg-milpcb-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Quote box: statements a reader can quote or act on */
.pg-milpcb-quote {
  padding: 20px 24px;
  border-left: 3px solid var(--pg-milpcb-blue);
  border-radius: 0 var(--pg-milpcb-radius-sm) var(--pg-milpcb-radius-sm) 0;
  background: var(--pg-milpcb-bg-alt);
}

.pg-milpcb-section--alt .pg-milpcb-quote {
  background: #fff;
}

.pg-milpcb .pg-milpcb-quote p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--pg-milpcb-heading);
}


/* ---------------------------------------------------------------------
   10. Plated-hole controls: open 2 x 2 grid with hairline rules
   --------------------------------------------------------------------- */
.pg-milpcb .pg-milpcb-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb .pg-milpcb-block > .pg-milpcb-controls {
  margin-top: 18px;
}

.pg-milpcb .pg-milpcb-controls__item {
  min-width: 0;
  margin: 0;
  padding: 26px 36px 28px 0;
  border-top: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb .pg-milpcb-controls__item:nth-child(2n) {
  padding-right: 0;
  padding-left: 36px;
  border-left: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb .pg-milpcb-controls__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-milpcb-heading);
}

.pg-milpcb .pg-milpcb-controls__item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--pg-milpcb-text);
}


/* ---------------------------------------------------------------------
   11. Dark section (hybrid stackups) and mid-page CTA band
   --------------------------------------------------------------------- */
.pg-milpcb-section--dark {
  background: var(--pg-milpcb-navy);
  color: rgba(255, 255, 255, 0.84);
}

.pg-milpcb-section--dark h2,
.pg-milpcb-section--dark h3 {
  color: #fff;
}

.pg-milpcb .pg-milpcb-section--dark .pg-milpcb-lead,
.pg-milpcb .pg-milpcb-section--dark .pg-milpcb-split__text p {
  color: rgba(255, 255, 255, 0.84);
}

/* Process steps on dark: small amber squares */
.pg-milpcb .pg-milpcb-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-milpcb .pg-milpcb-split__text > .pg-milpcb-steps {
  margin-top: 12px;
}

.pg-milpcb .pg-milpcb-steps li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.84);
}

.pg-milpcb .pg-milpcb-steps li + li {
  margin-top: 10px;
}

.pg-milpcb .pg-milpcb-steps li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--pg-milpcb-amber);
}

/* Representative construction panel */
.pg-milpcb-construct {
  min-width: 0;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pg-milpcb-radius);
  background: var(--pg-milpcb-panel-dark);
}

.pg-milpcb .pg-milpcb-construct__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.pg-milpcb .pg-milpcb-construct__figure {
  margin-top: 18px;
}

.pg-milpcb .pg-milpcb-construct .pg-milpcb-caption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.pg-milpcb .pg-milpcb-construct__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-milpcb .pg-milpcb-construct__list li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.pg-milpcb .pg-milpcb-construct__link {
  margin-top: 14px;
  font-size: 15px;
}

.pg-milpcb .pg-milpcb-construct .pg-milpcb-link,
.pg-milpcb .pg-milpcb-construct .pg-milpcb-link:visited {
  color: var(--pg-milpcb-amber);
}

/* Mid-page CTA band, on the dark section */
.pg-milpcb-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--pg-milpcb-radius);
  background: rgba(255, 255, 255, 0.04);
}

.pg-milpcb .pg-milpcb-band__text {
  min-width: 0;
  max-width: 760px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.pg-milpcb .pg-milpcb-band__btn {
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------
   12. Diagrams (plated-hole cross-section and hybrid stackup)
   --------------------------------------------------------------------- */
.pg-milpcb-svg__board {
  fill: var(--pg-milpcb-board);
  stroke: var(--pg-milpcb-board-line);
  stroke-width: 1;
}

.pg-milpcb-svg__cu { fill: var(--pg-milpcb-cu); }
.pg-milpcb-svg__ptfe { fill: var(--pg-milpcb-ptfe); }
.pg-milpcb-svg__fr4 { fill: var(--pg-milpcb-fr4); }
.pg-milpcb-svg__bond { fill: var(--pg-milpcb-bond); }

/* Cracks: gaps drawn in the diagram background color */
.pg-milpcb-svg__crack {
  fill: none;
  stroke: var(--pg-milpcb-bg-alt);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-milpcb-svg__axis {
  fill: none;
  stroke: var(--pg-milpcb-blue);
  stroke-width: 2;
}

.pg-milpcb-svg__ahead { fill: var(--pg-milpcb-blue); }

.pg-milpcb-svg__axis-label {
  font-size: 14px;
  font-weight: 700;
  fill: var(--pg-milpcb-blue);
}

.pg-milpcb-svg__site {
  fill: none;
  stroke: var(--pg-milpcb-site);
  stroke-width: 1.8;
}

.pg-milpcb-svg__leader {
  fill: none;
  stroke: #8a94a6;
  stroke-width: 1;
}

.pg-milpcb-svg__label {
  font-size: 14px;
  font-weight: 700;
  fill: var(--pg-milpcb-heading);
}

.pg-milpcb-svg__note {
  font-size: 13px;
  font-weight: 400;
  fill: #51607a;
}

/* Backdrilled hole: panel color with a dashed drill outline */
.pg-milpcb-svg__drill {
  fill: var(--pg-milpcb-panel-dark);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

/* Text and lines inside the dark construction panel */
.pg-milpcb-construct .pg-milpcb-svg__label { fill: #fff; }
.pg-milpcb-construct .pg-milpcb-svg__note { fill: rgba(255, 255, 255, 0.68); }
.pg-milpcb-construct .pg-milpcb-svg__leader { stroke: rgba(255, 255, 255, 0.42); }

.pg-milpcb-svg__tick {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1;
}

.pg-milpcb-svg__num {
  font-size: 12px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.62);
}


/* ---------------------------------------------------------------------
   13. Order stage navigation (in-page links, process order)
   --------------------------------------------------------------------- */
.pg-milpcb .pg-milpcb-stages__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--pg-milpcb-line);
  border-radius: var(--pg-milpcb-radius);
  background: var(--pg-milpcb-line);
}

.pg-milpcb .pg-milpcb-stages__list li {
  min-width: 0;
  margin: 0;
  background: #fff;
}

.pg-milpcb .pg-milpcb-stages__link,
.pg-milpcb .pg-milpcb-stages__link:visited {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 22px;
  color: var(--pg-milpcb-heading);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pg-milpcb .pg-milpcb-stages__link:hover {
  background: var(--pg-milpcb-tier-tint);
}

.pg-milpcb .pg-milpcb-stages__link:focus-visible {
  outline-offset: -3px;
}

.pg-milpcb-stages__num {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--pg-milpcb-blue);
}

.pg-milpcb-stages__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.pg-milpcb .pg-milpcb-stages__link:hover .pg-milpcb-stages__name {
  color: var(--pg-milpcb-blue);
}


/* ---------------------------------------------------------------------
   14. Certifications strip: one panel, five cells split by hairlines
   --------------------------------------------------------------------- */
.pg-milpcb .pg-milpcb-certs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--pg-milpcb-line);
  border-radius: var(--pg-milpcb-radius);
  background: #fff;
}

.pg-milpcb .pg-milpcb-block > .pg-milpcb-certs {
  margin-top: 24px;
}

.pg-milpcb .pg-milpcb-cert {
  min-width: 0;
  margin: 0;
  padding: 22px 22px 20px;
}

.pg-milpcb .pg-milpcb-cert + .pg-milpcb-cert {
  border-left: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb .pg-milpcb-cert__mark {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  object-fit: contain;
  border-radius: var(--pg-milpcb-radius-sm);
}

.pg-milpcb-cert__body {
  min-width: 0;
}

.pg-milpcb .pg-milpcb-cert__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-milpcb-heading);
}

.pg-milpcb .pg-milpcb-cert__scope {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-milpcb-text);
}

.pg-milpcb .pg-milpcb-block > .pg-milpcb-split {
  margin-top: 36px;
}


/* ---------------------------------------------------------------------
   15. Engineering guides (whole card clickable)
   --------------------------------------------------------------------- */
.pg-milpcb-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pg-milpcb-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pg-milpcb-line);
  border-radius: var(--pg-milpcb-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-milpcb-guide:hover {
  border-color: var(--pg-milpcb-line-blue);
  box-shadow: 0 6px 18px rgba(13, 42, 82, 0.06);
}

.pg-milpcb-guide:focus-within {
  outline: 3px solid var(--pg-milpcb-sky);
  outline-offset: 2px;
}

.pg-milpcb .pg-milpcb-guide__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e4eaf2;
}

.pg-milpcb-guide__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 24px;
}

.pg-milpcb .pg-milpcb-guide__body > * + * {
  margin-top: 10px;
}

.pg-milpcb .pg-milpcb-guide__title {
  font-size: 18px;
  line-height: 1.4;
}

.pg-milpcb .pg-milpcb-guide__link,
.pg-milpcb .pg-milpcb-guide__link:visited {
  color: var(--pg-milpcb-heading);
  text-decoration: none;
}

.pg-milpcb .pg-milpcb-guide:hover .pg-milpcb-guide__link {
  color: var(--pg-milpcb-blue);
}

/* The title link covers the whole card */
.pg-milpcb-guide__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pg-milpcb .pg-milpcb-guide__link:focus-visible {
  outline: none;
}

.pg-milpcb .pg-milpcb-guide__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-milpcb-text);
}

.pg-milpcb .pg-milpcb-guide__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-milpcb-blue);
}

.pg-milpcb-guide__more::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.pg-milpcb-guide:hover .pg-milpcb-guide__more::after {
  transform: translateX(3px);
}

/* Pending state: guides not yet published */
.pg-milpcb-guides--pending .pg-milpcb-guide__link {
  pointer-events: none;
  cursor: default;
}

.pg-milpcb-guides--pending .pg-milpcb-guide__link::after,
.pg-milpcb .pg-milpcb-guides--pending .pg-milpcb-guide__more {
  display: none;
}

.pg-milpcb-guides--pending .pg-milpcb-guide:hover {
  border-color: var(--pg-milpcb-line);
  box-shadow: none;
}

.pg-milpcb .pg-milpcb-guides--pending .pg-milpcb-guide:hover .pg-milpcb-guide__link {
  color: var(--pg-milpcb-heading);
}


/* ---------------------------------------------------------------------
   16. FAQ accordion (centered column)
   --------------------------------------------------------------------- */
.pg-milpcb-faq {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb-faq__item {
  border-bottom: 1px solid var(--pg-milpcb-line);
}

.pg-milpcb-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.pg-milpcb-faq__q::-webkit-details-marker {
  display: none;
}

.pg-milpcb-faq__q::marker {
  content: "";
}

.pg-milpcb-faq__q:focus-visible {
  outline: 3px solid var(--pg-milpcb-sky);
  outline-offset: 4px;
  border-radius: 2px;
}

.pg-milpcb .pg-milpcb-faq__q h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pg-milpcb-heading);
}

.pg-milpcb .pg-milpcb-faq__q:hover h3,
.pg-milpcb .pg-milpcb-faq__item[open] .pg-milpcb-faq__q h3 {
  color: var(--pg-milpcb-blue);
}

/* Plus / minus indicator */
.pg-milpcb-faq__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--pg-milpcb-line-blue);
  border-radius: var(--pg-milpcb-radius-sm);
  background: #fff;
}

.pg-milpcb-faq__icon::before,
.pg-milpcb-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--pg-milpcb-blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.pg-milpcb-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pg-milpcb-faq__item[open] .pg-milpcb-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.pg-milpcb-faq__a {
  padding: 0 48px 22px 0;
}

.pg-milpcb .pg-milpcb-faq__a p {
  line-height: 1.7;
  color: var(--pg-milpcb-text);
}


/* ---------------------------------------------------------------------
   17. Phone quote bar (enabled below 768px by the page script)
   --------------------------------------------------------------------- */
.pg-milpcb-sticky {
  display: none;
}


/* ---------------------------------------------------------------------
   18. Responsive: tablet (1024px and below)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pg-milpcb {
    --pg-milpcb-section-y: 64px;
    --pg-milpcb-gap: 40px;
    --pg-milpcb-head-gap: 38px;
    --pg-milpcb-block-gap: 48px;
  }

  /* Hero: no fixed height, stacked */
  .pg-milpcb-hero {
    display: block;
    min-height: 0;
  }

  .pg-milpcb-hero__overlay {
    background: var(--pg-milpcb-hero-overlay-stacked);
  }

  .pg-milpcb-hero .pg-milpcb-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-milpcb-hero__summary,
  .pg-milpcb .pg-milpcb-hero__panel {
    max-width: 720px;
  }

  /* Capability tables: stacked */
  .pg-milpcb-specs {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  /* Certifications: one row per certificate */
  .pg-milpcb .pg-milpcb-certs {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-milpcb .pg-milpcb-cert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
  }

  .pg-milpcb .pg-milpcb-cert + .pg-milpcb-cert {
    border-top: 1px solid var(--pg-milpcb-line);
    border-left: 0;
  }

  .pg-milpcb .pg-milpcb-cert__mark {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  /* Guides: one column of horizontal cards */
  .pg-milpcb-guides {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pg-milpcb-guide {
    flex-direction: row;
  }

  .pg-milpcb-guide__media {
    flex: 0 0 36%;
  }

  .pg-milpcb .pg-milpcb-guide__media img {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }
}


/* ---------------------------------------------------------------------
   19. Responsive: narrow tablet (860px and below)
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .pg-milpcb .pg-milpcb-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .pg-milpcb-split,
  .pg-milpcb .pg-milpcb-split--hybrid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 32px;
  }

  .pg-milpcb-split--hybrid .pg-milpcb-split__text,
  .pg-milpcb-split--hybrid .pg-milpcb-construct {
    grid-area: auto;
  }

  .pg-milpcb-photo {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .pg-milpcb-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Applications: each row becomes a card. The section H2 names the group,
     so the column header bar is not repeated above the cards. */
  .pg-milpcb .pg-milpcb-apptable,
  .pg-milpcb .pg-milpcb-apptable tbody {
    display: block;
    width: 100%;
    margin: 0;
  }

  .pg-milpcb .pg-milpcb-apptable thead {
    display: none;
  }

  .pg-milpcb .pg-milpcb-apptable tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--pg-milpcb-line);
    border-radius: var(--pg-milpcb-radius);
    background: #fff;
  }

  .pg-milpcb .pg-milpcb-apptable tbody tr + tr {
    margin-top: 12px;
  }

  .pg-milpcb .pg-milpcb-apptable tbody th,
  .pg-milpcb .pg-milpcb-apptable tbody td,
  .pg-milpcb .pg-milpcb-apptable tbody td.pg-milpcb-apptable__build {
    display: block;
    border: 0;
    border-radius: 0;
  }

  .pg-milpcb .pg-milpcb-apptable tbody th {
    grid-column: 1 / -1;
    padding: 18px 22px 6px;
  }

  .pg-milpcb .pg-milpcb-apptable tbody td {
    padding: 12px 22px 18px;
  }

  .pg-milpcb .pg-milpcb-apptable td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pg-milpcb-muted);
  }

  .pg-milpcb .pg-milpcb-apptable td.pg-milpcb-apptable__build::before {
    color: var(--pg-milpcb-amber-deep);
  }
}


/* ---------------------------------------------------------------------
   20. Responsive: mobile (767px and below)
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
  .pg-milpcb {
    --pg-milpcb-section-y: 52px;
    --pg-milpcb-gap: 32px;
    --pg-milpcb-head-gap: 30px;
    --pg-milpcb-block-gap: 40px;
  }

  /* Headings read left-aligned on narrow screens */
  .pg-milpcb-head,
  .pg-milpcb-lead {
    text-align: left;
  }

  /* Hero */
  .pg-milpcb .pg-milpcb-hero__panel {
    padding: 4px 20px;
  }

  .pg-milpcb-hero__item {
    padding: 16px 0 16px 38px;
  }

  .pg-milpcb .pg-milpcb-hero__icon {
    top: 17px;
  }

  .pg-milpcb-hero__item dt {
    font-size: 17px;
  }

  /* Applications: one column; the two fields collapse behind a toggle (script on) */
  .pg-milpcb .pg-milpcb-apptable tbody tr {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-milpcb .pg-milpcb-apptable tbody th {
    padding: 16px 20px;
  }

  .pg-milpcb .pg-milpcb-apptable tbody td {
    padding: 12px 20px 18px;
  }

  .pg-milpcb .pg-milpcb-apptable tbody td.pg-milpcb-apptable__build {
    padding-top: 16px;
  }

  /* A hairline separates the title row from the opened fields */
  .pg-milpcb .pg-milpcb-apptable tbody th + td {
    border-top: 1px solid var(--pg-milpcb-line);
  }

  /* With the script on, every card except the first starts closed. The whole
     title row is the toggle: a transparent button covers it and only a
     chevron shows. The button's text stays available to screen readers. */
  .pg-milpcb--js .pg-milpcb-app:not(.is-open) .pg-milpcb-app__more {
    display: none;
  }

  .pg-milpcb.pg-milpcb--js .pg-milpcb-apptable tbody th {
    position: relative;
    padding-right: 54px;
  }

  .pg-milpcb.pg-milpcb--js .pg-milpcb-app__toggle {
    appearance: none;
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--pg-milpcb-blue);
    font: inherit;
    cursor: pointer;
  }

  .pg-milpcb.pg-milpcb--js .pg-milpcb-app__toggle:hover,
  .pg-milpcb.pg-milpcb--js .pg-milpcb-app__toggle:focus,
  .pg-milpcb.pg-milpcb--js .pg-milpcb-app__toggle:active {
    background: transparent;
    color: var(--pg-milpcb-blue-dark);
  }

  /* The card clips its corners, so the focus ring sits inside the title row */
  .pg-milpcb.pg-milpcb--js .pg-milpcb-app__toggle:focus-visible {
    outline-offset: -3px;
  }

  /* Chevron: down when closed, up when open */
  .pg-milpcb-app__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .pg-milpcb-app.is-open .pg-milpcb-app__toggle::after {
    transform: translateY(-20%) rotate(-135deg);
  }

  /* Spec grid and laminate list: one column */
  .pg-milpcb-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-milpcb-options__item {
    padding: 16px 18px;
  }

  .pg-milpcb .pg-milpcb-options__list {
    columns: 1;
  }

  /* Capability tables stay three columns: tighter cells, two-part values on two lines */
  .pg-milpcb .pg-milpcb-table--spec {
    font-size: 14px;
    line-height: 1.5;
  }

  .pg-milpcb .pg-milpcb-table--spec th,
  .pg-milpcb .pg-milpcb-table--spec td {
    padding: 11px 10px;
  }

  .pg-milpcb .pg-milpcb-table--spec thead th {
    font-size: 13px;
  }

  /* Review and test tables: each row becomes a labeled card */
  .pg-milpcb-table-wrap--reflow {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .pg-milpcb .pg-milpcb-table--reflow,
  .pg-milpcb .pg-milpcb-table--reflow tbody,
  .pg-milpcb .pg-milpcb-table--reflow tr,
  .pg-milpcb .pg-milpcb-table--reflow th,
  .pg-milpcb .pg-milpcb-table--reflow td {
    display: block;
    width: 100%;
  }

  .pg-milpcb .pg-milpcb-table--reflow {
    background: transparent;
  }

  .pg-milpcb .pg-milpcb-table--reflow thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .pg-milpcb .pg-milpcb-table--reflow tbody tr {
    overflow: hidden;
    border: 1px solid var(--pg-milpcb-line);
    border-radius: var(--pg-milpcb-radius);
    background: #fff;
  }

  .pg-milpcb .pg-milpcb-table--reflow tbody tr + tr {
    margin-top: 12px;
  }

  .pg-milpcb .pg-milpcb-table.pg-milpcb-table--reflow tbody tr > th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pg-milpcb-line);
    background: var(--pg-milpcb-tint);
  }

  .pg-milpcb .pg-milpcb-table.pg-milpcb-table--reflow tbody tr > td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--pg-milpcb-line);
  }

  .pg-milpcb .pg-milpcb-table.pg-milpcb-table--reflow tbody tr > td:last-child {
    border-bottom: 0;
  }

  .pg-milpcb .pg-milpcb-table--reflow td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pg-milpcb-muted);
  }

  .pg-milpcb .pg-milpcb-table--review td:last-child::before {
    color: var(--pg-milpcb-amber-deep);
  }

  /* Plated-hole controls: one column */
  .pg-milpcb .pg-milpcb-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-milpcb .pg-milpcb-controls__item,
  .pg-milpcb .pg-milpcb-controls__item:nth-child(2n) {
    padding: 20px 0;
    border-left: 0;
  }

  .pg-milpcb .pg-milpcb-controls__title {
    font-size: 17px;
  }

  /* Construction panel */
  .pg-milpcb-construct {
    padding: 22px 18px 18px;
  }

  /* Stage navigation: two by two, so every stage stays visible */
  .pg-milpcb .pg-milpcb-stages__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-milpcb .pg-milpcb-stages__link,
  .pg-milpcb .pg-milpcb-stages__link:visited {
    padding: 14px 16px;
  }

  .pg-milpcb-stages__name {
    font-size: 15px;
  }

  /* Quote boxes and band */
  .pg-milpcb-quote {
    padding: 16px 18px;
  }

  .pg-milpcb-band {
    padding: 22px 20px;
  }

  /* FAQ */
  .pg-milpcb .pg-milpcb-faq__q h3 {
    font-size: 17px;
  }

  .pg-milpcb-faq__a {
    padding-right: 0;
  }

  /* Phone quote bar */
  .pg-milpcb--js .pg-milpcb-sticky {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pg-milpcb-line);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(13, 42, 82, 0.08);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .pg-milpcb--js .pg-milpcb-sticky.is-visible {
    transform: none;
    visibility: visible;
  }

  /* Amber on white: a thin darker edge defines the button */
  .pg-milpcb .pg-milpcb-sticky .pg-milpcb-btn {
    width: 100%;
    box-shadow: inset 0 0 0 1px var(--pg-milpcb-amber-edge);
  }
}


/* ---------------------------------------------------------------------
   21. Phones (600px and below)
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Diagrams scale down on phones: larger type keeps labels readable */
  .pg-milpcb-svg__label,
  .pg-milpcb-svg__axis-label {
    font-size: 17px;
  }

  .pg-milpcb-svg__note {
    font-size: 15px;
  }

  .pg-milpcb-svg__num {
    font-size: 14px;
  }

  .pg-milpcb-dgm {
    padding: 14px 8px 12px;
  }

  .pg-milpcb .pg-milpcb-dgm .pg-milpcb-caption {
    padding: 0 8px;
  }

  /* Guides: text-only cards, no thumbnail */
  .pg-milpcb-guides {
    gap: 12px;
  }

  .pg-milpcb-guide {
    flex-direction: column;
  }

  .pg-milpcb-guide__media {
    display: none;
  }

  .pg-milpcb-guide__body {
    padding: 18px 20px 16px;
  }

  .pg-milpcb .pg-milpcb-guide__body > * + * {
    margin-top: 8px;
  }

  .pg-milpcb .pg-milpcb-guide__title {
    font-size: 17px;
    line-height: 1.4;
  }

  .pg-milpcb .pg-milpcb-guide__body p {
    font-size: 15px;
    line-height: 1.55;
  }

  .pg-milpcb .pg-milpcb-guide__more {
    padding-top: 6px;
  }
}


/* ---------------------------------------------------------------------
   22. Small phones (480px and below)
   --------------------------------------------------------------------- */
@media (max-width: 480px) {
  .pg-milpcb-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pg-milpcb .pg-milpcb-hero__actions .pg-milpcb-btn,
  .pg-milpcb .pg-milpcb-band__btn {
    width: 100%;
  }

  .pg-milpcb-band {
    align-items: stretch;
  }
}


/* ---------------------------------------------------------------------
   23. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pg-milpcb *,
  .pg-milpcb *::before,
  .pg-milpcb *::after {
    transition: none !important;
  }
}


/* ---------------------------------------------------------------------
   24. Shared RFQ section: amber button for this page
   --------------------------------------------------------------------- */
body #tpcb-rfq {
  --tpcb-rfq-button: #fbbf24;
  --tpcb-rfq-button-hover: #fcd34d;
  --tpcb-rfq-on-button: #0b2246;
}