/* YSOTOPE Theranostics: yso.css - full site stylesheet */

/* =========================================================
   1. CUSTOM PROPERTIES
   ========================================================= */
:root {
  --yso-bg-dark:       #0A0D13;
  --yso-bg-dark-alt:   #111520;
  --yso-bg-light:      #F2F4F8;
  --yso-bg-light-alt:  #E8ECF3;
  --yso-bg-white:      #FFFFFF;

  --yso-crimson:       #BD1B5E;
  --yso-crimson-dark:  #9A1248;
  --yso-blue:          #3BA6D8;

  --yso-text-dark:     #F2F4F8;
  --yso-text-muted-dark: #94A3B8;
  --yso-text-blue-dark:  #3BA6D8;
  --yso-text-light:    #141820;
  --yso-text-muted-light: #4A5568;
  --yso-text-crimson-light: #9A1248;

  --yso-nav-h:         64px;
  --yso-radius:        8px;
  --yso-radius-lg:     16px;
  --yso-max-w:         1200px;
  --yso-max-w-narrow:  720px;

  --yso-font-heading:  'DM Serif Display', Georgia, serif;
  --yso-font-body:     'Manrope', system-ui, -apple-system, sans-serif;
  --yso-font-mono:     'JetBrains Mono', 'Courier New', monospace;

  --yso-transition:    0.25s ease;
}

/* =========================================================
   2. RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--yso-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--yso-text-light);
  background: var(--yso-bg-light);
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
input, select, textarea { outline: none; }

/* =========================================================
   3. TYPOGRAPHY UTILITIES
   ========================================================= */
.yso-eyebrow {
  font-family: var(--yso-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-text-muted-dark);
}
.yso-eyebrow--light {
  color: var(--yso-text-muted-light);
}
.yso-eyebrow--crimson {
  color: var(--yso-crimson);
}
.yso-eyebrow--blue {
  color: var(--yso-blue);
}

h1, h2, h3, h4 {
  font-family: var(--yso-font-heading);
  font-weight: 400;
  line-height: 1.2;
}

.yso-h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-family: var(--yso-font-heading);
  font-weight: 400;
  line-height: 1.15;
}
.yso-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-family: var(--yso-font-heading);
  font-weight: 400;
  line-height: 1.2;
}
.yso-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: var(--yso-font-heading);
  font-weight: 400;
  line-height: 1.25;
}
.yso-h4 {
  font-size: 1.125rem;
  font-family: var(--yso-font-heading);
  font-weight: 400;
}

.yso-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--yso-text-muted-dark);
}
.yso-lead--light {
  color: var(--yso-text-muted-light);
}
.yso-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
.yso-small {
  font-size: 0.875rem;
  line-height: 1.55;
}
.yso-mono {
  font-family: var(--yso-font-mono);
  font-size: 0.9em;
}

.yso-on-dark { color: var(--yso-text-dark); }
.yso-muted-on-dark { color: var(--yso-text-muted-dark); }
.yso-on-light { color: var(--yso-text-light); }
.yso-muted-on-light { color: var(--yso-text-muted-light); }

/* =========================================================
   4. LAYOUT PRIMITIVES
   ========================================================= */
.yso-container {
  width: 100%;
  max-width: var(--yso-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.yso-container--narrow {
  max-width: var(--yso-max-w-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.yso-section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.yso-section--sm {
  padding-top: 64px;
  padding-bottom: 64px;
}
.yso-section--lg {
  padding-top: 128px;
  padding-bottom: 128px;
}

.yso-section--dark      { background: var(--yso-bg-dark); }
.yso-section--dark-alt  { background: var(--yso-bg-dark-alt); }
.yso-section--light     { background: var(--yso-bg-light); }
.yso-section--light-alt { background: var(--yso-bg-light-alt); }
.yso-section--white     { background: var(--yso-bg-white); }

.yso-two-col,
.yso-two-col--60-40,
.yso-two-col--40-60 {
  display: grid;
  gap: 64px;
  align-items: center;
}
.yso-two-col {
  grid-template-columns: 1fr 1fr;
}
.yso-two-col--60-40 {
  grid-template-columns: 6fr 4fr;
}
.yso-two-col--40-60 {
  grid-template-columns: 4fr 6fr;
}

.yso-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.yso-four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.yso-centered-stack {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.yso-section-label {
  margin-bottom: 8px;
}
.yso-section-title {
  margin-bottom: 16px;
}
.yso-section-sub {
  margin-bottom: 48px;
}

/* =========================================================
   5. NAVIGATION
   ========================================================= */
.yso-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--yso-nav-h);
  background: var(--yso-bg-dark);
  border-bottom: 1px solid rgba(242, 244, 248, 0.06);
  transition: box-shadow var(--yso-transition);
}
.yso-nav--scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.yso-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.yso-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.yso-nav__logo img {
  height: 36px;
  width: auto;
}
.yso-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.yso-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--yso-text-dark);
  padding: 6px 12px;
  border-radius: var(--yso-radius);
  transition: color var(--yso-transition), background var(--yso-transition);
  white-space: nowrap;
}
.yso-nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}
.yso-nav__link--active {
  color: var(--yso-blue);
}
.yso-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yso-nav__secondary {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--yso-text-muted-dark);
  transition: color var(--yso-transition);
}
.yso-nav__secondary:hover {
  color: var(--yso-text-dark);
}
.yso-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.yso-nav__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--yso-text-dark);
  border-radius: 2px;
  transition: transform var(--yso-transition), opacity var(--yso-transition);
}
.yso-nav--open .yso-nav__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.yso-nav--open .yso-nav__bar:nth-child(2) {
  opacity: 0;
}
.yso-nav--open .yso-nav__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.yso-nav__mobile {
  display: none;
  position: fixed;
  top: var(--yso-nav-h);
  left: 0;
  right: 0;
  background: var(--yso-bg-dark);
  border-bottom: 1px solid rgba(242, 244, 248, 0.08);
  padding: 16px 24px 24px;
  z-index: 999;
}
.yso-nav--open .yso-nav__mobile {
  display: block;
}
.yso-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.yso-nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--yso-text-dark);
  padding: 10px 12px;
  border-radius: var(--yso-radius);
  transition: background var(--yso-transition);
}
.yso-nav__mobile-link:hover {
  background: rgba(255, 255, 255, 0.07);
}
.yso-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Nav clearance for all first sections */
.yso-nav-clearance {
  padding-top: calc(var(--yso-nav-h) + 96px);
}
.yso-nav-clearance--hero {
  padding-top: calc(var(--yso-nav-h) + 128px);
}

/* =========================================================
   6. BUTTONS
   ========================================================= */
.yso-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--yso-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--yso-radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--yso-transition), color var(--yso-transition), border-color var(--yso-transition), transform var(--yso-transition);
  white-space: nowrap;
  line-height: 1;
}
.yso-btn:hover { transform: translateY(-1px); }
.yso-btn:active { transform: translateY(0); }

