/*
Theme Name: BioPharMatrix Block Editor
Theme URI: https://biopharmatrix.com/
Author: BioPharMatrix LLC
Description: Full Site Editing block theme for BioPharMatrix. Built so pages, templates, sections, colors, and content can be edited directly in the WordPress Site Editor.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: biopharmatrix-block-editor
*/

html {
  scroll-behavior: smooth;
}

body {
  background: #06111c;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.bpm-logo-tile {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.16), 0 0 24px rgba(6, 182, 212, 0.14);
}

.bpm-logo-tile img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  mix-blend-mode: screen;
  object-fit: cover;
}

.bpm-hero {
  position: relative;
  overflow: hidden;
}

.bpm-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 28, 0.98), rgba(6, 17, 28, 0.9) 48%, rgba(6, 17, 28, 0.52)),
    radial-gradient(circle at 84% 22%, rgba(6, 182, 212, 0.18), transparent 30%);
  content: "";
}

.bpm-hero > * {
  position: relative;
  z-index: 1;
}

.bpm-panel,
.bpm-card,
.bpm-dark-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bpm-panel:hover,
.bpm-card:hover,
.bpm-dark-card:hover {
  transform: translateY(-3px);
}

.bpm-card:hover {
  box-shadow: 0 20px 46px rgba(7, 21, 33, 0.12);
}

.bpm-link a,
a.bpm-link {
  color: #08766f;
  font-weight: 800;
}

.bpm-dark-link a,
a.bpm-dark-link {
  color: #7de8dc;
  font-weight: 800;
}

.bpm-resource-list .wp-block-column {
  min-height: 250px;
}

@media (max-width: 760px) {
  .bpm-header-row {
    align-items: flex-start !important;
    gap: 18px !important;
  }
}

:root {
  --bpm-ink: #071521;
  --bpm-ink-2: #10283a;
  --bpm-line: #d7e2e4;
  --bpm-mist: #eef5f3;
  --bpm-paper: #fbfdfb;
  --bpm-white: #ffffff;
  --bpm-teal: #08766f;
  --bpm-cyan: #06b6d4;
  --bpm-violet: #7c3aed;
  --bpm-teal-dark: #075f59;
  --bpm-gold: #caa15b;
  --bpm-slate: #3f5666;
  --bpm-soft: #b9ccd3;
  --bpm-text-on-dark: #e8f7f4;
  --bpm-muted-on-dark: #c9dedb;
  --bpm-text-on-light: #071521;
  --bpm-muted-on-light: #3f5666;
  --bpm-shadow: 0 22px 60px rgba(7, 21, 33, 0.16);
  --bpm-radius: 8px;
  --bpm-max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--bpm-ink);
  background:
    linear-gradient(180deg, #06111c 0, #06111c 440px, var(--bpm-paper) 440px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

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

.wp-block-navigation a:hover {
  color: var(--bpm-white) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--bpm-white);
  background:
    linear-gradient(90deg, rgba(7, 21, 33, 0.99) 0%, rgba(7, 21, 33, 0.88) 52%, rgba(7, 21, 33, 0.48) 100%),
    url("assets/images/biopharma-hero-bg.webp") center right / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 182, 212, 0.12), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(15, 155, 142, 0.22), transparent 28%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(7, 21, 33, 0), rgba(7, 21, 33, 0.92));
  content: "";
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(280px, 0.62fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  max-width: var(--bpm-max);
  margin: 0 auto;
  padding: clamp(78px, 10vw, 138px) 24px clamp(44px, 7vw, 80px);
}

.hero-wordmark img {
  width: min(420px, 78vw);
}

.hero-wordmark {
  width: fit-content;
  margin: 0 0 28px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bpm-radius);
  background: rgba(0, 0, 0, 0.54);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--bpm-radius);
  background: rgba(5, 17, 27, 0.74);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-panel h2 {
  margin: 0 0 14px;
  color: var(--bpm-white);
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  line-height: 1.06;
}

.hero-panel p {
  margin: 0;
  color: var(--bpm-muted-on-dark);
}

.signal-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--bpm-text-on-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.signal-list li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--bpm-cyan);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.75);
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #a6e1da;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--bpm-white);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--bpm-text-on-dark);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .wp-block-button__link,
.contact-band .wp-block-button__link,
.case-note .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bpm-teal);
  color: var(--bpm-white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-actions .is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-actions .wp-block-button__link:hover,
.contact-band .wp-block-button__link:hover,
.case-note .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 1px;
  max-width: var(--bpm-max);
  margin: 0 auto;
  padding: 0 24px 24px;
}

.metric {
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.metric strong {
  display: block;
  color: var(--bpm-white);
  font-size: 1.35rem;
}

.metric p {
  margin: 6px 0 0;
  color: var(--bpm-muted-on-dark);
  font-size: 0.9rem;
}

.metric p:first-child,
.core-card p:first-child,
.service-card .icon {
  margin-top: 0;
}

.proof-strip {
  border-top: 1px solid rgba(7, 21, 33, 0.08);
  border-bottom: 1px solid rgba(7, 21, 33, 0.08);
  background: var(--bpm-white);
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--bpm-max);
  margin: 0 auto;
  padding: 0 24px;
}

