/* =============================================================
   DRAIG THERAPEUTICS — MAIN STYLESHEET (Figma-aligned)
   ============================================================= */

/* --- DESIGN TOKENS --- */
:root {
    --color-white:         #f2f5f7;
    --color-space-indigo:  #282753;
    --color-french-blue:   #43418b;
    --color-black:         #07070e;
    --color-dusty-grape:   #626280;
    --color-pale-slate:    #cbcbd6;
    --color-nav-bg:        rgba(40, 39, 83, 0.80);

    --font-family: 'Aptos', 'Inter', system-ui, sans-serif;

    --container-max:  1440px;
    --content-width:  1248px;
    --h-pad:          96px;
    --nav-height:     105px;
}

/* --- RESET / BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-black);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* --- LAYOUT HELPERS --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--h-pad);
}

/* --- EYEBROW --- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--color-space-indigo);
    letter-spacing: 0;
}
.eyebrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-french-blue);
    flex-shrink: 0;
}
.eyebrow--right {
    justify-content: flex-end;
}

/* --- SECTION HEADING SCALE --- */
.section-heading {
    font-size: 60px;
    font-weight: 300;
    line-height: 64px;
    letter-spacing: -2.4px;
    color: var(--color-space-indigo);
}
.section-heading em { font-style: italic; }

.section-heading--xl {
    font-size: 76px;
    line-height: 82px;
    letter-spacing: -3.04px;
}
.section-heading--lg {
    font-size: 52px;
    line-height: 58px;
    letter-spacing: -2.08px;
}

/* --- BODY COPY --- */
.section-body {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-black);
}

/* --- TEXT GROUP (eyebrow + heading + body stacked) --- */
.text-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.text-group--gap-lg {
    gap: 24px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 24px;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    border: 2px solid;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    align-self: flex-start;
}
.btn-icon {
    width: 17px;
    height: 15px;
    flex-shrink: 0;
    display: block;
}
.btn--outline-dark {
    border-color: var(--color-french-blue);
    color: var(--color-french-blue);
    background: transparent;
}
.btn--outline-dark:hover {
    background: var(--color-french-blue);
    color: var(--color-white);
}
.btn--outline-dark:hover .btn-icon {
    filter: brightness(0) saturate(100%) invert(98%) sepia(8%) saturate(263%) hue-rotate(174deg) brightness(101%) contrast(94%);
}
.btn--outline-light {
    border-color: var(--color-white);
    color: var(--color-white);
    background: transparent;
}
.btn--outline-light:hover {
    background: var(--color-white);
    color: var(--color-space-indigo);
}
.btn--outline-light:hover .btn-icon {
    filter: brightness(0) saturate(100%) invert(25%) sepia(20%) saturate(1918%) hue-rotate(205deg) brightness(88%) contrast(88%);
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 32px 65.5px 0;
    pointer-events: none;
}

.nav-bar {
    max-width: 1309px;
    margin: 0 auto;
    background: var(--color-nav-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    position: relative;
    pointer-events: all;
}

.nav-inner { display: contents; }

.nav-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo img {
    display: block;
    height: 74px;
    width: auto;
    max-width: min(200px, 32vw);
    object-fit: contain;
    flex: 0 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item { position: relative; }

.nav-link {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    white-space: nowrap;
    transition: color 0.2s, filter 0.2s, text-shadow 0.2s;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link:active,
.nav-link.is-active {
    color: var(--color-white);
    filter: brightness(1.12);
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link:active {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}
.nav-link.is-active {
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.nav-icon-img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
    filter: brightness(0) saturate(100%) invert(85%) sepia(5%) saturate(303%) hue-rotate(190deg) brightness(110%);
}
.nav-item--dropdown.is-open .nav-icon-img { transform: rotate(45deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--color-nav-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
}
.nav-item--dropdown.is-open .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown__link {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-white);
    opacity: 0.9;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.nav-dropdown__link:hover { opacity: 1; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   HERO SECTION
   ============================================================= */
.section-hero {
    position: relative;
    height: 900px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 38%,
        rgba(255, 255, 255, 0.16) 52%,
        rgba(255, 255, 255, 0.62) 68%,
        rgba(255, 255, 255, 0.94) 82%,
        #fff 92%
    );
}
.hero-bg__img,
.hero-bg__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 112px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-size: 76px;
    font-weight: 300;
    line-height: 82px;
    letter-spacing: -3.04px;
    color: var(--color-space-indigo);
}
.hero-title em { font-style: italic; }

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    color: var(--color-black);
    max-width: 760px;
}

/* =============================================================
   IMG + TEXT SECTION — The Draig Difference
   ============================================================= */
.section-imgtext {
    padding: 152px var(--h-pad);
}

.imgtext-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    gap: 100px;
    align-items: flex-end;
}

.imgtext-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 0 0 664px;
    max-width: 664px;
}

.imgtext-image { flex-shrink: 0; }
.imgtext-image img {
    width: 461px;
    height: 446px;
    object-fit: contain;
}


/* =============================================================
   PIPELINE SECTION — Pioneering New Treatments
   ============================================================= */
.section-pipeline {
    position: relative;
    overflow: visible;
    min-height: 852px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 var(--h-pad) 0 0;
}
.pipeline-bg-img {
    position: absolute;
    top: -120px;
    left: 0;
    height: calc(100% + 240px);
    width: auto;
    max-width: 60%;
    object-fit: contain;
    object-position: left center;
    pointer-events: none;
    z-index: 0;
}
.pipeline-bg-video {
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: var(--pipeline-mask-image);
    mask-image: var(--pipeline-mask-image);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.pipeline-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: flex-end;
    max-width: 748px;
}
.pipeline-text .btn { align-self: flex-end; }

.pipeline-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    width: 100%;
}
.pipeline-header .section-heading { text-align: right; }

.pipeline-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.pipeline-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}
.pipeline-row p {
    flex: 1;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-black);
    text-align: right;
}
.pipeline-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    display: block;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-french-blue);
}

/* =============================================================
   PATIENTS TEXT SECTION
   ============================================================= */
.section-patients {
    padding: 152px var(--h-pad) 40px;
}

.patients-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.patients-cols {
    display: flex;
    gap: 150px;
    align-items: flex-end;
}

.patients-col-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 548px;
    max-width: 548px;
}

.patients-col-right { flex: 1; }
.patients-col-right p {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-black);
}

/* =============================================================
   DIVIDER
   ============================================================= */
.section-divider {
    width: 100%;
    overflow: hidden;
    display: block;
    line-height: 0;
    position: relative;
    --divider-fade-color: var(--color-space-indigo);
    --divider-fade-height: clamp(140px, 16vw, 260px);
}
.section-divider.divider-fade::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: var(--divider-fade-height);
    background: linear-gradient(
        to bottom,
        rgba(40, 39, 83, 0) 0%,
        rgba(40, 39, 83, 0.18) 35%,
        var(--divider-fade-color) 100%
    );
    pointer-events: none;
    z-index: 2;
}
.divider-img,
.divider-video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}
.divider-video {
    object-fit: cover;
    aspect-ratio: var(--divider-aspect-ratio, auto);
    -webkit-mask-image: var(--divider-mask-image);
    mask-image: var(--divider-mask-image);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* =============================================================
   CTA SECTION
   ============================================================= */
.section-cta {
    background: var(--color-space-indigo);
    padding: 76px var(--h-pad);
    display: flex;
    justify-content: center;
}

.cta-inner {
    max-width: var(--content-width);
    width: 100%;
    border: 1px solid rgba(242, 245, 247, 0.25);
    border-radius: 32px;
    padding: 56px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
}

.cta-header-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 52px;
    font-weight: 300;
    line-height: 58px;
    letter-spacing: -2.08px;
    color: var(--color-white);
    white-space: normal;
}

.cta-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-white);
}

.cta-shape {
    position: absolute;
    bottom: -162px;
    right: -35px;
    width: 598px;
    height: 483px;
    pointer-events: none;
    display: block;
    opacity: 1;
}
.cta-inner .btn {
    position: relative;
    z-index: 1;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
    background: var(--color-space-indigo);
    color: var(--color-white);
    padding: 48px var(--h-pad) 24px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.footer-logo {
    display: flex;
    flex: 0 0 auto;
}

.footer-logo img {
    display: block;
    height: 74px;
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
}

.footer-body {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    align-items: flex-start;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 32px 64px;
    align-content: start;
    width: 831px;
}

.footer-col__heading {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-white);
    display: block;
    margin-bottom: 16px;
}
a.footer-col__heading:hover { opacity: 0.8; }

.footer-col__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col__links a {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-white);
    opacity: 0.85;
    transition: opacity 0.15s;
}
.footer-col__links a:hover { opacity: 1; }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 376px;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-contact__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}
    .footer-contact__link {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-contact__link {
        font-size: 18px;
        font-weight: 600;
        line-height: 26px;
        color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.15s;
}
.footer-contact__link--linkedin { text-decoration: underline; }
.footer-contact__link:hover { opacity: 0.8; }
.footer-contact__text {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-white);
}
.footer-contact__address {
    font-size: 18px;
    line-height: 26px;
    color: var(--color-white);
}
.footer-contact__address strong { font-weight: 600; display: block; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}
.footer-divider {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(242, 245, 247, 0.25);
}
.footer-legal {
    display: flex;
    gap: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-white);
    opacity: 0.85;
}
.footer-legal a:hover { opacity: 1; }

/* =============================================================
   INNER PAGE HERO (all non-homepage pages)
   ============================================================= */
.section-page-hero {
    height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px; /* shifts content slightly below true centre to match Figma */
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    max-width: 1321px;
    padding: 0 var(--h-pad);
    width: 100%;
}

.page-hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--color-white);
    letter-spacing: 0;
}
.page-hero-eyebrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2CDDDD;
    flex-shrink: 0;
}

