:root {
  --font-primary: Roboto, Helvetica, Arial, Verdana, sans-serif;
  --font-global: Roboto, Helvetica, Arial, Verdana, sans-serif;
  --navy: #172433;
  --navy-2: #20313e;
  --ink: #253541;
  --text: #5d6b75;
  --muted: #84919a;
  --primary: #176c7b;
  --primary-dark: #10515e;
  --primary-soft: #e9f3f3;
  --accent: #78aeb2;
  --surface: #f4f6f6;
  --surface-2: #e9eeef;
  --white: #fff;
  --line: #d9e1e4;
  --line-strong: #c4d0d4;
  --container: 1440px;
  --header-height: 78px;
  --radius: 7px;
  --shadow: 0 18px 44px rgba(23, 36, 51, 0.08);
  --section-space: clamp(88px, 7vw, 118px);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font: 15px/1.65 var(--font-global);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: var(--font-global);
  font-size: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-primary);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

ul {
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

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

.surface {
  background: var(--surface);
}

.surface-2 {
  background: var(--surface-2);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 72px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head.compact {
  grid-template-columns: 1fr;
}

.section-title {
  max-width: 780px;
  font-size: clamp(34px, 3vw, 45px);
}

.section-copy {
  max-width: 630px;
  color: var(--text);
  line-height: 1.72;
}

.center {
  text-align: center;
}

.center .eyebrow {
  justify-content: center;
}

.center .section-title,
.center .section-copy {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

:focus-visible {
  outline: 3px solid rgba(23, 108, 123, 0.25);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 3000;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.left {
  transform: translateX(-22px);
}

.reveal.right {
  transform: translateX(22px);
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: 100%;
}

.header-inner > .logo {
  justify-self: start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.logo-mark {
  position: relative;
  flex: none;
  width: 39px;
  height: 39px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy);
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  border: 1.6px solid var(--white);
  border-radius: 50%;
}

.logo-mark::before {
  inset: 7px 5px;
  transform: rotate(34deg);
}

.logo-mark::after {
  inset: 5px 7px;
  transform: rotate(-34deg);
}

.logo-mark i {
  position: absolute;
  left: 16.5px;
  top: 16.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.logo-copy strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.logo-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-height);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.desktop-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  transition: right 0.2s ease;
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
}

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

.icon-btn,
.mobile-close,
.search-close,
.carousel-btn {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.icon-btn {
  width: 41px;
  height: 41px;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.header-actions #openSearch {
  border: 0;
  background: transparent;
}

.header-actions #openSearch:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
}

.mobile-panel {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1300;
  width: min(380px, 90vw);
  height: 100dvh;
  padding: 22px;
  overflow: auto;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(102%);
  background: var(--white);
  box-shadow: -20px 0 60px rgba(23, 36, 51, 0.18);
  transition: transform 0.28s ease, visibility 0.28s;
}

.mobile-panel.open {
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.mobile-close {
  width: 40px;
  height: 40px;
}

.mobile-close svg {
  width: 18px;
  height: 18px;
}

.mobile-nav {
  padding-top: 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
}

.mobile-panel > .btn {
  width: 100%;
  margin-top: 20px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  opacity: 0;
  background: rgba(23, 36, 51, 0.54);
  transition: opacity 0.23s ease, visibility 0.23s;
}

.mobile-overlay.open {
  visibility: visible;
  opacity: 1;
}

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  padding: 12vh 20px;
  visibility: hidden;
  opacity: 0;
  background: rgba(23, 36, 51, 0.6);
  backdrop-filter: blur(8px);
  transition: opacity 0.24s ease, visibility 0.24s;
}

.search-overlay.open {
  visibility: visible;
  opacity: 1;
}

.search-modal {
  width: min(760px, 100%);
  margin: auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.22);
}

.search-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 21px;
  border-bottom: 1px solid var(--line);
}

.search-top > svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.search-top input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.search-close {
  flex: none;
  width: 37px;
  height: 37px;
}

.search-close svg {
  width: 17px;
  height: 17px;
}

.search-body {
  padding: 17px 21px 21px;
  color: var(--text);
  font-size: 13px;
}

.search-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.search-list a:last-child {
  border-bottom: 0;
}

.search-list strong {
  color: var(--navy);
}

.search-empty {
  padding: 16px 0;
  color: var(--muted);
}

/* Hero */
body .hero {
  padding: 0;
  background: #eef1f2;
  background-image: none;
}

.hero > .hero-grid.container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 480px;
  margin: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(66px, 6vw, 96px)
    clamp(42px, 4.6vw, 78px)
    clamp(66px, 6vw, 96px)
    max(32px, calc((100vw - var(--container)) / 2 + 32px));
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(52px, 4.7vw, 68px);
  line-height: 1.02;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-copy > p {
  max-width: 620px;
  margin-top: 25px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
}

.hero-highlights {
  display: grid;
  gap: 9px;
  max-width: 610px;
  margin: 28px 0 30px;
}

.hero-highlights li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px 15px 10px 12px;
  border: 1px solid rgba(23, 108, 123, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
  color: #40515d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 4px 16px rgba(23, 36, 51, 0.025);
  backdrop-filter: blur(6px);
}

.hero-highlights li::before {
  content: "✓";
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero-highlights svg {
  display: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-visual {
  min-width: 0;
  min-height: 480px;
  height: 100%;
}

.hero-main {
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #dce5e7;
}

.hero-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(1.02);
}

/* Trust bar */
.quick-stats {
  padding: 0;
  background: var(--navy);
}

.capability-ribbon {
  background: transparent;
}

.capability-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-metric {
  min-width: 0;
  min-height: 120px;
  padding: 30px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.capability-metric:first-child {
  border-left: 0;
}

.capability-metric strong {
  display: block;
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
}

.capability-metric div > span {
  display: block;
  margin-top: 7px;
  color: #afbec6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Products */
.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 20px;
}

.product-card {
  min-width: 0;
}

.home-product-grid {
  align-items: stretch;
}

.product-path-card .product-media {
  isolation: isolate;
  background: linear-gradient(145deg, #e8f5f3 0%, #d7ece9 46%, #c8dfdf 100%);
}

.product-path-card--custom .product-media {
  background: linear-gradient(145deg, #e8f0f6 0%, #d6e4ed 48%, #c8d9e4 100%);
}

.product-path-card .product-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  right: -20%;
  bottom: -28%;
  border: 1px solid rgba(12, 126, 120, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.18), 0 0 0 58px rgba(255,255,255,.10);
}

.product-path-card--custom .product-media::before {
  border-color: rgba(31, 79, 113, .18);
}

.product-path-card .product-media::after {
  background: linear-gradient(180deg, rgba(255,255,255,.02) 50%, rgba(14,40,48,.12));
}

.product-path-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
}

.product-path-card--custom .product-path-visual {
  color: #315e79;
}

.product-path-visual svg {
  width: 41%;
  max-width: 108px;
  filter: drop-shadow(0 12px 18px rgba(18, 61, 67, .10));
  transition: transform .28s ease;
}

.product-path-card:hover .product-path-visual svg {
  transform: translateY(-4px) scale(1.025);
}

.product-name-link {
  color: inherit;
}

.product-name-link:hover {
  color: var(--primary);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce5e7;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(23, 36, 51, 0.2));
}

.product-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76);
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}