.proof-item {
  min-height: 108px;
  padding: 24px 18px;
  border-left: 1px solid var(--bpm-line);
}

.proof-item:last-child {
  border-right: 1px solid var(--bpm-line);
}

.proof-item strong {
  display: block;
  color: var(--bpm-ink);
  font-size: 1.05rem;
}

.proof-item p {
  margin: 6px 0 0;
  color: var(--bpm-muted-on-light);
  font-size: 0.88rem;
}

.section {
  padding: clamp(58px, 8vw, 96px) 24px;
  background: var(--bpm-paper);
}

.section.dark {
  color: var(--bpm-white);
  background:
    radial-gradient(circle at 12% 0%, rgba(6, 182, 212, 0.1), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(124, 58, 237, 0.12), transparent 34%),
    var(--bpm-ink);
}

.section.mist {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(238, 245, 243, 0.96)),
    var(--bpm-mist);
}

.wrap {
  max-width: var(--bpm-max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  margin-bottom: 36px;
}

.section h1,
.section h2,
.page-content h1 {
  margin: 0;
  color: var(--bpm-ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.case-band h1,
.case-band h2,
.dark h1,
.dark h2 {
  color: var(--bpm-white);
}

.section-head p,
.page-content .lead,
.lead {
  margin: 0;
  color: var(--bpm-muted-on-light);
  font-size: 1.08rem;
}

.dark .section-head p,
.dark .lead {
  color: var(--bpm-muted-on-dark);
}

.case-band .section-head p {
  color: var(--bpm-text-on-dark);
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 272px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--bpm-radius);
  background: rgba(255, 255, 255, 0.055);
}

.service-card::after {
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bpm-cyan), var(--bpm-teal), transparent);
  content: "";
}

.service-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 50%;
  color: var(--bpm-cyan);
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--bpm-white);
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--bpm-muted-on-dark);
}

.core-card,
.resource-card,
.publication-card,
.system-card {
  border: 1px solid var(--bpm-line);
  border-radius: var(--bpm-radius);
  background: var(--bpm-white);
  box-shadow: 0 12px 32px rgba(7, 21, 33, 0.06);
}

.core-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}

.core-card b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--bpm-mist);
  color: var(--bpm-teal-dark);
}

.core-card h3,
.system-card h3,
.resource-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.core-card p,
.system-card p,
.publication-card p,
.resource-card p {
  margin: 0;
  color: var(--bpm-muted-on-light);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.data-flow {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.data-flow > * {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--bpm-line);
  border-radius: var(--bpm-radius);
  background: rgba(255, 255, 255, 0.72);
}

.data-flow b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--bpm-ink);
  color: var(--bpm-white);
  font-size: 0.82rem;
}

.data-flow p {
  margin: 0;
  color: var(--bpm-muted-on-light);
}

.visual-panel {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(7, 21, 33, 0.1);
  border-radius: var(--bpm-radius);
  background: var(--bpm-white);
  box-shadow: var(--bpm-shadow);
}

.visual-panel.elevated {
  transform: rotate(0.4deg);
}

.visual-panel img {
  width: 100%;
}

.pathway {
  display: grid;
  gap: 14px;
}

.path-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bpm-radius);
  background: rgba(255, 255, 255, 0.07);
}

.path-step > p:first-child {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #a6e1da;
  font-weight: 800;
}

.path-step h3 {
  margin: 0 0 5px;
  color: var(--bpm-white);
}

.path-step p {
  margin: 0;
  color: var(--bpm-muted-on-dark);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.system-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.founder-band {
  color: var(--bpm-white);
  background:
    linear-gradient(90deg, rgba(7, 21, 33, 0.98), rgba(7, 21, 33, 0.84)),
    url("assets/images/life-science-organizations.png") center / cover no-repeat;
}

.founder-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.founder-band h2,
.founder-band h3 {
  color: var(--bpm-white);
}

.founder-band p {
  color: var(--bpm-muted-on-dark);
}

.founder-card,
.credential-card,
.mission-pillar {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bpm-radius);
  background: rgba(255, 255, 255, 0.07);
}

.founder-card {
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.founder-card h2,
.founder-card h3,
.mission-pillar h3 {
  color: var(--bpm-white);
}

.founder-card p,
.credential-card p,
.mission-pillar p {
  color: var(--bpm-muted-on-dark);
}

.founder-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.founder-stat {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bpm-radius);
  background: rgba(0, 0, 0, 0.2);
}

.founder-stat strong {
  display: block;
  color: var(--bpm-white);
  font-size: 1.08rem;
}

.founder-stat span {
  color: var(--bpm-muted-on-dark);
  font-size: 0.84rem;
}

.credential-grid,
.mission-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.credential-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.credential-card h3 {
  margin: 0 0 10px;
  color: var(--bpm-white);
  font-size: 1.2rem;
}

.mission-pillar-grid {
  margin-top: 28px;
}