.page-hero-title {
    font-size: 72px;
    font-weight: 300;
    line-height: 78px;
    letter-spacing: -2.88px;
    color: var(--color-white);
}
.page-hero-title em { font-style: italic; }

/* =============================================================
   PIPELINE PAGE — PROGRAMS (accordion list)
   ============================================================= */
.section-pl-programs {
    padding: 118px var(--h-pad);
}

.pl-programs-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pl-programs-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 64px;
}

/* ── Chart header — same grid as card header for perfect alignment ── */
.program-chart-header,
.program-card__header {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 124px;
    align-items: center;
    gap: 48px;
    padding-left: 48px;
    padding-right: 48px;
}

.program-chart-header {
    align-items: flex-end;
    padding-bottom: 0;
}

.program-card__header {
    padding-top: 56px;
    padding-bottom: 56px;
}

.program-chart-drug-ghost { display: block; }

.program-chart-stage-col {
    display: flex;
    align-items: flex-end;
    gap: 32px; /* matches program-stage__row gap */
    width: 608px;
    max-width: 100%;
    justify-self: start;
}

.program-chart-name-ghost {
    width: 91px;   /* matches program-stage__name width */
    flex-shrink: 0;
}

.program-chart-bar-labels {
    flex: 0 1 485.35px;
    width: 485.35px;
    max-width: 100%;
    position: relative;
    height: 44px;
}

.program-chart-stage {
    position: absolute;
    font-size: 24px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: -0.96px;
    color: var(--color-space-indigo);
    transform: translateX(-50%);
    white-space: nowrap;
    top: 0;
}
.program-chart-stage:nth-child(1) { left: 9.4%; }
.program-chart-stage:nth-child(2) { left: 39%; }
.program-chart-stage:nth-child(3) { left: 67%; }
.program-chart-stage:nth-child(4) { left: 92.4%; }

/* Solid vertical lines in chart header — pixel-positioned via JS to match dotted lines */
.program-chart-bar-labels::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -1px;
    background-image:
        linear-gradient(rgba(67,65,139,0.35), rgba(67,65,139,0.35)),
        linear-gradient(rgba(67,65,139,0.35), rgba(67,65,139,0.35)),
        linear-gradient(rgba(67,65,139,0.35), rgba(67,65,139,0.35));
    background-size: 1px 100%, 1px 100%, 1px 100%;
    background-position:
        var(--sep-pos-1, calc(var(--bar-labels-w, 485.35px) * 0.239)) 0,
        var(--sep-pos-2, calc(var(--bar-labels-w, 485.35px) * 0.529)) 0,
        var(--sep-pos-3, calc(var(--bar-labels-w, 485.35px) * 0.796)) 0;
    background-repeat: no-repeat;
    pointer-events: none;
}

.program-chart-btn-ghost {
    display: block;
    width: 124px;
}

/* ── Cards ────────────────────────────────────────────────── */
.program-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    --program-chart-line-start: calc(48px + 300px + 48px + 91px + 32px);
    --program-chart-bar-width: 485.35px;
}

.program-cards::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image:
        repeating-linear-gradient(to bottom, rgba(67,65,139,0.28) 0px, rgba(67,65,139,0.28) 10px, transparent 10px, transparent 18px),
        repeating-linear-gradient(to bottom, rgba(67,65,139,0.28) 0px, rgba(67,65,139,0.28) 10px, transparent 10px, transparent 18px),
        repeating-linear-gradient(to bottom, rgba(67,65,139,0.28) 0px, rgba(67,65,139,0.28) 10px, transparent 10px, transparent 18px);
    background-size: 1px 100%, 1px 100%, 1px 100%;
    background-position:
        var(--dot-pos-1, calc(var(--program-chart-line-start) + var(--program-chart-bar-width) * 0.239)) 0,
        var(--dot-pos-2, calc(var(--program-chart-line-start) + var(--program-chart-bar-width) * 0.529)) 0,
        var(--dot-pos-3, calc(var(--program-chart-line-start) + var(--program-chart-bar-width) * 0.796)) 0;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

.program-card {
    border: 1px solid rgba(67, 65, 139, 0.24);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.program-drug-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.program-drug-name {
    font-size: 56px;
    font-weight: 300;
    line-height: 60px;
    letter-spacing: -2.24px;
    color: var(--color-space-indigo);
    white-space: nowrap;
}

.program-indication {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-black);
    max-width: 300px;
}

.program-stage {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 608px;
    max-width: 100%;
    justify-self: start;
}

.program-stage__label {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-space-indigo);
}

.program-stage__mini-labels {
    display: none;
}

.program-stage__row {
    display: flex;
    gap: 32px;
    align-items: center;
}

.program-stage__name {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-black);
    width: 91px;
    flex-shrink: 0;
}

.program-stage__bar {
    flex: 0 1 485.35px;
    width: 485.35px;
    max-width: 100%;
    height: 16px;
    border-radius: 16px;
    background: rgba(203, 203, 214, 0.16);
    position: relative;
}

/* Dotted vertical stage-separator lines running full card height */
.program-stage__bar::after {
    display: none;
}

.program-stage__fill {
    height: 100%;
    border-radius: 16px;
    width: 0;
    transition: width 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.program-card__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    justify-content: flex-end;
    min-width: 124px;
}

.program-card__toggle {
    flex-shrink: 0;
}

.program-card__actions .btn-icon {
    transform: rotate(90deg);
    transition: transform 0.25s ease;
}
.program-card.is-open .program-card__actions .btn-icon { transform: rotate(-90deg); }

.program-card__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding-bottom 0.35s ease, border-top-width 0.35s ease;
    padding: 0 48px;
    border-top: 0px solid rgba(67, 65, 139, 0.12);
}
.program-card.is-open .program-card__body {
    max-height: 800px;
    padding-bottom: 56px;
    border-top-width: 1px;
}

.program-card__body-inner {
    font-size: 16px;
    line-height: 28px;
    color: var(--color-black);
    padding-top: 40px;
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-left: 0;
}
.program-card__body-inner p       { margin-bottom: 1em; }
.program-card__body-inner strong  { color: var(--color-space-indigo); font-weight: 600; }

/* small button variant */
.btn--sm {
    padding: 12px 28px;
    font-size: 18px;
    line-height: 26px;
}

/* =============================================================
   PIPELINE PAGE — CLINICAL TRIAL CARD
   ============================================================= */
.section-pl-trial {
    padding: 0 var(--h-pad) 72px;
}

.pl-trial-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.pl-trial-card {
    border-radius: 16px;
    padding: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.pl-trial-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.pl-trial-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.pl-trial-line {
    flex: 1;
    height: 1px;
    background-color: rgba(67, 65, 139, 0.24);
}

.pl-trial-title__primary {
    font-size: 68px;
    font-weight: 300;
    line-height: 72px;
    letter-spacing: 0;
    color: var(--color-space-indigo);
    white-space: nowrap;
    flex-shrink: 0;
}

.pl-trial-title__secondary {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: var(--color-space-indigo);
    opacity: 0.7;
}

.pl-trial-body {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-black);
    max-width: 100%;
}
.pl-trial-body p      { margin-bottom: 1em; }
.pl-trial-body strong { color: var(--color-space-indigo); font-weight: 600; }

/* trial-card--full variant — PipelineCard Figma design (left-aligned, no decorative lines) */
.trial-card--full .pl-trial-line { display: none; }
.trial-card--full .pl-trial-title-row { justify-content: flex-start; }
.trial-card--full .pl-trial-card {
    align-items: flex-start;
    border: 1px solid rgba(67, 65, 139, 0.24);
    text-align: left;
    gap: 64px;
}
.trial-card--full .pl-trial-title {
    align-items: flex-start;
    gap: 0;
}
.trial-card--full .pl-trial-title__primary {
    font-size: 56px;
    line-height: 60px;
    letter-spacing: 0;
    white-space: normal;
}
.trial-card--full .pl-trial-title__secondary {
    font-size: 40px;
    line-height: 44px;
    font-weight: 300;
    letter-spacing: 0;
    opacity: 1;
    color: var(--color-space-indigo);
}
.trial-card--full .pl-trial-body { text-align: left; max-width: 100%; }
.trial-card--full .btn { align-self: flex-start; }

/* =============================================================
   IMG + TEXT — REVERSED (image left, text right)
   ============================================================= */
.imgtext-inner--reverse {
    flex-direction: row-reverse;
}

/* =============================================================
   OUR APPROACH — FEATURE TEXT (centred intro paragraph)
   ============================================================= */
.section-feature-text {
    position: relative;
    overflow: hidden;
    padding: 184px var(--h-pad);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-text-blob {
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transform: rotate(180deg) scaleY(-1);
}
.feature-text-blob--right {
    width: 507px;
    height: 490px;
    right: -149px;
    top: -245px;
    background-image: url('../images/feature-vector-right.svg');
}
.feature-text-blob--left {
    width: 615px;
    height: 596px;
    left: -181px;
    top: 133px;
    background-image: url('../images/feature-vector-left.svg');
}

.feature-text__body {
    position: relative;
    z-index: 1;
    font-size: 36px;
    font-weight: 300;
    line-height: 56px;
    letter-spacing: -1.6px;
    text-align: center;
    color: rgba(40, 39, 83, 0.5);
    max-width: 1038px;
}
.feature-text__body strong {
    color: var(--color-space-indigo);
    font-weight: 300;
}
.feature-text-word {
    color: rgba(40, 39, 83, 0.5);
    transition: color 0.55s ease;
}
.section-feature-text.is-animated .feature-text-word,
.section-feature-text.is-animated .feature-text__body strong .feature-text-word {
    color: var(--color-space-indigo);
}

/* =============================================================
   OUR APPROACH — TEXT + BULLET LIST (The Need section)
   ============================================================= */
.section-text-bullets {
    position: relative;
    overflow: visible;
    min-height: 852px;
    padding: 0 var(--h-pad);
    display: flex;
    align-items: center;
    background: transparent;
}

.text-bullets-trees {
    position: absolute;
    top: -130px;
    right: -80px;
    width: 1320px;
    height: calc(100% + 260px);
    background-image: var(--tb-bg, url('/wp-content/uploads/2026/05/Mask-group-1.png'));
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    pointer-events: none;
    opacity: 1;
    overflow: hidden;
    -webkit-mask-image: var(--text-bullets-mask-image);
    mask-image: var(--text-bullets-mask-image);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.text-bullets-trees.has-video,
.text-bullets-trees:has(.text-bullets-video) {
    background-image: none !important;
}

.text-bullets-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* About page — Our History video shifted right so right edge is clipped */
body.page-id-248 .section-text-bullets {
    overflow-x: clip;
}
body.page-id-248 .section-text-bullets .text-bullets-trees {
    right: -320px;
}

.text-bullets-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.text-bullets-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.text-bullets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.text-bullets-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.text-bullets-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-french-blue);
    flex-shrink: 0;
    margin-top: 10px;
}