.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 15px;
}

.product-body h3 {
  font-size: 19px;
}

.product-actions .btn {
  min-height: auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Technical capabilities */
#capabilities {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

#capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(23, 36, 51, 0.98) 0%,
      rgba(23, 36, 51, 0.9) 52%,
      rgba(23, 36, 51, 0.48) 100%
    ),
    url("/wp-content/uploads/2026/08/apexpep-facility-lab.jpg")
      center / cover;
}

#capabilities .section-title {
  color: var(--white);
}

#capabilities .section-copy {
  color: #bdc8ce;
}

.capability-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 54px;
  align-items: start;
}

.capability-table {
  display: grid;
  gap: 10px;
}

.cap-row {
  display: grid;
  grid-template-columns: 42px 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.cap-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(151, 210, 218, 0.38);
  border-radius: 12px;
  background: rgba(103, 189, 202, 0.12);
  color: #9bd3dc;
}

.cap-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-key,
.cap-val {
  padding: 0;
  font-size: 15px;
}

.cap-key {
  color: var(--white);
  font-weight: 700;
}

.cap-val {
  color: #bdc8ce;
}

.cap-visual {
  align-self: end;
}

.cap-note {
  display: grid;
  gap: 10px;
}

.cap-note-card {
  padding: 21px 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.cap-note-card strong {
  display: block;
  color: var(--white);
  font-size: 35px;
}

.cap-note-card span {
  display: block;
  max-width: 330px;
  margin-top: 7px;
  color: #bdc8ce;
  font-size: 13px;
  line-height: 1.55;
}

/* Custom synthesis */
#services {
  background: var(--surface);
}

#services .section-head {
  display: grid;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.service-feature {
  position: relative;
  order: -1;
  min-height: 630px;
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #dce5e7;
}

