/* Therapeutic area internal page (.onc- prefix). Uses site header/footer from layouts.app. */
.onc-page,
.onc-page * {
    box-sizing: border-box;
}

.onc-page {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #07675a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Poppins, sans-serif;
    color: #fff;
}

.onc-page a {
    color: #2fd897;
    text-decoration: none;
}

.onc-page a:hover {
    color: #fff;
}

.onc-page button {
    font-family: inherit;
}

.onc-page h1,
.onc-page h2,
.onc-page h3,
.onc-page p {
    margin: 0;
}

.onc-hero {
    background: #07675a;
    padding: 24px 24px 0;
}

.onc-hero-frame {
    position: relative;
    height: clamp(520px, 78vh, 760px);
    border-radius: 32px;
    overflow: hidden;
    background: #04072a;
}

.onc-hero-img {
    position: absolute;
    left: 0;
    right: 0;
    top: -12%;
    width: 100%;
    height: 124%;
    object-fit: cover;
    object-position: 50% 40%;
    display: block;
    will-change: transform;
}

.onc-hero-panel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(100%, 780px);
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(28px, 3.4vw, 52px) clamp(24px, 3.6vw, 56px);
    background: #2c45dd;
    border-top-right-radius: 32px;
    box-sizing: border-box;
    container-type: inline-size;
}