.text-bullets-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-black);
}

.text-bullets-term {
    font-weight: 700;
    color: var(--color-space-indigo);
}

/* =============================================================
   OUR APPROACH — SCIENCE CARDS
   (centred statement + two bordered cards + graphic)
   ============================================================= */
.section-science-cards {
    padding: 0 var(--h-pad) 152px;
}

.science-cards-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1201px) {
    .approach-science-solution .imgtext-inner,
    .approach-science-cards .science-cards-inner {
        max-width: min(1248px, calc(100vw - (var(--h-pad) * 2)));
    }

    .approach-science-solution {
        padding: 152px var(--h-pad);
    }

    .approach-science-solution .imgtext-inner {
        align-items: center;
    }

    .approach-science-solution .imgtext-text {
        flex-basis: 687px;
        max-width: 687px;
    }

    .approach-science-solution .section-body {
        max-width: 664px;
    }
}

.science-centered-text {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 0 32px;
}

.science-centered-text__body {
    font-size: 48px;
    font-weight: 300;
    line-height: 52px;
    letter-spacing: -1.92px;
    color: var(--color-space-indigo);
    text-align: center;
    max-width: 1144px;
}

.science-cards-group {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.science-two-col {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.science-card {
    flex: 1;
    border: 1px solid rgba(67, 65, 139, 0.24);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 374px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.science-card::before,
.science-card::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transform: rotate(180deg) scaleY(-1);
}
.science-card:first-child::before {
    width: 393px;
    height: 380px;
    left: -79px;
    top: 52px;
    background-image: url('../images/science-card-1-left.svg');
}
.science-card:first-child::after {
    width: 225px;
    height: 218px;
    right: 45px;
    top: -152px;
    background-image: url('../images/science-card-1-top.svg');
}
.science-card:last-child::before {
    width: 419px;
    height: 404px;
    right: 2px;
    bottom: 34px;
    background-image: url('../images/science-card-2-right.svg');
}
.science-card:last-child::after {
    width: 185px;
    height: 178px;
    left: -94px;
    top: 31px;
    background-image: url('../images/science-card-2-left.svg');
}

.science-card__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 32px 16px;
    font-size: 20px;
    line-height: 28px;
    color: var(--color-black);
    text-align: center;
}
.science-card__content p      { margin-bottom: 28px; }
.science-card__content p:last-child { margin-bottom: 0; }
.science-card__content strong { color: var(--color-french-blue); font-weight: 700; }

.science-graphic {
    width: 100%;
    border: 1px solid rgba(67, 65, 139, 0.24);
    border-radius: 16px;
    padding: 80px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.science-graphic__x-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--color-black);
    width: 148px;
    flex-shrink: 0;
}

.science-graphic__center {
    flex: 0 1 806px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    min-width: 0;
}

.science-graphic__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-space-indigo);
    text-align: center;
}

.science-graphic__img {
    width: 100%;
    height: auto;
    display: block;
}

.science-graphic__caption {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--color-black);
    text-align: center;
}

.science-graphic__y-axis {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    width: 98px;
    flex-shrink: 0;
    align-self: stretch;
}

.science-graphic__y-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}

.science-graphic__y-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-black);
}

.science-graphic__y-sub {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--color-black);
}

.science-graphic__y-line {
    flex: 1;
    width: 2px;
    background: var(--color-space-indigo);
    border-radius: 1px;
    position: relative;
    min-height: 40px;
}
.science-graphic__y-line::before,
.science-graphic__y-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.science-graphic__y-line::before {
    top: -7px;
    border-bottom: 8px solid var(--color-space-indigo);
}
.science-graphic__y-line::after {
    bottom: -7px;
    border-top: 8px solid var(--color-space-indigo);
}

/* =============================================================
   PATIENTS PAGE
   ============================================================= */
body.page-id-90,
body.page-id-90 .site-main {
    background:
        linear-gradient(180deg, rgba(241, 241, 248, 0.16) 9.9915%, rgba(153, 151, 170, 0.16) 80.774%),
        #fff;
}

body.page-id-90 .site-main > section:not(.section-page-hero):not(.patients-commitment):not(.section-cta) {
    background: transparent !important;
}

.patients-hero .page-hero-bg {
    background-size: 104% auto !important;
    background-position: center 14% !important;
}

.patients-hero .page-hero-title {
    font-size: 68px;
    line-height: 74px;
    white-space: nowrap;
}

.our-approach-hero .page-hero-bg {
    background-size: 100% 100%, 100% 100%, 100% 100% !important;
    background-position: center, center, center !important;
}

.patients-feature-text {
    min-height: 592px;
    padding-top: 156px;
    padding-bottom: 156px;
    overflow: visible;
    z-index: 3;
}

.patients-feature-text .feature-text-blob {
    z-index: 2;
}

.patients-feature-text .feature-text-blob--left {
    left: -170px;
    top: 210px;
    width: 680px;
    height: 660px;
}

.patients-mdd-section {
    padding: 0 var(--h-pad) 152px;
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.patients-mdd-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
}

.patients-mdd-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.patients-mdd-copy .section-heading {
    max-width: 1248px;
}

.patients-mdd-body {
    max-width: 824px;
}

.patients-mdd-body p { margin-bottom: 28px; }
.patients-mdd-body p:last-child { margin-bottom: 0; }

.patients-mdd-graphic {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}
.patients-mdd-graphic picture {
    display: block;
    width: 100%;
}
.patients-mdd-graphic img {
    width: 100%;
    height: auto;
    display: block;
}

.patients-living-mdd,
.patients-research {
    min-height: 852px;
    overflow: visible;
}

.patients-living-mdd {
    padding-left: var(--h-pad);
    justify-content: flex-start;
    margin-top: -64px;
    margin-bottom: 0;
    background: transparent;
    z-index: 1;
    overflow: visible;
}

.patients-living-mdd::after {
    content: none;
}

.patients-living-mdd .text-bullets-trees {
    top: -100px;
    left: auto;
    right: 0;
    width: min(100vw, 1440px);
    max-width: none;
    height: calc(100% + 200px);
    background-size: contain;
    background-position: center right;
    z-index: 0;
}

.patients-living-mdd .text-bullets-inner {
    max-width: 746px;
    padding: 0;
}

.patients-living-mdd .section-heading,
.patients-research .section-heading {
    max-width: 746px;
}

.patients-living-mdd .text-bullets-body {
    max-width: 746px;
}
.patients-research .text-bullets-body {
    max-width: 900px;
}

.patients-living-mdd .text-bullets-item {
    align-items: center;
}

.patients-living-mdd .text-bullets-dot {
    margin-top: 0;
}

.patients-need-treatments {
    padding-top: 152px;
    padding-bottom: 152px;
    background: transparent;
    overflow: visible;
    margin-top: -1px;
}

.patients-need-treatments .imgtext-inner {
    align-items: center;
}

.patients-need-treatments .imgtext-image img,
.patients-pipeline-section .imgtext-image img {
    width: 461px;
    height: 446px;
}

.patients-need-treatments .imgtext-text {
    flex-basis: 687px;
    max-width: 687px;
}

.patients-need-treatments .section-body,
.patients-pipeline-section .section-body {
    max-width: 664px;
}

.patients-research {
    padding-right: var(--h-pad);
    justify-content: flex-end;
    background: transparent;
    margin-top: -1px;
    margin-bottom: -1px;
    z-index: 1;
}

.patients-research .text-bullets-trees {
    left: 0;
    right: auto;
    width: 1383px;
    height: calc(100% + 300px);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
}

.patients-research .text-bullets-trees.has-video,
.patients-research .text-bullets-trees:has(.text-bullets-video) {
    -webkit-mask-image: var(--text-bullets-mask-image);
    mask-image: var(--text-bullets-mask-image);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: left center;
    mask-position: left center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.patients-research .text-bullets-inner {
    max-width: 900px;
    padding: 0;
    align-items: flex-end;
    text-align: right;
}

.patients-research .text-bullets-item {
    flex-direction: row-reverse;
    align-items: center;
}

.patients-research .text-bullets-dot { margin-top: 0; }
.patients-research .text-bullets-body,
.patients-research .text-bullets-list { width: 100%; }

.patients-research .btn {
    align-self: flex-end;
}

.patients-pipeline-section {
    padding-top: 152px;
    padding-bottom: 88px;
    background: transparent;
    overflow: visible;
    margin-top: -1px;
}

.patients-pipeline-section .imgtext-inner {
    align-items: center;
}

.patients-pipeline-section .imgtext-text {
    flex-basis: 687px;
    max-width: 687px;
}

.patients-pipeline-section .btn {
    max-width: 100%;
    white-space: normal;
}

.patients-clinical-trials {
    padding: 152px var(--h-pad) 80px;
    background: transparent;
    overflow: visible;
    margin-top: -1px;
}

.split-text-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    gap: 150px;
    align-items: center;
}