.service-feature .eyebrow,
.service-feature .section-title {
  display: none;
}

.service-feature img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}

.service-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 62px 68px;
  background: var(--white);
}

.service-card {
  padding: 20px 22px;
  border-radius: 6px;
  background: var(--surface);
}

.service-card:first-child {
  padding-top: 20px;
}

.service-card:last-child {
  padding-bottom: 20px;
}

.service-card small {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: 7px;
  font-size: 24px;
}

.service-card p {
  max-width: 500px;
  margin-top: 9px;
  color: var(--text);
  font-size: 14px;
}

/* Quality documents */
.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: center;
}

.quality-panel .section-title {
  font-size: clamp(28px, 2.2vw, 34px);
}

.quality-panel .section-copy {
  margin-top: 14px;
}

.quality-list {
  display: grid;
  gap: 13px;
  margin-top: 25px;
}

.quality-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
}

.quality-list svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--primary);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.doc-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.doc-icon {
  display: grid;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(57, 130, 143, 0.2);
  border-radius: 11px;
  background: rgba(57, 130, 143, 0.09);
  color: var(--primary);
}

.doc-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v5h5M9.5 13l1.6 1.6 3.5-3.7M10 18h5'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v5h5M9.5 13l1.6 1.6 3.5-3.7M10 18h5'/%3E%3C/svg%3E");
}

.doc-card:nth-child(2) .doc-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v5l-5 9a2.7 2.7 0 0 0 2.4 4h9.2A2.7 2.7 0 0 0 19 17l-5-9V3'/%3E%3Cpath d='M7.5 16h9M9.5 13h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v5l-5 9a2.7 2.7 0 0 0 2.4 4h9.2A2.7 2.7 0 0 0 19 17l-5-9V3'/%3E%3Cpath d='M7.5 16h9M9.5 13h5'/%3E%3C/svg%3E");
}

.doc-card:nth-child(3) .doc-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8M9 3h6v3H9zM6 5h12v16H6z'/%3E%3Cpath d='m9 11 1.4 1.4L13 9.7M9 16h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8M9 3h6v3H9zM6 5h12v16H6z'/%3E%3Cpath d='m9 11 1.4 1.4L13 9.7M9 16h6'/%3E%3C/svg%3E");
}

.doc-card:nth-child(4) .doc-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.5 6h3a3 3 0 0 1 3 3v6a3 3 0 0 0 3 3M6 8.5V18h6'/%3E%3Cpath d='m9.5 15.5 2.5 2.5-2.5 2.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.5 6h3a3 3 0 0 1 3 3v6a3 3 0 0 0 3 3M6 8.5V18h6'/%3E%3Cpath d='m9.5 15.5 2.5 2.5-2.5 2.5'/%3E%3C/svg%3E");
}

.doc-icon svg {
  display: none;
}

.doc-card strong {
  grid-column: 2;
  font-size: 15px;
}

.doc-card > span:last-child {
  grid-column: 2;
  color: var(--text);
  font-size: 13px;
}

.cert-shell {
  min-width: 0;
}

.cert-viewport {
  overflow: hidden;
}

.cert-track {
  display: flex;
  gap: 8px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.cert-slide {
  flex: 0 0 calc((100% - 8px) / 2);
  min-width: 0;
}

.cert-card {
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(23, 36, 51, 0.045);
}

.cert-a4 {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7ecee;
}

.cert-a4 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-caption {
  padding: 12px 14px 13px;
}

.cert-caption strong {
  font-size: 14px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0 8px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  color: var(--navy);
}

.carousel-btn svg {
  width: 17px;
  height: 17px;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.carousel-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.cert-status {
  margin-left: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

/* Facility */
#facility {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

#facility::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(14, 28, 40, 0.85),
      rgba(18, 38, 49, 0.54) 64%,
      rgba(17, 32, 45, 0.28)
    ),
    url("/wp-content/uploads/2026/08/apexpep-custom-synthesis.jpg")
      center / cover;
}

#facility > .container {
  padding-block: 100px 76px;
}

#facility .section-head {
  display: block;
  max-width: 790px;
  margin-bottom: 84px;
}

#facility .section-title {
  color: var(--white);
  font-size: clamp(40px, 4.2vw, 58px);
}

#facility .section-copy {
  margin-top: 19px;
  color: #d2dce1;
}

.facility-grid {
  display: block;
}

