/* ===========================================
   NavRx Homepage Styles
   =========================================== */

:root {
  --color-navy-steel: #394C6B;
  --color-midnight-navy: #081F46;
  --color-goldenrod: #C59F5D;
  --color-silver-ash: #C2CCD5;
  --color-pearl-white: #F7F8FA;
  --color-cool-black: #151B28;
  --color-white: #ffffff;

  --color-primary: var(--color-goldenrod);
  --color-primary-dark: #a8884d;
  --color-secondary: var(--color-midnight-navy);
  --color-accent: var(--color-navy-steel);
  --color-dark: var(--color-cool-black);
  --color-light: var(--color-pearl-white);
  --color-border: #C59F5D;
  --color-text: var(--color-cool-black);
  --color-text-body: rgba(21, 27, 40, 0.78);
  --color-text-light: rgba(21, 27, 40, 0.62);
  --color-footer-bg: var(--color-midnight-navy);
  --color-text-link: var(--color-goldenrod);
  --color-headings: var(--color-midnight-navy);
  --color-white-ui: var(--color-white);
  --color-preheading: var(--color-midnight-navy);
  --color-text-dark-theme: var(--color-white);
  --color-headings-dark-theme: var(--color-white);
  --color-border-dark-theme: rgba(255, 255, 255, 0.2);
  --color-preheading-dark-theme: var(--color-goldenrod);

  --font-family: "Source Sans 3", sans-serif;
  --font-family-headings: "Montserrat", sans-serif;
  --font-family-secondary: "Source Sans 3", sans-serif;
  --font-base: var(--font-family);
  --font-display: var(--font-family-headings);

  --font-size-small: 16px;
  --font-size-medium: clamp(16px, 15.333px + 0.178vw, 18px);
  --font-size-large: clamp(18px, 16.667px + 0.356vw, 22px);
  --font-size-x-large: clamp(24px, 22.667px + 0.356vw, 28px);

  --line-height-medium: 1.5;
  --line-height-large: 1.6;

  --spacing-x-small: 24px;
  --spacing-small: 33px;
  --spacing-medium: clamp(30px, 18.333px + 3.111vw, 65px);
  --spacing-large: clamp(40px, 24px + 4vw, 88px);
  --spacing-x-large: clamp(50px, 30px + 4vw, 80px);

  --width-small: 724px;
  --width-medium: 800px;
  --width-large: 1200px;
  --width-x-large: 1500px;
  --max-width: var(--width-large);

  --block-padding-x: 5%;
  --block-padding-y: var(--spacing-x-large);

  --card-padding: var(--spacing-small);
  --card-border: 1px solid var(--color-border);
  --card-border-dark-theme: 1px solid var(--color-border-dark-theme);
  --card-radius: 8px;
  --card-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.05), 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  --card-shadow-dark-theme: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --hero-design-2-padding: 60px var(--block-padding-x);
  --hero-design-2-column-gap: 5.5%;
  --hero-design-2-image-radius: 12px;
  --hero-design-2-image-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --section-spacing: var(--spacing-x-large);
  --radius: 12px;
}

html {
  background: var(--color-pearl-white);
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-medium);
  line-height: var(--line-height-large);
  color: var(--color-text);
  background: var(--color-pearl-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


body.dark-page {
  background-color: var(--color-midnight-navy);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-family-headings);
  color: var(--color-headings);
  font-weight: 600;
  letter-spacing: normal;
}

h1 {
  font-size: clamp(40px, 28.27px + 2.77vw, 70px);
  line-height: 1;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(32px, 22px + 2.17vw, 46px);
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(18px, 12px + 1.38vw, 22px);
  line-height: 1.12;
  margin-bottom: 0;
}

h4 {
  font-size: var(--font-size-large);
  line-height: 1.2;
}

p,
li {
  color: inherit;
}

main.entry-content {
  overflow: clip;
  flex: 1;
}

body.dark-page #site-footer {
  background: var(--color-midnight-navy);
}

/* Global focus-visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-goldenrod);
  outline-offset: 2px;
}

/* Smooth transitions on all interactive elements */
a {
  transition: color 0.2s ease;
}

.layout-fullwidth {
  width: 100%;
}

.layout-boxed {
  padding-left: var(--block-padding-x);
  padding-right: var(--block-padding-x);
}

.block-hero,
.block-trust-logos,
.block-large-cards-grid,
.block-small-cards-grid,
.block-case-study,
.block-media-content,
.block-two-columns-text,
.block-team-grid,
.block-ipr-accordion,
.block-contact-details,
.block-form-container,
.block-empty-state {
  padding: var(--block-padding-y) var(--block-padding-x);
}

.block-hero .block-hero-inner,
.block-trust-logos .block-inner,
.block-large-cards-grid .block-inner,
.block-small-cards-grid .block-inner,
.block-case-study .block-inner,
.block-media-content .block-inner,
.block-call-to-action .block-inner,
.block-two-columns-text .block-inner,
.block-team-grid .block-inner,
.block-ipr-accordion .block-inner,
.block-contact-details .block-inner,
.block-form-container .block-inner,
.block-empty-state .block-inner {
  width: min(100%, var(--width-x-large));
  margin: 0 auto;
}

.bg-dark {
  color: var(--color-text-dark-theme);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark p,
.bg-dark li {
  color: var(--color-text-dark-theme);
}

.bg-dark .preheading {
  color: var(--color-preheading-dark-theme);
}

.bg-light {
  color: var(--color-text);
}

.bg-color-midnight-navy {
  background: var(--color-midnight-navy);
}

.bg-color-navy-steel {
  background: var(--color-navy-steel);
}

.bg-color-pearl-white {
  background: var(--color-pearl-white);
}

.bg-color-silver-ash {
  background: var(--color-silver-ash);
}

.preheading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--color-preheading);
}