.mission-pillar {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.mission-pillar .type,
.credential-card .type {
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(166, 225, 218, 0.14);
  color: #a6e1da;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-band {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bpm-white);
  background:
    linear-gradient(90deg, rgba(7, 21, 33, 0.97), rgba(7, 21, 33, 0.82)),
    url("assets/images/biopharma-lab-dark.webp") center / cover no-repeat;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.case-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bpm-radius);
  background: rgba(255, 255, 255, 0.07);
}

.case-note h3 {
  color: var(--bpm-white);
}

.case-note p,
.case-note li {
  color: var(--bpm-text-on-dark);
}

.case-note ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.case-note .wp-block-buttons {
  margin-top: 22px;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.publication-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.publication-card.featured {
  border-color: rgba(15, 155, 142, 0.34);
  background: linear-gradient(180deg, var(--bpm-white), #f4fbfa);
}

.publication-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.22;
}

.publication-card .type {
  margin: 0 0 12px;
  color: var(--bpm-teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bpm-mist);
  color: var(--bpm-teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-cloud span {
  padding: 9px 12px;
  border: 1px solid var(--bpm-line);
  border-radius: 999px;
  background: var(--bpm-white);
  color: var(--bpm-ink-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.resource-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--bpm-line);
  border-radius: 999px;
  background: var(--bpm-white);
  color: var(--bpm-ink-2);
  cursor: pointer;
  font-weight: 740;
}

.filter-button.is-active {
  border-color: var(--bpm-teal);
  background: var(--bpm-teal);
  color: var(--bpm-white);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.resource-card {
  display: flex;
  min-height: 228px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--bpm-teal-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.card-link::after {
  content: ">";
  font-weight: 900;
}

.card-link:hover {
  color: var(--bpm-ink);
}

.card-link.muted {
  color: var(--bpm-muted-on-light);
}

.card-link.muted::after {
  content: "";
}

.secondary-link {
  margin-top: 8px;
}

.resource-card .type {
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bpm-mist);
  color: var(--bpm-teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card .filename {
  margin-top: auto;
  padding-top: 18px;
  color: var(--bpm-muted-on-light);
  font-size: 0.82rem;
  word-break: break-word;
}

.contact-band {
  padding: clamp(54px, 7vw, 82px) 24px;
  color: var(--bpm-white);
  background:
    linear-gradient(90deg, rgba(7, 21, 33, 0.96), rgba(7, 21, 33, 0.78)),
    url("assets/images/ai-algorithm-data.png") center / cover no-repeat;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--bpm-max);
  margin: 0 auto;
}

.contact-inner h2 {
  max-width: 720px;
  color: var(--bpm-white);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
}

.resource-card,
.publication-card,
.core-card,
.system-card,
.service-card,
.case-note {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover,
.publication-card:hover,
.core-card:hover,
.system-card:hover,
.service-card:hover,
.case-note:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.32);
  box-shadow: 0 20px 46px rgba(7, 21, 33, 0.12);
}

.hero-panel > *,
.metric > *,
.proof-item > *,
.core-card > *,
.service-card > *,
.system-card > *,
.founder-card > *,
.credential-card > *,
.mission-pillar > *,
.case-note > *,
.publication-card > *,
.resource-card > *,
.data-flow > * > *,
.path-step > *,
.page-content > * {
  margin-block-start: 0 !important;
  margin-block-end: 0;
}

.section-head > *,
.split > *,
.founder-profile > *,
.contact-inner > * {
  min-width: 0;
}

.section-head p,
.split p,
.founder-profile p,
.page-content p,
.page-content li {
  max-width: 72ch;
}

.dark a,
.founder-band a,
.case-band a,
.contact-band a {
  color: #ffffff;
}

.dark .card-link,
.founder-band .card-link,
.case-band .card-link {
  color: #a6fff3;
}

.page-content {
  max-width: 980px;
  margin: clamp(34px, 5vw, 64px) auto;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--bpm-line);
  border-radius: var(--bpm-radius);
  background: var(--bpm-white);
  box-shadow: var(--bpm-shadow);
}

.page-content .eyebrow {
  color: var(--bpm-teal-dark);
}

.page-content h1 {
  color: var(--bpm-ink);
  margin-bottom: 22px;
}

.page-content p,
.page-content li {
  color: var(--bpm-muted-on-light);
  font-size: 1.04rem;
}

.page-content a:not(.wp-block-button__link) {
  color: var(--bpm-teal-dark);
  font-weight: 800;
}

@media (max-width: 920px) {
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(7, 21, 33, 0.98), rgba(7, 21, 33, 0.82)),
      url("assets/images/biopharma-hero-bg.webp") center / cover no-repeat;
  }

  .hero-metrics,
  .hero-inner,
  .proof-inner,
  .core-grid,
  .service-grid,
  .system-grid,
  .founder-profile,
  .founder-stat-grid,
  .credential-grid,
  .mission-pillar-grid,
  .case-grid,
  .publication-grid,
  .resource-grid,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-inner,
  .section,
  .contact-band,
  .page-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 2.62rem;
  }

  .metric,
  .core-card,
  .system-card,
  .resource-card {
    padding: 20px;
  }
}