.split-text-inner .section-heading {
    flex: 0 0 548px;
}

.split-text-body {
    width: 541px;
    max-width: 100%;
}

.split-text-body p { margin-bottom: 28px; }
.split-text-body p:last-child { margin-bottom: 0; }

.patients-divider {
    background: transparent;
    overflow: visible;
    margin-top: -1px;
    margin-bottom: -1px;
}

.patients-divider .divider-img,
.patients-divider .divider-video {
    width: 115.45%;
    max-width: none;
    margin-left: -7.73%;
}

.patients-commitment {
    background: var(--color-space-indigo);
    color: var(--color-white);
    padding: 0 var(--h-pad) 80px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.patients-commitment::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--color-space-indigo);
    pointer-events: none;
}

/* =============================================================
   CAREERS PAGE
   ============================================================= */
.careers-hero .page-hero-bg {
    background-size: cover !important;
    background-position: center !important;
}


.careers-intro {
    min-height: 592px;
    padding-top: 156px;
    padding-bottom: 156px;
    overflow: visible;
    z-index: 3;
}

.careers-intro .feature-text-blob {
    z-index: 2;
}

.careers-intro .feature-text-blob--left {
    left: -170px;
    top: 210px;
    width: 680px;
    height: 660px;
}

.section-careers-values {
    padding: 80px var(--h-pad);
}

.careers-values-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.careers-values-title {
    font-size: 56px;
    line-height: 60px;
    letter-spacing: -2.24px;
    text-align: center;
}

.careers-values-grid {
    display: grid;
    grid-template-columns: 1fr 272px 1fr;
    gap: 64px;
    align-items: stretch;
    width: 100%;
}

.careers-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

.careers-col--center {
    position: relative;
    align-items: center;
    justify-content: center;
}

.careers-center-circle {
    position: absolute;
    width: 342px;
    height: 342px;
    border-radius: 50%;
    border: 1px solid rgba(67, 65, 139, 0.24);
    background: rgba(255, 255, 255, 0.28);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.careers-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    flex: 1;
}

.careers-value-card--center {
    position: relative;
    z-index: 1;
    justify-content: center;
    flex: unset;
    align-self: stretch;
}

.careers-value-icon {
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(67, 65, 139, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-french-blue);
}

.careers-value-icon img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex-shrink: 0;
}

.careers-value-icon svg {
    width: 32px;
    height: 32px;
}

.careers-value-copy h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-space-indigo);
    margin: 0;
}

.careers-value-copy p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
    margin: 0;
}

.careers-divider {
    background: transparent;
    margin-bottom: 0;
    overflow: visible;
}

.careers-divider .divider-img,
.careers-divider .divider-video {
    width: 100%;
    max-width: none;
}

body.page-id-102 {
    background:
        linear-gradient(180deg, rgba(241, 241, 248, 0.16) 9.9915%, rgba(153, 151, 170, 0.16) 57.135%),
        #fff;
}

body.page-id-8 .section-cta {
    margin-top: -2px;
}

body.page-id-102 .section-cta {
    margin-top: -2px;
    padding-top: 76px;
    padding-bottom: 76px;
    background: var(--color-space-indigo);
}

body.page-id-102 .cta-header-body {
    max-width: 820px;
}

body.page-id-102 .cta-title {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -1.92px;
    white-space: normal;
    text-wrap: balance;
}

body.page-id-102 .cta-inner {
    min-height: 300px;
}

body.page-id-102 .cta-subtitle {
    max-width: 600px;
}

body.page-id-102 .cta-shape {
    right: -36px;
    bottom: -178px;
    width: 600px;
    height: 485px;
    opacity: 0.65;
}

body.page-id-48 .section-pipeline .pipeline-dot {
    display: none;
}

body.page-id-48 .section-pipeline .pipeline-row {
    justify-content: flex-end;
}

body.page-id-48 .section-pipeline .pipeline-row p {
    text-align: right;
}

body.page-id-48 .section-pipeline .section-body strong,
body.page-id-48 .section-pipeline .pipeline-row strong,
.patients-need-treatments .section-body strong {
    color: var(--color-space-indigo);
    font-weight: 700;
}

body.page-id-48 .section-pipeline {
    padding-bottom: 96px;
}

body.page-id-48 .section-pipeline .pipeline-text {
    max-width: 880px;
}

body.page-id-48 .section-pipeline .section-heading {
    font-size: 56px;
    line-height: 60px;
}

@media (min-width: 1201px) {
    .section-text-bullets .section-heading {
        white-space: nowrap;
    }

    .cta-title {
        white-space: nowrap;
    }
}