.preheading::after {
  content: "";
  width: 64px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.subheader {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border: 2px solid var(--color-goldenrod);
  border-radius: 6px;
  background: var(--color-goldenrod);
  color: var(--color-cool-black);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button::after {
  content: "\2192";
  font-size: 1em;
  transition: transform 0.2s ease;
}

.button:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 159, 93, 0.25);
}

.button:hover::after {
  transform: translateX(3px);
}

.button:focus-visible {
  outline: 2px solid var(--color-goldenrod);
  outline-offset: 4px;
}

.hero-align-center .hero-content {
  align-self: center;
}

.block-hero {
  background: var(--color-midnight-navy);
  min-height: 0;
  padding: 60px clamp(24px, 5vw, 72px);
}

.block-hero-inner {
  display: flex;
  align-items: center;
  gap: var(--hero-design-2-column-gap);
  min-height: 0;
  height: auto;
  padding: 0;
}

.block-hero .hero-content,
.block-hero .hero-image {
  flex: 1 1 0;
  position: relative;
  z-index: 2;
}

.block-hero .hero-content {
  max-width: 620px;
}

.block-hero h1 {
  max-width: 11ch;
  margin-bottom: 20px;
}

.hero-intro-text {
  max-width: 38rem;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

/* ===========================================
   Homepage Section Styles (Nicole's Layout Variety)
   =========================================== */

/* --- 1. HERO: Editorial, dark --- */
.block-hero-editorial { padding: 120px 8% 100px; position: relative; }
.block-hero-editorial::before {
  content: ''; position: absolute; top: 30%; left: 50%;
  transform: translate(-50%, -50%); width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(206,158,33,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.block-hero-editorial .block-hero-inner { display: flex; flex-direction: column; align-items: flex-start; }
.block-hero-editorial .hero-content { flex: unset; max-width: 1000px; }
.hero-gold-rule { width: 64px; height: 2px; background: #CE9E21; margin-bottom: 28px; }
.block-hero-editorial h1 {
  font-family: 'DM Serif Display', serif; max-width: 1000px;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem); line-height: 1.08; margin-bottom: 32px;
}
.block-hero-editorial .hero-intro-text {
  font-size: 1.2rem; line-height: 1.75; color: rgba(255,255,255,0.78);
  margin-bottom: 40px; max-width: 620px;
}
.block-hero-editorial .inner-block-buttons { display: flex; align-items: center; gap: 28px; justify-content: flex-start; }
.block-hero-editorial .inner-block-buttons .button { margin-left: -2px; }
.button-secondary {
  color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3); transition: color 0.2s;
}
.button-secondary:hover { color: #fff; }

/* --- 2. PARTNERS: Light bg override --- */
.bg-color-pearl-white .logo-images img { opacity: 1; }

/* --- 3. STATS: Typographic numbers on accent bg --- */
.block-stats-typo { padding: clamp(40px, 5vw, 56px) var(--block-padding-x, 72px); text-align: center; }
.block-stats-typo h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #fff; margin-bottom: 28px;
}
.stat-row { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-unit { flex: 1; min-width: 160px; max-width: 260px; padding: 0 28px; }
.stat-unit + .stat-unit { border-left: 1px solid rgba(255,255,255,0.15); }
.stat-num {
  font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem);
  color: #CE9E21; line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

/* --- 4. PLATFORM THESIS: Split header + 2x2 tiles --- */
.block-platform { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.block-platform .block-inner { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.platform-header { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.platform-header h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400; line-height: 1.1; color: #fff;
}
.platform-header-right p { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.7; color: rgba(255,255,255,0.8); }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.tile {
  background: var(--color-navy-steel, #394C6B); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08); border-top: 2px solid #CE9E21;
  padding: clamp(28px, 3vw, 40px);
}
.tile h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0; }
.tile p { font-size: 0.9rem; line-height: 1.55; color: rgba(255,255,255,0.78); }

/* Tile heading popover */
.tile-heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.tile-info-btn {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--color-goldenrod, #C59F5D);
  background: transparent;
  color: var(--color-goldenrod, #C59F5D);
  font-size: 10px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 2px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.tile-info-btn:hover,
.tile-info-btn[aria-expanded="true"] {
  background: var(--color-goldenrod, #C59F5D);
  color: var(--color-cool-black, #151B28);
}
.tile-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--color-midnight-navy, #081F46);
  border: 1px solid rgba(197, 159, 93, 0.45);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.tile-popover.is-open { display: block; }
.tile-popover p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(247, 248, 250, 0.85);
}

/* Metric keyword highlights (STAR, HEDIS, RAF) */
.metric-highlight {
  font-weight: 700;
  color: #CE9E21;
  letter-spacing: 0.03em;
}
.bg-light .metric-highlight { color: #1B2A4A; border-bottom: 2px solid #CE9E21; padding-bottom: 1px; }

/* --- 5. MRI DEFINITION: Light, two-column explainer --- */
.block-mri { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.block-mri .block-inner { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.mri-callout { border-left: 3px solid #CE9E21; padding-left: 28px; }
.mri-callout h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15; color: var(--color-cool-black, #151B28); margin-bottom: 20px;
}
.mri-callout p { font-size: 1rem; line-height: 1.7; color: rgba(21,27,40,0.72); }
.mri-callout .preheading { color: #CE9E21; }
.feature-rows { display: flex; flex-direction: column; }
.feature-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid rgba(21,27,40,0.08);
}
.feature-row:first-child { padding-top: 0; }
.feature-row:last-child { border-bottom: none; }
.feature-num {
  font-family: 'DM Serif Display', serif; font-size: 3.5rem; color: #CE9E21; line-height: 1;
  position: relative; padding-bottom: 12px;
}
.feature-num::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 1px; background: rgba(206,158,33,0.4);
}
.feature-row h3 { font-size: 0.95rem; font-weight: 700; color: var(--color-cool-black, #151B28); margin-bottom: 4px; }
.feature-row p { font-size: 0.875rem; line-height: 1.5; color: rgba(21,27,40,0.72); }

/* --- 6. HOW IT WORKS: Dark, flywheel --- */
.block-flywheel { padding: clamp(60px, 8vw, 96px) var(--block-padding-x, 72px); }
.flywheel-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.flywheel-intro { text-align: left; max-width: none; margin: 0; }
.flywheel-intro h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff; margin-bottom: 20px;
}
.flywheel-intro p { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.78); }
.flywheel-wrap { display: flex; justify-content: center; align-items: center; }
.flywheel-svg-container { width: 100%; max-width: 520px; }
.flywheel-svg-container svg { width: 100%; height: auto; display: block; }
.fw-arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fw-node { transform-box: fill-box; transform-origin: center; }
.flywheel-mobile { display: none; }
.step-chain { display: flex; flex-direction: column; align-items: center; max-width: 320px; margin: 0 auto; list-style: none; }
.step-chain-item { display: flex; align-items: flex-start; gap: 16px; width: 100%; }
.step-chain-spine { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-chain-dot { width: 10px; height: 10px; border-radius: 50%; background: #2A3549; border: 1px solid #CE9E21; margin-top: 4px; }
.step-chain-line { width: 1px; flex: 1; min-height: 40px; background: linear-gradient(to bottom, rgba(206,158,33,0.48), rgba(206,158,33,0.12)); }
.step-chain-item:last-child .step-chain-line { display: none; }
.step-chain-content { padding-bottom: 32px; }
.step-chain-number { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: #CE9E21; text-transform: uppercase; margin-bottom: 2px; }
.step-chain-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.step-chain-desc { font-size: 12px; color: rgba(247,248,250,0.5); line-height: 1.5; }
@media (max-width: 600px) { .flywheel-svg-container { display: none; } .flywheel-mobile { display: block; } }

/* --- 7. DISTRIBUTION ADVANTAGE: Accent, asymmetric split --- */
.block-dist { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.block-dist .block-inner { display: grid; grid-template-columns: 45fr 55fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.dist-left h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15; color: #fff; margin-bottom: 28px;
}
.dist-left > p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.78); margin-bottom: 36px; }
.dist-stats { display: flex; gap: 48px; }
.dist-stat-num { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: #CE9E21; line-height: 1; margin-bottom: 4px; }
.dist-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.52); line-height: 1.3; }
.dist-list { list-style: none; }
.dist-list li {
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: grid; grid-template-columns: 8px 1fr; gap: 16px; align-items: start;
}
.dist-list li:last-child { border-bottom: none; }
.dist-list .dot { width: 8px; height: 8px; border-radius: 50%; background: #CE9E21; margin-top: 6px; }
.dist-list-clean li { grid-template-columns: 1fr; }
.dist-callout { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: rgba(255,255,255,0.9); line-height: 1.45; margin-bottom: 28px; border-left: 2px solid #CE9E21; padding-left: 20px; }
.dist-stat-num { font-size: clamp(3rem, 5vw, 4rem); }
.dist-list h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.dist-list p { font-size: 0.85rem; color: rgba(255,255,255,0.78); line-height: 1.45; }

/* --- 8. BUSINESS IMPACT: Light, metric showcase --- */
.block-impact { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.impact-intro { text-align: center; max-width: 600px; margin: 0 auto clamp(40px, 5vw, 64px); }
.impact-intro h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-cool-black, #151B28); margin-bottom: 12px;
}
.impact-intro p { font-size: 0.95rem; color: rgba(21,27,40,0.72); }
.impact-intro .preheading { color: #CE9E21; }
.impact-row { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.impact-metric { flex: 1; min-width: 160px; max-width: 240px; text-align: center; padding: 0 24px; }
.impact-metric + .impact-metric { border-left: 1px solid rgba(21,27,40,0.1); }
.impact-num {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--color-cool-black, #151B28); line-height: 1; margin-bottom: 8px;
}
.impact-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  color: #CE9E21; margin-bottom: 4px;
}
.impact-desc { font-size: 0.8rem; color: rgba(21,27,40,0.6); line-height: 1.4; }

/* --- 8. WHY NAVRX: Dark, 3 centered differentiators --- */
.block-why { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.why-intro { text-align: center; max-width: 800px; margin: 0 auto clamp(48px, 6vw, 64px); }
.why-intro h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff; margin-bottom: 0; text-wrap: balance;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); max-width: 960px; margin: 0 auto; }
.why-item {
  text-align: center; padding: 40px 32px;
  background: rgba(42, 53, 73, 0.5);
  border: 1px solid rgba(206, 158, 33, 0.2);
  border-radius: 8px;
  position: relative;
}
.why-item::before {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px; background: #CE9E21;
}
.why-item h3 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: #CE9E21; margin-bottom: 12px;
  padding-top: 12px;
}
.why-item p { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.72); }

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

/* --- 10. CTA: Gold top border accent --- */
.block-cta-gold { border-top: 4px solid #CE9E21; }
.block-cta-gold h2 { color: #CE9E21; }

/* --- Homepage responsive --- */
@media (max-width: 900px) {
  .block-hero-editorial { padding: 80px 24px 60px; }
  .block-hero-editorial .inner-block-buttons { flex-direction: column; align-items: flex-start; gap: 16px; }
  .platform-header { grid-template-columns: 1fr; gap: 20px; }
  .tile-grid { grid-template-columns: 1fr; }
  .block-mri .block-inner { grid-template-columns: 1fr; }
  .block-dist .block-inner { grid-template-columns: 1fr; }
  .flywheel-layout { grid-template-columns: 1fr; }
  .flywheel-intro { text-align: center; }
  .stat-unit + .stat-unit { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; margin-top: 24px; }
  .stat-row { flex-direction: column; align-items: center; }
  .impact-metric + .impact-metric { border-left: none; border-top: 1px solid rgba(21,27,40,0.1); padding-top: 24px; margin-top: 24px; }
  .impact-row { flex-direction: column; align-items: center; }
  .dist-stats { flex-direction: column; gap: 24px; }
}

/* ===========================================
   GUIDE Page Section Styles
   =========================================== */

/* --- Stats Bar: Light, 4-col typographic --- */
.block-stats-bar { padding: clamp(48px, 6vw, 88px) var(--block-padding-x, 72px); }
.stats-bar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats-bar-item { text-align: center; padding: 24px; border-left: 1px solid rgba(21,27,40,0.1); }
.stats-bar-item:first-child { border-left: none; }
.stats-bar-number {
  display: block; font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem); color: #CE9E21; line-height: 1; margin-bottom: 8px;
}
.stats-bar-label { font-size: 0.88rem; color: var(--color-cool-black, #151B28); line-height: 1.45; opacity: 0.75; max-width: 18ch; margin: 0 auto; }

/* --- Systemic Gap: Accent, sidebar + icon list --- */
.block-gap { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.gap-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.gap-left h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; line-height: 1.2; color: #fff; margin-bottom: 20px; }
.gap-left p { color: rgba(255,255,255,0.68); font-size: 1rem; line-height: 1.8; }
.gap-item {
  display: grid; grid-template-columns: 36px 1fr; gap: 20px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.gap-item:first-child { padding-top: 4px; }
.gap-item:last-child { border-bottom: none; padding-bottom: 0; }
.gap-icon { width: 36px; height: 36px; margin-top: 2px; }
.gap-icon img { width: 100%; height: 100%; object-fit: contain; }
.gap-item h3 { font-family: var(--font-family-headings, sans-serif); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.gap-item p { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* --- Retail Pharmacy: Dark, image-left split --- */
.block-pharmacy { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.pharmacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px); align-items: center; }
.pharmacy-image { position: relative; overflow: hidden; border-radius: 1px; }
.pharmacy-image::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: #CE9E21; z-index: 1;
}
.pharmacy-image img { width: 100%; height: 500px; object-fit: cover; }
.pharmacy-content h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; line-height: 1.2; color: #fff; margin-bottom: 20px; }
.pharmacy-content > p { color: rgba(255,255,255,0.7); line-height: 1.78; margin-bottom: 12px; }
.pharmacy-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px;
}
.pharmacy-stat { text-align: center; padding: 0 16px; border-right: 1px solid rgba(255,255,255,0.12); }
.pharmacy-stat:last-child { border-right: none; }
.pharmacy-stat-number {
  display: block; font-family: 'DM Serif Display', serif;
  font-size: 2.25rem; color: #CE9E21; line-height: 1; margin-bottom: 6px;
}
.pharmacy-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.58); line-height: 1.45; }

/* --- Intelligence Platform: Light, centered + numbered panels --- */
.block-guide-platform { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.guide-platform-header { text-align: center; max-width: 580px; margin: 0 auto clamp(40px, 5vw, 64px); }
.guide-platform-header h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; color: var(--color-cool-black, #151B28); }
.guide-platform-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(21,27,40,0.09); }
.guide-platform-feature { background: #fff; padding: 44px 36px 40px; position: relative; }
.guide-platform-feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #CE9E21; opacity: 0; transition: opacity 0.2s;
}
.guide-platform-feature:hover::before { opacity: 1; }
.guide-feature-num {
  display: block; font-family: 'DM Serif Display', serif;
  font-size: 4rem; color: rgba(206,158,33,0.18); line-height: 1; margin-bottom: 8px;
}
.guide-feature-title { font-weight: 700; font-size: 1.05rem; color: var(--color-cool-black, #151B28); line-height: 1.4; }

/* --- Closed-Loop Process: Accent, horizontal timeline --- */
.block-process { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.process-header { max-width: 620px; margin-bottom: clamp(48px, 5vw, 72px); }
.process-header h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; color: #fff; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 25px; left: 64px; right: 64px;
  height: 1px; background: rgba(206,158,33,0.28); pointer-events: none;
}
.process-step { padding-right: 40px; position: relative; }
.process-circle {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: #CE9E21; color: var(--color-midnight-navy, #1C2135);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 28px; position: relative; z-index: 1;
}
.process-step h3 { font-family: var(--font-family-headings, sans-serif); font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* --- Outcomes + CTA: Dark, two-column --- */
.block-guide-cta { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px) clamp(80px, 9vw, 128px); }
.guide-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.guide-cta-left h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; color: #fff; margin-bottom: 32px; }
.guide-cta-bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 32px; }
.guide-cta-bullets li {
  font-weight: 700; font-size: 0.95rem; color: #fff;
  padding-left: 22px; position: relative; line-height: 1.45;
}
.guide-cta-bullets li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 6px; height: 6px; border-radius: 50%; background: #CE9E21;
}
.guide-cta-tagline {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: #fff; line-height: 1.35; margin-bottom: 20px; font-style: italic;
}
.guide-cta-body { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.8; margin-bottom: 36px; }
.guide-cta-action { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.guide-cta-fine { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* --- GUIDE EHR Capabilities --- */
.block-guide-ehr { padding: clamp(80px, 10vw, 120px) var(--block-padding-x, 72px); }
.guide-ehr-header { max-width: 720px; margin-bottom: clamp(48px, 5vw, 72px); }
.guide-ehr-header h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; color: #fff; }
.guide-ehr-features { display: grid; grid-template-columns: 1fr; gap: 0; }
.guide-ehr-feature {
  padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.guide-ehr-feature:first-child { padding-top: 0; }
.guide-ehr-feature:last-child { border-bottom: none; }
.guide-ehr-feature h3 { font-weight: 700; font-size: 1.05rem; color: #CE9E21; margin-bottom: 6px; }
.guide-ehr-feature p { font-size: 0.95rem; color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 720px; }

/* --- GUIDE page responsive --- */
@media (max-width: 960px) {
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item:nth-child(1), .stats-bar-item:nth-child(3) { border-left: none; }
  .gap-grid { grid-template-columns: 1fr; }
  .pharmacy-grid { grid-template-columns: 1fr; }
  .pharmacy-image img { height: 320px; }
  .guide-platform-features { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .guide-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .guide-platform-features { grid-template-columns: 1fr; }
  .pharmacy-stats { grid-template-columns: 1fr; gap: 24px; }
  .pharmacy-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 20px; }
  .pharmacy-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .guide-cta-bullets { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

body.dark-page .header {
  position: relative;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.header {
  background: var(--color-midnight-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 var(--block-padding-x);
}

.header-inner {
  max-width: var(--width-x-large);
  padding: 12px 0;
  height: auto;
}

.logo {
  padding: 8px 0;
}

.logo img {
  width: 156px;
  height: auto;
}

.nav a {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--color-goldenrod);
}

.nav a:not(.header-cta)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-goldenrod);
  transition: width 0.3s ease;
}

.nav a:not(.header-cta):hover::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-goldenrod);
  color: var(--color-navy);
  padding: 14px 28px;
  border: 2px solid var(--color-goldenrod);
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: 12px;
}

.header-cta:focus-visible {
  outline: 2px solid var(--color-goldenrod);
  outline-offset: 4px;
}

.header-cta::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.header-cta:hover {
  background: var(--color-white);
  color: var(--color-midnight-navy);
  border-color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 159, 93, 0.2);
}

.header-cta:hover::after {
  transform: translateX(2px);
}

.hamburger span {
  background: var(--color-white);
}

.mobile-menu {
  background: var(--color-midnight-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu a {
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu a:hover {
  color: var(--color-goldenrod);
  padding-left: 8px;
}

.mobile-menu a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu .header-cta {
  display: inline-flex;
  padding: 12px 0 0;
  border-bottom: 0;
}

.inner-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  min-height: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--hero-design-2-image-radius);
  box-shadow: var(--hero-design-2-image-shadow);
}

.block-trust-logos {
  padding: clamp(30px, 4vw, 50px) var(--block-padding-x) clamp(50px, 6vw, 80px);
}

.block-trust-logos.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.block-trust-logos .block-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.block-trust-logos .preheading {
  margin-bottom: 0;
}

.logo-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 6vw, 96px);
  flex-wrap: wrap;
  flex: 1;
}

.logo-images img {
  width: auto;
  max-height: 78px;
  opacity: 0.9;
}

.block-large-cards-grid[data-section="stats"] {
  background: var(--color-midnight-navy);
}

.block-large-cards-grid[data-section="audience"],
.block-large-cards-grid[data-section="deliver"],
.block-media-content:not(.has-background) {
  background: var(--color-pearl-white);
}

.top-content {
  width: min(100%, var(--width-small));
  margin: 0 auto var(--spacing-medium);
}

.top-content.align-center {
  text-align: center;
}

.top-content p:last-child {
  margin-top: 22px;
  color: inherit;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.large-card,
.small-card {
  border-radius: var(--card-radius);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}

.bg-dark.large-card,
.bg-dark.small-card,
.large-card.bg-dark,
.small-card.bg-dark {
  border: var(--card-border-dark-theme);
  box-shadow: var(--card-shadow-dark-theme);
}

.large-card {
  padding: var(--card-padding);
  background: var(--color-white);
}

.large-card.has-stat-style {
  background: var(--color-navy-steel);
  border: var(--card-border-dark-theme);
  box-shadow: var(--card-shadow-dark-theme);
}

.large-card.card-align-center {
  text-align: center;
}

.large-card h3 {
  color: var(--color-headings);
  margin-bottom: 18px;
}

.bg-dark.large-card h3,
.large-card.bg-dark h3 {
  color: var(--color-goldenrod);
}

.large-card .subheader {
  margin-bottom: 14px;
}

.large-card ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.large-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-body);
}

.large-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-goldenrod);
  transform: translateY(-50%);
}

.large-card.bg-dark ul li {
  color: rgba(255, 255, 255, 0.8);
}

.has-stat-style {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 100%;
}

.has-stat-style h3 {
  font-size: clamp(32px, 20px + 3.11vw, 50px);
  letter-spacing: normal;
  line-height: 0.95;
  margin-bottom: 4px;
}

.has-stat-style p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.block-small-cards-grid {
  background: var(--color-midnight-navy);
}

.block-case-study {
  background: var(--color-midnight-navy);
}

.block-small-cards-grid .block-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.block-small-cards-grid .content-container h2 {
  max-width: 12ch;
}

.small-card {
  background: var(--color-navy-steel);
  padding: 32px;
  display: grid;
  gap: 16px;
  align-content: start;
  border-radius: var(--card-radius);
  border: var(--card-border-dark-theme);
}

.card-icon.small-icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  background: rgba(197, 159, 93, 0.12);
  border-radius: 8px;
}

.card-icon.small-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(73%) sepia(18%) saturate(1020%) hue-rotate(2deg) brightness(92%) contrast(89%);
}

.small-card p {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.block-media-content .block-inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.block-case-study .block-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.block-media-content .image-container,
.block-media-content .content-container {
  flex: 1 1 50%;
}

.block-case-study .content-container {
  display: grid;
  gap: 22px;
}

.block-media-content .image-container img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(10, 16, 27, 0.14);
}

.block-case-study .image-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.block-media-content .content-container h2 {
  margin-bottom: 20px;
}

.block-media-content .content-container p {
  margin-top: 12px;
  max-width: 34rem;
  color: var(--color-text-body);
}

.block-media-content .inner-block-buttons {
  margin-top: 28px;
}

.block-case-study .content-container > p:not(.preheading) {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
}

.block-media-content.bg-dark .content-container > p:not(.preheading) {
  color: rgba(255, 255, 255, 0.82);
}

.block-media-content.image-right .image-container {
  order: 2;
}

.block-media-content.image-right .content-container {
  order: 1;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.case-study-stat {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.case-study-stat h3 {
  color: var(--color-goldenrod);
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 10px;
}

.case-study-stat p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.process-steps {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.process-step-number {
  font-family: var(--font-family-headings);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--color-goldenrod);
}

.process-step-copy h3 {
  margin-bottom: 8px;
}

.process-step-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.opportunity-card {
  width: min(100%, 900px);
  margin: 0 auto;
}

.card-image.size-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 22px;
}

.card-image.size-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.block-large-cards-grid[data-section="deliver"] .large-card {
  padding: var(--spacing-small) var(--spacing-x-small);
}

.block-call-to-action {
  background: var(--color-navy-steel);
  border-radius: 12px;
  padding: clamp(48px, 6vw, 80px) clamp(38px, 5vw, 68px);
  margin: clamp(40px, 5vw, 80px) var(--block-padding-x);
}

.block-call-to-action .block-inner {
  max-width: 920px;
  text-align: center;
}

.block-call-to-action h2 {
  margin-bottom: 28px;
}

.cta-text {
  margin: 0 auto 36px;
  max-width: 46rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
}

.block-call-to-action .button {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-steel);
  border: 1px solid rgba(197, 159, 93, 0.3);
  color: var(--color-goldenrod);
  z-index: 0;
  transition: color 280ms ease-out, border-color 280ms ease-out, transform 0.2s ease;
}

.block-call-to-action .button::after {
  content: "\2192";
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

.block-call-to-action .button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--color-goldenrod);
  transition: height 320ms ease-out;
  z-index: -1;
}

.block-call-to-action .button:hover {
  color: var(--color-cool-black);
  border-color: var(--color-goldenrod);
  transform: none;
}

.block-call-to-action .button:hover::before {
  height: 100%;
  opacity: 1;
}

.block-call-to-action .button:hover::after {
  transform: translateX(2px);
}

.block-call-to-action .button:focus-visible {
  outline: 2px solid var(--color-goldenrod);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .block-call-to-action .button::before {
    transition: none;
  }
}

/* ===========================================
   Team Bio Pages (Variation B: Editorial Feature)
   =========================================== */

/* --- Bio Hero: Split layout --- */
.bio-hero {
  background: var(--color-midnight-navy);
  overflow: hidden;
  position: relative;
}

.bio-hero-nav {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 28px 5%;
}

.bio-hero-inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 580px;
}

/* Left panel: content */
.bio-hero-content {
  padding: 0 5% 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.bio-hero-preheading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-goldenrod);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bio-hero-preheading::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.bio-hero-content h1 {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.0;
  margin-bottom: 16px;
}

.bio-hero-title {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--color-goldenrod);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Credential strip */
.bio-credential-strip {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bio-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bio-cred-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(197, 159, 93, 0.12);
  border: 1px solid rgba(197, 159, 93, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-cred-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--color-goldenrod);
}

.bio-cred-text strong {
  display: block;
  font-family: var(--font-family-headings);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.bio-cred-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Right panel: framed portrait */
.bio-hero-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background-color: var(--color-midnight-navy);
  background-image:
    radial-gradient(ellipse 110% 80% at 55% 100%, #1e3060 0%, rgba(8,31,70,0) 68%),
    radial-gradient(circle, rgba(255,255,255,0.038) 1px, transparent 1px),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.012) 48px,
      rgba(255,255,255,0.012) 49px
    );
  background-size: 100% 100%, 24px 24px, auto;
}

/* Left blend gradient */
.bio-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-midnight-navy) 0%, transparent 25%);
  pointer-events: none;
  z-index: 3;
}

/* Concentric rounded rectangle frame */
.bio-portrait-frame {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 0 14px rgba(197, 159, 93, 0.05);
  border-radius: 4px;
}

/* Inner ring */
.bio-portrait-frame::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -28px;
  right: -28px;
  bottom: -28px;
  border: 1px solid rgba(197, 159, 93, 0.18);
  border-radius: 12px;
  pointer-events: none;
}

/* Outer ring */
.bio-portrait-frame::after {
  content: "";
  position: absolute;
  top: -52px;
  left: -52px;
  right: -52px;
  bottom: -52px;
  border: 1px solid rgba(197, 159, 93, 0.08);
  border-radius: 18px;
  pointer-events: none;
}

.bio-portrait-frame img {
  display: block;
  width: auto;
  max-width: 440px;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 6px;
}

/* --- Bio body: pearl-white section --- */
.bio-body {
  background: var(--color-pearl-white);
  padding: clamp(60px, 7vw, 100px) 5%;
}

.bio-body-inner {
  width: min(100%, 820px);
  margin: 0 auto;
}

.bio-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-navy-steel);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bio-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-silver-ash);
}

/* Pull quote */
.bio-pull-quote {
  border-left: 4px solid var(--color-goldenrod);
  padding: 24px 28px 24px 32px;
  margin-bottom: 40px;
  background: rgba(197, 159, 93, 0.06);
  border-radius: 0 8px 8px 0;
}

.bio-pull-quote p {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--color-midnight-navy);
  line-height: 1.55;
  font-style: italic;
}

