/* Approved targeted revisions: radar scale, footer identity, calibration readability,
   product-browser readability, and the workflow landing-page library. */

/* Keep the webinar poster visible while preserving the approved two-column layout. */
.webinar-poster {
  background: #073f49;
  position: relative;
}

.webinar-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.webinar-poster::after {
  z-index: 1;
  pointer-events: none;
}

.analyst-first-hero .hero-grid {
  min-height: 780px;
}

.compass-workspace {
  --wheel-size: clamp(650px, 48vw, 700px);
  min-height: 720px;
  padding-top: 38px;
}

.application-wheel {
  margin-right: auto;
  margin-left: auto;
}

/* Keep the orbit layer above the radar without letting its empty area block the central CTA. */
.application-wheel-nodes {
  pointer-events: none;
}

.application-node {
  pointer-events: auto;
}

@media (min-width: 1121px) {
  .application-wheel {
    transform: translateX(38px);
  }
}

.footer-brand img {
  width: 250px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.1));
}

.footer-brand img.footer-logo-white {
  width: 300px;
  height: 95px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: none;
}

.footer-brand p {
  margin-top: 18px;
}

.footer-channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  max-width: 330px;
  margin-top: 18px;
}

.footer-channel-links a {
  color: #a9c9ca;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.calibration-accreditation-card small {
  font-size: 10px;
}

.calibration-accreditation-card div > span {
  color: #c0d1d2;
  font-size: 12px;
}

.calibration-mini-track article > span {
  font-size: 10px;
}

.calibration-mini-track strong {
  font-size: 15px;
}

.calibration-mini-track p {
  color: #bed0d1;
  font-size: 11px;
  line-height: 1.6;
}

.filter-title {
  font-size: 12px;
}

.application-filter button {
  grid-template-columns: 38px 1fr;
  padding: 15px 8px;
  font-size: 15px;
  line-height: 1.35;
}

.application-filter button span {
  font-size: 11px;
}

.product-row-logo img {
  width: 160px;
  height: 104px;
  padding: 2px;
}

.product-row-copy > span {
  letter-spacing: 0.1em;
  font-size: 12px;
}

.principal-logo-added img {
  object-fit: contain;
  padding: 14px;
}

.principal-logo-new b {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 10px;
  color: var(--orange);
  letter-spacing: 0.12em;
  font-size: 7px;
  font-weight: 800;
}

.workflow-hub-library {
  padding-top: 92px;
  padding-bottom: 100px;
  background: #fbfcfc;
}