.quote-cards-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.quote-cards-heading {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.quote-cards-heading .section-heading,
.quote-cards-heading .section-body {
    color: var(--color-white);
}

.quote-cards-heading .section-body {
    max-width: 774px;
}

.quote-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.quote-card {
    min-height: 288px;
    border: 1px solid rgba(67, 65, 139, 0.24);
    border-radius: 16px;
    padding: 64px 16px;
    background: rgba(242, 245, 247, 0.04);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

.quote-card::before,
.quote-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    opacity: 0.55;
    transform: rotate(180deg) scaleY(-1);
}

.quote-card:first-child::before {
    width: 393px;
    height: 380px;
    right: -100px;
    top: 53px;
    background-image: url('../images/science-card-1-left.svg');
}

.quote-card:first-child::after {
    width: 225px;
    height: 218px;
    right: -83px;
    top: -151px;
    background-image: url('../images/science-card-1-top.svg');
}

.quote-card:last-child::before {
    width: 393px;
    height: 380px;
    right: -387px;
    top: 73px;
    background-image: url('../images/science-card-1-left.svg');
}

.quote-card:last-child::after {
    width: 225px;
    height: 218px;
    left: 255px;
    top: -29px;
    background-image: url('../images/science-card-1-top.svg');
}

.quote-card__quote,
.quote-card__author {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.quote-card__quote {
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -1.28px;
}

.quote-card__author {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

/* =============================================================
   GENERIC PAGE TEMPLATE
   ============================================================= */
.site-main--page {
    padding-top: calc(var(--nav-height) + 32px + 32px);
    padding-bottom: 80px;
    min-height: 60vh;
}
.site-main--page .container { max-width: 900px; }

.entry-title {
    font-size: 68px;
    font-weight: 300;
    line-height: 72px;
    letter-spacing: 0;
    color: var(--color-space-indigo);
    margin-bottom: 32px;
}
.entry-content { font-size: 20px; line-height: 28px; }
.entry-content p   { margin-bottom: 1.5em; }
.entry-content h2  { font-size: 48px; font-weight: 300; margin: 2em 0 0.75em; color: var(--color-space-indigo); }
.entry-content h3  { font-size: 32px; font-weight: 300; margin: 1.5em 0 0.5em; }
.entry-content ul,
.entry-content ol  { margin: 1em 0 1.5em 1.5em; }
.entry-content li  { margin-bottom: 0.5em; }
.entry-content a   { color: var(--color-french-blue); text-decoration: underline; }

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* Hamburger nav triggers at 1280px to prevent link overflow */
@media (max-width: 1280px) {
    .site-header { padding: 20px 32px 0; }
    .nav-bar { padding: 14px 24px; height: auto; min-height: 88px; border-radius: 18px; }
    .nav-toggle { display: flex; }
    .nav-logo img { height: 60px; max-width: min(170px, 48vw); }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--color-nav-bg);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px;
    }
    .nav-links.is-open { display: flex; }
    .nav-link {
        font-size: 18px;
        padding: 12px 8px;
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid rgba(242, 245, 247, 0.1);
    }
    .nav-item { width: 100%; }
    .nav-dropdown {
        position: static;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 12px 16px;
        gap: 10px;
        backdrop-filter: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
    }
    .nav-item--dropdown.is-open .nav-dropdown { display: flex; }
}

@media (max-width: 1200px) {
    :root { --h-pad: 48px; }

    .hero-title { font-size: 64px; line-height: 70px; letter-spacing: -2.56px; }
    .page-hero-title { font-size: 64px; line-height: 70px; letter-spacing: -2.56px; }
    .section-heading { font-size: 52px; line-height: 58px; letter-spacing: -2.08px; }
    .imgtext-inner { gap: 64px; }
    .imgtext-text { flex: 0 0 auto; max-width: 560px; }
    .imgtext-image img { width: 360px; height: 348px; }
    .pipeline-text { max-width: 580px; }
    .patients-cols { gap: 80px; }
    .patients-col-left { flex: 0 0 440px; max-width: 440px; }

    /* Pipeline page */
    .page-hero-title { font-size: 64px; line-height: 70px; }
    .program-drug-name { font-size: 44px; line-height: 50px; }
    .program-chart-header {
        gap: 32px;
        padding-left: 36px;
        padding-right: 36px;
    }
    .program-cards {
        --program-chart-line-start: calc(36px + 300px + 32px + 91px + 32px);
    }
    .program-card__header { gap: 32px; padding: 40px 36px; }
    .pl-trial-title__primary { font-size: 52px; line-height: 58px; }
    .pl-trial-title__secondary { font-size: 20px; line-height: 28px; }

    /* Our Approach */
    .feature-text__body { font-size: 32px; line-height: 44px; }
    .science-centered-text__body { font-size: 40px; line-height: 46px; }
    .science-graphic { padding: 48px; }

    /* Patients page */
    .patients-living-mdd .text-bullets-trees {
        width: 100vw;
    }
    .patients-research .text-bullets-trees {
        width: 980px;
    }
    .split-text-inner { gap: 80px; }
    .split-text-inner .section-heading { flex-basis: 440px; }

    /* Careers */
    .careers-values-grid {
        grid-template-columns: 1fr 220px 1fr;
        gap: 40px;
    }
    .careers-center-circle {
        width: 260px;
        height: 260px;
    }

    /* About page hero — keep "Transformative Results" on one line */
    body.page-id-248 .page-hero-title { max-width: 760px; }

    /* Patients hero — scale font at this size */
    .patients-hero .page-hero-title { font-size: 56px; line-height: 62px; }
}

@media (max-width: 1024px) {
    :root { --h-pad: 40px; }

    .site-main,
    .site-footer,
    .section-feature-text,
    .section-text-bullets,
    .section-pipeline,
    .section-imgtext,
    .section-science-cards,
    .section-divider,
    .section-patients,
    .patients-feature-text,
    .patients-mdd-section,
    .patients-living-mdd,
    .patients-research,
    .patients-need-treatments,
    .patients-pipeline-section,
    .patients-clinical-trials,
    .patients-commitment,
    .patients-divider,
    .careers-intro,
    .section-careers-values,
    .section-cta,
    .quote-card,
    .section-team-grid,
    .section-research-news,
    .section-investors {
        overflow-x: clip;
    }

    .page-hero-title { font-size: 52px; line-height: 58px; letter-spacing: -2.08px; }
    .section-heading { font-size: 44px; line-height: 50px; letter-spacing: -1.76px; }

    /* Tablet nav uses the compact menu before desktop links start clipping. */
    .site-header { padding: 20px 32px 0; }
    .nav-bar {
        padding: 14px 24px;
        height: auto;
        min-height: 88px;
        border-radius: 18px;
    }
    .nav-toggle { display: flex; }
    .nav-logo img {
        height: 60px;
        max-width: min(170px, 48vw);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--color-nav-bg);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px;
    }
    .nav-links.is-open { display: flex; }
    .nav-link {
        font-size: 18px;
        padding: 12px 8px;
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid rgba(242, 245, 247, 0.1);
    }
    .nav-item { width: 100%; }
    .nav-dropdown {
        position: static;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 12px 16px;
        gap: 10px;
        backdrop-filter: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
    }
    .nav-item--dropdown.is-open .nav-dropdown { display: flex; }

    /* Imgtext stack — visual on top, text below */
    .section-imgtext { padding: 100px var(--h-pad); }
    .imgtext-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
    .imgtext-text { flex: 1 1 auto; max-width: 100%; }
    .imgtext-image {
        order: -1;
        width: 100%;
        max-width: 100%;
        display: block;
    }
    .imgtext-image img { width: 100%; height: auto; display: block; }
    /* MDD graphic: image above copy on mobile */
    .patients-mdd-graphic { order: -1; }

    /* Pipeline stack */
    .section-pipeline { min-height: auto; padding: 80px var(--h-pad); align-items: flex-start; }
    .pipeline-text { align-items: flex-start; max-width: 100%; }
    .pipeline-header { align-items: flex-start; }
    .pipeline-header .section-heading { text-align: left; }
    .eyebrow--right { justify-content: flex-start; }
    .pipeline-row { justify-content: flex-start; }
    .pipeline-row p { text-align: left; }
    .pipeline-dot { order: -1; }
    .pipeline-bg-img {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        opacity: 1;
        object-fit: contain;
        object-position: center;
    }
    .pipeline-bg-video {
        aspect-ratio: 4 / 3;
        object-fit: contain;
        -webkit-mask-image: var(--pipeline-mask-mobile, var(--pipeline-mask-image));
        mask-image: var(--pipeline-mask-mobile, var(--pipeline-mask-image));
    }
    .section-pipeline { padding-top: 0; }

    /* Pipeline page — constrain body text width on smaller screens */
    body.page-id-48 .section-pipeline .pipeline-text { max-width: 640px; }
    body.page-id-48 .section-pipeline .section-body { max-width: 580px; }

    /* Patients */
    .section-patients { padding: 100px var(--h-pad) 40px; }
    .patients-cols { flex-direction: column; gap: 32px; align-items: flex-start; }
    .patients-col-left { flex: 1 1 auto; max-width: 100%; }

    /* Team grid / investors */
    .team-grid-heading { font-size: 44px; line-height: 50px; letter-spacing: -1.76px; }
    .investors-heading { font-size: 44px; line-height: 50px; letter-spacing: -1.76px; }

    /* CTA */
    .cta-title { font-size: 44px; line-height: 52px; }
    .cta-shape { width: 400px; height: 323px; right: -20px; bottom: -100px; }

    /* Footer */
    .footer-body { flex-direction: column; }
    .footer-nav { width: 100%; grid-template-columns: repeat(3, auto); }
    .footer-contact { width: 100%; }

    /* Pipeline page */
    .section-page-hero { height: 440px; }
    .page-hero-title { font-size: 52px; line-height: 58px; }
    .program-chart-header { display: none; }
    .program-card__header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 24px;
        padding: 36px 32px;
    }
    .program-drug-info,
    .program-stage {
        grid-column: 1 / -1;
    }
    .program-stage { max-width: 100%; }
    .program-stage__bar {
        flex: 1 0 0;
        width: auto;
        min-width: 1px;
    }
    .program-cards::before { display: none; }
    .program-stage__bar::after { display: none; }
    .program-card__actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        margin-left: 0;
    }
    .section-pl-programs { padding: 100px var(--h-pad); }
    .section-pl-trial { padding: 0 var(--h-pad) 100px; }
    .pl-trial-card { padding: 48px 40px; gap: 32px; }
    .pl-trial-title__primary { font-size: 44px; line-height: 50px; }
    .pl-trial-title__secondary { font-size: 18px; line-height: 26px; }

    /* Our Approach */
    .section-feature-text { padding: 120px var(--h-pad); }
    .feature-text__body { font-size: 28px; line-height: 40px; }
    .section-text-bullets {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
        padding: 80px var(--h-pad);
    }
    .text-bullets-inner {
        max-width: 100%;
        padding: 0;
    }
    /* Backgrounds: show above text on mobile, not cropped */
    .text-bullets-trees[style],
    .patients-research .text-bullets-trees {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        min-height: 260px;
        background-image: var(--tb-mobile-bg, var(--tb-bg));
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 1;
        -webkit-mask-image: var(--tb-mobile-mask, none);
        mask-image: var(--tb-mobile-mask, none);
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    .text-bullets-trees.has-video,
    .text-bullets-trees:has(.text-bullets-video) {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        -webkit-mask-image: var(--tb-mobile-mask, var(--text-bullets-mask-image));
        mask-image: var(--tb-mobile-mask, var(--text-bullets-mask-image));
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    .text-bullets-video {
        width: 100%;
        height: 100%;
    }
    .science-two-col { flex-direction: column; }
    .science-card { min-height: auto; }
    .science-centered-text__body { font-size: 36px; line-height: 42px; }
    .science-graphic { flex-wrap: wrap; padding: 40px; }
    .science-graphic__x-label { width: 100%; text-align: center; }
    .science-graphic__y-axis { display: none; }
    .section-science-cards { padding: 0 var(--h-pad) 100px; }

    /* Patients page */
    .patients-feature-text { min-height: auto; }
    .patients-mdd-section { padding-bottom: 100px; }
    .patients-hero .page-hero-title {
        white-space: normal;
        max-width: 900px;
    }

    .patients-mdd-section { padding-bottom: 0; }

    .patients-living-mdd .text-bullets-trees {
        min-height: 460px;
        background-image: var(--tb-mobile-bg, var(--tb-bg)) !important;
        background-size: cover;
        background-position: center top;
    }

    .patients-research .text-bullets-trees {
        background-image: var(--tb-mobile-bg, var(--tb-bg)) !important;
        min-height: 350px;
    }

    .patients-research .text-bullets-trees.has-video,
    .patients-research .text-bullets-trees:has(.text-bullets-video) {
        background-image: none !important;
        -webkit-mask-image: var(--tb-mobile-mask, var(--text-bullets-mask-image));
        mask-image: var(--tb-mobile-mask, var(--text-bullets-mask-image));
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }

    .patients-living-mdd,
    .patients-research {
        min-height: auto;
        padding: 100px var(--h-pad);
        justify-content: flex-start;
        margin-top: 0;
        margin-bottom: 0;
    }
    .patients-living-mdd .text-bullets-inner,
    .patients-research .text-bullets-inner {
        max-width: 100%;
        padding: 0;
        align-items: flex-start;
        text-align: left;
    }
    .patients-research .text-bullets-item { flex-direction: row; }
    .patients-research .btn { align-self: flex-start; }
    .patients-need-treatments .imgtext-text,
    .patients-pipeline-section .imgtext-text {
        flex: 1 1 auto;
        max-width: 100%;
    }
    .patients-need-treatments,
    .patients-pipeline-section,
    .patients-clinical-trials,
    .patients-commitment {
        padding-top: 100px;
        padding-bottom: 100px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .split-text-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .split-text-inner .section-heading {
        flex: 1 1 auto;
    }
    .quote-cards-grid {
        grid-template-columns: 1fr;
    }

    /* Careers */
    .careers-intro {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 56px;
    }
    .careers-intro .feature-text__body {
        font-size: 28px;
        line-height: 40px;
        max-width: 680px;
    }
    .section-careers-values {
        padding: 64px var(--h-pad);
    }
    .careers-values-grid {
        grid-template-columns: 1fr 180px 1fr;
        gap: 24px;
    }
    .careers-center-circle {
        width: 200px;
        height: 200px;
    }
    .careers-value-icon {
        width: 60px;
        height: 60px;
    }
    .careers-value-icon svg {
        width: 26px;
        height: 26px;
    }
    .careers-value-copy h3 {
        font-size: 16px;
        line-height: 22px;
    }
    .careers-value-copy p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 768px) {
    :root { --h-pad: 24px; }

    /* Careers values — single column */
    .careers-values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .careers-col,
    .careers-col--center {
        width: 100%;
    }
    .careers-col--center {
        order: -1;
        align-items: stretch;
    }
    .careers-center-circle { display: none; }
    .careers-value-card,
    .careers-value-card--center {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        padding: 20px;
        border: 1px solid rgba(67, 65, 139, 0.24);
        background: rgba(255, 255, 255, 0.5);
        flex: unset;
        align-self: auto;
        justify-content: flex-start;
        width: 100%;
    }
    .careers-value-icon {
        width: 80px;
        height: 80px;
        flex: 0 0 80px;
    }
    .careers-value-icon img {
        width: 80px;
        height: 80px;
    }
    .careers-value-icon svg { width: 32px; height: 32px; }

    /* Nav */
    .site-header { padding: 12px 16px 0; }
    .nav-bar { padding: 14px 20px; height: auto; min-height: 80px; border-radius: 16px; }
    .nav-toggle { display: flex; }
    .nav-logo img { height: 52px; max-width: min(142px, 52vw); }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--color-nav-bg);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px;
    }
    .nav-links.is-open { display: flex; }
    .nav-link {
        font-size: 18px;
        padding: 12px 8px;
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid rgba(242, 245, 247, 0.1);
    }
    .nav-item { width: 100%; }
    .nav-dropdown {
        position: static;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 12px 16px;
        gap: 10px;
        backdrop-filter: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
    }
    .nav-item--dropdown.is-open .nav-dropdown { display: flex; }

    /* Hero */
    .section-hero { height: 720px; }
    .section-hero .hero-bg::after {
        display: block;
        background: linear-gradient(
            to bottom,
            transparent 12%,
            rgba(255, 255, 255, 0.45) 30%,
            rgba(255, 255, 255, 0.96) 48%,
            #fff 70%
        );
    }
    .section-hero .hero-content {
        position: relative;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        clip-path: none;
        white-space: normal;
        padding-bottom: 132px;
    }
    .hero-title { font-size: 52px; line-height: 52px; letter-spacing: -2.08px; }
    .hero-subtitle { font-size: 20px; line-height: 28px; }
    .page-hero-title { font-size: 40px; line-height: 46px; letter-spacing: -1.6px; }

    /* Sections */
    .section-heading { font-size: 44px; line-height: 44px; letter-spacing: -1.76px; }
    .section-imgtext { padding: 48px var(--h-pad); }
    .imgtext-image img {
        max-width: 100%;
        height: auto;
    }
    .section-pipeline { padding: 48px var(--h-pad); }
    .section-patients { padding: 76px var(--h-pad) 48px; }
    .patients-inner { gap: 32px; }
    /* Constrain body text width to prevent single-word orphan lines */
    .patients-col-right p { max-width: 440px; }

    /* CTA */
    .section-cta { padding: 48px 16px; }
    .cta-inner { padding: 40px 28px 120px; }
    .cta-title { font-size: 36px; line-height: 36px; letter-spacing: -1.44px; }
    .cta-shape { display: none; }

    /* Footer */
    .site-footer { padding: 48px 24px 24px; }
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
    .footer-legal { flex-direction: column; gap: 12px; }
    .footer-bottom { align-items: flex-start; }

    .btn {
        font-size: 18px;
        padding: 14px 24px;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    /* Pipeline page */
    .section-page-hero { height: 390px; padding-top: 48px; }
    .page-hero-title { font-size: 40px; line-height: 46px; }
    .program-drug-name { font-size: 36px; line-height: 36px; letter-spacing: -1.44px; }
    .program-card__header { padding: 32px 24px; gap: 24px; }
    .program-card__actions { margin-top: 24px; }
    .program-stage__mini-labels {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        align-items: center;
        width: 100%;
    }
    .program-stage__mini-label {
        font-size: 10px;
        font-weight: 600;
        line-height: 18px;
        color: var(--color-space-indigo);
        white-space: nowrap;
        text-align: center;
    }
    .program-stage__mini-sep {
        display: none;
    }
    .program-stage__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .program-stage__name {
        width: auto;
    }
    .program-stage__bar { width: 100%; flex: none; }
    .program-card__body { padding: 0 24px; }
    .program-card__body-inner { max-width: 100%; margin-left: 0; }
    .program-card.is-open .program-card__body { padding-bottom: 40px; }
    .section-pl-programs { padding: 80px var(--h-pad); }
    .section-pl-trial { padding: 0 var(--h-pad) 80px; }
    .pl-trial-card { padding: 36px 28px; gap: 28px; }
    .pl-trial-title__primary { font-size: 36px; line-height: 42px; }
    .pl-trial-title__secondary { font-size: 16px; line-height: 24px; }
    .btn--sm { padding: 10px 20px; font-size: 16px; }

    /* Our Approach */
    .section-feature-text { padding: 48px var(--h-pad); }
    .feature-text__body { font-size: 24px; line-height: 32px; letter-spacing: -0.96px; max-width: 100%; }
    .science-centered-text__body { font-size: 28px; line-height: 28px; letter-spacing: -1.12px; }
    .science-card__content { font-size: 18px; }
    .science-graphic { padding: 28px 20px; gap: 12px; }
    .section-science-cards { padding: 0 var(--h-pad) 80px; }

    /* About page */
    body.page-id-248 .section-page-hero { height: 430px; }
    body.page-id-248 .page-hero-title { font-size: 52px; line-height: 52px; letter-spacing: -2.08px; }

    /* Our Approach page */
    body.page-id-50 .section-page-hero { height: 430px; }
    body.page-id-50 .page-hero-title {
        font-size: 42px;
        line-height: 44px;
        letter-spacing: -1.68px;
        max-width: 100%;
        overflow-wrap: normal;
    }
    .our-approach-hero .page-hero-bg {
        background-size: 100% 100%, 100% 100%, 100% 100% !important;
        background-position: center, center, center !important;
    }

    /* Patients page */
    .patients-hero .page-hero-bg {
        background-size: cover !important;
    }
    .patients-hero .page-hero-title {
        white-space: normal;
        font-size: 40px;
        line-height: 46px;
    }
    .patients-mdd-inner { gap: 40px; }

    .patients-living-mdd,
    .patients-research,
    .patients-need-treatments,
    .patients-pipeline-section,
    .patients-clinical-trials,
    .patients-commitment {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .patients-living-mdd .text-bullets-inner,
    .patients-research .text-bullets-inner {
        gap: 32px;
    }
    .patients-need-treatments .imgtext-inner,
    .patients-pipeline-section .imgtext-inner {
        gap: 32px;
    }
    .patients-need-treatments .imgtext-image img,
    .patients-pipeline-section .imgtext-image img {
        width: min(100%, 300px);
        height: auto;
        aspect-ratio: 461 / 446;
        object-fit: contain;
        margin: 0 auto;
    }
    .patients-need-treatments .imgtext-text,
    .patients-pipeline-section .imgtext-text {
        gap: 24px;
    }
    .patients-commitment .quote-cards-inner {
        gap: 40px;
    }
    .patients-divider .divider-img,
    .patients-divider .divider-video {
        width: 100%;
        margin-left: 0;
    }
    .quote-card {
        padding: 44px 20px;
    }
    .quote-card__quote {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.96px;
    }

    /* Careers */
    .careers-hero .page-hero-title {
        font-size: 52px;
        line-height: 52px;
        letter-spacing: -2.08px;
    }
    .careers-values-title {
        font-size: 36px;
        line-height: 36px;
        letter-spacing: -1.44px;
    }
    .careers-intro {
        padding-bottom: 32px;
    }
    .section-careers-values {
        padding-top: 48px;
    }
    .careers-values-inner {
        gap: 40px;
    }
    body.page-id-102 .section-cta {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    body.page-id-102 .cta-inner {
        min-height: auto;
        padding: 40px 28px 120px;
        border-radius: 24px;
    }
    body.page-id-102 .cta-title {
        font-size: 36px;
        line-height: 36px;
        letter-spacing: -1.44px;
        overflow-wrap: anywhere;
    }
    body.page-id-102 .cta-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
    body.page-id-102 .section-cta .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; line-height: 42px; }
    .hero-subtitle { font-size: 16px; line-height: 24px; }
    .section-hero { height: 620px; }
    .section-hero .hero-content { padding-bottom: 90px; }
    .section-heading { font-size: 32px; line-height: 38px; }
}

/* =========================================================
   Contact Page
   ========================================================= */

body.page-id-8 {
    background:
        linear-gradient(to bottom, transparent 900px, rgba(241, 241, 248, 0.16) 1100px, rgba(153, 151, 170, 0.16) 78%) #fff;
}

body.page-id-48,
body.page-id-50,
body.page-id-248,
body.page-id-295 {
    background:
        linear-gradient(180deg, rgba(241, 241, 248, 0.16) 7.192%, rgba(153, 151, 170, 0.16) 78.815%),
        #fff;
}

body.page-id-219 {
    background:
        linear-gradient(180deg, rgba(241, 241, 248, 0.16) 7.192%, rgba(153, 151, 170, 0.16) 63.729%),
        #fff;
}

.section-contact {
    padding-top: 312px;
    padding-bottom: 156px;
    padding-left: var(--h-pad);
    padding-right: var(--h-pad);
    display: flex;
    justify-content: center;
}

.section-contact.is-success {
    padding-top: 220px;
}

.contact-inner {
    width: 826px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.contact-heading {
    font-size: 84px;
    font-weight: 300;
    line-height: 88px;
    letter-spacing: -3.36px;
    color: var(--color-space-indigo);
    text-align: center;
    margin: 0 0 104px;
}

/* ---- CF7 form wrapper ---- */
.contact-form-wrap .wpcf7 {
    width: 100%;
}

.contact-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    width: 100%;
}

/* ---- Field groups ---- */
.contact-form-wrap .cf7-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    width: 100%;
}

.contact-form-wrap .cf7-row--top { align-items: flex-end; }
.contact-form-wrap .cf7-row--mid { align-items: flex-start; }

.contact-form-wrap .cf7-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 0 0;
    min-width: 0;
}