.onc-hero-panel h1 {
    max-width: 100%;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: clamp(2.125rem, 10cqi + 0.25rem, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.onc-hero-panel h2 {
    max-width: 100%;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 4.2cqi + 0.5rem, 28px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #2fd897;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.onc-intro {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 48px clamp(16px, 3vw, 40px);
    width: 100%;
    max-width: none;
}

.onc-intro-lead {
    font: 600 clamp(24px, 2.7vw, 40px) / 1.35 Poppins, sans-serif;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

.onc-word {
    color: rgba(255, 255, 255, 0.22);
    transition: color 0.25s linear;
}

.onc-word.is-lit {
    color: #fff;
}

.onc-word.is-edge {
    color: #2fd897;
}

.onc-intro-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 20px 56px;
    align-items: start;
}

.onc-intro-bar {
    height: 4px;
    width: 0;
    max-width: 100%;
    border-radius: 2px;
    background: #2fd897;
    margin-top: 12px;
    transition: width 0.2s linear;
}

.onc-intro-text {
    font: 400 17px / 1.75 Poppins, sans-serif;
    color: #e4f5f1;
    text-wrap: pretty;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.3s linear, transform 0.3s linear;
}

.onc-head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 20px 72px;
    align-items: end;
    padding: 0 clamp(0px, 1.5vw, 16px);
}

.onc-head-titles {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.onc-h2 {
    font: 700 clamp(40px, 4.6vw, 68px) / 1 Poppins, sans-serif;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
}

.onc-h3 {
    font: 600 clamp(20px, 1.8vw, 26px) / 1.3 Poppins, sans-serif;
    letter-spacing: -0.01em;
    color: #2fd897;
    text-wrap: balance;
}

.onc-head-text {
    font: 400 17px / 1.75 Poppins, sans-serif;
    text-wrap: pretty;
}

.onc-head-text.is-blue {
    color: #e4eaff;
}

.onc-head-text.is-teal {
    color: #e4f5f1;
}

.onc-portfolio {
    scroll-margin-top: 56px;
    background: #2c45dd;
    padding: 64px clamp(16px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.onc-pf {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
}

.onc-pf-stage {
    flex: 2 1 560px;
    position: relative;
    min-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    transition: background 0.6s ease;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    align-items: center;
    gap: 24px;
    padding: clamp(28px, 4vw, 56px);
}

.onc-pf-stage.is-teal {
    background: #12b49c;
}

.onc-pf-stage.is-blue {
    background: #2338c4;
}

.onc-pf-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.onc-pf-name {
    font: 700 clamp(34px, 3.4vw, 56px) / 1 Poppins, sans-serif;
    letter-spacing: -0.03em;
    color: #fff;
    white-space: nowrap;
}

.onc-pf-generic {
    font: 600 18px / 1.2 Poppins, sans-serif;
    color: #fff;
}

.onc-pf-generic:empty {
    display: none;
}

.onc-pf-desc {
    font: 400 16px / 1.65 Poppins, sans-serif;
    color: #fff;
    max-width: 440px;
    max-height: min(14rem, 38vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 4px;
    text-wrap: pretty;
}

.onc-pf-desc::-webkit-scrollbar {
    width: 5px;
}

.onc-pf-desc::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(255 255 255 / 0.35);
}

.onc-pf-disc {
    position: relative;
    aspect-ratio: 1;
    width: min(100%, 420px);
    justify-self: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.14);
}

.onc-pack {
    position: absolute;
    inset: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(40%) rotate(0deg);
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.onc-pack.is-before {
    transform: translateX(-40%) rotate(0deg);
}

.onc-pack.is-active {
    opacity: 1;
    transform: translateX(0) rotate(-4deg);
}

.onc-pack img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.onc-pack-fallback {
    font: 700 40px / 1 Poppins, sans-serif;
    color: #2c45dd;
}

.onc-pf-list {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    overflow: hidden;
    background: #2338c4;
}

.onc-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 10px 22px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease, color 0.3s ease;
}

.onc-row.is-active {
    background: #2fd897;
    color: #04072a;
}

.onc-row-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.onc-row-name {
    font: 700 16px / 1.2 Poppins, sans-serif;
}

.onc-row-generic {
    font: 500 12px / 1.2 Poppins, sans-serif;
    opacity: 0.8;
}

.onc-row-arrow {
    font: 700 16px / 1 Poppins, sans-serif;
    transform: translateX(-6px);
    transition: transform 0.3s ease;
}

.onc-row.is-active .onc-row-arrow {
    transform: translateX(0);
}

.onc-note {
    padding: 0 clamp(0px, 1.5vw, 16px);
    font: italic 400 14px / 1.6 Poppins, sans-serif;
    color: #c9d4ff;
}

.onc-btn-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2c45dd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onc-btn-dot.is-dark {
    width: 42px;
    height: 42px;
    background: #055248;
    color: #fff;
}

.onc-btn-dot.is-white {
    background: #fff;
    color: #2c45dd;
}

.onc-page .onc-btn-white {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 54px;
    padding: 0 7px 0 24px;
    border-radius: 999px;
    background: #fff;
    color: #2c45dd;
    font: 700 15px / 1 Poppins, sans-serif;
    transition: background 0.25s, color 0.25s;
}

.onc-page .onc-btn-white:hover {
    background: #2fd897;
    color: #055248;
}

.onc-page a.onc-btn-green {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 58px;
    padding: 0 8px 0 26px;
    border: none;
    border-radius: 999px;
    background: #2fd897;
    color: #055248;
    font: 700 16px / 1 Poppins, sans-serif;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.onc-page a.onc-btn-green .onc-btn-dot {
    flex-shrink: 0;
    background: #055248;
    color: #fff;
}

.onc-page a.onc-btn-green:hover {
    background: #fff;
    color: #2c45dd;
}

.onc-page a.onc-btn-green:hover .onc-btn-dot {
    background: #055248;
    color: #fff;
}

.onc-page .onc-btn-outline {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 58px;
    padding: 0 8px 0 26px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: 700 16px / 1 Poppins, sans-serif;
    transition: background 0.25s, color 0.25s;
}

.onc-page .onc-btn-outline:hover {
    background: #fff;
    color: #2c45dd;
}

.onc-focus {
    background: #07675a;
    padding: 64px clamp(16px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.onc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 clamp(0px, 1.5vw, 16px);
    margin-top: 18px;
}

.onc-pill {
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid #2fd897;
    background: transparent;
    color: #fff;
    font: 600 15px / 1 Poppins, sans-serif;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.onc-pill:hover,
.onc-pill.is-active {
    background: #2fd897;
    color: #04072a;
}

.onc-pill:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.onc-flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 18px;
}

.onc-flip {
    height: 440px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    perspective: 1400px;
    text-align: left;
}

.onc-flip-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.onc-flip.is-flipped .onc-flip-inner {
    transform: rotateY(180deg);
}

@media (hover: hover) {
    .onc-flip:hover .onc-flip-inner {
        transform: rotateY(180deg);
    }
}

.onc-flip-front,
.onc-flip-back {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.onc-flip-front {
    background: #04072a;
}

.onc-flip-front img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.onc-flip-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 22px 22px 26px;
}

.onc-flip.is-teal .onc-flip-bar,
.onc-flip.is-teal .onc-flip-back {
    background: #12b49c;
}

.onc-flip.is-blue .onc-flip-bar,
.onc-flip.is-blue .onc-flip-back {
    background: #2c45dd;
}

.onc-flip-title {
    font: 700 clamp(20px, 1.7vw, 26px) / 1.15 Poppins, sans-serif;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.onc-flip-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #2c45dd;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 18px / 1 Poppins, sans-serif;
}

.onc-flip-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    padding: 32px 30px;
    box-shadow: inset 0 0 0 4px #2fd897;
}

.onc-flip-back-title {
    flex-shrink: 0;
    font: 700 clamp(24px, 2vw, 32px) / 1.1 Poppins, sans-serif;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
}

.onc-flip-desc {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
    font: 400 16px / 1.65 Poppins, sans-serif;
    color: #fff;
    text-wrap: pretty;
}

.onc-flip-desc::-webkit-scrollbar {
    width: 5px;
}

.onc-flip-desc::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(255 255 255 / 0.35);
}

.onc-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 4px;
}

.onc-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #04072a;
    font: 600 13px / 1 Poppins, sans-serif;
    text-wrap: balance;
}

.onc-card-pill::before {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #12b49c;
}

.onc-flip.is-blue .onc-card-pill::before {
    background: #2c45dd;
}

.onc-mfg {
    position: relative;
    background: #07675a;
    height: 240vh;
}

.onc-mfg-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onc-mfg-clip {
    position: absolute;
    inset: 0;
    clip-path: inset(14% 22% round 32px);
    background: #04072a;
}

.onc-mfg-clip img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.18);
}