.bio-text p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(21, 27, 40, 0.78);
  line-height: 1.75;
  margin-bottom: 20px;
}

.bio-text p:last-child { margin-bottom: 0; }

.bio-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bio-bullets li {
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(21, 27, 40, 0.78);
  line-height: 1.75;
  margin-bottom: 14px;
  padding-left: 20px;
  position: relative;
}
.bio-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-goldenrod);
}
.bio-bullets li:last-child { margin-bottom: 0; }

/* Expertise tags */
.bio-expertise-row {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-silver-ash);
}

.bio-expertise-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-navy-steel);
  margin-bottom: 14px;
}

.bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bio-tag {
  padding: 6px 14px;
  border: 1.5px solid rgba(57, 76, 107, 0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy-steel);
  background: white;
  transition: background 0.2s, border-color 0.2s;
}

.bio-tag:hover {
  background: rgba(197, 159, 93, 0.08);
  border-color: rgba(197, 159, 93, 0.4);
}

/* --- Team navigation (prev/next) --- */
.bio-team-nav {
  background: var(--color-midnight-navy);
  padding: 40px 5%;
}

.bio-team-nav-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bio-team-nav-label {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.bio-peer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--color-white);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.bio-peer-link:hover {
  border-color: rgba(197, 159, 93, 0.4);
  background: rgba(197, 159, 93, 0.06);
}