.yso-btn--primary {
  background: var(--yso-crimson);
  color: #ffffff;
  border-color: var(--yso-crimson);
}
.yso-btn--primary:hover {
  background: #a5174f;
  border-color: #a5174f;
  color: #ffffff;
}

.yso-btn--ghost-on-dark {
  background: transparent;
  color: var(--yso-text-dark);
  border-color: rgba(242, 244, 248, 0.35);
}
.yso-btn--ghost-on-dark:hover {
  background: rgba(242, 244, 248, 0.08);
  border-color: rgba(242, 244, 248, 0.55);
  color: #ffffff;
}

.yso-btn--outline-on-light {
  background: transparent;
  color: var(--yso-text-light);
  border-color: rgba(20, 24, 32, 0.3);
}
.yso-btn--outline-on-light:hover {
  background: rgba(20, 24, 32, 0.05);
  border-color: rgba(20, 24, 32, 0.55);
  color: var(--yso-text-light);
}

.yso-btn--text-link {
  background: transparent;
  color: var(--yso-crimson);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.yso-btn--text-link:hover {
  color: var(--yso-crimson-dark);
  transform: none;
}

.yso-btn--text-link-on-dark {
  background: transparent;
  color: var(--yso-blue);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.yso-btn--text-link-on-dark:hover {
  color: #74c1e4;
  transform: none;
}

.yso-btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
}
.yso-btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.yso-btn--full { width: 100%; }

.yso-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.yso-btn-group--center {
  justify-content: center;
}

/* =========================================================
   7. HERO VARIANTS
   ========================================================= */

/* -- Hero dark two-column (index.html) -- */
.yso-hero {
  background: var(--yso-bg-dark);
}
.yso-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: calc(var(--yso-nav-h) + 128px);
  padding-bottom: 128px;
}
.yso-hero__text {
  max-width: 540px;
}
.yso-hero__eyebrow {
  display: inline-block;
  font-family: var(--yso-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-blue);
  margin-bottom: 16px;
}
.yso-hero__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--yso-text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}
.yso-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  line-height: 1.7;
  margin-bottom: 40px;
}
.yso-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -- Sub-page hero centered-stack dark -- */
.yso-subhero {
  background: var(--yso-bg-dark);
}
.yso-subhero__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: calc(var(--yso-nav-h) + 96px);
  padding-bottom: 96px;
  text-align: center;
}
.yso-subhero__eyebrow {
  display: inline-block;
  font-family: var(--yso-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-blue);
  margin-bottom: 16px;
}
.yso-subhero__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--yso-text-dark);
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 20px;
}
.yso-subhero__sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}
.yso-subhero__visual {
  margin-top: 48px;
}

/* -- Sub-page hero light centered-stack -- */
.yso-lighthero {
  background: var(--yso-bg-light);
  padding-top: calc(var(--yso-nav-h) + 80px);
  padding-bottom: 80px;
}
.yso-lighthero__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}
.yso-lighthero__stat-band {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(20, 24, 32, 0.12);
}
.yso-lighthero__stat {
  text-align: center;
}
.yso-lighthero__stat-num {
  display: block;
  font-family: var(--yso-font-heading);
  font-size: 2rem;
  color: var(--yso-crimson-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.yso-lighthero__stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yso-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.yso-lighthero__eyebrow {
  display: inline-block;
  font-family: var(--yso-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-crimson-dark);
  margin-bottom: 16px;
}
.yso-lighthero__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--yso-text-light);
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 20px;
}
.yso-lighthero__sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* =========================================================
   8. PHARMACOKINETICS SVG VISUAL
   ========================================================= */
.yso-pk-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}
.yso-pk-curve--tumor {
  fill: none;
  stroke: var(--yso-crimson);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yso-pk-curve--healthy {
  fill: none;
  stroke: var(--yso-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yso-pk-axis {
  stroke: var(--yso-text-muted-dark);
  stroke-width: 1;
}
.yso-pk-label {
  font-family: var(--yso-font-body);
  font-size: 11px;
  fill: var(--yso-text-muted-dark);
}
.yso-pk-legend-dot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .yso-pk-animated {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: yso-draw-curve 2.2s ease-in-out forwards;
  }
  .yso-pk-animated--delay {
    animation-delay: 0.8s;
  }
}
@keyframes yso-draw-curve {
  to { stroke-dashoffset: 0; }
}

/* =========================================================
   9. INDEX SECTIONS
   ========================================================= */

/* -- Problem / Stat cards -- */
.yso-problem__header {
  margin-bottom: 56px;
}
.yso-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--yso-radius-lg);
  padding: 36px 28px;
  transition: border-color var(--yso-transition), background var(--yso-transition);
}
.yso-stat-card:hover {
  border-color: rgba(189, 27, 94, 0.4);
  background: rgba(189, 27, 94, 0.04);
}
.yso-stat-card__number {
  font-family: var(--yso-font-heading);
  font-size: 2.75rem;
  color: #D63B7A;
  line-height: 1;
  margin-bottom: 8px;
}
.yso-stat-card__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yso-text-dark);
  margin-bottom: 8px;
}
.yso-stat-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  line-height: 1.6;
}

/* -- Solution section -- */
.yso-solution__visual {
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
}
.yso-solution__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2;
}
.yso-solution__steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.yso-solution__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.yso-solution__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yso-crimson);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.yso-solution__step-text h4 {
  font-family: var(--yso-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yso-text-dark);
  margin-bottom: 4px;
}
.yso-solution__step-text p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  line-height: 1.6;
}

/* -- Metrics / Early Results -- */
.yso-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.yso-metric-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(20, 24, 32, 0.07);
}
.yso-metric-card__num {
  font-family: var(--yso-font-heading);
  font-size: 3rem;
  color: var(--yso-crimson-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.yso-metric-card__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-metric-card__sub {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.55;
}

/* -- Pilot metric callouts for dark sections -- */
.yso-pilot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.yso-pilot-metric {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--yso-radius-lg);
}
.yso-pilot-metric__num {
  font-family: var(--yso-font-heading);
  font-size: 2.75rem;
  color: var(--yso-crimson);
  line-height: 1;
  margin-bottom: 8px;
}
.yso-pilot-metric__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--yso-text-dark);
  margin-bottom: 6px;
}
.yso-pilot-metric__sub {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  line-height: 1.5;
}

/* -- Testimonials -- */
.yso-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.yso-testimonial {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 40px 36px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.yso-testimonial__quote {
  font-family: var(--yso-font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--yso-text-light);
  line-height: 1.6;
  margin-bottom: 24px;
  quotes: "\201C" "\201D";
}
.yso-testimonial__quote::before {
  content: open-quote;
  color: var(--yso-crimson);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}
.yso-testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 24, 32, 0.1);
}
.yso-testimonial__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--yso-text-light);
}
.yso-testimonial__role {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--yso-text-muted-light);
}
.yso-testimonial__pilot-note {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--yso-text-muted-light);
  margin-top: 4px;
}