.workflow-hub-library .workflow-category.current-workflow {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

@media (max-width: 1120px) {
  .analyst-first-hero .hero-grid {
    min-height: 740px;
  }

  .compass-workspace {
    --wheel-size: min(650px, 60vw);
    min-height: 680px;
  }

  .product-row-logo img {
    width: 138px;
    height: 94px;
  }
}

@media (max-width: 920px) {
  .analyst-first-hero .hero-grid {
    min-height: 0;
  }

  .compass-workspace {
    --wheel-size: min(600px, calc(100vw - 70px));
    min-height: 650px;
  }

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

@media (max-width: 640px) {
  .compass-workspace {
    --wheel-size: min(440px, calc(100vw + 50px));
    min-height: calc(var(--wheel-size) + 36px);
    padding-top: 24px;
  }

  .application-filter button {
    grid-template-columns: 32px 1fr;
    padding: 13px 8px;
    font-size: 13px;
  }

  .application-filter button span {
    font-size: 10px;
  }

  .product-row-logo img {
    width: min(190px, 82%);
    height: 105px;
  }

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

  .workflow-hub-library {
    padding-top: 72px;
    padding-bottom: 78px;
  }
}

/* Final approved scope: compact Product Hub, mobile product filters, stronger
   principal presentation, and a stable mobile workflow gate. */
.main-nav {
  gap: clamp(12px, 1.55vw, 24px);
}

.product-page-hero {
  padding-top: 50px;
  padding-bottom: 55px;
}

.product-page-hero .breadcrumb {
  margin-bottom: 24px;
}

.product-page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(44px, 5vw, 68px);
}

.mobile-product-controls {
  display: none;
}

.product-row-logo {
  overflow: hidden;
}

.product-row-logo img {
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
}

.product-row-logo img.logo-fit-cover {
  object-fit: cover;
}

.product-row-logo img.logo-fit-contain {
  object-fit: contain;
  padding: 8px;
}

.principal-logo img {
  width: calc(100% - 12px);
  height: calc(100% - 24px);
  filter: none;
}

.principal-logo-added img {
  padding: 0;
}

.principal-borosil-scientific img,
.principal-biotium img,
.principal-faithful img {
  object-fit: contain;
  padding: 6px;
}

.principal-biotium img {
  transform: scale(1.08);
}

.principal-faithful img {
  transform: scale(1.06);
}

.product-logo-biotium {
  transform: scale(1.08);
}

.product-logo-faithful {
  transform: scale(1.04);
}

/* Product hub: application filters scroll with the page and brand marks lead visually. */
.application-filter {
  position: static;
  top: auto;
  align-self: start;
}

@media (min-width: 1121px) {
  .product-row {
    grid-template-columns: 40px 250px minmax(0, 1fr) 170px;
    gap: 28px;
    min-height: 320px;
  }

  .product-row-logo {
    width: 250px;
    height: 165px;
  }

  .product-row-logo img,
  .product-row-logo img.logo-fit-contain {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    padding: 4px;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .product-row {
    grid-template-columns: 32px 210px minmax(0, 1fr);
    gap: 22px;
  }

  .product-row-logo {
    width: 210px;
    height: 145px;
  }

  .product-row-logo img,
  .product-row-logo img.logo-fit-contain {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    padding: 3px;
  }
}

.principal-logo small {
  z-index: 2;
  font-size: 9px;
}

.principal-logo-new b {
  top: 10px;
  right: 11px;
  padding: 4px 6px;
  color: #fff;
  background: var(--orange);
  font-size: 9px;
}

@media (hover: hover) and (pointer: fine) {
  .principal-logo img {
    filter: grayscale(1);
  }

  .principal-logo:hover img {
    filter: grayscale(0);
  }
}

.workflow-modal-open {
  overflow: hidden;
}

.lead-modal {
  max-height: calc(100dvh - 48px);
}

.lead-form {
  overflow-y: auto;
}

.consent-field a {
  color: var(--teal);
  text-decoration: underline;
}

@media (max-width: 1120px) {
  .product-row-logo img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 920px) {
  .product-page-hero {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .lead-modal {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .modal-intro {
    padding: 38px 36px 30px;
  }

  .modal-intro h2 {
    margin: 18px 0 14px;
    font-size: 32px;
  }

  .lead-form {
    overflow: visible;
    padding: 34px 36px 38px;
  }
}

@media (max-width: 640px) {
  .product-page-hero {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .product-page-hero h1 {
    font-size: 42px;
  }

  .products-browser-section {
    padding-top: 56px;
  }

  .products-browser-grid {
    display: block;
  }

  .mobile-product-controls {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
  }

  .mobile-application-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .mobile-application-chips::-webkit-scrollbar {
    display: none;
  }

  .mobile-application-chips button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    color: #536b73;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
  }

  .mobile-application-chips button.active {
    border-color: var(--teal-dark);
    color: #fff;
    background: var(--teal-dark);
  }

  .mobile-filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid var(--teal);
    color: var(--teal-dark);
    background: #fff;
    font-size: 11px;
    font-weight: 800;
  }

  .application-filter {
    display: none;
    position: static;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .application-filter.filters-open {
    display: flex;
  }

  .product-results-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-row-logo img {
    width: 100%;
    height: 100%;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .lead-modal {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
  }

  .modal-intro {
    padding: 58px 24px 26px;
  }

  .modal-intro h2 {
    font-size: 29px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px 40px;
  }

  .consent-field,
  .lead-form .button,
  .lead-form > small,
  .form-error {
    grid-column: 1;
  }
}

@media (max-width: 920px) {
  .product-row-logo {
    width: min(240px, 100%);
    height: 160px;
  }

  .product-row-logo img,
  .product-row-logo img.logo-fit-contain {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    padding: 3px;
  }
}

@media (max-width: 640px) {
  .product-row-logo {
    width: 100%;
    height: 170px;
  }

  .product-row-logo img,
  .product-row-logo img.logo-fit-contain {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    padding: 2px;
  }
}