.bio-peer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid rgba(197, 159, 93, 0.3);
  flex-shrink: 0;
  overflow: hidden;
}

.bio-peer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-peer-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.bio-peer-info span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.bio-peer-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.bio-peer-link:hover .bio-peer-arrow {
  color: var(--color-goldenrod);
}

.bio-peer-link.prev .bio-peer-arrow { order: -1; }

/* --- Back to team link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family-headings);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-goldenrod);
  transition: gap 0.2s;
}

.back-link::before {
  content: "\2190";
  font-size: 1em;
  transition: transform 0.2s;
}

.back-link:hover { gap: 12px; }
.back-link:hover::before { transform: translateX(-3px); }

/* --- Bio CTA section --- */
.bio-cta {
  background: var(--color-navy-steel);
  padding: clamp(52px, 7vw, 88px) 5%;
  text-align: center;
}

.bio-cta-inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.bio-cta h2 {
  color: var(--color-white);
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 16px;
}

.bio-cta p {
  color: rgba(255,255,255,0.78);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* --- Bio page responsive --- */
@media (max-width: 800px) {
  .bio-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .bio-hero-image {
    height: 340px;
    order: -1;
    padding: 32px 32px 0;
    align-items: flex-end;
    justify-content: center;
  }
  .bio-hero-image::after {
    background: linear-gradient(to bottom, transparent 55%, var(--color-midnight-navy) 95%);
  }
  .bio-portrait-frame img {
    max-width: 240px;
    max-height: 260px;
  }
  .bio-hero-content { padding: 32px 5% 48px; }

  .bio-team-nav-inner {
    flex-direction: column;
  }
  .bio-team-nav-inner .bio-peer-link {
    width: 100%;
    justify-content: center;
  }
}

.block-two-columns-text {
  background: var(--color-navy-steel);
  border-top: 3px solid var(--color-goldenrod);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.block-two-columns-text .block-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.block-two-columns-text h2 {
  max-width: 14ch;
}

.block-two-columns-text .preheading {
  margin-bottom: 16px;
}

.two-columns-copy {
  display: grid;
  gap: 22px;
}

.two-columns-copy p {
  max-width: 40rem;
  color: #e8edf4;
  color: rgba(255, 255, 255, 0.82);
}

.block-team-grid {
  background: var(--color-pearl-white);
}

.block-team-grid .top-content {
  width: min(100%, 760px);
}

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

.team-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: var(--card-border);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 100%;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 16, 27, 0.1);
  border-color: rgba(206, 158, 33, 0.36);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.team-card h3 {
  margin-bottom: 8px;
}

.team-card p {
  color: var(--color-text-body);
}

.team-card .link-arrow {
  margin-top: auto;
  color: var(--color-goldenrod);
  transition: letter-spacing 0.2s ease;
}

.team-card:hover .link-arrow {
  letter-spacing: 1px;
}

.block-ipr-accordion {
  background: var(--color-pearl-white);
}

.block-ipr-accordion .block-inner {
  width: min(100%, 980px);
}

.block-ipr-accordion .top-content {
  width: 100%;
}

.accordion-list {
  display: grid;
  gap: 14px;
}

.block-ipr-accordion .faq-item {
  margin-bottom: 0;
  border: 1px solid rgba(42, 53, 73, 0.14);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 10px 32px rgba(10, 16, 27, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.block-ipr-accordion .faq-item:hover {
  box-shadow: 0 12px 36px rgba(10, 16, 27, 0.08);
  border-color: rgba(197, 159, 93, 0.3);
}

.block-ipr-accordion .faq-item.active {
  border-color: rgba(197, 159, 93, 0.4);
  box-shadow: 0 12px 36px rgba(10, 16, 27, 0.08);
}

.block-ipr-accordion .faq-btn {
  padding: 22px 24px;
  font-size: 1.02rem;
  color: var(--color-midnight-navy);
  background: transparent;
}

.block-ipr-accordion .faq-btn:hover {
  background: rgba(194, 204, 213, 0.16);
}

.block-ipr-accordion .faq-btn::after {
  content: "+";
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-goldenrod);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.block-ipr-accordion .faq-item.active .faq-btn::after {
  content: "−";
  transform: rotate(180deg);
}

.block-ipr-accordion .faq-btn:focus-visible {
  outline: 2px solid var(--color-goldenrod);
  outline-offset: -2px;
  border-radius: 12px;
}

.block-ipr-accordion .faq-answer {
  background: transparent;
}

.block-ipr-accordion .faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
}

.block-contact-details {
  background: var(--color-pearl-white);
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.contact-info-col h2 {
  margin-bottom: 12px;
}

.contact-intro {
  margin-bottom: 32px;
  color: var(--color-text-body);
  max-width: 28rem;
}

.contact-info-items {
  display: grid;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: var(--color-goldenrod);
  margin-top: 2px;
}

.contact-info-item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--color-text-body);
}

.contact-info-item a:hover {
  color: var(--color-midnight-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-map-col {
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  padding: 28px;
  border-radius: 14px;
  background: var(--color-white);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 16px;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-card svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: var(--color-goldenrod);
}

.contact-card h3 {
  margin-bottom: 0;
}

.contact-card p,
.contact-card a {
  color: var(--color-text-body);
}

.contact-card a:hover {
  color: var(--color-midnight-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.block-form-container {
  background: var(--color-silver-ash);
}

.block-form-container .block-inner {
  width: min(100%, 900px);
}

.form-shell {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 24px 48px rgba(21, 27, 40, 0.08);
}

.form-shell h2 {
  margin-bottom: 12px;
}

.form-shell > p {
  margin-bottom: 28px;
  color: rgba(21, 27, 40, 0.8);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.block-form-container form {
  display: grid;
  gap: 20px;
}

.block-form-container .form-row {
  gap: 20px;
  margin-bottom: 0;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-midnight-navy);
}

.block-form-container input,
.block-form-container select,
.block-form-container textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 18px;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.block-form-container select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-midnight-navy) 50%),
    linear-gradient(135deg, var(--color-midnight-navy) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.block-form-container textarea {
  min-height: 180px;
  resize: vertical;
}

.block-form-container input:focus,
.block-form-container select:focus,
.block-form-container textarea:focus {
  border-color: var(--color-goldenrod);
  box-shadow: 0 0 0 3px rgba(206, 158, 33, 0.16);
}

.form-submit {
  display: flex;
  justify-content: flex-start;
}

.block-empty-state {
  background: var(--color-pearl-white);
}

.block-empty-state .block-inner {
  width: min(100%, 860px);
}

.empty-state-card {
  padding: clamp(28px, 5vw, 44px);
  border-radius: 16px;
  border: var(--card-border);
  background: var(--color-white);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.empty-state-card p {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--color-text-body);
}

/* --- Page hero (blog, generic pages) --- */
.page-hero {
  background: var(--color-navy-steel);
  padding: clamp(56px, 8vw, 88px) var(--block-padding-x);
}

.page-hero h1 {
  color: var(--color-white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

/* --- Form messages --- */
.form-message {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.form-message-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #a92633;
}

.form-message-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #1c7430;
}

/* --- Smooth image loading --- */
img {
  transition: opacity 0.3s ease;
}

.footer {
  padding: 0 var(--block-padding-x);
  background: transparent;
}

.footer .container {
  max-width: var(--width-x-large);
  margin: 0 auto;
}

.footer-bottom {
  border-top: none;
  padding: 16px 0 64px;
}

.footer-bottom p {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}

.footer-bottom a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  margin-left: 24px;
  transition: color 0.2s ease;
}

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

.footer-bottom a:focus-visible {
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .block-hero-inner,
  .block-case-study .block-inner,
  .block-media-content .block-inner,
  .block-small-cards-grid .block-inner,
  .block-two-columns-text .block-inner {
    gap: 40px;
  }

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

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

@media (max-width: 900px) {
  .block-trust-logos,
  .block-large-cards-grid,
  .block-small-cards-grid,
  .block-case-study,
  .block-media-content,
  .block-two-columns-text,
  .block-team-grid,
  .block-ipr-accordion,
  .block-contact-details,
  .block-form-container,
  .block-empty-state {
    padding-left: 24px;
    padding-right: 24px;
  }

  .layout-boxed {
    padding-left: 24px;
    padding-right: 24px;
  }

  .block-hero-inner,
  .block-case-study .block-inner,
  .block-media-content .block-inner,
  .block-small-cards-grid .block-inner,
  .block-trust-logos .block-inner,
  .block-two-columns-text .block-inner {
    display: grid;
  }

  .block-hero-inner {
    min-height: 0;
    padding: 0;
  }

  .hero-image {
    min-height: 0;
  }

  .card-grid.three-columns,
  .card-grid.two-columns,
  .card-grid.four-columns {
    grid-template-columns: 1fr;
  }

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

  .block-media-content .image-container {
    order: 1;
  }

  .block-case-study .image-container {
    order: 1;
  }

  .block-media-content .content-container {
    order: 2;
  }

  .block-case-study .content-container {
    order: 2;
  }

  .case-study-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .button {
    font-size: 18px;
  }

  .block-large-cards-grid,
  .block-small-cards-grid,
  .block-case-study,
  .block-media-content,
  .block-two-columns-text,
  .block-team-grid,
  .block-ipr-accordion,
  .block-contact-details,
  .block-form-container,
  .block-empty-state {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .block-trust-logos {
    padding-bottom: 48px;
  }

  .hero-image {
    min-height: 0;
  }

  .header-cta {
    font-size: 15px;
  }

  .team-grid,
  .contact-details-grid,
  .block-form-container .form-row {
    grid-template-columns: 1fr;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-map-col {
    min-height: 280px;
  }

  .small-card {
    min-height: 0;
  }

}

@media (max-width: 500px) {
  .preheading {
    font-size: 12px;
    gap: 10px;
  }

  .preheading::after {
    width: 40px;
  }

  .large-card,
  .small-card,
  .block-call-to-action {
    padding: 24px;
  }

  .hero-intro-text,
  .cta-text {
    font-size: 1rem;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