.contact-form-wrap .cf7-field--wide {
    width: 408px;
    flex: 0 0 408px;
}

/* ---- Neutralize CF7 <p> and <br> wrappers ---- */
.contact-form-wrap .wpcf7-form p {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.contact-form-wrap .wpcf7-form p br {
    display: none;
}

.contact-form-wrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    line-height: normal;
}

/* ---- Labels ---- */
.contact-form-wrap label,
.contact-form-wrap .cf7-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-space-indigo);
    display: block;
    margin-bottom: 0;
}

/* ---- Inputs, selects, textarea ---- */
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(67, 65, 139, 0.25);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
    color: rgba(7, 7, 14, 0.5);
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    border-color: var(--color-french-blue);
}

/* ---- Dropdown select (custom arrow via background-image) ---- */
.contact-form-wrap select {
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2343418B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 6px;
}

/* ---- Textarea ---- */
.contact-form-wrap textarea {
    height: 191px;
    resize: vertical;
}

/* ---- reCAPTCHA ---- */
.contact-form-wrap .wpcf7-form .g-recaptcha,
.contact-form-wrap .cf7-recaptcha {
    margin: 0;
}

/* ---- Submit button ---- */
.contact-form-wrap .btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: 2px solid var(--color-french-blue);
    border-radius: 24px;
    background: transparent;
    color: var(--color-french-blue);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.contact-form-wrap .btn-contact svg {
    flex-shrink: 0;
    width: 18px;
    height: 15px;
}