/* -- Team cards -- */
.yso-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.yso-team-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--yso-transition), transform var(--yso-transition);
}
.yso-team-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.yso-team-card__avatar {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--yso-bg-light-alt);
  position: relative;
}
.yso-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.yso-team-card__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yso-bg-light-alt);
  font-family: var(--yso-font-heading);
  font-size: 2.5rem;
  color: var(--yso-crimson-dark);
}
.yso-team-card__body {
  padding: 24px;
}
.yso-team-card__name {
  font-family: var(--yso-font-heading);
  font-size: 1.2rem;
  color: var(--yso-text-light);
  margin-bottom: 4px;
}
.yso-team-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yso-crimson-dark);
  margin-bottom: 12px;
}
.yso-team-card__bio {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.65;
}

/* -- CTA sections -- */
.yso-cta {
  text-align: center;
}
.yso-cta__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--yso-text-dark);
  margin-bottom: 16px;
}
.yso-cta__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.yso-cta__note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--yso-text-muted-dark);
}

/* =========================================================
   10. PLATFORM PAGE
   ========================================================= */

/* -- Workflow mock (inline-mock) -- */
.yso-workflow-mock {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
}
.yso-workflow-step {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  background: var(--yso-bg-dark-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--yso-radius);
  padding: 20px 14px;
  text-align: center;
  position: relative;
}
.yso-workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--yso-crimson);
  z-index: 1;
}
.yso-workflow-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yso-crimson);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.yso-workflow-step__icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--yso-blue);
}
.yso-workflow-step__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--yso-text-dark);
  line-height: 1.4;
}

/* -- Platform feature two-col sections -- */
.yso-platform-feature__visual {
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.yso-platform-feature__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2;
}
.yso-platform-feature__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.yso-platform-feature__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  margin-bottom: 16px;
}
.yso-platform-feature__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 24px;
}
.yso-platform-feature__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yso-platform-feature__list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.yso-platform-feature__list-item i {
  color: var(--yso-crimson);
  margin-top: 2px;
  flex-shrink: 0;
}
.yso-platform-feature__list-item--light i {
  color: var(--yso-crimson-dark);
}

/* -- Integration feature grid -- */
.yso-integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.yso-integration-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--yso-transition), transform var(--yso-transition);
}
.yso-integration-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.yso-integration-card__icon {
  font-size: 2rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 14px;
}
.yso-integration-card__title {
  font-family: var(--yso-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-integration-card__desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.5;
}

/* =========================================================
   11. SCIENCE PAGE
   ========================================================= */

/* -- Mechanism two-col -- */
.yso-mechanism__visual {
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.yso-mechanism__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* -- PK model section -- */
.yso-pk-section__diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}
.yso-pk-diagram-svg {
  width: 100%;
  max-width: 440px;
}

/* -- Pipeline preview cards -- */
.yso-pipeline-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.yso-pipeline-preview-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(20, 24, 32, 0.09);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.yso-pipeline-preview-card__icon {
  font-size: 1.75rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 12px;
}
.yso-pipeline-preview-card__title {
  font-family: var(--yso-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-pipeline-preview-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

/* =========================================================
   12. FOR-CLINICS PAGE
   ========================================================= */

.yso-compliance__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.yso-compliance-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 28px 22px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
.yso-compliance-card__icon {
  font-size: 1.5rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 12px;
}
.yso-compliance-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-compliance-card__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

/* =========================================================
   13. PIPELINE PAGE
   ========================================================= */

/* -- Pipeline table (inline-mock) -- */
.yso-pipeline-table-wrap {
  margin-top: 40px;
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 24, 32, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.yso-pipeline-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--yso-bg-white);
}
.yso-pipeline-table thead tr {
  background: var(--yso-bg-dark);
}
.yso-pipeline-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--yso-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yso-text-muted-dark);
  white-space: nowrap;
}
.yso-pipeline-table tbody tr {
  border-bottom: 1px solid rgba(20, 24, 32, 0.08);
  transition: background var(--yso-transition);
}
.yso-pipeline-table tbody tr:last-child {
  border-bottom: none;
}
.yso-pipeline-table tbody tr:hover {
  background: var(--yso-bg-light);
}
.yso-pipeline-table tbody td {
  padding: 18px 20px;
  font-size: 0.9rem;
  color: var(--yso-text-light);
  vertical-align: middle;
}
.yso-pipeline-table td:first-child {
  font-family: var(--yso-font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yso-crimson-dark);
}
.yso-pipeline-table td:nth-child(2) {
  font-size: 0.875rem;
  color: var(--yso-text-muted-light);
}
.yso-pipeline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.yso-pipeline-badge--complete {
  background: var(--yso-crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.yso-pipeline-badge--active {
  background: rgba(189, 27, 94, 0.15);
  border: 2px solid var(--yso-crimson);
  color: var(--yso-crimson-dark);
  font-size: 0.7rem;
  font-weight: 700;
}
.yso-pipeline-badge--pending {
  background: transparent;
  border: 2px solid rgba(20, 24, 32, 0.18);
  color: rgba(20, 24, 32, 0.3);
  font-size: 0.7rem;
}

/* -- Research areas -- */
.yso-research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.yso-research-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 32px 26px;
  border: 1px solid rgba(20, 24, 32, 0.09);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.yso-research-card__icon {
  font-size: 2rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 14px;
}
.yso-research-card__title {
  font-family: var(--yso-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-research-card__compound {
  font-family: var(--yso-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yso-crimson-dark);
  margin-bottom: 8px;
}
.yso-research-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

/* =========================================================
   14. ABOUT PAGE
   ========================================================= */

.yso-mission__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.yso-mission__text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.yso-mission__text p:last-child {
  margin-bottom: 0;
}
.yso-mission__text h3 {
  font-family: var(--yso-font-heading);
  font-size: 1.5rem;
  color: var(--yso-text-light);
  margin-bottom: 16px;
}
.yso-mission__pullquote {
  border-left: 3px solid var(--yso-crimson);
  padding-left: 24px;
  font-family: var(--yso-font-heading);
  font-size: 1.25rem;
  color: var(--yso-text-light);
  line-height: 1.5;
}

.yso-location-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 40px 36px;
  border: 1px solid rgba(20, 24, 32, 0.09);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  max-width: 560px;
  margin: 0 auto;
}
.yso-location-card__heading {
  font-family: var(--yso-font-heading);
  font-size: 1.5rem;
  color: var(--yso-text-light);
  margin-bottom: 24px;
}
.yso-location-card__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.yso-location-card__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.yso-location-card__item i {
  color: var(--yso-crimson-dark);
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
}
.yso-location-card__item-text {
  font-size: 0.9rem;
  color: var(--yso-text-muted-light);
  line-height: 1.55;
}
.yso-location-card__item-text a {
  color: var(--yso-crimson-dark);
}
.yso-location-card__item-text a:hover {
  text-decoration: underline;
}

/* =========================================================
   15. CONTACT PAGE
   ========================================================= */

.yso-contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

/* -- Form styles -- */
.yso-form {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 44px 40px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.yso-form__title {
  font-family: var(--yso-font-heading);
  font-size: 1.5rem;
  color: var(--yso-text-light);
  margin-bottom: 32px;
}
.yso-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.yso-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.yso-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yso-form__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yso-text-light);
  letter-spacing: 0.04em;
}
.yso-form__label span {
  color: var(--yso-crimson);
  margin-left: 2px;
}
.yso-form__input,
.yso-form__select,
.yso-form__textarea {
  background: var(--yso-bg-light);
  border: 1.5px solid rgba(20, 24, 32, 0.14);
  border-radius: var(--yso-radius);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--yso-text-light);
  width: 100%;
  transition: border-color var(--yso-transition), background var(--yso-transition);
}
.yso-form__input:focus,
.yso-form__select:focus,
.yso-form__textarea:focus {
  border-color: var(--yso-crimson);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(189, 27, 94, 0.08);
}
.yso-form__input::placeholder,
.yso-form__textarea::placeholder {
  color: #a0aec0;
}
.yso-form__textarea {
  resize: vertical;
  min-height: 120px;
}
.yso-form__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.yso-form__checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.yso-form__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--yso-crimson);
}
.yso-form__checkbox-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--yso-text-muted-light);
  line-height: 1.5;
}
.yso-form__checkbox-label a {
  color: var(--yso-crimson-dark);
  text-decoration: underline;
}
.yso-form__submit {
  margin-top: 8px;
}
.yso-form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.yso-form__success.yso-form__success--visible {
  display: block;
}
.yso-form__success-icon {
  font-size: 3rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 16px;
}
.yso-form__success-title {
  font-family: var(--yso-font-heading);
  font-size: 1.5rem;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-form__success-msg {
  font-size: 0.9rem;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}
.yso-form__error-msg {
  display: none;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
}
.yso-form__error-msg.yso-form__error-msg--visible {
  display: block;
}

/* -- Offices sidebar -- */
.yso-offices-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.yso-office-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.yso-office-card__city {
  font-family: var(--yso-font-heading);
  font-size: 1.1rem;
  color: var(--yso-text-light);
  margin-bottom: 14px;
}
.yso-office-card__detail {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--yso-text-muted-light);
}
.yso-office-card__detail:last-child {
  margin-bottom: 0;
}
.yso-office-card__detail i {
  color: var(--yso-crimson-dark);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}
