/* ==========================================================================
   DEM Manufacturing: PPC landing page system (Plant Floor Walk)
   Shared by defense.html and medical.html
   ========================================================================== */

:root {
  /* Brand (from dem-mfg.com + logo artwork) */
  --blue: #0f75bc;
  --blue-dark: #0b5284;
  --blue-deep: #083a5e;
  --blue-night: #06263f;
  --cyan: #27aae1;
  --sky: #5fc5ff;
  --gunmetal: #444955;
  --steel: #767b8a;
  --silver: #bec0c2;
  --silver-light: #e2e9f0;

  /* Neutrals, cool family only */
  --ink: #1b1f26;
  --ink-2: #3a404b;
  --ink-3: #5b6270;
  --ground: #ffffff;
  --panel: #ffffff;
  --line: #dbe1e8;
  --line-strong: #c4ccd6;

  --danger: #b42318;
  --success: #12795a;

  /* Type */
  --font-display: "Raleway", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Shape: controls, cards and frames 6px. Full rounds only for route nodes and chips. */
  --radius: 6px;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Layout */
  --header-h: 68px;
  --section-y: 80px;
  /* half the credentials card's height, so it straddles the hero edge; js/dem-lp.js measures the real value */
  --trust-overlap: 48px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;

  /* z-index scale */
  --z-header: 50;
  --z-mobilebar: 45;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--blue-dark);
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Raleway defaults to old-style figures; force lining numerals for codes like 52CQ1 and 9001:2015 */
h1,
h2,
h3,
h4,
.btn,
.trust__value {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 160ms var(--ease-out);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Scrollbar, themed from the palette */
html {
  scrollbar-color: var(--steel) var(--ground);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--ground);
}

::-webkit-scrollbar-thumb {
  background: var(--silver);
  border: 3px solid var(--ground);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--steel);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 220ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.btn i {
  font-size: 1.15em;
  transition: transform 220ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    --btn-bg: var(--blue-dark);
    --btn-bd: var(--blue-dark);
    color: var(--btn-fg);
    box-shadow: 0 10px 24px -12px rgba(11, 82, 132, 0.7);
  }

  .btn:hover i.ph-arrow-right {
    transform: translateX(3px);
  }
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.btn--lg {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .btn--ghost-light:hover {
    --btn-bg: #fff;
    --btn-bd: #fff;
    --btn-fg: var(--blue-deep);
    box-shadow: none;
  }
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--blue-deep);
  --btn-bd: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .btn--light:hover {
    --btn-bg: var(--silver-light);
    --btn-bd: var(--silver-light);
    --btn-fg: var(--blue-deep);
  }
}

.btn[aria-busy="true"] {
  pointer-events: none;
}

.btn[aria-busy="true"] .btn__label {
  opacity: 0.75;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 600ms linear infinite;
}

.btn[aria-busy="true"] .spinner {
  display: inline-block;
}

.btn[aria-busy="true"] i {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}

.brand__logo {
  height: 38px;
  width: auto;
  flex: none;
}

.brand__logo--medical {
  height: 46px;
}