.contact-form-wrap .btn-contact:hover {
    background: var(--color-french-blue);
    color: #fff;
}

/* ---- Validation messages ---- */
.contact-form-wrap .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #c0392b;
    margin-top: 4px;
    display: block;
}

.contact-form-wrap .wpcf7-response-output {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-wrap .wpcf7-mail-sent-ok {
    border-color: #27ae60;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.06);
}

.contact-form-wrap .wpcf7-mail-sent-ng,
.contact-form-wrap .wpcf7-aborted {
    border-color: #c0392b;
    color: #c0392b;
    background: rgba(192, 57, 43, 0.06);
}

/* ---- Form / Success state toggle ---- */
.contact-state--success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    padding-top: 0;
    padding-bottom: 156px;
    width: 100%;
}

.contact-state--success.is-visible {
    display: flex;
}

.contact-state--form.is-hidden {
    display: none;
}

.contact-success-title {
    font-size: 68px;
    font-weight: 300;
    line-height: 72px;
    letter-spacing: -2.72px;
    color: var(--color-space-indigo);
    margin: 0;
}

.contact-success-sub {
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -1.28px;
    color: var(--color-space-indigo);
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .section-contact { padding-top: 200px; padding-bottom: 100px; }
    .section-contact.is-success { padding-top: 160px; }
    .contact-heading  { font-size: 64px; line-height: 70px; letter-spacing: -2px; margin-bottom: 72px; }
    .contact-state--success { padding-top: 0; padding-bottom: 100px; }
    .contact-success-title { font-size: 48px; line-height: 54px; }
    .contact-success-sub   { font-size: 24px; line-height: 32px; }
}

@media (max-width: 768px) {
    .section-contact { padding-top: 160px; padding-bottom: 80px; }
    .section-contact.is-success { padding-top: 132px; }
    .contact-heading  { font-size: 52px; line-height: 52px; letter-spacing: -2.08px; margin-bottom: 48px; }
    .contact-form-wrap .cf7-row { flex-direction: column; gap: 24px; }
    .contact-form-wrap .cf7-field--wide { width: 100%; flex: 1 0 0; }
    .contact-form-wrap .btn-contact { width: 100%; justify-content: center; }
    .contact-state--success { padding-top: 0; padding-bottom: 80px; }
    .contact-success-title { font-size: 44px; line-height: 44px; letter-spacing: -1.76px; }
    .contact-success-sub   { font-size: 20px; line-height: 28px; letter-spacing: 0; }
}

/* =============================================================
   LEGAL PAGES (Privacy Policy, Cookie Policy, etc.)
   ============================================================= */
.page-template-template-legal {
    background: linear-gradient(180deg, rgba(241, 241, 248, 0.16) 7.192%, rgba(153, 151, 170, 0.16) 63.729%), #fff;
}

.legal-hero {
    padding-top: 312px;
    display: flex;
    justify-content: center;
    padding-left: var(--h-pad);
    padding-right: var(--h-pad);
}

.legal-heading {
    font-family: 'Aptos', 'Calibri', sans-serif;
    font-size: 84px;
    font-weight: 300;
    line-height: 88px;
    letter-spacing: -3.36px;
    color: var(--color-space-indigo);
    text-align: center;
    margin: 0;
}

.legal-content-wrap {
    display: flex;
    justify-content: center;
    padding: 76px var(--h-pad) 152px;
}

.legal-content {
    width: 100%;
    max-width: 1242px;
    font-family: 'Aptos', 'Calibri', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
}

.legal-content p { margin-bottom: 16px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -0.64px;
    color: var(--color-space-indigo);
    margin-top: 48px;
    margin-bottom: 16px;
}
.legal-content h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.24px;
    color: var(--color-space-indigo);
    margin-top: 32px;
    margin-bottom: 12px;
}
.legal-content h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-space-indigo);
    margin-top: 24px;
    margin-bottom: 8px;
}
.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--color-french-blue); text-decoration: underline; }
.legal-content a:hover { opacity: 0.75; }
.legal-content strong,
.legal-content b { font-weight: 600; }
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 22px;
}
.legal-content th,
.legal-content td {
    border: 1px solid var(--color-pale-slate);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.legal-content th {
    font-weight: 600;
    background: rgba(40, 39, 83, 0.06);
    color: var(--color-space-indigo);
}

@media (max-width: 960px) {
    .legal-hero { padding-top: 200px; }
    .legal-heading { font-size: 56px; line-height: 62px; letter-spacing: -2.24px; }
    .legal-content-wrap { padding: 56px var(--h-pad) 100px; }
}
@media (max-width: 768px) {
    .legal-hero { padding-top: 200px; padding-left: 24px; padding-right: 24px; }
    .legal-heading { font-size: 52px; line-height: 52px; letter-spacing: -2.08px; }
    .legal-content-wrap { padding: 48px 24px 80px; }
    .legal-content h2 { font-size: 24px; line-height: 32px; margin-top: 32px; }
    .legal-content h3 { font-size: 20px; line-height: 28px; margin-top: 24px; }
    .legal-content table { font-size: 13px; }
    .legal-content th,
    .legal-content td { padding: 8px 10px; }
}

/* =============================================================
   404 PAGE
   ============================================================= */
body.error404 {
    background: linear-gradient(180deg, rgba(241, 241, 248, 0.16) 7.192%, rgba(153, 151, 170, 0.16) 63.729%), #fff;
}

.section-404 {
    padding-top: 312px;
    padding-bottom: 152px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 76px;
    padding-left: var(--h-pad);
    padding-right: var(--h-pad);
}

.error-404-heading {
    font-size: 84px;
    font-weight: 300;
    line-height: 88px;
    letter-spacing: -3.36px;
    color: var(--color-space-indigo);
    text-align: center;
    margin: 0;
    max-width: 1244px;
}
.section-404 .btn { align-self: center; }

@media (max-width: 960px) {
    .section-404 { padding-top: 200px; padding-bottom: 100px; gap: 56px; }
    .error-404-heading { font-size: 56px; line-height: 62px; letter-spacing: -2.24px; }
}
@media (max-width: 768px) {
    .section-404 { padding-top: 200px; padding-bottom: 80px; padding-left: 24px; padding-right: 24px; gap: 76px; }
    .error-404-heading { font-size: 52px; line-height: 52px; letter-spacing: -2.08px; }
}

/* =============================================================
   TEAM MEMBER SINGLE
   ============================================================= */
body.single-team_member {
    background: linear-gradient(180deg, rgba(241,241,248,0.16) 7.192%, rgba(153,151,170,0.16) 61.199%), #fff;
}

/* Outer page wrapper — full-width flex column, items centered */
.team-member-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Back-link row — pt-312px matches Figma canvas value (nav overlays so visible gap = 312 - 137 = 175px) */
.team-member-back-row {
    width: 100%;
    max-width: 1440px;
    padding: 312px var(--h-pad) 0;
    box-sizing: border-box;
}

.team-member-back {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--color-french-blue);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-decoration: none;
}
.team-member-back:hover { text-decoration: underline; }

.team-member-back__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-french-blue);
}

/* Content section — max-width 1440px so 96px padding leaves 1248px for columns (461+726+gap) */
.team-member-content {
    width: 100%;
    max-width: 1440px;
    padding: 48px var(--h-pad) 152px;
    box-sizing: border-box;
}

/* Two-column layout */
.team-member-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Left: circular photo in blob */
.team-member-circle {
    position: relative;
    width: 490px;
    height: 480px;
    flex-shrink: 0;
    margin-left: -48px;
}

.team-member-vector {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-member-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    height: 460px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
}

/* Right: info column */
.team-member-info {
    width: 726px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Name + role grouped */
.team-member-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-member-name-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.team-member-name {
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -1.28px;
    color: var(--color-space-indigo);
    margin: 0;
}

.team-member-linkedin {
    display: flex;
    flex-shrink: 0;
    color: var(--color-french-blue);
}
.team-member-linkedin:hover { opacity: 0.75; }

.team-member-role {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-space-indigo);
    margin: 0;
}

.team-member-bio {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
}
.team-member-bio p { margin: 0 0 16px; }
.team-member-bio p:last-child { margin-bottom: 0; }