.yso-office-card__detail a {
  color: var(--yso-crimson-dark);
}
.yso-office-card__detail a:hover {
  text-decoration: underline;
}

/* =========================================================
   16. AUTH PAGES (fullscreen-card, no nav/footer)
   ========================================================= */

.yso-auth-page {
  min-height: 100vh;
  background: var(--yso-bg-light-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.yso-auth-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 52px 48px;
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(20, 24, 32, 0.1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}
.yso-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.yso-auth-logo img {
  height: 36px;
  width: auto;
}
.yso-auth-heading {
  font-family: var(--yso-font-heading);
  font-size: 1.75rem;
  color: var(--yso-text-light);
  margin-bottom: 8px;
  text-align: center;
}
.yso-auth-subheading {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  margin-bottom: 36px;
  text-align: center;
  line-height: 1.5;
}
.yso-auth-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.yso-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yso-auth-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yso-text-light);
}
.yso-auth-input {
  background: var(--yso-bg-light);
  border: 1.5px solid rgba(20, 24, 32, 0.14);
  border-radius: var(--yso-radius);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--yso-text-light);
  width: 100%;
  transition: border-color var(--yso-transition), background var(--yso-transition);
}
.yso-auth-input:focus {
  border-color: var(--yso-crimson);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(189, 27, 94, 0.08);
}
.yso-auth-input::placeholder {
  color: #a0aec0;
}
.yso-auth-input--error {
  border-color: #c0392b;
}
.yso-auth-input-hint {
  font-size: 0.75rem;
  color: var(--yso-text-muted-light);
}
.yso-auth-checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.yso-auth-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--yso-crimson);
  cursor: pointer;
}
.yso-auth-checkbox-label {
  font-size: 0.775rem;
  color: var(--yso-text-muted-light);
  line-height: 1.5;
}
.yso-auth-checkbox-label a {
  color: var(--yso-crimson-dark);
  text-decoration: underline;
}
.yso-auth-submit {
  width: 100%;
  margin-bottom: 20px;
}
.yso-auth-error {
  display: none;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--yso-radius);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #a93226;
  margin-bottom: 16px;
  text-align: center;
}
.yso-auth-error--visible {
  display: block;
}
.yso-auth-confirm {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.yso-auth-confirm--visible {
  display: block;
}
.yso-auth-confirm-icon {
  font-size: 2.5rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 16px;
}
.yso-auth-confirm-title {
  font-family: var(--yso-font-heading);
  font-size: 1.4rem;
  color: var(--yso-text-light);
  margin-bottom: 12px;
}
.yso-auth-confirm-msg {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.65;
}
.yso-auth-links {
  text-align: center;
  font-size: 0.8rem;
  color: var(--yso-text-muted-light);
  margin-top: 8px;
}
.yso-auth-links a {
  color: var(--yso-crimson-dark);
  font-weight: 500;
}
.yso-auth-links a:hover {
  text-decoration: underline;
}
.yso-auth-divider {
  height: 1px;
  background: rgba(20, 24, 32, 0.1);
  margin: 20px 0;
}
.yso-auth-footer-links {
  text-align: center;
  font-size: 0.75rem;
  color: var(--yso-text-muted-light);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 24, 32, 0.1);
}
.yso-auth-footer-links a {
  color: var(--yso-text-muted-light);
  text-decoration: underline;
  margin: 0 6px;
}

/* =========================================================
   17. LEGAL PAGES (abw-legal readiness)
   ========================================================= */