.facility-side {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.facility-card {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(4px);
}

.facility-card-body {
  position: relative;
  min-height: 94px;
  padding-left: 17px;
}

.facility-card-body::before {
  content: "";
  position: absolute;
  inset: 2px auto 2px 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #9ad8da, var(--primary));
}

.facility-card-body strong {
  color: var(--white);
  font-size: 20px;
  line-height: 1.25;
}

.facility-card-body p {
  max-width: 240px;
  margin-top: 9px;
  color: #d3dde1;
  font-size: 13.5px;
  line-height: 1.55;
}

/* Applications */
#applications {
  background: var(--white);
}

#applications .section-head {
  max-width: 800px;
  margin-inline: auto;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 290px 290px;
  gap: 14px;
}

.app-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-2);
  color: var(--white);
  isolation: isolate;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  transition: transform 0.4s ease;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 37, 49, 0.03), rgba(16, 31, 43, 0.84));
}

.app-card:nth-child(1)::before {
  background-image: url("/wp-content/uploads/2026/08/apexpep-application-biotech.jpg");
}

.app-card:nth-child(2)::before {
  background-image: url("/wp-content/uploads/2026/08/apexpep-application-academic.jpg");
}

.app-card:nth-child(3)::before {
  background-image: url("/wp-content/uploads/2026/08/apexpep-application-formulation.jpg");
}

.app-card:nth-child(4)::before {
  background-image: url("/wp-content/uploads/2026/08/apexpep-application-distribution.jpg");
}

.app-card:hover::before {
  transform: scale(1.035);
}

.app-card strong {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 25px;
  color: var(--white);
  font-size: 20px;
  transition: transform 0.22s ease;
}

.app-card p {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 22px;
  color: #d8e1e5;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.app-card:hover strong {
  transform: translateY(-34px);
}

.app-card:hover p {
  opacity: 1;
  transform: none;
}

/* Workflow */
#workflow {
  padding: clamp(72px, 6vw, 96px) 0;
  background: var(--surface);
}

#workflow .section-head {
  max-width: 820px;
  margin-inline: 0;
  text-align: left;
}

#workflow .section-head .eyebrow {
  justify-content: flex-start;
}

#workflow .section-head .section-title,
#workflow .section-head .section-copy {
  margin-inline: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-card {
  position: relative;
  min-width: 0;
  min-height: 210px;
  padding: 31px 30px 32px;
  border-radius: var(--radius);
  background: var(--white);
}

.flow-card:first-child {
  border-left: 0;
}

.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.flow-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(57, 130, 143, 0.2);
  border-radius: 12px;
  background: rgba(57, 130, 143, 0.09);
  color: var(--primary);
}

.flow-icon::before {
  content: "";
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8M9 3h6v3H9zM6 5h12v16H6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8M9 3h6v3H9zM6 5h12v16H6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.flow-card[data-flow-step="02"] .flow-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 7 3v5c0 4.8-2.8 8.1-7 10-4.2-1.9-7-5.2-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 7 3v5c0 4.8-2.8 8.1-7 10-4.2-1.9-7-5.2-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.flow-card[data-flow-step="03"] .flow-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v10H3zM14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Cpath d='M5 4h7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v10H3zM14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Cpath d='M5 4h7'/%3E%3C/svg%3E");
}

.flow-card[data-flow-step="04"] .flow-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.flow-card[data-flow-step="05"] .flow-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2'/%3E%3Cpath d='M4 13a2 2 0 0 1 2-2h1v6H6a2 2 0 0 1-2-2zM20 13a2 2 0 0 0-2-2h-1v6h1a2 2 0 0 0 2-2zM17 17c-1 3-5 3-7 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2'/%3E%3Cpath d='M4 13a2 2 0 0 1 2-2h1v6H6a2 2 0 0 1-2-2zM20 13a2 2 0 0 0-2-2h-1v6h1a2 2 0 0 0 2-2zM17 17c-1 3-5 3-7 3'/%3E%3C/svg%3E");
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: auto;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow-step::before {
  content: "STEP";
  color: var(--muted);
}

.flow-card h3 {
  max-width: 280px;
  margin-top: 22px;
  font-size: 21px;
  line-height: 1.2;
}

.flow-card p {
  max-width: 280px;
  margin-top: 11px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.62;
}

/* Buyer protection */
.buyer-protection {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 6vw, 96px) 0;
  background: var(--white);
}

.buyer-protection-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.2vw, 62px);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 8%, rgba(120, 174, 178, 0.2), transparent 31%),
    linear-gradient(135deg, #172433 0%, #183a43 100%);
  box-shadow: 0 24px 60px rgba(23, 36, 51, 0.14);
}

.buyer-protection-shell::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -98px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.buyer-protection-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
}

.buyer-protection .eyebrow {
  color: #a8d3d5;
}