@media (max-width: 1200px) {
    .team-member-layout { flex-direction: column; align-items: flex-start; gap: 48px; }
    .team-member-info { width: 100%; }
    .team-member-circle { align-self: center; }
}

@media (max-width: 768px) {
    .team-member-back-row { padding-top: 156px; }
    .team-member-content { padding-top: 56px; padding-bottom: 56px; }
    .team-member-circle { width: 282px; height: 273px; margin-left: 0; }
    .team-member-photo { width: 250px; height: 250px; }
    .team-member-name { font-size: 32px; line-height: 40px; letter-spacing: -1.28px; }
    .team-member-role { font-size: 18px; line-height: 26px; }
}

/* =============================================================
   HERO EYEBROW (hero_home layout)
   ============================================================= */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2CDDDD;
    flex-shrink: 0;
}

/* =============================================================
   TEAM GRID SECTION
   ============================================================= */
.section-team-grid {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 152px var(--h-pad) 0;
    box-sizing: border-box;
    gap: 64px;
}

.team-grid-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
}

.team-grid-heading {
    font-size: 68px;
    font-weight: 300;
    line-height: 72px;
    letter-spacing: -2.72px;
    color: var(--color-space-indigo);
    margin: 0;
    width: 100%;
}
.team-grid-heading em { font-style: italic; }

.team-grid-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: center;
    align-content: center;
    width: 100%;
}
.team-grid-cards--sab {
    align-items: flex-start;
    align-content: flex-start;
}

/* Team Card */
.team-card {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.team-card__photo-wrap {
    width: 195px;
    height: 260px;
    flex-shrink: 0;
    overflow: hidden;
    background: #d9d9d9;
}
.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-card__info {
    display: flex;
    flex-direction: column;
    height: 260px;
    width: 329px;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 16px;
    box-sizing: border-box;
}
.team-card--sab .team-card__info {
    height: auto;
    justify-content: flex-start;
    gap: 32px;
}

.team-card__text {
    display: flex;
    flex-direction: column;
    gap: 23px;
    width: 100%;
}

.team-card__name {
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -1.28px;
    color: var(--color-space-indigo);
    margin: 0;
}

.team-card__role-wrap { width: 100%; }

.team-card__role {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-space-indigo);
    margin: 0;
}
.team-card__role-sub {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: rgba(40, 39, 83, 0.75);
    margin: 0;
}

.team-card__actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.team-card__linkedin,
.team-card__external {
    display: flex;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s;
}
.team-card__linkedin:hover,
.team-card__external:hover { opacity: 0.75; }
.team-card__linkedin img,
.team-card__external img {
    display: block;
    width: 100%;
    height: 100%;
}

.btn--outline-french-blue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--color-french-blue);
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--color-french-blue);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn--outline-french-blue:hover {
    background: var(--color-french-blue);
    color: #fff;
}

/* Team Grid responsive */
@media (max-width: 1200px) {
    .team-grid-heading { font-size: 52px; line-height: 58px; letter-spacing: -2.08px; }
    .investors-heading { font-size: 52px; line-height: 58px; letter-spacing: -2.08px; white-space: normal; }
    .team-card__info { width: 280px; }
    .team-card__name { font-size: 26px; line-height: 34px; }
}
@media (max-width: 768px) {
    .section-team-grid { padding: 48px var(--h-pad) 48px; gap: 32px; }
    .team-grid-heading { font-size: 44px; line-height: 44px; letter-spacing: -1.76px; }
    .team-grid-cards {
        gap: 40px 0;
        justify-content: space-between;
        align-items: flex-start;
        align-content: flex-start;
    }
    .team-card {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        align-self: flex-start;
        width: 169px;
    }
    .team-card__photo-wrap { width: 128px; height: 170px; }
    .team-card__info { height: auto; justify-content: flex-start; gap: 16px; width: 100%; }
    .team-card--sab .team-card__info { width: 100%; gap: 16px; }
    .team-card__name { font-size: 28px; line-height: 28px; letter-spacing: -1.12px; }
    .team-card__role { font-size: 16px; line-height: 24px; }
    .team-card__role-sub { font-size: 16px; line-height: 24px; }
    .team-card__actions { gap: 10px; }
    .team-card__linkedin,
    .team-card__external { width: 24px; height: 24px; }
    .team-card__bio-btn.btn--outline-french-blue { font-size: 13.5px; line-height: 19.5px; padding: 9px 21px; border-width: 1.5px; }
}

/* =============================================================
   RESEARCH & NEWS LISTING
   ============================================================= */
.section-research-news {
    width: 100%;
    background:
        linear-gradient(180deg, rgba(241, 241, 248, 0.16) 9.99%, rgba(153, 151, 170, 0.16) 81.22%),
        #fff;
    padding: 324px var(--h-pad) 156px;
}

.research-news-inner {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 156px;
}

.research-news-group {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.research-news-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.research-news-heading h2 {
    color: var(--color-space-indigo);
    font-size: 48px;
    font-weight: 300;
    line-height: 52px;
    letter-spacing: -1.92px;
    white-space: nowrap;
}

.research-news-heading span {
    height: 1px;
    flex: 1;
    background: rgba(67, 65, 139, 0.24);
}

.research-news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.research-card {
    position: relative;
    width: calc((100% - 32px) / 2);
    min-height: 496px;
    border: 1px solid rgba(67, 65, 139, 0.24);
    border-radius: 16px;
    overflow: hidden;
    padding: 264px 192px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 32px;
    color: var(--color-space-indigo);
    background:
        radial-gradient(circle at 16% 14%, rgba(203, 235, 231, 0.58) 0, rgba(203, 235, 231, 0.28) 10%, rgba(203, 235, 231, 0) 25%),
        radial-gradient(circle at 58% 78%, rgba(208, 204, 226, 0.5) 0, rgba(208, 204, 226, 0.2) 15%, rgba(208, 204, 226, 0) 34%),
        rgba(255, 255, 255, 0.32);
}

.research-card--featured {
    width: 100%;
    padding: 168px 192px 56px 48px;
}

.research-card::before,
.research-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.5;
}

.research-card::before {
    width: 225px;
    height: 218px;
    top: -110px;
    right: -70px;
    background: rgba(208, 204, 226, 0.55);
}

.research-card::after {
    width: 541px;
    height: 523px;
    left: 40px;
    bottom: -185px;
    background: rgba(203, 235, 231, 0.32);
}

.research-card--featured::after {
    left: auto;
    right: 145px;
    bottom: -33px;
}

.research-card__content,
.research-card__link {
    position: relative;
    z-index: 1;
}

.research-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 493px;
}

.research-card--featured .research-card__content {
    gap: 24px;
    max-width: 100%;
}

.research-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-space-indigo);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

.research-card__featured {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.research-card__featured::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-french-blue);
}

.research-card__sep {
    width: 1px;
    height: 14px;
    background: rgba(40, 39, 83, 0.42);
}

.research-card__title {
    width: 100%;
    color: var(--color-space-indigo);
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -1.28px;
}

.research-card--featured .research-card__title {
    max-width: 1030px;
    font-size: 56px;
    line-height: 60px;
    letter-spacing: -2.24px;
}

.research-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-french-blue);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.research-card__link img {
    width: 17px;
    height: 15px;
}

.research-card.is-hidden {
    display: none;
}

.research-news-more {
    align-self: center;
}

@media (max-width: 1200px) {
    .section-research-news { padding-top: 260px; }
    .research-news-inner { gap: 112px; }
    .research-card,
    .research-card--featured {
        padding-right: 56px;
    }
    .research-card--featured .research-card__title {
        font-size: 48px;
        line-height: 54px;
        letter-spacing: -1.92px;
    }
}

@media (max-width: 768px) {
    .section-research-news {
        padding: 180px var(--h-pad) 96px;
    }
    .research-news-inner {
        gap: 80px;
    }
    .research-news-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .research-news-heading h2 {
        font-size: 28px;
        line-height: 28px;
        letter-spacing: -1.12px;
    }
    .research-news-heading span {
        width: 100%;
        flex: none;
    }
    .research-card,
    .research-card--featured {
        width: 100%;
        min-height: 400px;
        padding: 156px 24px 20px;
    }
    .research-card__title,
    .research-card--featured .research-card__title {
        font-size: 24px;
        line-height: 24px;
        letter-spacing: -0.96px;
    }
    .research-card__meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    .research-card__link {
        font-size: 18px;
        line-height: 26px;
    }
}

/* =============================================================
   INVESTORS SECTION
   ============================================================= */
.section-investors {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 152px var(--h-pad);
    box-sizing: border-box;
    gap: 80px;
}

.investors-heading {
    font-size: 68px;
    font-weight: 300;
    line-height: 72px;
    letter-spacing: -2.72px;
    color: var(--color-space-indigo);
    margin: 0;
    white-space: nowrap;
}
.investors-heading em { font-style: italic; }

.investors-marquee-outer {
    width: 100%;
    overflow: hidden;
}
.investors-marquee-track {
    display: flex;
    gap: 92px;
    align-items: center;
    width: max-content;
    animation: investors-scroll 30s linear infinite;
}
.investors-marquee-outer:hover .investors-marquee-track {
    animation-play-state: paused;
}
@keyframes investors-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.investors-logo {
    flex-shrink: 0;
    display: block;
    max-height: 96px;
    width: auto;
    object-fit: contain;
}
.investors-logo-link {
    display: block;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.investors-logo-link:hover { opacity: 0.75; }

@media (max-width: 768px) {
    .section-investors { padding: 80px var(--h-pad); gap: 48px; }
    .investors-heading { font-size: 44px; line-height: 44px; letter-spacing: -1.76px; white-space: normal; }
    .investors-marquee-track { gap: 48px; }
    .investors-logo { max-height: 60px; }
}