.yso-legal-page {
  background: var(--yso-bg-light);
  min-height: 100vh;
}
.yso-legal-hero {
  padding-top: calc(var(--yso-nav-h) + 64px);
  padding-bottom: 48px;
  background: var(--yso-bg-light-alt);
}
.yso-legal-hero__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.yso-legal-hero__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--yso-text-light);
  margin-bottom: 8px;
}
.yso-legal-hero__updated {
  font-size: 0.875rem;
  color: var(--yso-text-muted-light);
}
.yso-legal-content {
  background: var(--yso-bg-white);
  max-width: var(--yso-max-w-narrow);
  margin: 0 auto;
  padding: 64px 48px;
  min-height: 60vh;
  color: var(--yso-text-light);
}
.yso-legal-content h2 {
  font-family: var(--yso-font-heading);
  font-size: 1.5rem;
  color: var(--yso-text-light);
  margin-top: 40px;
  margin-bottom: 16px;
}
.yso-legal-content h3 {
  font-family: var(--yso-font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yso-text-light);
  margin-top: 28px;
  margin-bottom: 10px;
}
.yso-legal-content p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--yso-text-muted-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.yso-legal-content a {
  color: var(--yso-crimson-dark);
  text-decoration: underline;
}
.yso-legal-content ul,
.yso-legal-content ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
.yso-legal-content li {
  font-size: 0.9rem;
  color: var(--yso-text-muted-light);
  line-height: 1.75;
  margin-bottom: 6px;
  list-style: disc;
}

/* =========================================================
   18. JOURNAL / BLOG
   ========================================================= */

.yso-journal-hero {
  background: var(--yso-bg-light);
  padding-top: calc(var(--yso-nav-h) + 80px);
  padding-bottom: 64px;
}
.yso-journal-hero__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.yso-journal-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-crimson-dark);
  margin-bottom: 12px;
}
.yso-journal-hero__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--yso-text-light);
  margin-bottom: 16px;
}
.yso-journal-hero__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* -- Journal grid -- */
.yso-journal-grid-section {
  background: var(--yso-bg-light);
  padding: 64px 0 96px;
}
.yso-journal-featured {
  margin-bottom: 48px;
}
.yso-journal-featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 24, 32, 0.09);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition: box-shadow var(--yso-transition), transform var(--yso-transition);
  text-decoration: none;
}
.yso-journal-featured__card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.yso-journal-featured__cover {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.yso-journal-featured__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.yso-journal-featured__card:hover .yso-journal-featured__cover img {
  transform: scale(1.03);
}
.yso-journal-featured__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.yso-journal-featured__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-crimson-dark);
  margin-bottom: 12px;
}
.yso-journal-featured__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--yso-text-light);
  line-height: 1.25;
  margin-bottom: 16px;
}
.yso-journal-featured__excerpt {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.yso-journal-featured__meta {
  font-size: 0.78rem;
  color: var(--yso-text-muted-light);
}

/* -- Article card grid -- */
.yso-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.yso-article-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--yso-transition), transform var(--yso-transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.yso-article-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.yso-article-card__cover {
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}
.yso-article-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.yso-article-card:hover .yso-article-card__cover img {
  transform: scale(1.04);
}
.yso-article-card__body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.yso-article-card__date {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yso-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.yso-article-card__title {
  font-family: var(--yso-font-heading);
  font-size: 1.05rem;
  color: var(--yso-text-light);
  line-height: 1.3;
  margin-bottom: 10px;
  flex: 1;
}
.yso-article-card__excerpt {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.55;
}

/* =========================================================
   19. ARTICLE TEMPLATE CHROME
   ========================================================= */

.yso-article-page {
  background: var(--yso-bg-light);
}

.yso-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--yso-crimson-dark);
  padding: 6px 0;
  transition: color var(--yso-transition), gap var(--yso-transition);
}
.yso-article-back:hover {
  color: var(--yso-crimson);
  gap: 10px;
}

.yso-article-hero {
  background: var(--yso-bg-dark);
  padding-top: calc(var(--yso-nav-h) + 56px);
  padding-bottom: 0;
  position: relative;
}
.yso-article-hero__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 0 24px 40px;
}
.yso-article-hero__back-row {
  margin-bottom: 24px;
}
.yso-article-hero__back-row .yso-article-back {
  color: var(--yso-blue);
}
.yso-article-hero__back-row .yso-article-back:hover {
  color: #74c1e4;
}
.yso-article-hero__date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yso-text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.yso-article-hero__title {
  font-family: var(--yso-font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--yso-text-dark);
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 16px;
}
.yso-article-hero__excerpt {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  max-width: 620px;
  line-height: 1.7;
}
.yso-article-hero__byline {
  margin-top: 20px;
  color: var(--yso-text-muted-dark);
}
.yso-article-hero__author {
  color: var(--yso-text-muted-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.yso-article-cover {
  max-width: var(--yso-max-w-narrow);
  margin: 0 auto;
  padding: 0 24px;
  padding-bottom: 0;
}
.yso-article-cover figure {
  margin: 0;
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.18);
  transform: translateY(32px);
}
.yso-article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.yso-article-body {
  background: var(--yso-bg-white);
  padding-top: 80px;
  padding-bottom: 96px;
}
.yso-article-content {
  max-width: var(--yso-max-w-narrow);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--yso-text-muted-light);
}
.yso-article-content h2 {
  font-family: var(--yso-font-heading);
  font-size: 1.5rem;
  color: var(--yso-text-light);
  margin-top: 48px;
  margin-bottom: 16px;
}
.yso-article-content h3 {
  font-family: var(--yso-font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-top: 32px;
  margin-bottom: 12px;
}
.yso-article-content p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--yso-text-muted-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.yso-article-content a {
  color: var(--yso-crimson-dark);
  text-decoration: underline;
}
.yso-article-content a:hover {
  color: var(--yso-crimson);
}
.yso-article-content ul,
.yso-article-content ol {
  margin-left: 22px;
  margin-bottom: 20px;
}
.yso-article-content li {
  font-size: 1rem;
  color: var(--yso-text-muted-light);
  line-height: 1.75;
  margin-bottom: 8px;
  list-style: disc;
}
.yso-article-content ol li {
  list-style: decimal;
}
.yso-article-content blockquote {
  border-left: 3px solid var(--yso-crimson);
  padding-left: 20px;
  margin: 28px 0;
  font-family: var(--yso-font-heading);
  font-size: 1.1rem;
  color: var(--yso-text-light);
  line-height: 1.55;
}
.yso-article-content pre,
.yso-article-content code {
  font-family: var(--yso-font-mono);
  font-size: 0.85rem;
  background: var(--yso-bg-light-alt);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--yso-text-light);
}
.yso-article-content pre {
  padding: 20px;
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 20px;
}
.yso-article-content pre code {
  padding: 0;
  background: none;
}

/* =========================================================
   20. FOOTER
   ========================================================= */