.brand__division {
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  color: var(--gunmetal);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link i {
  color: var(--blue);
  font-size: 1.15rem;
}

.phone-link:hover {
  color: var(--blue);
}

@media (max-width: 1080px) {
  .brand__division {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }

  .brand__logo {
    height: 32px;
  }

  .brand__logo--medical {
    height: 40px;
  }

  .header-actions .btn {
    display: none;
  }

  .phone-link span {
    display: none;
  }

  .phone-link {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  /* stop the trust card's negative margin collapsing through, so the dark field ends at the card's middle */
  display: flow-root;
  color: #fff;
  background: var(--blue-night);
  padding-top: clamp(56px, 7vw, 96px);
}

/* DEM's own blue CAD-linework artwork, lit from behind the photos */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 75% at 76% 46%, rgba(39, 170, 225, 0.38) 0%, rgba(39, 170, 225, 0) 62%),
    linear-gradient(100deg, rgba(4, 24, 41, 0.94) 0%, rgba(5, 32, 54, 0.8) 40%, rgba(8, 58, 94, 0.3) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  /* space between the form and the credentials card */
  padding-bottom: clamp(56px, 6vw, 80px);
}

.hero__title {
  max-width: 13ch;
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero__title .accent {
  color: var(--sky);
}

.hero__title--long {
  max-width: 16ch;
  font-size: clamp(2.3rem, 3.9vw, 3.6rem);
  line-height: 1.05;
}

.hero__sub {
  max-width: 50ch;
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: rgba(234, 243, 251, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
}

/* The RFQ form lives in the hero; its box carries the page's photo under a navy tint */
.hero__form {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.rfq.rfq--hero {
  z-index: 1;
  padding: clamp(18px, 1.8vw, 24px);
  color: #d8e7f3;
  /* the photo is set inline on the element (background-image: var(--form-tint), url(...)) */
  --form-tint: linear-gradient(180deg, rgba(5, 32, 54, 0.35) 0%, rgba(5, 32, 54, 0.7) 22%, rgba(6, 38, 63, 0.86) 48%, rgba(6, 38, 63, 0.92) 100%);
  background-color: var(--blue-deep);
  background-image: var(--form-tint);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px -36px rgba(0, 8, 16, 0.9);
}

/* Light text on the tinted photo */
.rfq--hero .rfq__title,
.rfq--hero .rfq__success h3 {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 10, 20, 0.6);
}

.rfq--hero .rfq__sub {
  text-shadow: 0 1px 8px rgba(0, 10, 20, 0.6);
}

.rfq--hero .rfq__sub,
.rfq--hero .field__hint,
.rfq--hero .rfq__legal,
.rfq--hero .rfq__success p {
  color: #b9cfe2;
}

.rfq--hero .field label {
  color: #eef5fb;
}

.rfq--hero .field__error {
  color: #ffb4a8;
}

.rfq--hero .field[data-invalid] input,
.rfq--hero .field[data-invalid] select,
.rfq--hero .field[data-invalid] textarea {
  border-color: #ff8a7a;
}

.rfq--hero .rfq__alert {
  background: rgba(180, 35, 24, 0.22);
  color: #ffd2cb;
}

.rfq--hero .rfq__success a {
  color: var(--sky);
}

.rfq--hero .rfq__success .check {
  background: rgba(110, 231, 183, 0.16);
  color: #6ee7b7;
}

.rfq--hero .field input,
.rfq--hero .field select,
.rfq--hero .field textarea {
  border-color: rgba(255, 255, 255, 0.0);
}

.rfq--hero .rfq__title {
  font-size: 1.375rem;
}

.rfq--hero .rfq__fields {
  margin-top: 16px;
  gap: 12px 14px;
}

.rfq--hero .field {
  gap: 5px;
}

.rfq--hero .field input,
.rfq--hero .field select {
  min-height: 46px;
  padding: 10px 12px;
}

.rfq--hero .field textarea {
  min-height: 76px;
  padding: 10px 12px;
}

.rfq--hero .field__hint {
  font-size: 0.75rem;
}

.rfq--hero .field label {
  font-size: 0.8125rem;
}

/* Long submit labels ("Request a Medical Manufacturing Quote") wrap inside the card instead of overflowing it */
.rfq--hero .rfq__foot .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding-inline: 18px;
}

.rfq--hero .rfq__foot {
  margin-top: 18px;
  gap: 10px;
}

/* Short laptop screens (e.g. 1366x768): pull the form up so the submit button stays above the fold */
@media (min-width: 961px) and (max-height: 820px) {
  .hero {
    padding-top: 32px;
  }
}

/* On desktop the form is right beside the copy, so the hero's primary button is only for small screens */
.hero__cta-mobile {
  display: none;
}

@media (max-width: 960px) {
  .hero__cta-mobile {
    display: inline-flex;
  }

  .hero__form {
    max-width: 560px;
  }
}

/* Trust bar: a white card floating across the bottom edge of the hero */
.trust {
  position: relative;
  z-index: 2;
  margin-bottom: calc(var(--trust-overlap) * -1);
  color: var(--ink);
}

.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--cells, 5), minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow:
    0 2px 6px rgba(6, 38, 63, 0.08),
    0 32px 64px -32px rgba(6, 38, 63, 0.55);
}

.hero + .section {
  padding-top: calc(var(--section-y) + var(--trust-overlap));
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  min-width: 0;
}

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

.trust__item i {
  flex: none;
  font-size: 1.75rem;
  color: var(--blue);
}

.trust__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.trust__label {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--ink-3);
}

@media (max-width: 1100px) {
  .trust__item {
    padding: 18px 14px;
    gap: 10px;
  }

  .trust__item i {
    font-size: 1.5rem;
  }

  .trust__value {
    font-size: 1rem;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

}

@media (max-width: 900px) {
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust__item {
    padding: 16px 16px;
    border-top: 1px solid var(--line);
  }

  .trust__item+.trust__item {
    border-left: 0;
  }

  .trust__item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust__item:nth-child(-n+2) {
    border-top: 0;
  }

  .trust__list[data-odd] .trust__item:last-child {
    grid-column: 1 / -1;
  }

  .trust__value {
    white-space: normal;
  }

  .trust__item>div {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --section-y: 40px;
    --trust-overlap: 120px;
  }

}

@media (max-width: 480px) {
  /* Icon above text so credential values get the full cell width */
  .trust__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
  }

  .trust__item i {
    font-size: 1.375rem;
  }

  .trust__value {
    font-size: 0.9375rem;
  }
}

/* ---------- Section rhythm ---------- */
.section {
  padding-block: var(--section-y);
}