.onc-mfg-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 2.8vw, 40px);
    border-radius: 30px;
    opacity: 0;
    transform: translateY(60px);
    max-height: min(52vh, 480px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.onc-mfg-card::-webkit-scrollbar {
    width: 6px;
}

.onc-mfg-card::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(255 255 255 / 0.35);
}

.onc-mfg-card-1 {
    right: clamp(16px, 4vw, 64px);
    top: clamp(24px, 8vh, 80px);
    width: min(calc(100% - 32px), 540px);
    gap: 16px;
    background: #2c45dd;
}

.onc-mfg-card-2 {
    left: clamp(16px, 4vw, 64px);
    bottom: clamp(24px, 8vh, 80px);
    width: min(calc(100% - 32px), 520px);
    gap: 14px;
    background: #12b49c;
}

.onc-mfg-card h2 {
    font: 600 clamp(28px, 2.6vw, 40px) / 1.15 Poppins, sans-serif;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
}

.onc-mfg-card p {
    font: 300 16px / 1.75 Poppins, sans-serif;
    color: #fff;
    text-wrap: pretty;
}

.onc-mfg-rule {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
}

.onc-home {
    background: #12b49c;
    padding: 64px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.onc-home-title {
    padding: 0 clamp(24px, 5vw, 88px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    white-space: nowrap;
}

.onc-home-line {
    display: block;
    font: 700 clamp(40px, 6.2vw, 108px) / 1 Poppins, sans-serif;
    letter-spacing: -0.025em;
    color: #fff;
    will-change: transform;
}

.onc-home-line.is-outline {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.onc-home-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 24px 56px;
    padding: 0 clamp(24px, 5vw, 88px);
}

.onc-home-cols p {
    font: 400 18px / 1.75 Poppins, sans-serif;
    color: #fff;
    text-wrap: pretty;
}

.onc-cta-wrap {
    width: 100%;
    background: #07675a;
    padding: 64px 0;
}

.onc-cta {
    width: 100%;
    border-radius: 0;
    background: #2c45dd;
    padding: clamp(36px, 5vw, 80px) clamp(24px, 5vw, 88px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.onc-cta h2 {
    max-width: 900px;
    font: 700 clamp(36px, 4vw, 60px) / 1.02 Poppins, sans-serif;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
}

.onc-cta h2 span {
    color: #2fd897;
}

.onc-cta > p {
    max-width: 760px;
    font: 400 17px / 1.7 Poppins, sans-serif;
    color: #fff;
    text-wrap: pretty;
}

.onc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .onc-hero-panel {
        width: 100%;
        border-top-right-radius: 24px;
    }

    .onc-hero-panel h1 {
        font-size: clamp(1.875rem, 9.5cqi + 0.2rem, 3.25rem);
    }
}

@media (max-width: 640px) {
    .onc-hero {
        padding: 12px 12px 0;
    }

    .onc-hero-frame {
        border-radius: 24px;
    }

    .onc-hero-panel {
        padding: clamp(20px, 5vw, 28px) clamp(18px, 4.5vw, 24px);
        gap: 14px;
        border-top-right-radius: 20px;
    }

    .onc-hero-panel h1 {
        font-size: clamp(1.75rem, 11cqi, 2.75rem);
        line-height: 1;
    }

    .onc-hero-panel h2 {
        font-size: clamp(16px, 4.5vw, 20px);
        line-height: 1.3;
    }

    .onc-pf-stage {
        flex-basis: 100%;
        min-height: 0;
    }

    .onc-pf-name {
        white-space: normal;
    }

    .onc-home-title {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .onc-pack,
    .onc-flip-inner,
    .onc-word,
    .onc-intro-bar,
    .onc-intro-text {
        transition: none;
    }
}