.yso-footer {
  background: var(--yso-bg-dark);
  padding-top: 72px;
  padding-bottom: 0;
}
.yso-footer__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.yso-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(242, 244, 248, 0.08);
}
.yso-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.yso-footer__brand-logo {
  height: 32px;
  width: auto;
}
.yso-footer__brand-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-dark);
  line-height: 1.7;
  max-width: 280px;
}
.yso-footer__col-heading {
  font-family: var(--yso-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yso-text-dark);
  margin-bottom: 16px;
}
.yso-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yso-footer__col-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--yso-text-muted-dark);
  transition: color var(--yso-transition);
}
.yso-footer__col-link:hover {
  color: var(--yso-text-dark);
}
.yso-footer__contact-strip {
  padding: 28px 0;
  border-bottom: 1px solid rgba(242, 244, 248, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.yso-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--yso-text-muted-dark);
}
.yso-footer__contact-item i {
  color: var(--yso-crimson);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.yso-footer__contact-item a {
  color: var(--yso-text-muted-dark);
  transition: color var(--yso-transition);
}
.yso-footer__contact-item a:hover {
  color: var(--yso-text-dark);
}
.yso-footer__legal-row {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.yso-footer__copyright {
  font-size: 0.8rem;
  color: var(--yso-text-muted-dark);
}
.yso-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.yso-footer__legal-link {
  font-size: 0.8rem;
  color: var(--yso-text-muted-dark);
  transition: color var(--yso-transition);
}
.yso-footer__legal-link:hover {
  color: var(--yso-text-dark);
}

/* =========================================================
   21. COOKIE BANNER
   ========================================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--yso-bg-dark-alt);
  border-top: 1px solid rgba(189, 27, 94, 0.25);
  padding: 0;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.35);
}
.cookie-banner__inner {
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--yso-text-muted-dark);
  line-height: 1.55;
}
.cookie-banner__text a {
  color: var(--yso-blue);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  font-family: var(--yso-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--yso-radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--yso-transition), color var(--yso-transition), border-color var(--yso-transition);
  white-space: nowrap;
}
.cookie-banner__btn--primary {
  background: var(--yso-crimson);
  color: #ffffff;
  border-color: var(--yso-crimson);
}
.cookie-banner__btn--primary:hover {
  background: #a5174f;
  border-color: #a5174f;
  color: #ffffff;
}
.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--yso-text-muted-dark);
  border-color: rgba(242, 244, 248, 0.25);
}
.cookie-banner__btn--secondary:hover {
  background: rgba(242, 244, 248, 0.07);
  color: var(--yso-text-dark);
  border-color: rgba(242, 244, 248, 0.45);
}

/* =========================================================
   22. ANIMATION / FADE-IN
   ========================================================= */

.yso-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.yso-fade-in.yso-visible {
  opacity: 1;
  transform: translateY(0);
}
.yso-fade-in--delay-1 { transition-delay: 0.1s; }
.yso-fade-in--delay-2 { transition-delay: 0.2s; }
.yso-fade-in--delay-3 { transition-delay: 0.3s; }
.yso-fade-in--delay-4 { transition-delay: 0.4s; }

/* =========================================================
   23. RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .yso-nav__links { display: none; }
  .yso-nav__actions .yso-btn { display: none; }
  .yso-nav__secondary { display: none; }
  .yso-nav__hamburger { display: flex; }

  .yso-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: calc(var(--yso-nav-h) + 72px);
    padding-bottom: 72px;
  }
  .yso-hero__text { max-width: 100%; }
  .yso-hero__visual { order: -1; }

  .yso-two-col,
  .yso-two-col--60-40,
  .yso-two-col--40-60 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .yso-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .yso-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --yso-nav-h: 56px; }

  .yso-section { padding-top: 64px; padding-bottom: 64px; }
  .yso-section--lg { padding-top: 80px; padding-bottom: 80px; }

  .yso-three-col,
  .yso-four-col { grid-template-columns: 1fr 1fr; gap: 20px; }

  .yso-metrics__grid { grid-template-columns: 1fr; gap: 20px; }
  .yso-pilot-metrics { grid-template-columns: 1fr; gap: 16px; }

  .yso-team__grid { grid-template-columns: 1fr 1fr; }

  .yso-testimonials__grid { grid-template-columns: 1fr; }

  .yso-journal-featured__card { grid-template-columns: 1fr; }
  .yso-journal-featured__cover { aspect-ratio: 16/9; }

  .yso-article-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .yso-integration-grid { grid-template-columns: 1fr 1fr; }

  .yso-pipeline-table-wrap { overflow-x: auto; }

  .yso-form { padding: 32px 24px; }
  .yso-form__row { grid-template-columns: 1fr; }

  .yso-auth-card { padding: 40px 28px; }

  .yso-lighthero__stat-band { gap: 28px; }

  .yso-workflow-mock {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .yso-workflow-step:not(:last-child)::after { display: none; }
  .yso-workflow-step { min-width: 130px; flex: 0 0 calc(50% - 8px); max-width: none; }

  .yso-compliance__grid { grid-template-columns: 1fr; }
  .yso-research-grid { grid-template-columns: 1fr 1fr; }
  .yso-pipeline-preview-grid { grid-template-columns: 1fr; }

  .yso-mission__body { grid-template-columns: 1fr; gap: 32px; }

  .yso-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .yso-footer__brand { grid-column: auto; }
  .yso-footer__contact-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .yso-footer__legal-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .yso-three-col,
  .yso-four-col { grid-template-columns: 1fr; }

  .yso-team__grid { grid-template-columns: 1fr; }

  .yso-article-grid { grid-template-columns: 1fr; }

  .yso-integration-grid { grid-template-columns: 1fr; }

  .yso-research-grid { grid-template-columns: 1fr; }

  .yso-auth-card { padding: 32px 20px; }
  .yso-auth-heading { font-size: 1.5rem; }

  .yso-hero__title { font-size: 2rem; }
  .yso-subhero__title { font-size: 1.75rem; }
  .yso-lighthero__title { font-size: 1.75rem; }

  .yso-btn-group { flex-direction: column; align-items: stretch; }
  .yso-btn-group .yso-btn { text-align: center; justify-content: center; }

  .yso-workflow-step { flex: 0 0 calc(100% - 0px); }

  .yso-compliance__grid { grid-template-columns: 1fr; }

  .yso-lighthero__stat-band {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .yso-cookie-banner__inner { flex-direction: column; }
}

/* Misc utilities */

/* Misc utility */
.yso-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.yso-text-center { text-align: center; }
.yso-mt-8 { margin-top: 8px; }
.yso-mt-16 { margin-top: 16px; }
.yso-mt-24 { margin-top: 24px; }
.yso-mt-32 { margin-top: 32px; }
.yso-mt-48 { margin-top: 48px; }
.yso-mb-8 { margin-bottom: 8px; }
.yso-mb-16 { margin-bottom: 16px; }
.yso-mb-24 { margin-bottom: 24px; }
.yso-mb-32 { margin-bottom: 32px; }
.yso-mb-48 { margin-bottom: 48px; }
.yso-gap-16 { gap: 16px; }
.yso-gap-24 { gap: 24px; }

/* PK diagram SVG (science.html) inline styles helper */
.yso-pk-diagram { display: block; width: 100%; }

/* =========================================================
   AGENT-3 FIX BLOCK — naming-mismatch aliases + missing rules
   ========================================================= */

/* -- Additional aliases for component __body vs __desc naming gap -- */

/* integration-card: HTML uses __body, CSS has __desc */
.yso-integration-card__body {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.65;
}

/* lighthero: HTML uses __stat-value, CSS has __stat-num */
.yso-lighthero__stat-value {
  display: block;
  font-family: var(--yso-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yso-text-light);
  line-height: 1.1;
}

/* pipeline-preview-card: HTML uses __body/__tag, CSS has __desc (no __tag) */
.yso-pipeline-preview-card__body {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

.yso-pipeline-preview-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--yso-crimson-dark);
  background: rgba(189, 27, 94, 0.07);
  border: 1px solid rgba(189, 27, 94, 0.14);
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 8px;
}

/* -- Page body state classes (JS-state hooks) -- */
/* JS state hook, no styling */
.yso-page--dark-top,
.yso-page--light-top {}

/* -- AUTH PAGES: HTML uses BEM modifiers, CSS had flat names -- */

.yso-auth-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.yso-auth-brand {
  display: flex;
  justify-content: center;
}

.yso-auth-brand a {
  display: inline-block;
}

.yso-auth-brand img {
  height: 36px;
  width: auto;
}

.yso-auth-card__heading {
  font-family: var(--yso-font-heading);
  font-size: 1.75rem;
  color: var(--yso-text-light);
  margin-bottom: 8px;
  text-align: center;
}

.yso-auth-card__sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  margin-bottom: 28px;
  text-align: center;
  line-height: 1.5;
}