.section__title {
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.section__lede {
  margin-top: 18px;
  max-width: 60ch;
  font-size: 1.125rem;
  color: var(--ink-2);
}

/* ---------- Capabilities ---------- */
.caps {
  background: var(--ground);
}

.caps__head {
  max-width: 780px;
}

.caps__grid {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cap__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}







.cap__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.cap__title {
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cap__text {
  margin: 8px 0 18px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.cap__facts {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.cap__facts li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.cap__facts i {
  flex: none;
  margin-top: 3px;
  color: var(--blue);
}

.caps__foot {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.caps__foot p {
  color: var(--ink-2);
  font-weight: 500;
}


@media (max-width: 1023px) {
  .caps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .caps__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .cap__media {
    aspect-ratio: 16 / 9;
  }

  .cap__body {
    padding: 20px;
  }
}

/* Application history (medical) */
.apps {
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.apps__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.apps ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apps li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* Photo frames: bracket corners taken from the logo's frame */
.frame {
  position: relative;
  margin: 0;
  padding: 10px;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.frame::before {
  top: 0;
  left: 0;
  border-top: 3px solid var(--gunmetal);
  border-left: 3px solid var(--gunmetal);
}

.frame::after {
  right: 0;
  bottom: 0;
  border-right: 3px solid var(--silver);
  border-bottom: 3px solid var(--silver);
}

.frame__img {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--silver-light);
}

/* Photos ship in their original color */
.frame__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-wide {
  aspect-ratio: 16 / 8.2;
}

.ratio-photo {
  aspect-ratio: 4 / 3;
}

.ratio-tall {
  aspect-ratio: 4 / 5;
}

/* Reveal: images wipe up once, from an already-visible default */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .frame__img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 900ms var(--ease-in-out);
  }

  .js .reveal .frame__img img {
    transform: scale(1.06);
    transition: transform 1200ms var(--ease-out);
  }

  .js .reveal.is-in .frame__img {
    clip-path: inset(0 0 0 0);
  }

  .js .reveal.is-in .frame__img img {
    transform: none;
  }

  .js .caps__grid .cap:nth-child(3n+2) .frame__img {
    transition-delay: 90ms;
  }

  .js .caps__grid .cap:nth-child(3n) .frame__img {
    transition-delay: 180ms;
  }
}

/* ---------- Quality / records room ---------- */
.records {
  background: var(--ink);
  color: #c9d1db;
  position: relative;
  overflow: hidden;
}

.records .section__title {
  color: #fff;
  max-width: 26ch;
}

.records .section__lede {
  color: #b5bfcb;
}

.records__head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.records__photo {
  padding: 10px;
}

.records__photo::before {
  border-color: var(--steel);
}

.records__photo::after {
  border-color: var(--gunmetal);
}

.records__pillars {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

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

.pillar {
  padding: 30px 32px 6px 0;
}

.pillar+.pillar {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.records__pillars--4 .pillar:nth-child(3) {
  padding-left: 0;
  border-left: 0;
}

.records__pillars--4 .pillar:nth-child(n+3) {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 22px;
}

.pillar h3 {
  margin-top: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
}

.pillar p {
  margin-top: 10px;
  font-size: 1rem;
  color: #b5bfcb;
  max-width: 44ch;
}

.pillar ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pillar li {
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: #d5dce5;
}

.pillar li i {
  position: absolute;
  left: 0;
  top: 0.28em;
  font-size: 0.95rem;
  color: var(--sky);
}

.records__note {
  margin-top: 40px;
  font-size: 0.875rem;
  color: #8e99a7;
  max-width: 80ch;
}

@media (max-width: 960px) {
  .records__head {
    grid-template-columns: 1fr;
  }

  .records__photo {
    max-width: 520px;
  }

  .records__pillars,
  .records__pillars--4 {
    grid-template-columns: 1fr;
  }

  .pillar,
  .pillar+.pillar,
  .records__pillars--4 .pillar:nth-child(3) {
    padding: 26px 0 4px;
    border-left: 0;
  }

  .pillar+.pillar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 18px;
  }

  .records__pillars--4 .pillar:nth-child(n+3) {
    margin-top: 18px;
  }
}

/* ---------- Process route ---------- */
.process {
  background: #fff;
}

.process__head {
  max-width: 760px;
}

.route {
  --steps: 4;
  list-style: none;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
  gap: 0 28px;
  position: relative;
}

.route::before,
.route::after {
  content: "";
  position: absolute;
  left: 14px;
  right: calc((100% - (var(--steps) - 1) * 28px) / var(--steps) - 14px);
  top: 12.5px;
  height: 3px;
  border-radius: 2px;
}

.route::before {
  background: var(--line);
}

.route::after {
  background: var(--blue);
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .js .route::after {
    transform: scaleX(0);
    transition: transform 1400ms var(--ease-in-out);
  }

  .js .route.is-in::after {
    transform: scaleX(1);
  }

  .js .route .route__node {
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
  }

  .js .route:not(.is-in) .route__node {
    background: #fff;
    color: var(--gunmetal);
    border-color: var(--gunmetal);
  }

  .js .route.is-in li:nth-child(2) .route__node {
    transition-delay: 350ms;
  }

  .js .route.is-in li:nth-child(3) .route__node {
    transition-delay: 700ms;
  }

  .js .route.is-in li:nth-child(4) .route__node {
    transition-delay: 1000ms;
  }

  .js .route.is-in li:nth-child(5) .route__node {
    transition-delay: 1250ms;
  }
}

.route li {
  position: relative;
}

.route__node {
  position: relative;
  z-index: 1;
  display: block;
  width: 28px;
  height: 28px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px #fff;
}

.route__node::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}

.route h3 {
  margin-top: 20px;
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.2;
}

.route p {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .route {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0;
  }

  .route::before,
  .route::after {
    left: 12.5px;
    right: auto;
    top: 14px;
    bottom: 24px;
    width: 3px;
    height: auto;
  }

  .route::after {
    transform-origin: center top;
  }

  .js .route::after {
    transform: scaleY(0);
  }

  .js .route.is-in::after {
    transform: scaleY(1);
  }

  .route li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 18px;
    padding-bottom: 34px;
  }

  .route li:last-child {
    padding-bottom: 0;
  }

  .route h3 {
    margin-top: 0;
    grid-column: 2;
    line-height: 28px;
  }

  .route p {
    grid-column: 2;
  }

  .route__node {
    grid-row: 1 / span 2;
    box-shadow: 0 0 0 6px #fff;
  }

  .route li:last-child::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 30px;
    bottom: -30px;
    width: 8px;
    background: #fff;
  }
}

.process__cta {
  margin-top: clamp(48px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.process__cta p {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- Dock: RFQ ---------- */
.dock {
  position: relative;
  background: var(--blue-deep);
  color: #d8e7f3;
  overflow: hidden;
  isolation: isolate;
}

.dock__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.dock .section__title {
  color: #fff;
  max-width: 14ch;
}

.dock__lede {
  margin-top: 18px;
  font-size: 1.125rem;
  color: #c3d8ea;
  max-width: 46ch;
}

.dock__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.dock__list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #e3eef7;
}

.dock__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dock__list i {
  flex: none;
  font-size: 1.35rem;
  color: var(--sky);
  margin-top: 1px;
}

.dock__contact {
  margin-top: 32px;
  display: grid;
  gap: 6px;
}

.dock__contact a {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.dock__contact a:hover {
  color: var(--sky);
}

.dock__contact span {
  font-size: 0.9375rem;
  color: #a9c3d9;
}

.dock__notice {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(95, 197, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(6, 38, 63, 0.45);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #d8e7f3;
}

.dock__notice i {
  flex: none;
  font-size: 1.25rem;
  color: var(--sky);
  margin-top: 2px;
}

.dock__info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas:
    "title list"
    "lede list"
    "btn contact";
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.dock__info .section__title { grid-area: title; }
.dock__info .dock__lede { grid-area: lede; }
.dock__btn { grid-area: btn; justify-self: start; margin-top: 28px; }
.dock__info .dock__list { grid-area: list; margin-top: 0; }
.dock__info .dock__contact { grid-area: contact; margin-top: 28px; }

@media (max-width: 860px) {
  .dock__info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "lede" "btn" "list" "contact";
  }

  .dock__info .dock__list { margin-top: 32px; }
}

/* Form card */
.rfq {
  position: relative;
  background: #fff;
  color: var(--ink-2);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 40px 80px -40px rgba(2, 16, 28, 0.75);
}

.rfq__title {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.rfq__sub {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.rfq__fields {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}

.field {
  display: grid;
  gap: 7px;
  align-content: start;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.field label .opt {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  caret-color: var(--blue);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath fill='%23444955' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field select:invalid {
  color: var(--ink-3);
}

.field ::placeholder {
  color: #7a8190;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--steel);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 117, 188, 0.16);
}

.field[data-invalid] input,
.field[data-invalid] select,
.field[data-invalid] textarea {
  border-color: var(--danger);
}

.field[data-invalid] input:focus,
.field[data-invalid] select:focus,
.field[data-invalid] textarea:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--danger);
}

.field[data-invalid] .field__error {
  display: flex;
}

.field__hint {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.rfq__foot {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.rfq__legal {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.rfq__alert {
  display: none;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fdf0ef;
  color: var(--danger);
  font-size: 0.9375rem;
}

.rfq__alert.is-shown {
  display: flex;
}

.rfq__alert i {
  flex: none;
  margin-top: 2px;
}

.rfq__success {
  display: none;
  text-align: left;
  padding: 12px 0 4px;
}

.rfq.is-sent .rfq__form {
  display: none;
}

.rfq.is-sent .rfq__success {
  display: block;
}

.rfq__success .check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(18, 121, 90, 0.1);
  color: var(--success);
  font-size: 1.75rem;
}

.rfq__success h3 {
  margin-top: 18px;
  font-weight: 800;
  font-size: 1.6rem;
}

.rfq__success p {
  margin-top: 10px;
  max-width: 44ch;
}

@media (prefers-reduced-motion: no-preference) {
  .rfq.is-sent .rfq__success {
    animation: rise 520ms var(--ease-out) both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(10px);
      filter: blur(4px);
    }
  }
}

/* HubSpot embed skin (used when the embed mode is on) */
.hs-target {
  display: none;
}

.rfq.is-embed .rfq__form {
  display: none;
}

.rfq.is-embed .hs-target {
  display: block;
  margin-top: 22px;
}

.hs-target .hs-form fieldset {
  max-width: none !important;
}

.hs-target .hs-form .hs-form-field {
  margin-bottom: 18px;
}

.hs-target .hs-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-body);
}

.hs-target .hs-form .hs-input {
  width: 100% !important;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.hs-target .hs-form textarea.hs-input {
  min-height: 132px;
}

.hs-target .hs-form .hs-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 117, 188, 0.16);
}

.hs-target .hs-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.hs-target .hs-form .hs-error-msg {
  color: var(--danger);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hs-target .hs-form .hs-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}

.hs-target .hs-form .hs-button:hover {
  background: var(--blue-dark);
}

.hs-target .hs-form .hs-button:active {
  transform: scale(0.98);
}

.hs-target .hs-form .legal-consent-container {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

@media (max-width: 960px) {
  .dock__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  /* first and last name stay side by side; everything else full width */
  .rfq__fields > .field:nth-child(n+3) {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Defense page (simplified PPC layout): hero + form, credentials strip,
   compact capabilities, project spotlight, process + closing CTA
   ========================================================================== */
/* Defense hero: tighter top spacing */
/* one value for the space above and below the hero content */
.hero.hero--split { --hero-pad: clamp(48px, 5vw, 72px); padding-top: var(--hero-pad); }
.hero--split .hero__grid--split { padding-bottom: var(--hero-pad); }

@media (min-width: 961px) and (max-height: 820px) {
  .hero.hero--split { --hero-pad: 40px; }
}

/* Defense hero background: helicopter photo, kept in brand blue and darkened behind the copy */
/* Helicopter vertically centered; its body and tail run behind the frosted form so the two read as one picture */
.hero--defense .hero__bg img {
  position: relative;
  top: -35%;
  height: 140%;
  object-position: 0% 50%;
  animation: none !important; /* no zoom-in drift on load */
}

.hero--split .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(4, 24, 41, 0.95) 0%, rgba(4, 24, 41, 0.84) 34%, rgba(6, 38, 63, 0.46) 62%, rgba(6, 38, 63, 0.62) 100%),
    linear-gradient(0deg, rgba(4, 24, 41, 0.62) 0%, rgba(4, 24, 41, 0) 40%),
    rgba(15, 117, 188, 0.2);
}

@media (max-width: 960px) {
  .hero--split .hero__bg::after {
    background: linear-gradient(180deg, rgba(4, 24, 41, 0.72) 0%, rgba(4, 24, 41, 0.9) 60%), rgba(15, 117, 188, 0.2);
  }
}

/* Medical hero background: surgical robot, mirrored so the arms sit center-right behind the form (like the defense helicopter) */
.hero--medical .hero__bg img {
  transform: scaleX(-1);
  object-position: 30% 45%;
  animation: none !important;
  /* bright photo: darken and add contrast so it lands on the same deep navy as the defense hero */
  filter: brightness(0.5) contrast(1.35) saturate(0.85);
}

.why2__note {
  margin-top: 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

/* Defense form: frosted navy panel, the helicopter shows softly through it */
.hero--split .rfq--hero .field label,
.hero--split .rfq--hero .field__hint,
.hero--split .rfq--hero .rfq__legal {
  text-shadow: 0 1px 6px rgba(0, 10, 20, 0.75);
}

.hero--split .rfq.rfq--hero {
  background: rgba(5, 28, 48, 0.18);
  -webkit-backdrop-filter: blur(3px) saturate(1.3) brightness(1.15);
  backdrop-filter: blur(3px) saturate(1.3) brightness(1.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 80px -36px rgba(0, 8, 16, 0.9);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero--split .rfq.rfq--hero { background: rgba(5, 28, 48, 0.92); }
}

@media (prefers-reduced-transparency: reduce) {
  .hero--split .rfq.rfq--hero { background: rgb(6, 32, 54); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.hero__grid--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  /* spacer rows above and below center the copy against the taller form */
  grid-template-areas:
    ".    form"
    "copy form"
    "more form"
    ".    form";
  grid-template-rows: 1fr auto auto 1fr;
  row-gap: 0;
  align-items: start;
  padding-bottom: clamp(48px, 5vw, 72px);
}

.hero__grid--split .hero__copy { grid-area: copy; }
.hero__grid--split .hero__more { grid-area: more; }
.hero__grid--split .hero__form { grid-area: form; align-self: center; }

.hero--split .hero__title {
  max-width: none;
  font-size: clamp(2.25rem, 3.4vw, 3.1rem);
}

.rfq--hero .field label .opt {
  color: #9fb4c7;
}

.hero__points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero__points li {
  display: flex;
  gap: 12px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: #e3eef7;
}

.hero__points i {
  flex: none;
  margin-top: 4px;
  color: var(--sky);
}

.hero__product {
  margin: 30px 0 0;
  max-width: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -32px rgba(0, 8, 16, 0.85);
}

.hero__product figcaption {
  padding: 9px 14px;
  background: rgba(4, 24, 41, 0.72);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d8e7f3;
}

.hero__product img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 55%;
}

@media (max-width: 960px) {
  .hero__grid--split {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "form" "more";
    grid-template-rows: auto;
    row-gap: 32px;
  }

  .hero__grid--split .hero__form { max-width: 560px; }
  .hero__points { margin-top: 0; }
  .hero__product { display: none; }
}

/* Credentials strip: one narrow row under the hero */
.creds {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.creds__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
}

.creds__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.creds__list i {
  font-size: 1.35rem;
  color: var(--blue);
}

@media (max-width: 760px) {
  .creds__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }

  .creds__list li {
    padding: 12px 0;
    font-size: 0.9375rem;
    white-space: normal;
  }
}

/* Defense project spotlight (light) */
.spotlight {
  background: #fff;
  color: var(--ink-2);
}

.section.spotlight { border-top: 0; }

.spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.spotlight__media { margin: 0; }

.spotlight__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 30% 40%;
  border-radius: var(--radius);
  box-shadow:
    0 2px 4px rgba(8, 38, 63, 0.08),
    0 12px 24px -8px rgba(8, 38, 63, 0.18),
    0 36px 64px -24px rgba(8, 38, 63, 0.35);
}

.spotlight__media figcaption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.spotlight .section__title { color: var(--ink); max-width: 22ch; }
.spotlight .section__lede { color: var(--ink-2); }

.award {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f7fa;
}

.award__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--blue);
  font-variant-numeric: lining-nums tabular-nums;
}

.award__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
}

.award__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.award__link span {
  text-decoration: underline;
  text-decoration-color: rgba(15, 117, 188, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}

.award__link i {
  font-size: 0.875rem;
  transition: transform 200ms var(--ease-out);
}

.award__link:hover { color: var(--blue-dark); }
.award__link:hover span { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .award__link:hover i { transform: translate(2px, -2px); }
}

@media (max-width: 860px) {
  .spotlight__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Four capability cards */
.caps__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.caps__grid--4 .cap__media { aspect-ratio: 4 / 3; }
.caps__grid--4 .cap__body { padding: 20px 20px 22px; }
.caps__grid--4 .cap__title { font-size: 1.1875rem; }
.caps__grid--4 .cap__text { margin-bottom: 16px; }
.caps__grid--4 .cap__facts { padding-top: 14px; }

@media (max-width: 1140px) {
  .caps__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .caps__grid--4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .caps__grid--4 .cap__media { aspect-ratio: 16 / 9; }
}

/* Mosaic: tall feature tile left, wide tile top-right, two tiles bottom-right */
.caps__grid--mosaic .cap:nth-child(1) .cap__media {
  /* studio shot shown at natural proportions on a backdrop that matches it, never upscaled */
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #ebe9ee 0%, #f1eff4 100%);
}

.caps__grid--mosaic .cap:nth-child(1) .cap__media img {
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

@media (min-width: 1024px) {
  .caps__grid--mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "comm cable cable"
      "comm pcb   proto";
    gap: 24px;
  }

  .caps__grid--mosaic .cap:nth-child(1) { grid-area: comm; }
  .caps__grid--mosaic .cap:nth-child(2) { grid-area: cable; }
  .caps__grid--mosaic .cap:nth-child(3) { grid-area: pcb; }
  .caps__grid--mosaic .cap:nth-child(4) { grid-area: proto; }

  /* tall feature tile */
  .caps__grid--mosaic .cap:nth-child(1) .cap__media {
    flex: 1;
    aspect-ratio: auto;
    min-height: 280px;
  }

  .caps__grid--mosaic .cap:nth-child(1) .cap__body { flex: none; padding: 28px; }
  .caps__grid--mosaic .cap:nth-child(1) .cap__title { font-size: 1.625rem; }

  /* wide tile: text left, photo right */
  .caps__grid--mosaic .cap:nth-child(2) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .caps__grid--mosaic .cap:nth-child(2) .cap__media {
    order: 2;
    aspect-ratio: auto;
    height: 100%;
    min-height: 300px;
  }

  .caps__grid--mosaic .cap:nth-child(2) .cap__body {
    padding: 28px;
    justify-content: center;
  }

  .caps__grid--mosaic .cap:nth-child(2) .cap__facts { margin-top: 0; }
  .caps__grid--mosaic .cap:nth-child(2) .cap__title { font-size: 1.5rem; }

  /* two smaller tiles */
  .caps__grid--mosaic .cap:nth-child(3) .cap__media,
  .caps__grid--mosaic .cap:nth-child(4) .cap__media { aspect-ratio: 16 / 9; }
}

/* Capabilities on the blue CAD-artwork background (the original hero treatment) */
.caps.caps--blue {
  border-top: 0;
  color: #d8e7f3;
  background:
    radial-gradient(50% 45% at 78% 30%, rgba(39, 170, 225, 0.3) 0%, rgba(39, 170, 225, 0) 70%),
    linear-gradient(100deg, rgba(4, 24, 41, 0.94) 0%, rgba(5, 32, 54, 0.82) 45%, rgba(8, 58, 94, 0.55) 100%),
    url('../assets/images/hero-bg-cad.jpg') center / cover no-repeat,
    var(--blue-night);
}

.caps--blue .section__title { color: #fff; }
.caps--blue .section__lede,
.caps--blue .caps__foot p { color: #c3d8ea; }
.caps--blue .cap { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 24px 48px -30px rgba(0, 8, 16, 0.8); }
.caps--blue + .section { border-top: 0; }

/* Process + closing CTA */
.process__phone {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.process__phone:hover { color: var(--blue); }

/* Simplified form: on phones every field is full width */
@media (max-width: 560px) {
  .rfq__fields--simple > .field { grid-column: 1 / -1; }
}

/* ==========================================================================
   Defense page, broad version (2026-10-17)
   ========================================================================== */

/* Hero: three product thumbnails signal range */
.hero__thumbs {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.hero__thumbs li {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(0, 8, 16, 0.85);
}

.hero__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__thumbs span {
  display: block;
  padding: 8px 10px;
  background: rgba(4, 24, 41, 0.78);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #e3eef7;
}

@media (max-width: 960px) {
  .hero__thumbs { display: none; }
}

/* Credentials: six items */
.creds__list--6 { grid-template-columns: repeat(6, auto); }

@media (max-width: 1240px) {
  .creds__list--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }

  .creds__list--6 li { padding: 12px 0; }
}

@media (max-width: 760px) {
  .creds__list--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}

/* Why DEM */
.why__grid {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.why__grid li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.why__grid i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(15, 117, 188, 0.1);
  font-size: 1.5rem;
  color: var(--blue);
}

.why__grid h3 {
  margin-top: 18px;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.25;
}

.why__grid p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why__grid li { padding: 22px; }
}

/* What we build: 8-tile mosaic.
   Feature tile (design) left, four tiles right, three small product tiles across the bottom. */
.m8grid {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "f f f f f f a a a b b b"
    "f f f f f f c c c d d d"
    "x x x x y y y y z z z z";
  gap: 20px;
}

.m8:nth-child(1) { grid-area: f; }
.m8:nth-child(2) { grid-area: a; }
.m8:nth-child(3) { grid-area: b; }
.m8:nth-child(4) { grid-area: c; }
.m8:nth-child(5) { grid-area: d; }
.m8:nth-child(6) { grid-area: x; }
.m8:nth-child(7) { grid-area: y; }
.m8:nth-child(8) { grid-area: z; }

.m8 {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -30px rgba(0, 8, 16, 0.8);
}

.m8__media {
  margin: 0;
  height: 180px;
  border-radius: 0;
}

.m8__body { padding: 18px 20px 22px; }

.m8 h3 {
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.25;
}

.m8 p {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* feature tile: the photo fills whatever height the two rows give it */
.m8--feature .m8__media {
  flex: 1;
  height: auto;
  min-height: 240px;
}

.m8--feature .m8__body { padding: 26px 28px 28px; }
.m8--feature h3 { font-size: 1.625rem; }
.m8--feature p { font-size: 1rem; }

/* small product tiles: shorter photo, compact text */
.m8--small .m8__media { height: 150px; }
.m8--small .m8__body { padding: 16px 20px 20px; }

.m8__facts {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.m8__facts li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.m8__facts i { flex: none; margin-top: 3px; color: var(--blue); }

@media (max-width: 1023px) {
  .m8grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "f f"
      "a b"
      "c d"
      "x y"
      "z z";
  }

  .m8--feature .m8__media { min-height: 260px; }
}

@media (max-width: 600px) {
  .m8grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "f" "a" "b" "c" "d" "x" "y" "z";
    gap: 14px;
  }

  .m8__media { height: 170px; }

  /* compact rows on phones: thumbnail beside the text */
  .m8:not(.m8--feature) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .m8:not(.m8--feature) .m8__media { height: 100%; min-height: 112px; }
  .m8:not(.m8--feature) .m8__body { padding: 14px 16px; }
  .m8:not(.m8--feature) h3 { font-size: 1rem; }
  .m8:not(.m8--feature) p { font-size: 0.875rem; line-height: 1.5; }
  .m8--feature .m8__media { min-height: 200px; }
}

/* Where our electronics work */
.dom__grid {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dom {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dom i {
  font-size: 2rem;
  color: var(--blue);
}

.dom h3 {
  margin-top: 14px;
  font-weight: 800;
  font-size: 1.1875rem;
  line-height: 1.25;
}

.dom p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.dom__radios {
  margin-top: 28px;
  font-size: 1rem;
  color: var(--ink-2);
}

.dom__radios strong { color: var(--ink); }

@media (max-width: 900px) {
  .dom__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dom { padding: 22px; }
}

@media (max-width: 560px) {
  .dom__grid { grid-template-columns: minmax(0, 1fr); }
  .dom { padding: 18px 16px; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .dom i { grid-row: span 2; font-size: 1.75rem; }
  .dom h3 { margin-top: 0; }
  .dom p { margin-top: 4px; }
}

/* Testing & quality (dark band) */
.testing {
  background: var(--ink);
  color: #c9d1db;
}

.section.testing { border-top: 0; }
.testing + .section { border-top: 0; }
.testing .section__title { color: #fff; max-width: 22ch; }
.testing .section__lede { color: #b5bfcb; }

.testing__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.testing__cols {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}

.testing__cols h3 {
  font-weight: 800;
  font-size: 1.125rem;
  color: #fff;
}

.testing__cols ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.testing__cols li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #d5dce5;
}

.testing__cols i { flex: none; margin-top: 3px; color: var(--sky); }

.testing__media { margin: 0; }

.testing__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 36px 64px -32px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
  .testing__grid { grid-template-columns: minmax(0, 1fr); }
  .testing__media { max-width: 420px; }
}

@media (max-width: 560px) {
  .testing__cols { grid-template-columns: minmax(0, 1fr); }
  .testing__media img { aspect-ratio: 4 / 3; }
}

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq__list { border-top: 1px solid var(--line-strong); }

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

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary i {
  flex: none;
  margin-top: 3px;
  color: var(--blue);
  transition: transform 220ms var(--ease-out);
}

.faq__item[open] summary i { transform: rotate(45deg); }

.faq__item summary:hover { color: var(--blue); }

.faq__item p {
  padding: 0 40px 22px 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__item p { padding-right: 0; }
}

/* Closing CTA band */
.cta-band {
  color: #d8e7f3;
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(39, 170, 225, 0.3) 0%, rgba(39, 170, 225, 0) 70%),
    linear-gradient(100deg, rgba(4, 24, 41, 0.94) 0%, rgba(5, 32, 54, 0.82) 45%, rgba(8, 58, 94, 0.6) 100%),
    url('../assets/images/hero-bg-cad.jpg') center / cover no-repeat,
    var(--blue-night);
}

.section.cta-band { border-top: 0; }
.cta-band .section__title { color: #fff; }
.cta-band .section__lede { color: #c3d8ea; }

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

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.cta-band__phone:hover { color: var(--sky); }

@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Defense page, broad v2 (2026-10-17)
   ========================================================================== */

/* Hero: domain chips (each opens its tab below) */
.hero__domains { margin-top: 28px; }

.hero__domains p {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9fb4c7;
}

.hero__domains ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__domains a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}

.hero__domains a i { font-size: 1.125rem; color: var(--sky); }

@media (hover: hover) and (pointer: fine) {
  .hero__domains a:hover { background: rgba(95, 197, 255, 0.16); border-color: rgba(95, 197, 255, 0.6); }
}

.hero__domains a:active { transform: scale(0.97); }

@media (max-width: 960px) {
  .hero__domains { margin-top: 20px; }
}

/* Domains: tabbed showcase */
.domains2 { background: #fff; }

.domains2__head { max-width: 760px; }

.dtabs {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}

.dtabs::-webkit-scrollbar { display: none; }

.dtab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.dtab i { font-size: 1.375rem; }

.dtab:hover { color: var(--ink); }

.dtab[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.dtab:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }

.dpanels { margin-top: 32px; }

.dpanel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* All panels share one grid cell, so the area keeps the tallest panel's height
   and switching tabs never moves the page. Switching is a plain crossfade. */
.js .dpanels { display: grid; }

.js .dpanel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

.js .dpanel.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .js .dpanel, .js .dpanel.is-active { transition: none; }
}

.dpanel__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow:
    0 2px 4px rgba(8, 38, 63, 0.08),
    0 36px 64px -28px rgba(8, 38, 63, 0.4);
}

.dpanel__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.dpanel__body h3 {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.dpanel__body > p {
  margin-top: 12px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.dpanel__apps {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.dpanel__apps li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.dpanel__apps i { flex: none; margin-top: 3px; color: var(--blue); }

.dpanel__note {
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.dpanel__note strong { color: var(--ink); }

.dpanel__body .btn { margin-top: 26px; }

@media (max-width: 900px) {
  .dpanel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .dtab { padding: 12px 12px 14px; font-size: 0.9375rem; }
  .dpanel__apps { grid-template-columns: minmax(0, 1fr); }
  .dpanel__body .btn { width: 100%; }
}

/* Numbers + why */
.why2 { background: #f4f7fa; }
.section.why2 { border-top: 0; }

.stats {
  list-style: none;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.stats li { padding: 22px 24px 4px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-strong); }

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  font-variant-numeric: lining-nums;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.why2 .why__grid { margin-top: clamp(36px, 4vw, 48px); }

@media (max-width: 560px) {
  .stats strong { font-size: 1.625rem; white-space: nowrap; }
  .stats li { padding-right: 12px; }
  .stats li + li { padding-left: 14px; }
}

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Why DEM: reasons left, numbers panel right */
.why2__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.why__list {
  list-style: none;
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.why__list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.why__list i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(15, 117, 188, 0.1);
  font-size: 1.5rem;
  color: var(--blue);
}

.why__list h3 {
  font-weight: 800;
  font-size: 1.1875rem;
  line-height: 1.3;
}

.why__list p {
  margin-top: 4px;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.stats2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(8, 38, 63, 0.35);
}

.stats2 li { padding: clamp(24px, 2.6vw, 36px); }
.stats2 li:nth-child(odd) { border-right: 1px solid var(--line); }
.stats2 li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

.stats2 strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.stats2 span {
  display: block;
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-2);
}

@media (max-width: 960px) {
  .why2__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 560px) {
  .stats2 li { padding: 18px 16px; }
  .stats2 strong { font-size: 1.5rem; }
  .stats2 span { font-size: 0.875rem; }
  .why__list li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .why__list i { width: 40px; height: 40px; font-size: 1.25rem; }
}

/* Capability chips */
.chips {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.chips p {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
}

.chips ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #d8e7f3;
}

/* FAQ aside */
.faq__aside {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--ink-2);
}

.faq__aside a { font-weight: 700; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-night);
  color: #9fb4c7;
  font-size: 0.875rem;
  padding-block: 40px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
}

.site-footer address {
  font-style: normal;
  line-height: 1.6;
}

.site-footer a {
  color: #d6e4f0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  color: #c8d6e3;
  font-weight: 600;
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobilebar);
  display: none;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -20px rgba(8, 38, 63, 0.5);
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out);
}

.mobile-cta.is-shown {
  transform: translateY(0);
}

.mobile-cta .btn {
  flex: 1;
  min-height: 50px;
  padding-inline: 14px;
  font-size: 0.9375rem;
}

.mobile-cta .call {
  flex: none;
  width: 50px;
  min-height: 50px;
  padding: 0;
  --btn-bg: #fff;
  --btn-fg: var(--blue);
  --btn-bd: var(--line-strong);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .mobile-cta {
    display: flex;
  }
}

@media (max-width: 440px) {

  /* Long CTA labels ("Request a Medical Manufacturing Quote") may wrap on small phones only */
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    padding-block: 10px;
  }

  .mobile-cta .btn {
    font-size: 0.875rem;
  }
}

@media (max-width: 560px) {
  .hero__actions .btn {
    width: 100%;
  }
}

/* ---------- Hero entrance (one authored moment) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line {
    display: block;
    animation: lineIn 900ms var(--ease-out) both;
  }

  .js .hero__title .line:nth-child(2) {
    animation-delay: 90ms;
  }

  .js .hero__sub {
    animation: fadeUp 800ms var(--ease-out) 220ms both;
  }

  .js .hero__actions {
    animation: fadeUp 800ms var(--ease-out) 320ms both;
  }

  .js .hero__bg img {
    animation: settle 2200ms var(--ease-out) both;
  }

  .js .rfq--hero {
    animation: shotIn 900ms var(--ease-out) 240ms both;
  }

  .js .trust__item {
    animation: fadeUp 700ms var(--ease-out) both;
    animation-delay: calc(420ms + var(--i, 0) * 60ms);
  }
}

@keyframes lineIn {
  from {
    opacity: 0;
    transform: translateY(0.35em);
    filter: blur(8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes shotIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    filter: blur(6px);
  }
}

@keyframes settle {
  from {
    transform: scale(1.06);
  }
}

/* ---------- Dev aid: ?slots outlines every image slot awaiting hi-res DEM photography ---------- */
.show-slots [data-slot] {
  outline: 2px dashed #ff3d7f;
  outline-offset: -2px;
}

.show-slots [data-slot]::before {
  content: "SLOT: " attr(data-slot) " | " attr(data-slot-spec);
  position: absolute;
  z-index: 5;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  max-width: calc(100% - 24px);
  border: 0;
  padding: 6px 8px;
  background: #ff3d7f;
  color: #fff;
  font: 600 11px/1.35 var(--font-body);
}

.show-slots .rfq--hero[data-slot]::before {
  top: auto;
  bottom: 120px;
}

/* Print */
@media print {

  .site-header,
  .mobile-cta {
    display: none !important;
  }

  .hero {
    min-height: 0;
    color: var(--ink);
  }
}