.buyer-protection .eyebrow::before {
  background: #78aeb2;
}

.buyer-protection-head h2 {
  max-width: 790px;
  color: var(--white);
  font-size: clamp(34px, 3.4vw, 51px);
  line-height: 1.08;
}

.buyer-protection-head > p {
  color: #d2dde0;
  font-size: 14px;
  line-height: 1.75;
}

.buyer-protection-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(34px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.protection-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 20px;
  min-height: 250px;
  padding: clamp(27px, 2.7vw, 40px);
  background: rgba(255, 255, 255, 0.055);
  transition: background 0.22s ease;
}

.protection-card:hover {
  background: rgba(255, 255, 255, 0.095);
}

.protection-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(168, 211, 213, 0.42);
  border-radius: 50%;
  background: rgba(120, 174, 178, 0.13);
  color: #a8d3d5;
}

.protection-icon svg {
  width: 25px;
  height: 25px;
}

.protection-card-copy > span {
  display: block;
  color: #9fc9cc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.protection-card h3 {
  margin-top: 12px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.22;
}

.protection-card p {
  margin-top: 13px;
  color: #cbd7da;
  font-size: 13.5px;
  line-height: 1.72;
}

.buyer-protection-footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.buyer-protection-footer p {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #e0e8ea;
  font-size: 13px;
  font-weight: 600;
}

.buyer-protection-footer p span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #a8d3d5;
  color: #17313a;
  font-size: 13px;
  flex: none;
}

.buyer-protection-cta {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--white);
  color: var(--navy);
}

.buyer-protection-cta:hover {
  border-color: var(--white);
  background: #edf5f5;
}

/* FAQ and RFQ */
#faq {
  background: var(--white);
}

.faq-rfq {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(42px, 5vw, 68px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.faq-item {
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 18px 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.68;
}

.faq-a p:last-child {
  padding-bottom: 18px;
}

.faq-a p + p {
  padding-top: 2px;
}

.rfq-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(145deg, #142b43 0%, var(--navy) 55%, #174e59 100%);
  color: var(--white);
  box-shadow: 0 22px 55px rgba(16, 37, 58, 0.15);
}

.rfq-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -95px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.025), 0 0 0 92px rgba(255, 255, 255, 0.015);
}

.rfq-panel .eyebrow {
  color: #92c3c5;
}

.rfq-panel h3 {
  color: var(--white);
  font-size: 28px;
}

.rfq-intro {
  max-width: 520px;
  margin-top: 10px;
  color: #b9c8cf;
  font-size: 13px;
}

.rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

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

.field label {
  color: #c7d4da;
  font-size: 12px;
  font-weight: 600;
}

.field label span {
  color: #8fa2ac;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  outline: 0;
  background: rgba(255, 255, 255, 0.075);
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9eb0b9;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #92c3c5;
  box-shadow: 0 0 0 3px rgba(146, 195, 197, 0.15);
}

.field select option {
  color: var(--navy);
}

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

.rfq-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 13px;
  margin-top: 18px;
}

.rfq-actions .btn {
  flex: none;
}

.rfq-actions .form-status {
  flex-basis: 100%;
}

.rfq-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #8aa0ab;
  font-size: 11px;
  line-height: 1.65;
  min-width: 0;
  cursor: pointer;
}

.rfq-note input {
  flex: none;
  margin-top: 2px;
  accent-color: #245fd6;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  color: #a9d1d3;
  font-size: 12px;
}

/* CTA */
main + .section-sm {
  background: var(--white);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 300px;
  padding: 58px 64px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(19, 39, 52, 0.96), rgba(19, 39, 52, 0.72)),
    url("/wp-content/uploads/2026/08/apexpep-inner-operations.jpg")
      center / cover;
}

.cta-band h3 {
  max-width: 800px;
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 46px);
}

.cta-band p {
  max-width: 650px;
  margin-top: 12px;
  color: #c6d2d8;
}

.cta-band .btn-outline {
  border-color: var(--white);
}