.yso-auth-card__footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--yso-text-muted-light);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 24, 32, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yso-auth-card__footer a {
  color: var(--yso-crimson-dark);
  font-weight: 500;
}

.yso-auth-card__footer a:hover {
  text-decoration: underline;
}

.yso-auth-card__legal {
  text-align: center;
  font-size: 0.75rem;
  color: var(--yso-text-muted-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.yso-auth-card__legal a {
  color: var(--yso-text-muted-light);
  text-decoration: underline;
}

.yso-auth-form-view {
  display: flex;
  flex-direction: column;
}

/* Auth confirm BEM children alias to flat names */
.yso-auth-confirm__icon {
  font-size: 2.5rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 16px;
}

.yso-auth-confirm__title {
  font-family: var(--yso-font-heading);
  font-size: 1.4rem;
  color: var(--yso-text-light);
  margin-bottom: 12px;
}

.yso-auth-confirm__text {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.65;
}

.yso-auth-consent {
  font-size: 0.75rem;
  color: var(--yso-text-muted-light);
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}

.yso-auth-consent a {
  color: var(--yso-crimson-dark);
  text-decoration: underline;
}

.yso-login-form,
.yso-register-form,
.yso-forgot-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.yso-auth-label__link {
  float: right;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--yso-crimson-dark);
}

.yso-auth-label__link:hover {
  text-decoration: underline;
}

/* -- ABOUT PAGE -- */

.yso-about-hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(20, 24, 32, 0.12);
}

.yso-about-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.yso-about-hero__stat-value {
  font-family: var(--yso-font-heading);
  font-size: 2.25rem;
  color: var(--yso-text-light);
  line-height: 1;
}

.yso-about-hero__stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--yso-text-muted-light);
  text-align: center;
}

.yso-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.yso-mission__values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.yso-value-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 24px 22px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.yso-value-card__icon {
  font-size: 1.4rem;
  color: var(--yso-crimson-dark);
  margin-bottom: 10px;
}

.yso-value-card__title {
  font-family: var(--yso-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 6px;
}

.yso-value-card__body {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

/* Team grid alias: HTML uses yso-team-grid, CSS has yso-team__grid */
.yso-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* Team avatar BEM children: HTML uses __avatar-wrap/__avatar-img, CSS has __avatar */
.yso-team-card__avatar-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--yso-bg-light-alt);
  position: relative;
}

.yso-team-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Location two-col layout */
.yso-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.yso-location__text {
  display: flex;
  flex-direction: column;
}

.yso-location__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yso-location__map-placeholder {
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  background: #e8ecf3;
}

.yso-location__map-placeholder svg {
  display: block;
  width: 100%;
  height: auto;
}

.yso-location__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.yso-location__meta-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--yso-text-muted-light);
}

.yso-location__meta-item i {
  color: var(--yso-crimson-dark);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}

.yso-location__meta-item a {
  color: var(--yso-crimson-dark);
}

.yso-location__meta-item a:hover {
  text-decoration: underline;
}

/* -- CONTACT PAGE -- */

.yso-contact-layout__form {
  min-width: 0;
}

.yso-contact-layout__aside {
  min-width: 0;
}

.yso-contact-form {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 44px 40px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* fix: span.yso-form__title inside button should not force dark text */
button .yso-form__title,
.yso-btn .yso-form__title {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
}

.yso-form__consent {
  font-size: 0.75rem;
  color: var(--yso-text-muted-light);
  line-height: 1.5;
  margin-top: 12px;
  text-align: center;
}

.yso-form__consent a {
  color: var(--yso-crimson-dark);
  text-decoration: underline;
}

.yso-contact-aside {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

.yso-contact-aside--address {
  background: var(--yso-bg-light);
}

.yso-contact-aside--pilot-note {
  background: rgba(189, 27, 94, 0.04);
  border-color: rgba(189, 27, 94, 0.12);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
}

.yso-contact-aside__heading {
  font-family: var(--yso-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yso-text-muted-light);
  margin-bottom: 16px;
}

.yso-contact-aside__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.yso-contact-aside__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yso-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.yso-contact-aside__value {
  font-size: 0.9rem;
  color: var(--yso-text-light);
  font-weight: 500;
}

.yso-contact-aside__value[href] {
  color: var(--yso-crimson-dark);
}

.yso-contact-aside__value[href]:hover {
  text-decoration: underline;
}

.yso-contact-aside__address {
  font-size: 0.875rem;
  color: var(--yso-text-muted-light);
  line-height: 1.7;
  font-style: normal;
}

.yso-contact-aside__note-icon {
  font-size: 1.2rem;
  color: var(--yso-crimson-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

.yso-contact-aside--pilot-note p {
  font-size: 0.82rem;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

.yso-offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.yso-office-card__flag {
  width: 48px;
  height: 32px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.yso-office-card__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.yso-office-card__country {
  font-family: var(--yso-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yso-text-light);
  margin-bottom: 8px;
}

.yso-office-card__address {
  font-size: 0.875rem;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 10px;
}

.yso-office-card__type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yso-crimson-dark);
  background: rgba(189, 27, 94, 0.06);
  border: 1px solid rgba(189, 27, 94, 0.14);
  border-radius: 4px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* -- PLATFORM PAGE two-col feature sections -- */

.yso-platform-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.yso-platform-feature--flip {
  direction: rtl;
}

.yso-platform-feature--flip > * {
  direction: ltr;
}

.yso-platform-feature__body-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 24px;
}

.yso-platform-feature__list--light li,
.yso-platform-feature__list--light .yso-platform-feature__list-item {
  color: var(--yso-text-muted-light);
}

.yso-platform-feature__list--light .yso-platform-feature__list-item i {
  color: var(--yso-crimson-dark);
}

.yso-platform-feature__list--ordered {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
  list-style: none;
  counter-reset: ordered-list;
}

.yso-platform-feature__list--ordered > li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  counter-increment: ordered-list;
}

.yso-platform-feature__list--ordered > li::before {
  content: counter(ordered-list);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yso-crimson-dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ensure dark-section platform feature list items have light text */
.yso-section--dark .yso-platform-feature__list li,
.yso-section--dark-alt .yso-platform-feature__list li,
.yso-section--dark .yso-platform-feature__list .yso-platform-feature__list-item,
.yso-section--dark-alt .yso-platform-feature__list .yso-platform-feature__list-item {
  color: var(--yso-text-dark);
}

/* -- SCIENCE PAGE two-col sections -- */

.yso-mechanism {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.yso-mechanism__text {
  display: flex;
  flex-direction: column;
}

.yso-pk-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.yso-pk-section__text {
  display: flex;
  flex-direction: column;
}

/* -- PIPELINE PAGE -- */

.yso-pipeline-table-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--yso-text-muted-light);
}

.yso-pipeline-table__compound {
  font-family: var(--yso-font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yso-crimson-dark);
}

/* alias: HTML uses __body, CSS has __desc */
.yso-research-card__body {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

.yso-research-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.yso-research-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yso-crimson-dark);
  background: rgba(189, 27, 94, 0.06);
  border: 1px solid rgba(189, 27, 94, 0.14);
  border-radius: 3px;
  padding: 2px 7px;
}

/* -- FOR-CLINICS PAGE -- */

/* alias: HTML uses __body, CSS has __desc */
.yso-compliance-card__body {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.6;
}

/* alias: HTML uses __value, CSS has __num */
.yso-pilot-metric__value {
  font-family: var(--yso-font-heading);
  font-size: 2.75rem;
  color: var(--yso-crimson);
  line-height: 1;
  margin-bottom: 8px;
}

/* -- JOURNAL / BLOG PAGE -- */

/* Journal hero two-col inner */
.yso-subhero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  max-width: var(--yso-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.yso-journal-hero__text {
  min-width: 0;
}

.yso-journal-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  flex-shrink: 0;
}

.yso-journal-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.yso-journal-hero__stat-number {
  font-family: var(--yso-font-heading);
  font-size: 2rem;
  color: var(--yso-text-light);
  line-height: 1;
}

.yso-journal-hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yso-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Journal featured section wrapper */
.yso-journal-featured-section {
  background: var(--yso-bg-light-alt);
  padding: 64px 0;
}

/* Featured article card: HTML uses .yso-journal-featured as the <a> itself */
.yso-journal-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 24, 32, 0.09);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition: box-shadow var(--yso-transition), transform var(--yso-transition);
  text-decoration: none;
  margin-bottom: 0;
}

.yso-journal-featured:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.yso-journal-featured__date {
  font-size: 0.78rem;
  color: var(--yso-text-muted-light);
  margin-left: 8px;
}

.yso-journal-featured__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 24, 32, 0.08);
}

.yso-journal-featured__author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yso-text-light);
}

.yso-journal-featured__read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yso-crimson-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Filter bar */
.yso-journal-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.yso-journal-filter {
  background: transparent;
  border: 1.5px solid rgba(20, 24, 32, 0.16);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--yso-text-muted-light);
  cursor: pointer;
  transition: background var(--yso-transition), border-color var(--yso-transition), color var(--yso-transition);
  font-family: var(--yso-font-body);
}

.yso-journal-filter:hover {
  border-color: var(--yso-crimson-dark);
  color: var(--yso-crimson-dark);
}

.yso-journal-filter--active {
  background: var(--yso-crimson);
  border-color: var(--yso-crimson);
  color: #fff;
}

.yso-journal-filter--active:hover {
  background: var(--yso-crimson-dark);
  border-color: var(--yso-crimson-dark);
  color: #fff;
}

/* Article grid: HTML uses .yso-journal-grid / .yso-journal-card */
.yso-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.yso-journal-card {
  background: var(--yso-bg-white);
  border-radius: var(--yso-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 24, 32, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--yso-transition), transform var(--yso-transition);
  display: flex;
  flex-direction: column;
}

.yso-journal-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.yso-journal-card__cover-link {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

.yso-journal-card__cover {
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}

.yso-journal-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.yso-journal-card:hover .yso-journal-card__cover img {
  transform: scale(1.04);
}

.yso-journal-card__body {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yso-journal-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.yso-journal-card__date {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yso-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.yso-journal-card__title {
  font-family: var(--yso-font-heading);
  font-size: 1rem;
  color: var(--yso-text-light);
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
}

.yso-journal-card__title a {
  color: inherit;
  text-decoration: none;
}

.yso-journal-card__title a:hover {
  color: var(--yso-crimson-dark);
}

.yso-journal-card__excerpt {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--yso-text-muted-light);
  line-height: 1.55;
  margin-bottom: 14px;
}

.yso-journal-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 24, 32, 0.07);
}

.yso-journal-card__author {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--yso-text-muted-light);
}

/* Category tag pill */
.yso-journal-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yso-crimson-dark);
  background: rgba(189, 27, 94, 0.07);
  border: 1px solid rgba(189, 27, 94, 0.15);
  border-radius: 3px;
  padding: 2px 7px;
}

/* Empty state when no articles match filter */
.yso-journal-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--yso-text-muted-light);
  font-size: 0.9rem;
}

/* -- Responsive breakpoints for new components -- */

@media (max-width: 960px) {
  .yso-subhero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .yso-journal-hero__stats {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .yso-journal-grid { grid-template-columns: repeat(2, 1fr); }

  .yso-platform-feature,
  .yso-mechanism,
  .yso-pk-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .yso-platform-feature--flip {
    direction: ltr;
  }

  .yso-mission {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .yso-location {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .yso-about-hero__stats {
    gap: 24px;
  }

  .yso-journal-featured {
    grid-template-columns: 1fr;
  }

  .yso-offices-grid { grid-template-columns: 1fr 1fr; }
}

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

  .yso-team-grid { grid-template-columns: 1fr; }

  .yso-offices-grid { grid-template-columns: 1fr; }

  .yso-auth-card {
    padding: 36px 24px;
  }

  .yso-contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