/* Footer */
.footer {
  padding: 62px 0 28px;
  background: #111f2b;
  color: #9cabb5;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo-copy strong,
.footer h4 {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  font-size: 12px;
}

.footer-col h4 {
  font-size: 14px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.footer-col a {
  font-size: 12px;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 23px;
  font-size: 10px;
}

.footer-note {
  max-width: 470px;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Tablet landscape and compact desktop */
@media (max-width: 1279px) {
  :root {
    --header-height: 72px;
    --section-space: 84px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

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

  .header-actions > .btn-primary {
    display: inline-flex;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    min-height: 520px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 5vw, 58px);
  }

  .hero-visual {
    height: 520px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 36px;
  }

  .service-list {
    padding: 48px 40px;
  }

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

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .cert-shell {
    width: min(100%, 840px);
  }

  .faq-rfq {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .rfq-panel {
    max-width: 850px;
  }

  .facility-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

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

  .flow-card:nth-child(odd) {
    border-left: 0;
  }

  .flow-card:nth-child(n + 3) {
    border-top: 0;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

/* Tablet portrait */
@media (max-width: 1023px) {
  body .hero {
    padding: 0;
  }

  .hero > .hero-grid.container {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .hero-copy {
    width: min(calc(100% - 48px), var(--container));
    max-width: none;
    margin-inline: auto;
    padding: 56px 0;
  }

  .hero-copy h1 {
    max-width: 680px;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    height: 480px;
    margin: 0;
  }

  .hero-main {
    border-radius: 0;
  }

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

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: 480px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .service-list {
    padding: 44px 40px;
  }

  .capability-wrap {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cap-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .app-grid {
    grid-template-rows: 250px 250px;
  }

  .cta-band {
    min-height: 280px;
    padding: 46px 44px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --header-height: 66px;
    --section-space: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-sm {
    padding: 44px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .logo-mark {
    width: 35px;
    height: 35px;
  }

  .logo-mark i {
    left: 14.5px;
    top: 14.5px;
  }

  .logo-copy strong {
    font-size: 14px;
  }

  .logo-copy span {
    font-size: 7px;
  }

  .header-actions #openSearch {
    display: grid;
  }

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

  .header-inner {
    gap: 12px;
  }

  .mobile-panel {
    width: min(350px, 92vw);
    padding: 19px;
  }

  .mobile-nav a {
    padding: 13px 0;
    font-size: 15px;
  }

  body .hero {
    padding: 0;
  }

  .hero > .hero-grid.container {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }

  .hero-copy {
    width: min(calc(100% - 32px), var(--container));
    padding: 40px 0;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 44px);
  }

  .hero-copy > p {
    margin-top: 17px;
    font-size: 15px;
  }

  .hero-highlights {
    margin: 23px 0 25px;
  }

  .hero-highlights li {
    min-height: 44px;
    padding: 9px 11px;
    font-size: 13.5px;
  }

  .hero-actions .btn-primary {
    flex: 1;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    height: 360px;
    margin: 0;
  }

  .hero-main {
    border-radius: 0;
  }

  .capability-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .capability-metric {
    min-height: 104px;
    padding: 22px 14px;
    border: 0;
    background: rgba(255, 255, 255, 0.045);
  }

  .capability-metric:nth-child(odd) {
    border-left: 0;
  }

  .capability-metric strong {
    font-size: 16px;
  }

  .product-toolbar {
    justify-content: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 10px;
  }


  .product-body {
    display: block;
    padding-top: 11px;
  }

  .product-body h3 {
    font-size: 16px;
    line-height: 1.28;
  }

  .product-actions {
    margin-top: 5px;
  }

  .product-actions .btn {
    font-size: 13px;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: 350px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .service-list {
    padding: 34px 22px;
  }

  .capability-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cap-row {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    align-items: start;
    padding: 16px;
  }

  .cap-icon {
    grid-row: 1 / span 2;
  }

  .cap-key {
    grid-column: 2;
    padding: 1px 0 4px;
  }

  .cap-val {
    grid-column: 2;
    padding: 0;
  }

  .cap-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .cap-note-card strong {
    font-size: 28px;
  }

  .doc-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .cert-track {
    gap: 8px;
  }

  .cert-slide {
    flex-basis: 100%;
  }

  #facility {
    min-height: auto;
  }

  #facility > .container {
    padding-block: 70px 54px;
  }

  #facility .section-head {
    margin-bottom: 52px;
  }

  .facility-side {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }

  .facility-card-body p {
    display: block;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .app-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
    gap: 10px;
  }

  .app-card p {
    display: none;
  }

  .app-card strong {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 17px;
  }

  .app-card:hover strong {
    transform: none;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .buyer-protection-head,
  .buyer-protection-grid {
    grid-template-columns: 1fr;
  }

  .buyer-protection-head {
    gap: 18px;
  }

  .buyer-protection-head > p {
    max-width: 650px;
  }

  .protection-card {
    min-height: auto;
  }

  .flow-card {
    min-height: auto;
    padding: 25px 22px 27px;
    border-left: 0;
    border-top: 0;
  }

  .flow-card:first-child {
    border-top: 0;
  }

  .rfq-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .rfq-panel {
    padding: 27px 20px;
  }

  .buyer-protection-shell {
    padding: 29px 22px;
    border-radius: 8px;
  }

  .protection-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 19px;
  }

  .protection-icon {
    width: 44px;
    height: 44px;
  }

  .protection-icon svg {
    width: 22px;
    height: 22px;
  }

  .buyer-protection-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .buyer-protection-cta {
    width: 100%;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .rfq-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rfq-actions .btn {
    width: 100%;
  }

  .cta-band {
    min-height: 340px;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 24px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer {
    padding-top: 44px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-note {
    text-align: left;
  }

  .reveal.left,
  .reveal.right {
    transform: translateY(20px);
  }
}

@media (max-width: 420px) {
  .hero-visual {
    height: 320px;
  }

  .capability-metric strong {
    font-size: 15px;
  }

}

@media (hover: none) and (min-width: 768px) {
  .app-card strong {
    transform: translateY(-34px);
  }

  .app-card p {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Client revision 3.1.6 */
.cap-note-card strong{font-size:22px;line-height:1.15}
.cap-note-card small{display:block;margin-top:7px;color:#dbe5ea;font-size:11px;line-height:1.45;font-weight:700}
.cert-shell-head{margin-bottom:16px}.cert-shell-head h3{font-size:20px;line-height:1.2}.cert-shell-head p{margin-top:7px;color:var(--text);font-size:12.5px;line-height:1.65}
.faq-section-copy{margin-top:10px;color:var(--text);font-size:13px;line-height:1.65}
@media(max-width:1199px){.workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.workflow-grid{grid-template-columns:1fr}}

@media (prefers-reduced-motion: reduce) {
  .product-path-card:hover .product-path-visual svg { transform: none; }
}

/* v3.2.7 — compact homepage hero and configurable pathway-card media */
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 3.85vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.038em;
}
.product-path-visual--image {
  overflow: hidden;
  color: inherit;
}
.product-path-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform .35s ease;
}
.product-path-card:hover .product-path-visual--image img {
  transform: scale(1.035);
}
@media (max-width: 1023px) {
  .hero-copy h1 { font-size: clamp(38px, 5.2vw, 48px); }
}
@media (max-width: 767px) {
  .hero-copy h1 { font-size: clamp(31px, 8.7vw, 38px); line-height: 1.1; }
}

/* v3.2.8 — reduce desktop homepage hero height by about one third */
@media (min-width: 1280px) {
  .hero > .hero-grid.container { min-height: 480px; }
  .hero-copy { padding-top: 32px; padding-bottom: 32px; }
  .hero-copy h1 { font-size: clamp(44px, 3.5vw, 52px); line-height: 1.03; }
  .hero-copy > p { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .hero-highlights { gap: 5px; margin: 14px 0 16px; }
  .hero-highlights li { min-height: 34px; padding: 5px 11px; font-size: 12px; line-height: 1.3; }
  .hero-highlights li::before { flex-basis: 21px; width: 21px; height: 21px; font-size: 11px; }
  .hero-actions .btn { min-height: 42px; padding-inline: 18px; }
  .hero-copy .eyebrow { margin-bottom: 8px; font-size: 10px; }
  .hero-visual { min-height: 480px; height: 100%; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero > .hero-grid.container { min-height: 520px; }
  .hero-copy { padding-top: 28px; padding-bottom: 28px; }
  .hero-copy h1 { font-size: 40px; line-height: 1.03; }
  .hero-copy > p { margin-top: 10px; font-size: 13.5px; line-height: 1.45; }
  .hero-highlights { gap: 4px; margin: 12px 0 14px; }
  .hero-highlights li { min-height: 32px; padding: 4px 9px; font-size: 11.5px; line-height: 1.25; }
  .hero-highlights li::before { flex-basis: 20px; width: 20px; height: 20px; font-size: 10px; }
  .hero-actions .btn { min-height: 40px; padding-inline: 14px; font-size: 12px; }
  .hero-copy .eyebrow { margin-bottom: 7px; font-size: 9.5px; }
  .hero-visual { min-height: 520px; height: 100%; }
}


/* v3.2.9 — lock desktop homepage hero height; image no longer participates in sizing */
@media (min-width: 1280px) {
  .hero > .hero-grid.container {
    height: 700px;
    min-height: 0;
  }

  .hero-copy {
    height: 700px;
    min-height: 0;
    box-sizing: border-box;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 6px;
    font-size: 9.5px;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 3vw, 46px);
    line-height: 1.02;
  }

  .hero-copy > p {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .hero-highlights {
    gap: 3px;
    margin: 10px 0 12px;
  }

  .hero-highlights li {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 11.5px;
    line-height: 1.25;
  }

  .hero-highlights li::before {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .hero-actions .btn {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .hero-visual {
    position: relative;
    height: 700px;
    min-height: 0;
    overflow: hidden;
  }

  .hero-main {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .hero-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero > .hero-grid.container {
    height: 520px;
    min-height: 0;
  }

  .hero-copy {
    height: 520px;
    min-height: 0;
    box-sizing: border-box;
  }

  .hero-visual {
    position: relative;
    height: 520px;
    min-height: 0;
    overflow: hidden;
  }

  .hero-main {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .hero-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* v3.3.2 — set desktop homepage hero to 700px; keep image locked to the hero */
@media (min-width: 1280px) {
  html body .hero {
    height: 700px !important;
    min-height: 700px !important;
    max-height: 700px !important;
    overflow: hidden;
  }

  html body .hero > .hero-grid.container {
    height: 700px !important;
    min-height: 700px !important;
    max-height: 700px !important;
    overflow: hidden;
  }

  html body .hero .hero-copy {
    height: 700px !important;
    min-height: 0 !important;
    max-height: 700px !important;
    box-sizing: border-box;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  html body .hero .hero-copy .eyebrow {
    margin-bottom: 6px !important;
    font-size: 9.5px !important;
  }

  html body .hero .hero-copy h1 {
    font-size: clamp(42px, 3vw, 46px) !important;
    line-height: 1.02 !important;
  }

  html body .hero .hero-copy > p {
    margin-top: 9px !important;
    font-size: 13.5px !important;
    line-height: 1.42 !important;
  }

  html body .hero .hero-highlights {
    gap: 3px !important;
    margin: 9px 0 11px !important;
  }

  html body .hero .hero-highlights li {
    min-height: 29px !important;
    padding: 3px 9px !important;
    font-size: 11.5px !important;
    line-height: 1.22 !important;
  }

  html body .hero .hero-highlights li::before {
    flex-basis: 20px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }

  html body .hero .hero-actions .btn {
    min-height: 39px !important;
    padding-inline: 15px !important;
    font-size: 12px !important;
  }

  html body .hero .hero-visual {
    position: relative !important;
    height: 700px !important;
    min-height: 700px !important;
    max-height: 700px !important;
    overflow: hidden !important;
  }

  html body .hero .hero-main {
    position: absolute !important;
    inset: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  html body .hero .hero-main img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* v3.3.4 — conversion order and three-breakpoint responsive fixes */
:root {
  --section-space: clamp(72px, 5.5vw, 92px);
}

.buyer-protection {
  padding: clamp(48px, 5vw, 72px) 0;
}

#workflow {
  padding: clamp(58px, 5vw, 76px) 0;
}

.app-grid {
  grid-template-rows: 260px 260px;
}

/* Keep the two sourcing pathways after all individual featured products. */
.home-product-grid .product-path-card {
  order: 1;
}

/* Make product inquiry actions read and behave like real controls. */
.product-actions .btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  text-decoration: none;
}

.product-actions .btn:hover,
.product-actions .btn:focus-visible {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* Tablet: preserve readable line lengths instead of squeezing three cards. */
@media (min-width: 768px) and (max-width: 1199px) {
  .buyer-protection-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .buyer-protection-head > p {
    max-width: 720px;
  }

  .buyer-protection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .protection-card {
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
  }

  .protection-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --section-space: 54px;
  }

  .hero-copy {
    padding: 32px 0 34px;
  }

  .hero-copy > p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.58;
  }

  .hero-highlights {
    gap: 7px;
    margin: 18px 0 20px;
  }

  .hero-highlights li {
    min-height: 42px;
    padding: 8px 9px;
    font-size: 12.5px;
    line-height: 1.38;
  }

  .hero-highlights li:nth-child(4) {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn-primary {
    min-height: 46px;
  }

  .buyer-protection {
    padding: 38px 0;
  }

  .buyer-protection-shell {
    padding: 26px 18px;
  }

  .buyer-protection-head h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .buyer-protection-grid {
    margin-top: 24px;
  }

  .protection-card {
    padding: 20px 16px;
  }

  .protection-card h3 {
    margin-top: 9px;
    font-size: 19px;
  }

  .protection-card p {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.58;
  }

  .buyer-protection-footer {
    margin-top: 18px;
  }

  .product-actions .btn {
    width: 100%;
    min-height: 44px;
    padding-inline: 10px;
  }

  .app-grid {
    grid-template-rows: repeat(4, 220px);
  }
}
