/* =========================================================
   RELIEF — STRIPE-INSPIRED VISUAL SYSTEM
========================================================= */

:root {
    --purple: #6959a0;
    --violet: #8b72d8;
    --electric: #635bff;
    --blue: #4f7cff;
    --cyan: #35c2d8;
    --pink: #f266b5;
    --coral: #ff745d;
    --orange: #ffb45b;
    --yellow: #ffd36a;

    --ink: #17131f;
    --ink-soft: #302a39;
    --muted: #6e6876;
    --line: rgba(62, 40, 93, 0.13);

    --paper: #ffffff;
    --lavender: #f6f2ff;
    --cream: #fff8ed;
    --blush: #fff1f7;

    --shadow-soft:
        0 24px 70px rgba(53, 34, 92, 0.10);

    --shadow-strong:
        0 35px 100px rgba(53, 34, 92, 0.18);
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

:where([id]) {
    scroll-margin-top: 104px;
}

body {
    min-width: 320px;

    overflow-x: hidden;

    color: var(--ink);
    background: var(--paper);

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

button,
a {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

::selection {
    color: #ffffff;
    background: var(--purple);
}

/* =========================================================
   SHARED
========================================================= */

.container {
    width: min(1080px, calc(100% - 96px));
    margin-inline: auto;
}

.section {
    position: relative;

    padding: clamp(96px, 7.5vw, 120px) 0;
}

.eyebrow,
.mini-label {
    color: var(--purple);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 24px;
}

.section-heading {
    max-width: 940px;

    margin-bottom: 76px;
}

.section-heading-wide {
    max-width: 1060px;
}

.section-heading h2,
.solution-heading h2,
.technology-heading h2,
.effectiveness-heading h2 {
    font-size: clamp(44px, 5.4vw, 74px);
    font-weight: 720;
    line-height: 1.01;
    letter-spacing: -0.055em;
}

.display-serif {
    display: block;

    color: var(--purple);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.06em;
}

.display-serif-light {
    color: #ffd6f0;
}

.section-summary {
    max-width: 440px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.72;
}

.page-noise {
    position: fixed;
    z-index: 1000;

    inset: 0;

    opacity: 0.025;
    pointer-events: none;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 48px, 1080px);
    }

    .hero-topbar {
        width: min(100% - 48px, 1080px);
    }
}

@media (max-width: 620px) {
    .container,
    .hero-topbar {
        width: min(100% - 32px, 1080px);
    }
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    isolation: isolate;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 140px 24px 120px;

    background:
        radial-gradient(
            circle at 11% 18%,
            rgba(255, 180, 91, 0.67),
            transparent 26%
        ),
        radial-gradient(
            circle at 83% 21%,
            rgba(242, 102, 181, 0.46),
            transparent 29%
        ),
        radial-gradient(
            circle at 71% 83%,
            rgba(79, 124, 255, 0.30),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #fff8ef 0%,
            #ffffff 43%,
            #f3efff 100%
        );
}

.hero-topbar {
    position: absolute;

    top: 34px;
    left: 50%;

    width: min(1080px, calc(100% - 96px));

    display: flex;
    align-items: center;
    justify-content: flex-start;

    transform: translateX(-50%);
}

.wordmark {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.wordmark img {
    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 16px;

    box-shadow:
        0 14px 32px rgba(72, 43, 130, 0.18);
}

.hero-content {
    position: relative;
    z-index: 3;

    width: min(1050px, 100%);

    margin-inline: auto;

    text-align: center;
}

.hero-content h1 {
    margin-bottom: 34px;

    font-size: clamp(68px, 8.6vw, 128px);
    font-weight: 760;
    line-height: 0.89;
    letter-spacing: -0.075em;
}

.hero-description {
    color: var(--muted);

    font-size: clamp(20px, 2vw, 27px);

    margin-bottom: 42px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;
}

.button {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    padding: 16px 23px;

    text-decoration: none;
    font-weight: 750;

    border-radius: 9px;
}

.button-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--electric)
        );

    box-shadow:
        0 18px 38px rgba(99, 91, 255, 0.25);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.button-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 24px 50px rgba(99, 91, 255, 0.34);
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--ink);

    text-decoration: none;
    font-weight: 720;
}

.hero-ribbon {
    position: absolute;
    z-index: 1;

    right: -8%;
    bottom: -220px;

    width: 760px;
    height: 540px;

    transform: rotate(-10deg);
}

.ribbon-plane {
    position: absolute;

    inset-inline: 0;

    height: 160px;

    border-radius:
        52% 48% 45% 55%
        /
        55% 42% 58% 45%;

    filter: saturate(1.2);
}

.ribbon-plane-one {
    top: 20px;

    background:
        linear-gradient(
            90deg,
            #b59af2 0%,
            #9d7df0 48%,
            #8b72d8 100%
        );
}

.ribbon-plane-two {
    top: 132px;

    background:
        linear-gradient(
            90deg,
            #8d6ce0 0%,
            #7558d2 50%,
            #6959c9 100%
        );
}

.ribbon-plane-three {
    top: 244px;

    background:
        linear-gradient(
            90deg,
            #6549b8 0%,
            #503a9b 52%,
            #443080 100%
        );
}
.ribbon-plane {
    position: absolute;

    inset-inline: 0;

    height: 160px;

    border-radius:
        52% 48% 45% 55%
        /
        55% 42% 58% 45%;

    filter: saturate(1.08);
}
.hero-orb {
    position: absolute;
    z-index: -1;

    border-radius: 50%;

    filter: blur(1px);
}

.hero-orb-one {
    width: 155px;
    height: 155px;

    left: 8%;
    bottom: 13%;

    background:
        linear-gradient(
            145deg,
            var(--yellow),
            var(--coral)
        );

    opacity: 0.55;
}

.hero-orb-two {
    width: 90px;
    height: 90px;

    right: 11%;
    top: 20%;

    background:
        linear-gradient(
            145deg,
            var(--pink),
            var(--electric)
        );

    opacity: 0.42;
}

/* =========================================================
   COLLABORATORS MARQUEE
========================================================= */

.partners {
    position: relative;
    overflow: hidden;
    padding: 18px 0 20px;
    border-block: 1px solid var(--line);
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(105, 89, 160, 0.055),
            transparent 27%
        ),
        #ffffff;
}

.partners-heading {
    margin-bottom: 6px;
}

.partners-heading .eyebrow {
    margin-bottom: 0;
    font-size: 10px;
}

.partners::before,
.partners::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    width: clamp(42px, 6vw, 92px);
    pointer-events: none;
}

.partners::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 38%, rgba(255,255,255,0));
}

.partners::after {
    right: 0;
    background: linear-gradient(-90deg, #ffffff 38%, rgba(255,255,255,0));
}

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 8px;
    outline: none;
}

.marquee:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(99, 91, 255, 0.28);
}

.marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    animation: collaborator-marquee 46s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 62px);
    padding-inline: clamp(46px, 6vw, 92px);
}

.collaborator-logo {
    flex: 0 0 auto;
    width: clamp(104px, 9vw, 142px);
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 8px 10px;
    overflow: visible;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 220ms ease, filter 220ms ease;
}

.collaborator-logo-square {
    width: clamp(82px, 7vw, 104px);
}

.collaborator-logo-tall {
    width: clamp(96px, 8vw, 118px);
}

.collaborator-logo-wide {
    width: clamp(148px, 14vw, 208px);
}

.collaborator-logo img {
    display: block;
    width: 100%;
    height: 54px;
    object-fit: contain;
    object-position: 50% 50%;
    filter: saturate(0.94);
}

.collaborator-logo-square img,
.collaborator-logo-tall img {
    width: auto;
    max-width: 100%;
}

.collaborator-logo:hover {
    transform: translateY(-2px);
}

.collaborator-logo:hover img {
    filter: saturate(1.06);
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
    animation-play-state: paused;
}

@keyframes collaborator-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 700px) {
    .partners {
        padding: 14px 0 15px;
    }

    .partners-heading {
        margin-bottom: 3px;
    }

    .marquee {
        padding-block: 6px;
    }

    .marquee-group {
        gap: 24px;
        padding-inline: 48px;
    }

    .collaborator-logo {
        height: 60px;
        padding: 7px 8px;
    }

    .collaborator-logo img {
        height: 44px;
    }

    .collaborator-logo-square {
        width: 72px;
    }

    .collaborator-logo-tall {
        width: 82px;
    }

    .collaborator-logo-wide {
        width: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .marquee-track {
        animation: none;
    }

    .marquee-group[aria-hidden="true"] {
        display: none;
    }
}

/* =========================================================
   FLOATING NAVIGATION
========================================================= */

.floating-nav {
    position: sticky;
    z-index: 100;

    top: 17px;

    width: min(960px, calc(100% - 32px));
    min-height: 62px;

    margin: 18px auto 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 9px 11px 9px 22px;

    border: 1px solid rgba(105, 89, 160, 0.14);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.78);

    backdrop-filter: blur(19px);
    -webkit-backdrop-filter: blur(19px);

    box-shadow:
        0 18px 55px rgba(52, 34, 90, 0.11);
}

.floating-brand {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.floating-brand img {
    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 11px;

    box-shadow:
        0 8px 20px rgba(72, 43, 130, 0.16);
}

.floating-links {
    display: flex;

    gap: 24px;
}

.floating-links a {
    color: #68616e;

    text-decoration: none;

    font-size: 13px;
    font-weight: 680;
}

.floating-links a:hover {
    color: var(--purple);
}

.nav-cta {
    color: #ffffff;

    padding: 12px 18px;

    border-radius: 9px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 760;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--electric)
        );
}

/* =========================================================
   PROBLEM
========================================================= */

.problem-section {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 180, 91, 0.20),
            transparent 24%
        ),
        #ffffff;
}

.challenge-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 72px;
    align-items: stretch;
}

.challenge-copy {
    position: relative;

    min-height: 450px;

    padding: 42px;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--purple),
            #503f86
        );

    border-radius: 12px;

    box-shadow: var(--shadow-strong);
}

.challenge-kicker {
    margin-bottom: 18px;

    font-size: 31px;
    font-weight: 760;
    line-height: 1.1;
}

.challenge-copy > p:last-of-type {
    max-width: 420px;

    color: rgba(255, 255, 255, 0.73);

    font-size: 20px;
    line-height: 1.6;
}

.challenge-accent {
    position: absolute;

    right: -80px;
    bottom: -100px;

    width: 320px;
    height: 320px;

    border-radius:
        46% 54% 39% 61%
        /
        54% 40% 60% 46%;

    background:
        linear-gradient(
            145deg,
            var(--pink),
            var(--orange)
        );

    opacity: 0.84;
}

.challenge-statistics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.challenge-stat {
    min-height: 215px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    border-radius: 10px;
}

.challenge-stat strong {
    font-size: clamp(58px, 6vw, 92px);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.challenge-stat span {
    margin-top: 16px;

    font-size: 18px;
    font-weight: 690;
}

.challenge-stat-blue {
    grid-column: 1 / -1;
}

.challenge-stat-purple {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--violet),
            var(--purple)
        );
}

.challenge-stat-coral {
    color: #351d18;

    background:
        linear-gradient(
            145deg,
            #ff9c7d,
            var(--orange)
        );
}

.challenge-stat-blue {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--electric),
            var(--cyan)
        );
}

/* =========================================================
   SOLUTION
========================================================= */

.solution-section {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(242, 102, 181, 0.15),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #f8f4ff,
            #ffffff
        );
}

.solution-heading {
    display: grid;
    grid-template-columns: 1.45fr 0.55fr;

    gap: 70px;
    align-items: end;

    margin-bottom: 75px;
}

.solution-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 18px;
}

.solution-panel {
    min-height: 238px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 26px;

    border: 1px solid rgba(44, 29, 72, 0.09);
    border-radius: 11px;

    box-shadow: var(--shadow-soft);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.solution-panel:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-strong);
}

.solution-panel:nth-child(1) {
    grid-column: span 5;
}

.solution-panel:nth-child(2),
.solution-panel:nth-child(5) {
    grid-column: span 4;
}

.solution-panel:nth-child(3),
.solution-panel:nth-child(4) {
    grid-column: span 3;
}

.solution-panel:nth-child(6) {
    grid-column: span 5;
}

.panel-number {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.solution-panel h3 {
    margin-bottom: 0;

    font-size: clamp(23px, 2vw, 28px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.solution-panel p {
    width: fit-content;
    max-width: 100%;

    padding: 9px 11px;

    border: 1px solid rgba(34, 25, 50, 0.10);
    border-radius: 7px;

    background: rgba(255, 255, 255, 0.48);

    font-size: 14px;
    font-weight: 680;
    line-height: 1.45;
}

.solution-panel-primary p,
.solution-panel-blue p,
.solution-panel-ink p {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.solution-panel > div {
    display: grid;
    gap: 12px;
}

.solution-panel h3 {
    margin-bottom: 0;
}

.solution-panel-primary {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--purple),
            var(--electric)
        );
}

.solution-panel-orange {
    background:
        linear-gradient(
            145deg,
            #fff3dd,
            #ffd19b
        );
}

.solution-panel-pink {
    background:
        linear-gradient(
            145deg,
            #fff0f7,
            #f9c8e5
        );
}

.solution-panel-blue {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--blue),
            var(--cyan)
        );
}

.solution-panel-light {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #ede8ff
        );
}

.solution-panel-ink {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #201827,
            #453252
        );
}

.solution-callout {
    margin-top: 18px;

    display: grid;
    grid-template-columns: auto 1fr;

    gap: 25px;
    align-items: center;

    padding: 25px 28px;

    color: #ffffff;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            var(--coral),
            var(--pink),
            var(--violet)
        );
}

.solution-callout span {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.solution-callout p {
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.12;
}

/* =========================================================
   ARCHITECTURE
========================================================= */

.architecture-section {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 53%,
            rgba(105, 89, 160, 0.14),
            transparent 32%
        ),
        #ffffff;
}

.architecture-heading {
    margin-bottom: 54px;
}

.architecture-summary {
    max-width: 690px;
    margin-top: 28px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.architecture-visual {
    position: relative;

    width: min(100%, 1100px);
    height: 720px;

    margin-inline: auto;
}

/* Central RELIEF hub */

.architecture-core {
    position: absolute;
    z-index: 3;

    top: 50%;
    left: 50%;

    width: 286px;
    height: 286px;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 38px;

    text-align: center;
    color: #ffffff;

    border-radius:
        48% 52% 43% 57%
        /
        54% 42% 58% 46%;

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255, 255, 255, 0.24),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--purple),
            var(--electric)
        );

    box-shadow: var(--shadow-strong);
}

.architecture-core::after {
    content: "";

    position: absolute;
    z-index: -1;
    inset: -15px;

    border: 1px solid rgba(105, 89, 160, 0.18);
    border-radius: inherit;
}

.architecture-core span {
    margin-bottom: 17px;

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.22em;
}

.architecture-core strong {
    max-width: 220px;
    margin-bottom: 14px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.02;
}

.architecture-core p {
    max-width: 190px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 13px;
    line-height: 1.45;
}

/* Five independent arms */

.architecture-pillar {
    position: absolute;
    z-index: 3;

    width: 290px;
    min-height: 154px;

    transform: translate(-50%, -50%);

    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "number name"
        "number function";

    column-gap: 18px;
    align-content: center;

    padding: 23px 24px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: var(--shadow-soft);

    backdrop-filter: blur(13px);
}

.architecture-number {
    grid-area: number;
    align-self: start;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: var(--purple);
    background: var(--lavender);

    border-radius: 999px;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.architecture-name {
    grid-area: name;
}

.architecture-hindi {
    margin-bottom: 2px;

    color: var(--ink);

    font-family:
        "Nirmala UI",
        "Mangal",
        "Noto Sans Devanagari",
        sans-serif;

    font-size: 29px;
    font-weight: 700;
    line-height: 1.05;
}

.architecture-roman {
    color: var(--purple);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.architecture-pillar h3 {
    grid-area: function;

    margin-top: 13px;

    color: var(--ink-soft);

    font-size: 16px;
    font-weight: 680;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

/* Radial positioning */

.architecture-one {
    top: 11%;
    left: 50%;

    border-top: 5px solid var(--orange);
}

.architecture-two {
    top: 30%;
    left: 85%;

    border-top: 5px solid var(--pink);
}

.architecture-three {
    top: 84%;
    left: 73%;

    border-top: 5px solid var(--blue);
}

.architecture-four {
    top: 84%;
    left: 27%;

    border-top: 5px solid var(--violet);
}

.architecture-five {
    top: 30%;
    left: 15%;

    border-top: 5px solid var(--cyan);
}

/* Five spokes: each connects directly to RELIEF */

.architecture-connectors {
    position: absolute;
    z-index: 1;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;
}

.architecture-connectors path {
    fill: none;

    stroke: rgba(105, 89, 160, 0.40);
    stroke-width: 2;
    stroke-linecap: round;
}

/* Reveal animation */

.architecture-section.is-animated .architecture-core,
.architecture-section.is-animated .architecture-pillar {
    opacity: 0;
}

.architecture-section.is-animated .architecture-core {
    transform:
        translate(-50%, -50%)
        scale(0.88);
}

.architecture-section.is-animated .architecture-pillar {
    transform:
        translate(-50%, -50%)
        translateY(18px);
}

.architecture-section.is-animated
.architecture-connectors path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.architecture-section.is-visible .architecture-core {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);

    transition:
        opacity 650ms ease,
        transform 850ms
        cubic-bezier(0.16, 1, 0.3, 1);
}

.architecture-section.is-visible
.architecture-connectors path {
    stroke-dashoffset: 0;

    transition:
        stroke-dashoffset 820ms ease;
}

.architecture-section.is-visible
.architecture-connectors path:nth-child(1) {
    transition-delay: 300ms;
}

.architecture-section.is-visible
.architecture-connectors path:nth-child(2) {
    transition-delay: 420ms;
}

.architecture-section.is-visible
.architecture-connectors path:nth-child(3) {
    transition-delay: 540ms;
}

.architecture-section.is-visible
.architecture-connectors path:nth-child(4) {
    transition-delay: 660ms;
}

.architecture-section.is-visible
.architecture-connectors path:nth-child(5) {
    transition-delay: 780ms;
}

.architecture-section.is-visible .architecture-pillar {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        translateY(0);

    transition:
        opacity 560ms ease,
        transform 720ms
        cubic-bezier(0.16, 1, 0.3, 1);
}

.architecture-section.is-visible .architecture-one {
    transition-delay: 700ms;
}

.architecture-section.is-visible .architecture-two {
    transition-delay: 820ms;
}

.architecture-section.is-visible .architecture-three {
    transition-delay: 940ms;
}

.architecture-section.is-visible .architecture-four {
    transition-delay: 1060ms;
}

.architecture-section.is-visible .architecture-five {
    transition-delay: 1180ms;
}
/* =========================================================
   SOFTWARE MEDICAL DEVICE
========================================================= */

.medical-device-section {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 14%,
            rgba(79, 124, 255, 0.17),
            transparent 25%
        ),
        radial-gradient(
            circle at 10% 86%,
            rgba(255, 180, 91, 0.20),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f7f3ff
        );
}

.medical-device-heading {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 70px;
    align-items: end;

    margin-bottom: 75px;
}

.medical-device-heading h2 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.01;
    letter-spacing: -0.055em;
}

.care-pathway {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        44px
        minmax(0, 1fr)
        44px
        minmax(0, 1fr)
        44px
        minmax(0, 1fr);

    gap: 8px;
    align-items: stretch;
}

.care-stage {
    min-height: 460px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 11px;

    box-shadow:
        0 28px 75px rgba(48, 29, 82, 0.14);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.care-stage:hover {
    transform: translateY(-7px);

    box-shadow:
        0 40px 100px rgba(48, 29, 82, 0.20);
}

.care-stage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 18px 21px;

    color: #ffffff;
}

.care-stage-number {
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.care-stage-label {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.care-stage-body {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 24px;
    padding: 28px;

    background: rgba(255, 255, 255, 0.93);
}

.care-stage-icon {
    width: 88px;
    height: 88px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;
    margin-bottom: 0;

    border-radius: 50%;
}

.care-stage-icon svg {
    width: 52px;
    height: 52px;

    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.care-stage h3 {
    min-height: 2.1em;

    margin-top: 0;
    margin-bottom: 0;

    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.care-stage-tags {
    display: grid;

    gap: 9px;
    margin-top: auto;
}

.care-stage-tags span {
    padding: 10px 12px;

    border: 1px solid rgba(105, 89, 160, 0.11);
    border-radius: 6px;

    background: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.4;
}

.care-stage-outreach .care-stage-header {
    background:
        linear-gradient(
            90deg,
            var(--coral),
            var(--orange)
        );
}

.care-stage-outreach .care-stage-icon {
    color: var(--coral);
    background: rgba(255, 116, 93, 0.13);
}

.care-stage-screening .care-stage-header {
    background:
        linear-gradient(
            90deg,
            #319b62,
            #39b97a
        );
}

.care-stage-screening .care-stage-icon {
    color: #278c59;
    background: rgba(49, 155, 98, 0.13);
}

.care-stage-intervention .care-stage-header {
    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--cyan)
        );
}

.care-stage-intervention .care-stage-icon {
    color: var(--blue);
    background: rgba(79, 124, 255, 0.12);
}

.care-stage-prevention .care-stage-header {
    background:
        linear-gradient(
            90deg,
            var(--violet),
            var(--pink)
        );
}

.care-stage-prevention .care-stage-icon {
    color: var(--pink);
    background: rgba(242, 102, 181, 0.13);
}

.care-pathway-arrow {
    display: grid;
    place-items: center;

    color: var(--purple);

    font-size: 32px;
    font-weight: 300;
}

.care-routing {
    margin-top: 22px;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 18px;
}

.care-routing-primary {
    padding: 32px;

    color: #ffffff;

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            #21172d,
            var(--purple)
        );
}

.care-routing-primary .mini-label {
    margin-bottom: 20px;

    color: var(--orange);
}

.care-routing-primary h3 {
    font-size: clamp(28px, 3.5vw, 43px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.care-routing-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.care-routing-options article {
    min-height: 190px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.90);

    box-shadow: var(--shadow-soft);
}

.care-routing-options article:nth-child(1) {
    border-top: 5px solid #39b97a;
}

.care-routing-options article:nth-child(2) {
    border-top: 5px solid var(--orange);
}

.care-routing-options article:nth-child(3) {
    border-top: 5px solid var(--pink);
}

.care-routing-options span {
    color: var(--purple);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.care-routing-options strong {
    font-size: 19px;
    line-height: 1.3;
}

@media (max-width: 1100px) {

    .care-pathway {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

    .care-pathway-arrow {
        display: none;
    }

}

@media (max-width: 850px) {

    .medical-device-heading,
    .care-routing {
        grid-template-columns: 1fr;
    }

    .care-routing-options {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 620px) {

    .care-pathway {
        grid-template-columns: 1fr;
    }

    .care-stage {
        min-height: 430px;
    }

}
/* =========================================================
   EFFECTIVENESS
========================================================= */

.effectiveness-section {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(242, 102, 181, 0.25),
            transparent 25%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(255, 180, 91, 0.23),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #fff8ef,
            #ffffff 46%,
            #f3efff
        );
}

.effectiveness-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 72px;
}

.sample-badge {
    flex: 0 0 auto;

    padding: 13px 17px;

    color: var(--purple);

    border: 1px solid rgba(105, 89, 160, 0.17);
    border-radius: 8px;

    background: rgba(105, 89, 160, 0.08);

    font-size: 14px;
    font-weight: 760;
}

.horizontal-study-chart {
    display: grid;

    gap: 26px;

    padding: 52px;

    border: 1px solid rgba(105, 89, 160, 0.11);
    border-radius: 12px;

    background:
        linear-gradient(
            140deg,
            rgba(255, 255, 255, 0.96),
            rgba(247, 243, 255, 0.87)
        );

    box-shadow: var(--shadow-strong);
}

.horizontal-study-row {
    display: grid;
    grid-template-columns: 245px 1fr 54px;

    gap: 24px;
    align-items: center;
}

.horizontal-study-label {
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 720;
    line-height: 1.25;
}

.horizontal-study-track {
    height: 34px;

    overflow: hidden;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            rgba(105, 89, 160, 0.07),
            rgba(79, 124, 255, 0.10)
        );
}

.horizontal-study-bar {
    width: 0;
    height: 100%;

    border-radius: 5px;

    transition:
        width 1s cubic-bezier(.22, 1, .36, 1);
}

.effectiveness-section.is-visible .horizontal-study-bar {
    width: var(--bar-width);
}

.effectiveness-section.is-visible
.horizontal-study-row:nth-child(2)
.horizontal-study-bar {
    transition-delay: 100ms;
}

.effectiveness-section.is-visible
.horizontal-study-row:nth-child(3)
.horizontal-study-bar {
    transition-delay: 200ms;
}

.effectiveness-section.is-visible
.horizontal-study-row:nth-child(4)
.horizontal-study-bar {
    transition-delay: 300ms;
}

.effectiveness-section.is-visible
.horizontal-study-row:nth-child(5)
.horizontal-study-bar {
    transition-delay: 400ms;
}

.effectiveness-section.is-visible
.horizontal-study-row:nth-child(6)
.horizontal-study-bar {
    transition-delay: 500ms;
}

.bar-purple {
    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--violet)
        );
}

.bar-blue {
    background:
        linear-gradient(
            90deg,
            var(--electric),
            var(--cyan)
        );
}

.bar-pink {
    background:
        linear-gradient(
            90deg,
            var(--violet),
            var(--pink)
        );
}

.bar-coral {
    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--coral)
        );
}

.bar-orange {
    background:
        linear-gradient(
            90deg,
            var(--coral),
            var(--orange)
        );
}

.bar-violet {
    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--violet)
        );
}

.horizontal-study-row strong {
    color: var(--purple);

    font-size: 20px;
    text-align: right;
}

.effectiveness-insight {
    margin-top: 30px;

    display: grid;
    grid-template-columns: auto 1fr;

    gap: 28px;

    padding: 28px 31px;

    border-radius: 7px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 180, 91, 0.18),
            rgba(242, 102, 181, 0.10),
            rgba(105, 89, 160, 0.08)
        );
}

.effectiveness-insight span {
    color: var(--purple);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.effectiveness-insight p {
    color: var(--ink-soft);

    font-size: 20px;
    line-height: 1.5;
}

/* =========================================================
   TECHNOLOGY
========================================================= */

.technology-section {
    background:
        radial-gradient(
            circle at 10% 18%,
            rgba(79, 124, 255, 0.13),
            transparent 26%
        ),
        #ffffff;
}

.technology-heading {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 65px;
    align-items: end;

    margin-bottom: 78px;
}

.license-callout {
    padding: 26px;

    border-left: 4px solid var(--coral);

    background:
        linear-gradient(
            90deg,
            rgba(255, 116, 93, 0.12),
            transparent
        );
}

.license-callout span {
    display: block;

    margin-bottom: 11px;

    color: var(--coral);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.license-callout p {
    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}

.technology-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;

    gap: 70px;
    align-items: center;

    margin-bottom: 80px;
}

.software-demo {
    overflow: hidden;

    border: 1px solid rgba(105, 89, 160, 0.15);
    border-radius: 13px;

    background: #ffffff;

    box-shadow: var(--shadow-strong);
}

.software-browserbar {
    min-height: 61px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 0 20px;

    border-bottom: 1px solid var(--line);

    background: #f9f7fd;
}

.browser-dots {
    display: flex;

    gap: 7px;
}

.browser-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: rgba(105, 89, 160, 0.28);
}

.software-browserbar > strong {
    color: var(--purple);

    font-size: 12px;
    letter-spacing: 0.16em;
}

.secure-label {
    justify-self: end;

    padding: 7px 10px;

    color: var(--purple);

    border-radius: 7px;

    background: rgba(105, 89, 160, 0.09);

    font-size: 10px;
    font-weight: 760;
}

.assessment-demo {
    min-height: 560px;

    padding: 45px;
}

.assessment-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 42px;
}

.assessment-progress span {
    height: 5px;

    border-radius: 99px;

    background: #e9e5f0;
}

.assessment-progress span.is-active,
.assessment-progress-active {
    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--pink)
        );
}

.assessment-label {
    margin-bottom: 17px;

    color: var(--purple);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.assessment-demo h3 {
    margin-bottom: 30px;

    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.assessment-options {
    display: grid;

    gap: 10px;

    margin-bottom: 34px;
}


.assessment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.assessment-footer > span {
    color: #918a96;

    font-size: 13px;
}

.assessment-controls {
    display: flex;

    gap: 9px;
}

.assessment-back,
.assessment-next {
    padding: 12px 16px;

    border-radius: 7px;

    cursor: pointer;
    font-size: 13px;
    font-weight: 720;
}

.assessment-back {
    color: var(--purple);

    background: rgba(105, 89, 160, 0.09);
}

.assessment-next {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--electric)
        );
}

.journey-list {
    display: grid;

    gap: 9px;
}

.journey-item {
    position: relative;

    display: grid;
    grid-template-columns: 58px 1fr;

    gap: 20px;
    align-items: center;

    padding: 18px 0;
}

.journey-item span {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    color: #ffffff;

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            var(--purple),
            var(--violet)
        );

    font-size: 11px;
    font-weight: 850;
}

.journey-item:nth-child(2) span {
    background:
        linear-gradient(
            145deg,
            var(--orange),
            var(--coral)
        );
}

.journey-item:nth-child(3) span {
    background:
        linear-gradient(
            145deg,
            var(--pink),
            var(--violet)
        );
}

.journey-item:nth-child(4) span {
    background:
        linear-gradient(
            145deg,
            var(--electric),
            var(--cyan)
        );
}

.journey-item:nth-child(5) span {
    background:
        linear-gradient(
            145deg,
            #30243d,
            var(--purple)
        );
}

.journey-item h3 {
    font-size: 20px;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.technology-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    padding-top: 42px;

    border-top: 1px solid var(--line);
}

.technology-benefits > div {
    padding-left: 18px;

    border-left: 3px solid var(--purple);
}

.technology-benefits > div:nth-child(2) {
    border-color: var(--orange);
}

.technology-benefits > div:nth-child(3) {
    border-color: var(--pink);
}

.technology-benefits > div:nth-child(4) {
    border-color: var(--blue);
}

.technology-benefits strong,
.technology-benefits span {
    display: block;
}

.technology-benefits strong {
    margin-bottom: 5px;

    font-size: 17px;
}

.technology-benefits span {
    color: var(--muted);

    font-size: 13px;
}

/* =========================================================
   SOCIAL IMPACT
========================================================= */

/* =========================================================
   SOCIAL IMPACT — EDITORIAL STORY
========================================================= */

.impact-section {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f6f2ff,
            #ffffff 54%,
            #fff8ef
        );
}

.impact-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    gap: 70px;
    align-items: end;

    margin-bottom: 78px;
}

.impact-heading h2 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.01;
    letter-spacing: -0.055em;
}

.impact-colour-field {
    position: absolute;
    z-index: -1;

    border-radius: 50%;

    filter: blur(2px);

    pointer-events: none;
}

.impact-field-one {
    width: 420px;
    height: 420px;

    top: 60px;
    right: -170px;

    background:
        radial-gradient(
            circle,
            rgba(242, 102, 181, 0.27),
            rgba(242, 102, 181, 0)
        );
}

.impact-field-two {
    width: 360px;
    height: 360px;

    left: -150px;
    bottom: 90px;

    background:
        radial-gradient(
            circle,
            rgba(255, 180, 91, 0.25),
            rgba(255, 180, 91, 0)
        );
}

.impact-story {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.impact-story-item {
    min-width: 0;
    height: 285px;
    perspective: 1200px;
}

.impact-story-item:nth-child(5) {
    grid-column: 1 / -1;
    height: 250px;
}

.impact-flip-card {
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: pointer;
    color: inherit;
    text-align: left;
    border-radius: 11px;
    background: transparent;
    perspective: inherit;
    -webkit-tap-highlight-color: transparent;
}

.impact-flip-card-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform-style: preserve-3d;
    transition: transform 620ms cubic-bezier(.2, .75, .2, 1);
    box-shadow: 0 22px 60px rgba(52, 34, 90, 0.13);
}

.impact-flip-card:hover .impact-flip-card-inner,
.impact-flip-card:focus-visible .impact-flip-card-inner {
    box-shadow: 0 30px 75px rgba(52, 34, 90, 0.19);
}

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

.impact-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 27px;
    overflow: hidden;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.impact-flip-front {
    justify-content: space-between;
}

.impact-flip-back {
    justify-content: flex-start;
    transform: rotateY(180deg);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.impact-story-top,
.impact-story-back-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.impact-story-number,
.impact-story-back-label {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.impact-story-back-label {
    opacity: 0.72;
}

.impact-story-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
}

.impact-story-icon svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.impact-story-title {
    display: block;
    margin-top: auto;
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.05em;
}

.impact-story-back-title {
    display: block;
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: clamp(25px, 2.4vw, 35px);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.impact-story-description {
    display: block;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.55;
}

.impact-flip-hint {
    display: block;
    margin-top: 18px;
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.68;
}

.impact-flip-back .impact-flip-hint {
    margin-top: auto;
}

.impact-story-purple .impact-flip-face {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.20), transparent 24%),
        linear-gradient(145deg, var(--purple), var(--electric));
}

.impact-story-orange .impact-flip-face {
    color: #332015;
    background: linear-gradient(145deg, #ffe2ba, var(--orange));
}

.impact-story-pink .impact-flip-face {
    color: #351d2b;
    background: linear-gradient(145deg, #ffd7e9, var(--pink));
}

.impact-story-blue .impact-flip-face {
    color: #ffffff;
    background: linear-gradient(145deg, var(--blue), var(--cyan));
}

.impact-story-dark .impact-flip-face {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 15%, rgba(242, 102, 181, 0.34), transparent 27%),
        linear-gradient(120deg, #1f1728, #46315f 55%, var(--purple));
}

.impact-story-purple .impact-flip-back,
.impact-story-blue .impact-flip-back,
.impact-story-dark .impact-flip-back {
    color: #ffffff;
}

.impact-closing {
    position: relative;
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
    padding: 38px 42px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 9px;
    background: linear-gradient(90deg, var(--coral), var(--pink), var(--violet), var(--blue));
    background-size: 220% 100%;
    animation: impactClosingShift 10s ease-in-out infinite alternate;
}

@keyframes impactClosingShift {
    from { background-position: 0% center; }
    to { background-position: 100% center; }
}

.impact-closing-mark {
    width: 77px;
    height: 77px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 38px;
}

.impact-closing strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(28px, 3.5vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.impact-closing strong span {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
}

.impact-closing p {
    color: rgba(255, 255, 255, 0.77);
    font-size: 18px;
}

@media (max-width: 900px) {
    .impact-heading { grid-template-columns: 1fr; }
    .impact-story { grid-template-columns: 1fr; }
    .impact-story-item,
    .impact-story-item:nth-child(5) {
        grid-column: auto;
        height: 260px;
    }
}

@media (max-width: 600px) {
    .impact-story-item,
    .impact-story-item:nth-child(5) { height: 245px; }
    .impact-flip-face { padding: 23px; }
    .impact-story-icon { width: 66px; height: 66px; }
    .impact-story-icon svg { width: 38px; height: 38px; }
    .impact-story-title { font-size: 31px; }
    .impact-story-back-title { margin-top: 24px; font-size: 26px; }
    .impact-story-description { font-size: 15px; line-height: 1.48; }
    .impact-closing { grid-template-columns: 1fr; padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .impact-flip-card-inner { transition-duration: 1ms; }
}

/* =========================================================
   LEADERSHIP
========================================================= */

.leadership-section {
    background:
        linear-gradient(
            180deg,
            #f6f2ff,
            #ffffff
        );
}

.founder-layout {
    display: grid;
    grid-template-columns: 240px 1fr;

    gap: 52px;
    align-items: center;

    padding-bottom: 58px;

    border-bottom: 1px solid var(--line);
}


.founder-copy h3 {
    margin: 14px 0 19px;

    font-size: clamp(40px, 5vw, 65px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.founder-copy > p {
    color: var(--muted);

    font-size: 17px;
    line-height: 1.55;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 27px;
}

.founder-tags span {
    padding: 9px 12px;

    border: 1px solid var(--line);
    border-radius: 7px;

    background: #ffffff;

    font-size: 12px;
    font-weight: 650;
}

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

    gap: 50px;

    padding-top: 54px;
}

.team-columns .mini-label {
    margin-bottom: 18px;
}

.team-columns p:not(.mini-label) {
    margin-bottom: 10px;

    font-size: 17px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    isolation: isolate;

    min-height: 92vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 13% 15%,
            rgba(255, 180, 91, 0.78),
            transparent 25%
        ),
        radial-gradient(
            circle at 82% 24%,
            rgba(242, 102, 181, 0.72),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #332264,
            var(--purple) 46%,
            #4159d8
        );
}

.contact-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.contact-section .eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.contact-section h2 {
    margin-bottom: 28px;

    font-size: clamp(62px, 8vw, 112px);
    line-height: 0.89;
    letter-spacing: -0.07em;
}

.contact-message {
    max-width: 720px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 22px;
    line-height: 1.55;
}

.contact-person {
    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;
}

.contact-button {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    padding: 16px 24px;

    color: var(--purple);
    background: #ffffff;

    border-radius: 8px;

    text-decoration: none;
    font-weight: 760;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.contact-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(24, 14, 55, 0.26);
}

.contact-shape {
    position: absolute;
    z-index: 1;

    border-radius:
        46% 54% 39% 61%
        /
        53% 37% 63% 47%;
}

.contact-shape-one {
    width: 430px;
    height: 430px;

    left: -160px;
    bottom: -190px;

    background:
        linear-gradient(
            145deg,
            var(--orange),
            var(--pink)
        );
}

.contact-shape-two {
    width: 360px;
    height: 360px;

    top: -170px;
    right: -120px;

    background:
        linear-gradient(
            145deg,
            var(--pink),
            var(--cyan)
        );
}

/* =========================================================
   BACK TO TOP
========================================================= */


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

@media (max-width: 1050px) {

    .floating-links {
        gap: 16px;
    }

    .challenge-layout,
    .technology-layout {
        grid-template-columns: 1fr;
    }

    .solution-heading,
    .technology-heading {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .solution-panel:nth-child(n) {
        grid-column: span 6;
    }

    .architecture-visual {
        height: auto;

        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

    .architecture-core,
    .architecture-pillar {
        position: relative;
        inset: auto;

        width: auto;

        transform: none;
    }

    .architecture-core {
        grid-column: 1 / -1;

        width: 280px;
        height: 280px;

        justify-self: center;
    }

    .architecture-connectors {
        display: none;
    }


}

@media (max-width: 900px) {

    .floating-links {
        display: none;
    }

    .challenge-statistics {
        grid-template-columns: 1fr;
    }

    .challenge-stat-blue {
        grid-column: auto;
    }


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


}

@media (max-width: 760px) {

    .section {
        padding: 110px 0;
    }

    .hero {
        min-height: 90vh;

        padding-top: 150px;
    }

    .hero-content h1 {
        font-size: clamp(56px, 15vw, 82px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-ribbon {
        right: -55%;
        bottom: -280px;
    }

    .challenge-copy {
        min-height: 350px;
    }

    .solution-panel:nth-child(n) {
        grid-column: span 12;
    }

    .effectiveness-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .horizontal-study-chart {
        padding: 30px;
    }

    .horizontal-study-row {
        grid-template-columns: 1fr 44px;

        gap: 12px 17px;
    }

    .horizontal-study-label {
        grid-column: 1 / -1;
    }

    .effectiveness-insight {
        grid-template-columns: 1fr;
    }

    .technology-benefits,
    .team-columns {
        grid-template-columns: 1fr 1fr;
    }


}

@media (max-width: 560px) {

    .section-heading h2,
    .solution-heading h2,
    .technology-heading h2,
    .effectiveness-heading h2 {
        font-size: 45px;
    }

    .hero-topbar {
        top: 24px;
    }

    .floating-nav {
        top: 10px;

        width: calc(100% - 20px);

        padding-left: 15px;
    }

    .challenge-copy,
    .challenge-stat {
        padding: 25px;
    }

    .architecture-visual {
        grid-template-columns: 1fr;
    }

    .architecture-core {
        grid-column: auto;

        width: 240px;
        height: 240px;
    }

    .assessment-demo {
        padding: 27px;
    }

    .software-browserbar {
        grid-template-columns: 1fr auto;
    }

    .secure-label {
        display: none;
    }

    .assessment-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .technology-benefits,
    .team-columns {
        grid-template-columns: 1fr;
    }


}
/* =========================================================
   ACCESSIBILITY AND FINAL RESPONSIVE CLEANUP
========================================================= */

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    color: #ffffff;
    border-radius: 8px;
    background: var(--ink);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}


@media (max-width: 900px) {
    .floating-nav {
        gap: 12px;
    }

    .floating-links {
        display: flex;
        flex: 1;
        gap: 16px;
        overflow-x: auto;
        padding: 8px 2px;
        scrollbar-width: none;
    }

    .floating-links::-webkit-scrollbar {
        display: none;
    }

    .floating-links > a {
        flex: 0 0 auto;
    }


}

@media (max-width: 620px) {
    .floating-nav {
        align-items: center;
        padding: 8px 9px 8px 14px;
    }

    .floating-brand img {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .floating-links {
        gap: 14px;
    }

    .nav-cta {
        flex: 0 0 auto;
    }


}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: none;
    }
}

/* National impact emblem and centred front face */
.impact-story-national .impact-flip-front {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.impact-story-national .impact-flip-front .impact-story-number {
    position: absolute;
    top: 27px;
    left: 27px;
}

.impact-national-emblem {
    width: clamp(92px, 10vw, 132px);
    height: clamp(92px, 10vw, 132px);
    object-fit: contain;
    margin: 0 auto 2px;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}

.impact-story-national .impact-story-title {
    margin-top: 0;
}

.impact-story-national .impact-flip-hint {
    margin-top: 4px;
}

@media (max-width: 620px) {
    .impact-story-national .impact-flip-front .impact-story-number {
        top: 23px;
        left: 23px;
    }

    .impact-national-emblem {
        width: 92px;
        height: 92px;
    }
}


/* =========================================================
   OFFSET-SAFE SECTION NAVIGATION
========================================================= */

.section-stepper {
    position: fixed;
    z-index: 320;

    top: 50%;
    right: 18px;

    width: 48px;

    display: grid;
    justify-items: center;

    overflow: hidden;

    border: 1px solid rgba(105, 89, 160, 0.18);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 18px 50px rgba(52, 34, 90, 0.17);

    transform: translateY(-50%);
}

.section-stepper-button {
    width: 48px;
    height: 46px;

    display: grid;
    place-items: center;

    color: var(--purple);
    background: transparent;

    cursor: pointer;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        opacity 180ms ease;
}

.section-stepper-button:hover:not(:disabled) {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--purple),
            var(--electric)
        );
}

.section-stepper-button:disabled {
    opacity: 0.28;
    cursor: default;
}

.section-stepper-button span {
    font-size: 20px;
    line-height: 1;
}

.section-stepper-status {
    width: 100%;

    display: grid;
    place-items: center;

    gap: 1px;

    padding: 9px 2px;

    color: var(--muted);

    border-block: 1px solid rgba(105, 89, 160, 0.12);

    font-size: 9px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.section-stepper-status span[aria-hidden="true"] {
    opacity: 0.45;
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 92px;
    }

    :where([id]) {
        scroll-margin-top: 92px;
    }

    .section-stepper {
        right: 8px;
        width: 42px;
        border-radius: 14px;
    }

    .section-stepper-button {
        width: 42px;
        height: 42px;
    }

    .section-stepper-status {
        padding-block: 7px;
        font-size: 8px;
    }
}

@media (max-width: 430px) {
    .section-stepper-status {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =========================================================
   FOUR-STEP PROCESS
========================================================= */

.process-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 12%, rgba(99, 91, 255, 0.08), transparent 27%),
        linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
}

.process-heading {
    max-width: 920px;
    margin-bottom: 58px;
}

.process-heading h2 {
    margin-bottom: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.3vw, 72px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.process-heading .display-serif {
    display: inline;
    color: var(--coral);
}

.process-heading .section-summary {
    max-width: 760px;
    font-size: 20px;
}

.process-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
    align-items: center;
    gap: 0;
}

.process-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid rgba(105, 89, 160, 0.13);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(246, 242, 255, 0.96), rgba(255, 248, 237, 0.94));
    box-shadow: 0 20px 50px rgba(53, 34, 92, 0.08);
}

.process-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.process-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border: 6px solid rgba(242, 102, 181, 0.12);
    border-radius: 50%;
    background: var(--ink);
}

.process-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-number {
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.process-card h3 {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 2.4vw, 39px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.process-card p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.62;
}

.process-arrow {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    color: var(--coral);
    font-size: 34px;
    font-weight: 300;
}

@media (max-width: 1040px) {
    .process-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .process-arrow {
        display: none;
    }
}

@media (max-width: 620px) {
    .process-heading {
        margin-bottom: 38px;
    }

    .process-heading .section-summary {
        font-size: 17px;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: 245px;
        padding: 24px;
    }
}

/* =========================================================
   LEADERSHIP PORTRAIT — DIRECTOR
========================================================= */

.founder-layout {
    grid-template-columns: minmax(270px, 330px) 1fr;
    align-items: center;
}

.founder-portrait {
    position: relative;
    height: 365px;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #efe9ff;
    box-shadow: var(--shadow-strong);
}

.founder-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent 58%,
            rgba(24, 15, 38, 0.78) 100%
        );
}

.founder-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 67% 33%;
    transform: scale(1.04);
}

.founder-portrait figcaption {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

@media (max-width: 800px) {
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .founder-portrait {
        width: min(100%, 520px);
        height: clamp(310px, 70vw, 430px);
    }
}

@media (max-width: 520px) {
    .founder-portrait {
        height: 330px;
        border-radius: 16px;
    }

    .founder-portrait img {
        object-position: 66% 32%;
    }
}
/* =========================================================
   RELIEF AND RELIEF PLUS — RESPONSIVE PROGRAM DESIGN
========================================================= */

.program-design-section {
    --pd-deep: #5f259f;
    --pd-mid: #7441b4;
    --pd-light: #a98bd4;
    --pd-pale: #f5f0fb;
    --pd-ink: #46256c;
    --pd-line: rgba(95, 37, 159, 0.28);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(169, 139, 212, 0.17),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 10%,
            rgba(116, 65, 180, 0.12),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf8fd 100%
        );
}


.program-design-container {
    width: min(1280px, calc(100% - 72px));

    margin-inline: auto;
}


.program-design-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, 0.75fr);

    gap: clamp(40px, 5vw, 76px);
    align-items: end;

    margin-bottom: clamp(48px, 5vw, 72px);
}


.program-design-heading h2 {
    font-size: clamp(48px, 5.7vw, 80px);
    line-height: 1.01;
    letter-spacing: -0.055em;
}


/* =========================================================
   INFOGRAPHIC SURFACE
========================================================= */

.pd-infographic {
    position: relative;
    isolation: isolate;

    padding: clamp(24px, 2.4vw, 34px);

    border: 1px solid rgba(95, 37, 159, 0.14);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(249, 246, 253, 0.98)
        );

    box-shadow:
        0 36px 100px rgba(57, 29, 87, 0.14);
}


.pd-icon-sprite {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
}


.pd-main-flow {
    position: relative;

    width: 100%;
    aspect-ratio: 1400 / 620;

    margin-inline: auto;
}


.pd-main-flow svg,
.pd-process-ribbon svg{
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   DESKTOP CONNECTORS
========================================================= */

.pd-connectors {
    position: absolute;
    z-index: 0;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;
    pointer-events: none;
}


.pd-connectors path {
    fill: none;
    stroke: var(--pd-deep);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.pd-connectors marker path {
    fill: var(--pd-deep);
    stroke: none;
}


.pd-node,
.pd-path-arrow,
.pd-outcomes,
.pd-flow-chevron,
.pd-solid-arrow {
    position: absolute;
    z-index: 2;
}


.pd-node {
    color: var(--pd-ink);
}


/* =========================================================
   LOGIN AND CONSENT
========================================================= */

.pd-login-card {
    left: 0.5%;
    top: 30%;

    width: 8.5%;
    min-height: 39%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 13px;

    padding: 18px 10px;

    border: 2px solid var(--pd-line);
    border-radius: 19px;

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 14px 34px rgba(65, 30, 103, 0.08);

    text-align: center;
}


.pd-login-icon {
    width: 46px;
    height: 46px;

    color: var(--pd-deep);
}


.pd-login-card h3 {
    font-size: clamp(11px, 1.35vw, 18px);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: 0.02em;
}


/* =========================================================
   TALK AND TEST ARROWS
========================================================= */

.pd-path-arrow {
    left: 11%;

    width: 13.5%;
    min-height: 12%;

    display: flex;
    align-items: center;

    padding:
        12px
        34px
        12px
        24px;

    color: #ffffff;

    clip-path:
        polygon(
            0 18%,
            73% 18%,
            73% 0,
            100% 50%,
            73% 100%,
            73% 82%,
            0 82%
        );

    background:
        linear-gradient(
            135deg,
            var(--pd-deep),
            var(--pd-mid)
        );

    filter:
        drop-shadow(
            0 12px 18px rgba(95, 37, 159, 0.16)
        );
}


.pd-path-arrow span {
    font-size: clamp(12px, 1.45vw, 19px);
    font-weight: 900;
    letter-spacing: 0.025em;
}


.pd-talk-arrow {
    top: 7.7%;
}


.pd-test-arrow {
    top: 44.5%;
}


/* =========================================================
   CIRCULAR MODULES
========================================================= */

.pd-circle {
    aspect-ratio: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    text-align: center;
}


/* AI CHATBOT */

.pd-ai-module {
    left: 27%;
    top: 0.5%;

    width: 14.5%;

    border: 4px solid var(--pd-deep);

    background: #ffffff;

    box-shadow:
        0 18px 42px rgba(75, 35, 113, 0.10);
}


.pd-bot-lockup {
    position: relative;

    width: 66%;
    height: 47%;

    margin-bottom: 4px;
}


.pd-bot-icon {
    position: absolute;

    left: 2%;
    bottom: 0;

    width: 69%;
    height: 100%;

    color: var(--pd-deep);
}


.pd-chat-icon {
    position: absolute;

    top: 1%;
    right: 0;

    width: 39%;
    height: 48%;

    color: var(--pd-deep);
}


.pd-ai-module h3,
.pd-solid-circle h3 {
    font-size: clamp(10px, 1.28vw, 18px);
    font-weight: 900;
    line-height: 1.12;
}


/* SOLID PURPLE CIRCLES */

.pd-solid-circle {
    color: #ffffff;

    background:
        radial-gradient(
            circle at 34% 24%,
            #7f4abd,
            var(--pd-deep) 74%
        );

    box-shadow:
        0 22px 48px rgba(71, 30, 111, 0.17);
}


.pd-solid-circle svg {
    width: 34%;
    height: 34%;

    margin-bottom: 8px;
}


.pd-tele-module {
    left: 69%;
    top: 0.5%;

    width: 14.5%;
}


.pd-wellness-module {
    left: 85.4%;
    top: 0.5%;

    width: 14.5%;
}


.pd-emr-module {
    left: 88.3%;
    top: 50%;

    width: 11.5%;
}


.pd-emr-module svg {
    width: 40%;
    height: 40%;
}


.pd-emr-module h3 {
    font-size: clamp(9px, 1.05vw, 15px);
}


/* =========================================================
   CHATBOT OUTCOMES
========================================================= */

.pd-outcomes {
    left: 47.1%;
    top: 2.5%;

    width: 15%;

    display: grid;

    gap: 28%;
}


.pd-outcome-label {
    min-height: 57px;

    display: grid;
    place-items: center;

    padding: 9px 14px;

    color: var(--pd-ink);

    border: 2px solid var(--pd-line);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 10px 26px rgba(62, 28, 98, 0.07);

    font-size: clamp(10px, 1.2vw, 17px);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}


.pd-mobile-escalation {
    display: none;
}


/* =========================================================
   STANDARD FLOW CARDS
========================================================= */

.pd-card {
    overflow: hidden;

    border: 2px solid var(--pd-line);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.99);

    box-shadow:
        0 18px 42px rgba(65, 30, 103, 0.08);
}


.pd-card-header {
    min-height: 14%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--pd-deep),
            var(--pd-mid)
        );

    font-size: clamp(10px, 1.22vw, 17px);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}


/* =========================================================
   STAKEHOLDERS
========================================================= */

.pd-stakeholders-card {
    left: 26.5%;
    top: 39.5%;

    width: 16%;
    min-height: 52%;
}


.pd-stakeholders-card ul {
    display: grid;

    gap: clamp(6px, 0.65vw, 11px);

    padding: clamp(12px, 1.3vw, 20px);

    list-style: none;
}


.pd-stakeholders-card li {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr);

    gap: 12px;
    align-items: center;

    min-height: 35px;

    font-size: clamp(9px, 1.05vw, 15px);
    font-weight: 850;
}


.pd-stakeholders-card li svg {
    width: 29px;
    height: 29px;

    color: var(--pd-deep);
}


/* =========================================================
   PSYCHOMETRIC TESTS
========================================================= */

.pd-psychometric-card {
    left: 45%;
    top: 43%;

    width: 21%;
    min-height: 43%;
}


.pd-test-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: clamp(12px, 1.4vw, 20px);

    padding: clamp(18px, 2vw, 28px);
}


.pd-test-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 14px;

    text-align: center;
}


.pd-icon-ring {
    width: min(94px, 7.5vw);
    aspect-ratio: 1;

    display: grid;
    place-items: center;

    border: 2px solid var(--pd-deep);
    border-radius: 50%;
}


.pd-icon-ring svg {
    width: 53%;
    height: 53%;

    color: var(--pd-deep);
}


.pd-test-item strong {
    font-size: clamp(9px, 1.08vw, 15px);
    line-height: 1.15;
}


/* =========================================================
   REFERRALS
========================================================= */

.pd-referrals-card {
    left: 70%;
    top: 43%;

    width: 17.5%;
    min-height: 43%;
}


.pd-referral-body {
    position: relative;

    min-height: 83%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 12px;

    padding:
        28px
        18px
        20px;

    text-align: center;
}


.pd-referral-arch {
    position: absolute;

    top: 22px;
    left: 50%;

    width: 54%;
    aspect-ratio: 2 / 1;

    border: 2px solid var(--pd-deep);
    border-bottom: 0;
    border-radius: 100px 100px 0 0;

    transform: translateX(-50%);
}


.pd-referral-body svg {
    position: relative;
    z-index: 1;

    width: 45px;
    height: 45px;

    color: var(--pd-deep);
}


.pd-referral-body strong {
    font-size: clamp(8px, 0.98vw, 14px);
    line-height: 1.13;
}


/* =========================================================
   LOWER-FLOW ARROWS
========================================================= */

.pd-flow-chevron,
.pd-solid-arrow {
    display: grid;
    place-items: center;

    color: var(--pd-deep);

    font-weight: 900;
    line-height: 1;
}


.pd-flow-chevron {
    top: 61%;

    font-size: clamp(40px, 5vw, 72px);
}


.pd-flow-chevron-one {
    left: 42.6%;
}


.pd-flow-chevron-two {
    left: 66.5%;
}


.pd-solid-arrow {
    left: 87.3%;
    top: 62%;

    font-size: clamp(35px, 4.5vw, 64px);
}


/* =========================================================
   CONTINUOUS PROCESS RIBBON
========================================================= */

.pd-process-ribbon {
    position: relative;
    z-index: 4;

    display: grid;
    grid-template-columns:
        1.05fr
        1.08fr
        1.08fr
        1fr;

    margin-top: 8px;

    filter:
        drop-shadow(
            0 15px 24px rgba(69, 31, 105, 0.12)
        );
}


.pd-ribbon-step {
    min-height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: clamp(12px, 1.5vw, 22px);

    margin-left: -24px;

    padding:
        15px
        38px
        15px
        54px;

    color: #ffffff;

    clip-path:
        polygon(
            0 0,
            calc(100% - 34px) 0,
            100% 50%,
            calc(100% - 34px) 100%,
            0 100%,
            34px 50%
        );
}


.pd-ribbon-step:first-child {
    margin-left: 0;

    padding-left: 26px;

    clip-path:
        polygon(
            0 0,
            calc(100% - 34px) 0,
            100% 50%,
            calc(100% - 34px) 100%,
            0 100%
        );

    border-radius: 13px 0 0 13px;
}


.pd-ribbon-clients,
.pd-ribbon-prevention {
    background:
        linear-gradient(
            135deg,
            #54208f,
            #6c31aa
        );
}


.pd-ribbon-identification {
    background:
        linear-gradient(
            135deg,
            #9c7dca,
            #8f6bc4
        );
}


.pd-ribbon-intervention {
    background:
        linear-gradient(
            135deg,
            #8c66c1,
            #7650b3
        );
}


.pd-ribbon-step svg {
    flex: 0 0 auto;

    width: clamp(34px, 3.4vw, 50px);
    height: clamp(34px, 3.4vw, 50px);
}


.pd-ribbon-step span {
    font-size: clamp(11px, 1.4vw, 18px);
    font-weight: 900;
    letter-spacing: 0.015em;
}


/* =========================================================
   DEVELOPMENT STATUS
========================================================= */


/* =========================================================
   TABLET AND MOBILE VERTICAL FLOW
========================================================= */

@media (max-width: 900px) {

    .program-design-container {
        width: min(100% - 48px, 760px);
    }


    .program-design-heading {
        grid-template-columns: 1fr;

        gap: 26px;
    }


    .pd-infographic {
        padding: 22px;
    }


    .pd-main-flow {
        aspect-ratio: auto;

        display: flex;
        flex-direction: column;

        gap: 18px;
    }


    .pd-connectors,
    .pd-flow-chevron,
    .pd-solid-arrow {
        display: none;
    }


    .pd-node,
    .pd-path-arrow,
    .pd-outcomes {
        position: relative;

        inset: auto;

        width: 100%;
        min-height: 0;
    }


    /* Mobile ordering */

    .pd-login-card {
        order: 1;
    }


    .pd-talk-arrow {
        order: 2;
    }


    .pd-ai-module {
        order: 3;
    }


    .pd-outcomes {
        order: 4;
    }


    .pd-tele-module {
        order: 5;
    }


    .pd-wellness-module {
        order: 6;
    }


    .pd-test-arrow {
        order: 7;
    }


    .pd-stakeholders-card {
        order: 8;
    }


    .pd-psychometric-card {
        order: 9;
    }


    .pd-referrals-card {
        order: 10;
    }


    .pd-emr-module {
        order: 11;
    }


    /* Mobile login */

    .pd-login-card {
        width: min(100%, 420px);
        min-height: 190px;

        margin-inline: auto;

        padding: 28px 22px;
    }


    .pd-login-icon {
        width: 60px;
        height: 60px;
    }


    .pd-login-card h3 {
        font-size: 20px;
    }


    /* Mobile pathway arrows */

    .pd-path-arrow {
        min-height: 66px;

        justify-content: flex-start;

        margin-top: 12px;

        padding-left: 30px;
    }


    .pd-path-arrow::before {
        content: "";

        position: absolute;

        left: 50%;
        top: -30px;

        width: 3px;
        height: 30px;

        background: var(--pd-deep);

        transform: translateX(-50%);
    }


    .pd-test-arrow {
        margin-top: 34px;
    }


    /* Mobile circles */

    .pd-circle {
        width: min(100%, 300px);

        margin-inline: auto;
    }


    .pd-ai-module,
    .pd-solid-circle {
        min-height: auto;
    }


    .pd-ai-module h3,
    .pd-solid-circle h3 {
        font-size: 18px;
    }


    /* Mobile outcomes */

    .pd-outcomes {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }


    .pd-outcome-label {
        min-height: 72px;

        font-size: 14px;
    }


    .pd-mobile-escalation {
        grid-column: 1 / -1;

        display: block;

        color: var(--pd-deep);

        font-size: 12px;
        font-weight: 800;
        text-align: center;
    }


    /* Mobile cards */

    .pd-card {
        width: min(100%, 620px);
        min-height: 0;

        margin-inline: auto;
    }


    .pd-card::after,
    .pd-circle:not(.pd-ai-module)::after,
    .pd-ai-module::after {
        content: "↓";

        position: absolute;

        left: 50%;
        bottom: -35px;

        color: var(--pd-deep);

        font-size: 24px;
        font-weight: 900;

        transform: translateX(-50%);
    }


    .pd-wellness-module::after,
    .pd-emr-module::after {
        display: none;
    }


    .pd-card-header {
        min-height: 56px;

        font-size: 15px;
    }


    .pd-stakeholders-card ul {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;

        padding: 22px;
    }


    .pd-stakeholders-card li {
        font-size: 14px;
    }


    .pd-test-grid {
        padding: 28px;
    }


    .pd-icon-ring {
        width: 100px;
    }


    .pd-test-item strong,
    .pd-referral-body strong {
        font-size: 14px;
    }


    .pd-referral-body {
        min-height: 250px;
    }


    .pd-emr-module {
        width: min(100%, 300px);
    }


    /* Tablet ribbon */

    .pd-process-ribbon {
        grid-template-columns:
            repeat(4, minmax(235px, 1fr));

        margin-top: 54px;

        overflow-x: auto;
        overscroll-behavior-inline: contain;

        scrollbar-width: thin;
    }


    .pd-ribbon-step {
        min-height: 76px;
    }


    /* Tablet status cards */


}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 620px) {

    .program-design-container {
        width: min(100% - 30px, 760px);
    }


    .pd-infographic {
        padding: 16px;

        border-radius: 17px;
    }


    .pd-path-arrow {
        width: 100%;
    }


    .pd-outcomes {
        grid-template-columns: 1fr;
    }


    .pd-mobile-escalation {
        grid-column: auto;
    }


    .pd-stakeholders-card ul {
        grid-template-columns: 1fr;
    }


    .pd-test-grid {
        grid-template-columns: 1fr;

        gap: 26px;
    }


    /* Stacked ribbon */

    .pd-process-ribbon {
        grid-template-columns: 1fr;

        gap: 10px;

        overflow: visible;
    }


    .pd-ribbon-step,
    .pd-ribbon-step:first-child {
        min-height: 72px;

        margin-left: 0;

        padding: 15px 20px;

        clip-path: none;
        border-radius: 12px;
    }


    /* Stacked status cards */


}

.stakeholder-modules-section {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(255, 180, 91, 0.18),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 22%,
            rgba(139, 114, 216, 0.18),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f7f3ff
        );
}

.stakeholder-modules-heading {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 70px;
    align-items: end;

    margin-bottom: 72px;
}

.stakeholder-modules-heading h2 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.01;
    letter-spacing: -0.055em;
}

.stakeholder-modules-visual {
    position: relative;

    width: min(100%, 1040px);
    height: 900px;

    margin-inline: auto;
}

.stakeholder-modules-core,
.stakeholder-module {
    position: absolute;
    z-index: 3;

    border-radius: 50%;

    box-shadow:
        0 30px 80px rgba(53, 34, 92, 0.17);
}

.stakeholder-modules-core {
    top: 50%;
    left: 50%;

    width: 350px;
    height: 350px;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 50px;

    text-align: center;

    border: 1px solid rgba(105, 89, 160, 0.12);

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255, 255, 255, 0.7),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f2edff
        );
}

.stakeholder-modules-core > span {
    margin-bottom: 18px;

    color: var(--purple);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.2em;
}

.stakeholder-modules-core h3 {
    max-width: 250px;

    margin-bottom: 16px;

    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.stakeholder-modules-core p {
    max-width: 235px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.55;
}

.stakeholder-module {
    width: 285px;
    height: 285px;

    display: grid;
    place-items: center;

    padding: 34px;
}

.stakeholder-module-inner {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 25px;

    text-align: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        inset 0 0 0 1px rgba(45, 29, 74, 0.05);
}

.stakeholder-module-number {
    display: block;

    margin-bottom: 17px;

    color: var(--ink-soft);

    font-size: clamp(43px, 5vw, 62px);
    font-weight: 340;
    line-height: 1;
    letter-spacing: -0.055em;
}

.stakeholder-module-divider {
    width: 84%;

    margin-bottom: 21px;

    border-top: 2px dashed currentColor;

    opacity: 0.58;
}

.stakeholder-module h3 {
    max-width: 190px;

    font-size: 21px;
    font-weight: 560;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.stakeholder-module-students {
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    color: #5f8e72;

    background:
        linear-gradient(
            145deg,
            #dcecdf,
            #91b89f
        );
}

.stakeholder-module-universities {
    top: 235px;
    right: 0;

    color: #b96158;

    background:
        linear-gradient(
            145deg,
            #f5d0c9,
            #ce897f
        );
}

.stakeholder-module-corporates {
    right: 120px;
    bottom: 0;

    color: #7396a8;

    background:
        linear-gradient(
            145deg,
            #dbe7ec,
            #9aafba
        );
}

.stakeholder-module-professionals {
    left: 120px;
    bottom: 0;

    color: #8d9253;

    background:
        linear-gradient(
            145deg,
            #e8e7b5,
            #b9bc73
        );
}

.stakeholder-module-wellness {
    top: 235px;
    left: 0;

    color: #b48d34;

    background:
        linear-gradient(
            145deg,
            #f8eab4,
            #dfc76f
        );
}

/* Soft radial connectors behind the circles */

.stakeholder-module-connector {
    position: absolute;
    z-index: 1;

    top: 50%;
    left: 50%;

    width: 270px;
    height: 92px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(105, 89, 160, 0.06),
            rgba(105, 89, 160, 0.24),
            rgba(105, 89, 160, 0.06)
        );

    transform-origin: left center;
}

.stakeholder-module-connector-one {
    transform:
        translate(0, -50%)
        rotate(-90deg);
}

.stakeholder-module-connector-two {
    transform:
        translate(0, -50%)
        rotate(-18deg);
}

.stakeholder-module-connector-three {
    transform:
        translate(0, -50%)
        rotate(54deg);
}

.stakeholder-module-connector-four {
    transform:
        translate(0, -50%)
        rotate(126deg);
}

.stakeholder-module-connector-five {
    transform:
        translate(0, -50%)
        rotate(198deg);
}

.stakeholder-module {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.stakeholder-module:hover {
    box-shadow:
        0 40px 95px rgba(53, 34, 92, 0.23);
}

.stakeholder-module-students:hover {
    transform:
        translateX(-50%)
        translateY(-7px);
}

.stakeholder-module-universities:hover,
.stakeholder-module-corporates:hover,
.stakeholder-module-professionals:hover,
.stakeholder-module-wellness:hover {
    transform: translateY(-7px);
}

.stakeholder-modules-callout {
    margin-top: 30px;

    display: grid;
    grid-template-columns: auto 1fr;

    gap: 24px;
    align-items: center;

    padding: 25px 29px;

    color: #ffffff;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--electric),
            var(--pink)
        );

    box-shadow:
        0 24px 60px rgba(99, 91, 255, 0.18);
}

.stakeholder-modules-callout span {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.stakeholder-modules-callout p {
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.25;
}

/* =========================================================
   STAKEHOLDER MODULES — RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
    .stakeholder-modules-heading {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .stakeholder-modules-visual {
        height: auto;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .stakeholder-module-connector {
        display: none;
    }

    .stakeholder-modules-core,
    .stakeholder-module {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        height: auto;
        min-height: 300px;

        transform: none;

        border-radius: 18px;
    }

    .stakeholder-modules-core {
        grid-column: 1 / -1;

        padding: 45px;
    }

    .stakeholder-module {
        padding: 22px;
    }

    .stakeholder-module-inner {
        min-height: 250px;

        border-radius: 14px;
    }

    .stakeholder-module:hover,
    .stakeholder-module-students:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 650px) {
    .stakeholder-modules-visual {
        grid-template-columns: 1fr;
    }

    .stakeholder-modules-core {
        grid-column: auto;

        min-height: 280px;
    }

    .stakeholder-module {
        min-height: 280px;
    }

    .stakeholder-modules-callout {
        grid-template-columns: 1fr;

        gap: 12px;
    }
}
/* =========================================================
   SOFTWARE STRENGTHS — COMPACT INVESTOR STRIP
========================================================= */

.software-strengths-section {
    overflow: hidden;

    padding-top: clamp(76px, 6vw, 96px);
    padding-bottom: clamp(76px, 6vw, 96px);

    background:
        radial-gradient(
            circle at 9% 16%,
            rgba(255, 180, 91, 0.14),
            transparent 24%
        ),
        radial-gradient(
            circle at 90% 18%,
            rgba(139, 114, 216, 0.14),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #faf8ff
        );
}

.software-strengths-heading {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;

    gap: 64px;
    align-items: end;

    margin-bottom: 46px;
}

.software-strengths-heading h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.052em;
}

.software-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);

    background: rgba(255, 255, 255, 0.7);

    box-shadow:
        0 24px 70px rgba(53, 34, 92, 0.09);
}

.software-strength-item {
    min-height: 178px;

    display: grid;
    grid-template-columns: 48px 1fr;

    gap: 18px;
    align-items: start;

    padding: 27px 25px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 245, 255, 0.88)
        );

    transition:
        transform 220ms ease,
        background 220ms ease;
}

.software-strength-item:hover {
    position: relative;
    z-index: 2;

    transform: translateY(-4px);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f1ecff
        );
}

.software-strength-number {
    color: var(--purple);

    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.software-strength-copy h3 {
    margin-bottom: 10px;

    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.software-strength-copy p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}

.software-strengths-summary {
    display: grid;
    grid-template-columns: auto 1fr;

    gap: 22px;
    align-items: center;

    margin-top: 18px;
    padding: 20px 24px;

    color: #ffffff;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--electric),
            var(--violet)
        );

    box-shadow:
        0 20px 50px rgba(99, 91, 255, 0.17);
}

.software-strengths-summary strong {
    font-size: 15px;
    white-space: nowrap;
}

.software-strengths-summary p {
    color: rgba(255, 255, 255, 0.84);

    font-size: 15px;
    line-height: 1.5;
}

/* =========================================================
   SOFTWARE STRENGTHS — RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .software-strengths-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }

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

@media (max-width: 620px) {
    .software-strengths-grid {
        grid-template-columns: 1fr;
    }

    .software-strength-item {
        min-height: auto;
    }

    .software-strengths-summary {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .software-strengths-summary strong {
        white-space: normal;
    }
}
.floating-nav {
    display: none !important;
}
/* Platform architecture responsive correction */

@media (max-width: 1050px) {

    .architecture-visual {
        height: auto;

        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .architecture-core,
    .architecture-pillar,
    .architecture-section.is-animated
    .architecture-core,
    .architecture-section.is-animated
    .architecture-pillar,
    .architecture-section.is-visible
    .architecture-core,
    .architecture-section.is-visible
    .architecture-pillar {
        position: relative;
        inset: auto;

        width: auto;

        transform: none;
    }

    .architecture-core,
    .architecture-section.is-animated
    .architecture-core,
    .architecture-section.is-visible
    .architecture-core {
        grid-column: 1 / -1;

        width: 280px;
        height: 280px;

        justify-self: center;
    }

    .architecture-pillar {
        min-height: 170px;
    }

    .architecture-five {
        grid-column: 1 / -1;

        width: calc(50% - 9px);

        justify-self: center;
    }

    .architecture-connectors {
        display: none;
    }
}

@media (max-width: 560px) {

    .architecture-visual {
        grid-template-columns: 1fr;
    }

    .architecture-core,
    .architecture-section.is-animated
    .architecture-core,
    .architecture-section.is-visible
    .architecture-core {
        grid-column: auto;

        width: 240px;
        height: 240px;
    }

    .architecture-core strong {
        font-size: 27px;
    }

    .architecture-pillar,
    .architecture-five {
        grid-column: auto;

        width: 100%;
        min-height: 150px;
    }
}
/* =========================================================
   MESSAGE FROM THE DIRECTOR
========================================================= */

.director-letter {
    isolation: isolate;

    overflow: hidden;

    border-top: 4px solid var(--purple);

    background:
        radial-gradient(
            circle at 82% 4%,
            rgba(139, 114, 216, 0.10),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfaff 100%
        );
}


.director-letter-container {
    width: min(1320px, calc(100% - 96px));

    margin-inline: auto;
}


/* =========================================================
   OPENING MASTHEAD
========================================================= */

.director-letter-masthead {
    display: grid;
    grid-template-columns:
        minmax(0, 7fr)
        minmax(360px, 5fr);

    gap: clamp(54px, 6vw, 90px);
    align-items: start;

    padding-bottom: clamp(52px, 5vw, 76px);

    border-bottom: 1px solid var(--line);
}


.director-letter-heading {
    padding-top: 8px;
}


.director-letter-heading .eyebrow {
    margin-bottom: 22px;
}


.director-letter-heading h2 {
    max-width: 780px;

    font-size: clamp(54px, 5.7vw, 84px);
    font-weight: 720;
    line-height: 0.98;
    letter-spacing: -0.06em;
}


.director-letter-heading .display-serif {
    margin-top: 5px;
}


.director-letter-deck {
    max-width: 720px;

    margin-top: 30px;
    padding-left: 23px;

    color: var(--ink-soft);

    border-left: 4px solid var(--violet);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(19px, 1.6vw, 24px);
    line-height: 1.55;
}


/* =========================================================
   PHOTOGRAPH — NATURAL ASPECT RATIO
========================================================= */

.director-letter-figure {
    position: relative;

    width: 100%;

    margin: 0;
}


/*
   No fixed height and no object-fit: cover.
   The image retains its original landscape dimensions.
*/

.director-letter-photo {
    position: relative;

    width: 100%;
}


/* Offset editorial plate behind the photograph */

.director-letter-photo::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 15px;
    right: -15px;
    bottom: -15px;
    left: 15px;

    background:
        linear-gradient(
            145deg,
            #332440,
            var(--purple)
        );
}


.director-letter-photo img {
    width: 100%;
    height: auto;

    display: block;

    border: 1px solid rgba(48, 34, 67, 0.14);

    background: #e8e5df;

    box-shadow:
        0 30px 75px rgba(39, 25, 58, 0.20);
}


/* Photograph caption */

.director-letter-figure figcaption {
    display: grid;
    grid-template-columns: 5px 1fr;

    gap: 16px;
    align-items: stretch;

    margin-top: 28px;
    padding-right: 6px;
}


.director-letter-caption-mark {
    display: block;

    background:
        linear-gradient(
            180deg,
            var(--violet),
            var(--pink)
        );
}


.director-letter-figure figcaption strong,
.director-letter-figure figcaption span,
.director-letter-figure figcaption small {
    display: block;
}


.director-letter-figure figcaption strong {
    color: var(--ink);

    font-size: 16px;
    line-height: 1.3;
}


.director-letter-figure figcaption span {
    margin-top: 4px;

    color: var(--purple);

    font-size: 12px;
    font-weight: 780;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.director-letter-figure figcaption small {
    margin-top: 7px;

    max-width: 330px;

    color: var(--muted);

    font-size: 11.5px;
    line-height: 1.48;
}


/* =========================================================
   EDITORIAL BODY
========================================================= */

.director-letter-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: clamp(34px, 4vw, 58px);

    padding-top: clamp(52px, 5vw, 76px);
}


.director-letter-column {
    min-width: 0;
}


.director-letter-column + .director-letter-column {
    padding-left: clamp(28px, 3vw, 44px);

    border-left: 1px solid var(--line);
}


.director-letter-column h3 {
    margin: 30px 0 11px;

    color: var(--ink);

    font-size: 16px;
    font-weight: 820;
    line-height: 1.3;
    letter-spacing: -0.015em;
}


.director-letter-column h3:first-child {
    margin-top: 0;
}


.director-letter-column > p {
    margin-bottom: 17px;

    color: #48414e;

    font-size: 14.5px;
    line-height: 1.68;
}


/* =========================================================
   SIX ASSESSMENTS
========================================================= */

.director-letter-measures {
    margin: 21px 0 24px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);

    list-style: none;
}


.director-letter-measures li {
    min-height: 54px;

    display: flex;
    align-items: center;

    padding: 11px 13px;

    color: var(--ink-soft);

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background: rgba(246, 242, 255, 0.58);

    font-size: 12px;
    font-weight: 720;
    line-height: 1.35;
}


/* =========================================================
   EDITORIAL QUESTION BOX
========================================================= */

.director-letter-quote {
    position: relative;

    margin: 26px 0 5px;
    padding: 24px 23px 22px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #30223e,
            var(--purple)
        );

    box-shadow:
        0 22px 54px rgba(53, 34, 92, 0.15);
}


.director-letter-quote::before {
    content: "“";

    position: absolute;

    top: 2px;
    right: 16px;

    color: rgba(255, 255, 255, 0.12);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 78px;
    line-height: 1;
}


.director-letter-quote p {
    position: relative;
    z-index: 1;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    font-style: italic;
    line-height: 1.52;
}


.director-letter-quote p + p {
    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.20);
}


/* =========================================================
   CLOSING AND SIGNATURE
========================================================= */

.director-letter-column .director-letter-closing {
    margin-top: 24px;
    padding: 20px 20px 20px 22px;

    color: var(--ink);

    border-left: 4px solid var(--pink);

    background:
        linear-gradient(
            90deg,
            rgba(242, 102, 181, 0.10),
            rgba(139, 114, 216, 0.06)
        );

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    font-weight: 650;
    line-height: 1.56;
}


.director-letter-signoff {
    margin-top: 31px;
    padding-top: 26px;

    border-top: 1px solid var(--line);
}


.director-letter-signature {
    display: block;

    margin-bottom: 12px;

    color: var(--purple);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.035em;
}


.director-letter-signoff strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ink);

    font-size: 14px;
}


.director-letter-signoff span:not(.director-letter-signature) {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 11.5px;
    line-height: 1.46;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .director-letter-container {
        width: min(100% - 64px, 1320px);
    }

    .director-letter-masthead {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(310px, 0.72fr);

        gap: 44px;
    }

    .director-letter-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .director-letter-column:nth-child(3) {
        grid-column: 1 / -1;

        padding-top: 36px;
        padding-left: 0;

        border-top: 1px solid var(--line);
        border-left: 0;
    }

}


/* =========================================================
   RESPONSIVE — SMALL TABLET
========================================================= */

@media (max-width: 790px) {

    .director-letter-container {
        width: min(100% - 48px, 1320px);
    }

    .director-letter-masthead {
        grid-template-columns: 1fr;
    }

    .director-letter-heading {
        max-width: 700px;
    }

    .director-letter-figure {
        width: min(620px, calc(100% - 15px));

        margin-top: 4px;
    }

    .director-letter-body {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .director-letter-column + .director-letter-column,
    .director-letter-column:nth-child(3) {
        grid-column: auto;

        margin-top: 34px;
        padding-top: 34px;
        padding-left: 0;

        border-top: 1px solid var(--line);
        border-left: 0;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 540px) {

    .director-letter-container {
        width: min(100% - 32px, 1320px);
    }

    .director-letter-heading h2 {
        font-size: clamp(47px, 14vw, 66px);
    }

    .director-letter-deck {
        padding-left: 17px;

        font-size: 18px;
    }

    .director-letter-photo::before {
        top: 10px;
        right: -10px;
        bottom: -10px;
        left: 10px;
    }

    .director-letter-measures {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   DIRECTOR LETTER — BALANCED MAGAZINE COLUMNS
========================================================= */

/*
   Reduce the inherited .section bottom padding.
   The original 96–120px creates unnecessary empty space
   after the signature.
*/

.director-letter {
    padding-bottom: clamp(56px, 4.5vw, 76px);
}


/*
   Replace the three independent grid cells with one
   continuous editorial flow balanced across three columns.
*/

.director-letter-body {
    display: block;

    column-count: 3;
    column-gap: clamp(34px, 4vw, 58px);
    column-rule: 1px solid var(--line);
    column-fill: balance;

    padding-top: clamp(52px, 5vw, 76px);
}


/*
   Remove the old grid-column borders and spacing.
   Each article remains semantic HTML, but its copy can
   continue naturally into the next magazine column.
*/

.director-letter-column,
.director-letter-column + .director-letter-column,
.director-letter-column:nth-child(3) {
    display: block;

    width: auto;

    margin: 0;
    padding: 0;

    border: 0;

    break-inside: auto;
}


/* Maintain clear spacing between subject sections */

.director-letter-column h3,
.director-letter-column h3:first-child {
    margin: 30px 0 11px;

    break-after: avoid-column;
    break-after: avoid;

    break-inside: avoid;
}


/* Only the first heading on the entire page starts flush */

.director-letter-body
> .director-letter-column:first-child
> h3:first-child {
    margin-top: 0;
}


/* Improve paragraph breaks between columns */

.director-letter-column > p {
    orphans: 3;
    widows: 3;
}


/*
   Keep designed components intact.
   They may move to the next column, but will not split
   halfway across two columns.
*/

.director-letter-measures,
.director-letter-quote,
.director-letter-closing,
.director-letter-signoff {
    break-inside: avoid-column;
    break-inside: avoid;
}


/* =========================================================
   TABLET — TWO BALANCED COLUMNS
========================================================= */

@media (max-width: 1050px) {

    .director-letter-body {
        column-count: 2;
        column-gap: 44px;
    }

}


/* =========================================================
   MOBILE — SINGLE READING COLUMN
========================================================= */

@media (max-width: 790px) {

    .director-letter {
        padding-bottom: 56px;
    }

    .director-letter-body {
        column-count: 1;
        column-gap: 0;
        column-rule: 0;
    }

}
/* =========================================================
   FAQ — TABBED EDITORIAL APPENDIX
========================================================= */

.faq-section {
    isolation: isolate;

    min-height: 100vh;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 87% 10%,
            rgba(139, 114, 216, 0.24),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 86%,
            rgba(242, 102, 181, 0.11),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #1f1529 0%,
            #2b1d38 55%,
            #241832 100%
        );
}


.faq-section::before {
    content: "FAQ";

    position: absolute;
    z-index: -1;

    top: -45px;
    right: -15px;

    color: rgba(255, 255, 255, 0.025);

    font-size: clamp(180px, 26vw, 410px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.09em;
}


.faq-shell {
    width: min(1320px, calc(100% - 96px));

    margin-inline: auto;
}


/* =========================================================
   FAQ HEADER
========================================================= */

.faq-header {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.46fr);

    gap: 60px;
    align-items: end;

    margin-bottom: clamp(48px, 5vw, 72px);
}


.faq-header .eyebrow {
    color: rgba(255, 255, 255, 0.58);
}


.faq-header h2 {
    max-width: 850px;

    font-size: clamp(54px, 6vw, 86px);
    font-weight: 720;
    line-height: 0.94;
    letter-spacing: -0.065em;
}


.faq-header .display-serif-light {
    color: #d8c8ff;
}


.faq-introduction {
    max-width: 420px;

    padding-left: 22px;

    color: rgba(255, 255, 255, 0.68);

    border-left: 3px solid var(--pink);

    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   FAQ TAB INTERFACE
========================================================= */

.faq-interface {
    min-height: 650px;

    display: grid;
    grid-template-columns:
        minmax(360px, 0.72fr)
        minmax(0, 1.28fr);

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    background: rgba(255, 255, 255, 0.045);

    box-shadow:
        0 40px 110px rgba(7, 3, 14, 0.32);
}


/* =========================================================
   QUESTION INDEX
========================================================= */

.faq-tablist {
    position: relative;
    z-index: 2;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.12);

    background: rgba(10, 6, 16, 0.20);
}


.faq-tab {
    position: relative;

    width: 100%;
    min-height: 65px;

    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        20px;

    gap: 13px;
    align-items: center;

    padding: 13px 21px 13px 18px;

    color: rgba(255, 255, 255, 0.66);
    background: transparent;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.09);

    text-align: left;
    cursor: pointer;

    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}


.faq-tab:last-child {
    border-bottom: 0;
}


.faq-tab:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.055);
}


.faq-tab:focus-visible {
    z-index: 4;

    outline:
        3px solid
        rgba(242, 102, 181, 0.72);

    outline-offset: -3px;
}


.faq-tab[aria-selected="true"] {
    z-index: 3;

    color: var(--ink);
    background: #fbf9ff;

    box-shadow:
        13px 0 0 #fbf9ff,
        inset 4px 0 0 var(--pink);
}


.faq-tab-number {
    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;

    transition: color 180ms ease;
}


.faq-tab[aria-selected="true"]
.faq-tab-number {
    color: var(--purple);
}


.faq-tab-question {
    font-size: 13.5px;
    font-weight: 690;
    line-height: 1.38;
}


.faq-tab-arrow {
    opacity: 0;

    color: var(--purple);

    font-size: 17px;

    transform: translateX(-5px);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}


.faq-tab[aria-selected="true"]
.faq-tab-arrow {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   ANSWER STAGE
========================================================= */

.faq-stage {
    position: relative;

    min-width: 0;

    display: grid;
    grid-template-rows:
        minmax(0, 1fr)
        auto;

    color: var(--ink);

    background:
        radial-gradient(
            circle at 91% 8%,
            rgba(139, 114, 216, 0.13),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fbf9ff 0%,
            #f5f0fb 100%
        );
}


.faq-stage::before {
    content: "?";

    position: absolute;

    top: 3px;
    right: 27px;

    color: rgba(105, 89, 160, 0.06);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 230px;
    line-height: 1;

    pointer-events: none;
}


.faq-panel-stack {
    min-width: 0;

    display: flex;
    align-items: center;

    padding:
        clamp(42px, 5vw, 74px)
        clamp(38px, 5.5vw, 82px);
}


.faq-panel {
    position: relative;
    z-index: 1;

    width: min(100%, 790px);

    animation:
        faqPanelReveal
        260ms
        ease
        both;
}


.faq-panel[hidden] {
    display: none;
}


@keyframes faqPanelReveal {

    from {
        opacity: 0;

        transform: translateY(8px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


.faq-panel-number {
    display: block;

    margin-bottom: 22px;

    color: var(--purple);

    font-size: 11px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.18em;
}


.faq-panel h3 {
    max-width: 760px;

    margin-bottom: 28px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(37px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.045em;
}


.faq-panel p {
    max-width: 730px;

    margin-bottom: 17px;

    color: #4d4555;

    font-size: 16px;
    line-height: 1.72;
}


.faq-answer-note {
    max-width: 650px;

    margin-top: 29px;
    padding: 18px 21px;

    color: #ffffff;

    border-left: 5px solid var(--pink);

    background:
        linear-gradient(
            135deg,
            #30223e,
            var(--purple)
        );

    box-shadow:
        0 18px 48px rgba(45, 29, 64, 0.14);
}


.faq-answer-note strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
}


/* =========================================================
   PERMANENT CONTACT STRIP
========================================================= */

.faq-stage-footer {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding:
        20px
        clamp(38px, 5.5vw, 82px);

    border-top: 1px solid var(--line);

    background: rgba(255, 255, 255, 0.48);
}


.faq-stage-footer span,
.faq-stage-footer strong {
    display: block;
}


.faq-stage-footer div > span {
    margin-bottom: 3px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.faq-stage-footer div > strong {
    color: var(--ink);

    font-size: 14px;
}


.faq-stage-footer a {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 12px 17px;

    color: #ffffff;

    border-radius: 5px;

    background: var(--purple);

    font-size: 13px;
    font-weight: 780;
    text-decoration: none;

    transition:
        transform 180ms ease,
        background 180ms ease;
}


.faq-stage-footer a:hover {
    background: #554685;

    transform: translateY(-2px);
}


/* =========================================================
   FAQ — TABLET
========================================================= */

@media (max-width: 960px) {

    .faq-shell {
        width: min(100% - 56px, 1320px);
    }

    .faq-header {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .faq-introduction {
        max-width: 620px;
    }

    .faq-interface {
        grid-template-columns: 1fr;
    }

    .faq-tablist {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(270px, 42vw);

        overflow-x: auto;
        overscroll-behavior-inline: contain;

        border-right: 0;
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);

        scrollbar-width: thin;
    }

    .faq-tab {
        min-height: 102px;

        border-right:
            1px solid
            rgba(255, 255, 255, 0.09);

        border-bottom: 0;
    }

    .faq-tab[aria-selected="true"] {
        box-shadow:
            inset 0 -4px 0 var(--pink);
    }

    .faq-stage {
        min-height: 540px;
    }

}


/* =========================================================
   FAQ — MOBILE
========================================================= */

@media (max-width: 620px) {

    .faq-shell {
        width: min(100% - 32px, 1320px);
    }

    .faq-header h2 {
        font-size: clamp(49px, 14vw, 67px);
    }

    .faq-introduction {
        padding-left: 17px;

        font-size: 15.5px;
    }

    .faq-tablist {
        grid-auto-columns: minmax(255px, 82vw);
    }

    .faq-panel-stack {
        padding:
            40px
            24px;
    }

    .faq-panel h3 {
        font-size: 36px;
    }

    .faq-panel p {
        font-size: 15px;
    }

    .faq-stage-footer {
        align-items: flex-start;
        flex-direction: column;

        padding:
            20px
            24px;
    }

}
/* =========================================================
   PROGRAM DESIGN — WEBSITE COLOUR INTEGRATION
========================================================= */

.program-design-section {
    --pd-deep: var(--purple);
    --pd-mid: var(--violet);
    --pd-light: var(--pink);
    --pd-pale: var(--lavender);
    --pd-ink: var(--ink-soft);
    --pd-line: var(--line);

    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(139, 114, 216, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 10%,
            rgba(242, 102, 181, 0.09),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            var(--paper) 0%,
            #fbf9ff 100%
        );
}


/* Main infographic surface */

.pd-infographic {
    border-color: var(--line);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(246, 242, 255, 0.96)
        );

    box-shadow: var(--shadow-soft);
}


/* Login and white pathway cards */

.pd-login-card,
.pd-card,
.pd-outcome-label{
    border-color: var(--line);

    box-shadow:
        0 16px 40px rgba(53, 34, 92, 0.08);
}


/* TALK pathway */

.pd-talk-arrow {
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--violet)
        );
}


/* TEST pathway — distinct, but still within the website system */

.pd-test-arrow {
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );
}


/* AI module */

.pd-ai-module {
    border-color: var(--purple);

    box-shadow:
        0 18px 42px rgba(53, 34, 92, 0.10);
}


/* Tele-counselling */

.pd-tele-module {
    background:
        radial-gradient(
            circle at 34% 24%,
            var(--violet),
            var(--purple) 74%
        );
}


/* Wellness programme */

.pd-wellness-module {
    background:
        radial-gradient(
            circle at 34% 24%,
            var(--pink),
            var(--coral) 78%
        );
}


/* EMR and home-based care */

.pd-emr-module {
    background:
        radial-gradient(
            circle at 34% 24%,
            var(--blue),
            var(--purple) 82%
        );
}


/* Shared card headers */

.pd-card-header {
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--violet)
        );
}


/* Assessment circles */

.pd-icon-ring {
    border-color: var(--purple);
}


/* Process ribbon */

.pd-ribbon-clients {
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--violet)
        );
}


.pd-ribbon-identification {
    background:
        linear-gradient(
            135deg,
            var(--violet),
            var(--blue)
        );
}


.pd-ribbon-intervention {
    background:
        linear-gradient(
            135deg,
            var(--coral),
            var(--pink)
        );
}


.pd-ribbon-prevention {
    background:
        linear-gradient(
            135deg,
            var(--violet),
            var(--purple)
        );
}


/* Development-status accents */


/* =========================================================
   PROGRAM DESIGN — FLEXIBLE PATHWAY EXTENSION
========================================================= */

.pd-pathway-bridge {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        auto
        auto;

    gap: clamp(24px, 3vw, 46px);
    align-items: center;

    margin-top: 30px;
    padding:
        clamp(27px, 3vw, 39px)
        clamp(27px, 3.5vw, 48px);

    overflow: hidden;

    color: #ffffff;

    border-radius: 17px;

    background:
        radial-gradient(
            circle at 86% 14%,
            rgba(242, 102, 181, 0.24),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #24182f 0%,
            #3a2850 48%,
            var(--purple) 100%
        );

    box-shadow:
        0 25px 65px rgba(42, 24, 62, 0.20);
}


.pd-pathway-bridge::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -90px;
    right: 16%;

    width: 230px;
    aspect-ratio: 1;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 50%;
}


.pd-pathway-bridge-copy .mini-label {
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.58);
}


.pd-pathway-bridge-copy h3 {
    max-width: 600px;

    font-size: clamp(25px, 2.55vw, 38px);
    font-weight: 760;
    line-height: 1.04;
    letter-spacing: -0.045em;
}


.pd-pathway-bridge-copy h3 span {
    display: block;

    color: #d9cbff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
}


.pd-pathway-bridge-copy > p:last-child {
    max-width: 680px;

    margin-top: 13px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.58;
}


/* COMPACT PRINCIPLE LABELS */

.pd-pathway-bridge-principles {
    display: grid;

    gap: 8px;
}


.pd-pathway-bridge-principles span {
    display: flex;
    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 11px;
    font-weight: 780;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.pd-pathway-bridge-principles span::before {
    content: "";

    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--pink),
            var(--violet)
        );
}


/* EXPANSION BUTTON */

.pd-pathway-expand {
    min-width: 205px;

    display: inline-flex;
    justify-content: space-between;
    align-items: center;

    gap: 18px;

    padding: 15px 18px;

    color: var(--ink);

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #ece4ff
        );

    box-shadow:
        0 14px 34px rgba(10, 4, 20, 0.22);

    cursor: pointer;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}


.pd-pathway-expand > span:last-child {
    color: var(--purple);

    font-size: 18px;

    transition: transform 180ms ease;
}


.pd-pathway-expand:hover {
    background: #ffffff;

    box-shadow:
        0 20px 44px rgba(10, 4, 20, 0.30);

    transform: translateY(-3px);
}


.pd-pathway-expand:hover > span:last-child {
    transform: translate(2px, -2px);
}


.pd-pathway-expand:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
}


/* =========================================================
   PATHWAYS TO SUPPORT — FULL-SCREEN MODAL
========================================================= */

.care-pathways-modal {
    position: fixed;
    z-index: 1250;

    inset: 0;

    display: grid;
    place-items: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}


.care-pathways-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.care-pathways-modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(16, 9, 27, 0.82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.care-pathways-modal-dialog {
    position: relative;
    z-index: 2;

    width: min(1340px, 96vw);
    max-height: 94vh;

    overflow-y: auto;

    padding:
        clamp(28px, 4vw, 52px);

    border: 2px solid transparent;
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbf9ff 50%,
            #f3effc
        )
        padding-box,

        linear-gradient(
            115deg,
            var(--purple),
            var(--violet),
            var(--pink),
            var(--blue),
            var(--purple)
        )
        border-box;

    background-size:
        100% 100%,
        260% 100%;

    box-shadow:
        0 55px 160px rgba(8, 3, 20, 0.52);

    animation:
        carePathwaysBorderMove
        8s
        linear
        infinite;
}


@keyframes carePathwaysBorderMove {

    to {
        background-position:
            0 0,
            260% 0;
    }

}


/* =========================================================
   MODAL HEADER
========================================================= */

.care-pathways-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 36px;

    margin-bottom: 38px;
}


.care-pathways-modal-header h2 {
    max-width: 980px;

    margin-top: 10px;

    font-size: clamp(43px, 5.1vw, 75px);
    line-height: 0.97;
    letter-spacing: -0.06em;
}


.care-pathways-modal-header .display-serif {
    color: var(--purple);
}


.care-pathways-modal-close {
    width: 50px;
    height: 50px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    color: #ffffff;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            var(--purple),
            var(--electric)
        );

    box-shadow:
        0 14px 30px rgba(53, 34, 92, 0.19);

    cursor: pointer;

    font-size: 31px;
    line-height: 1;

    transition:
        transform 180ms ease,
        background 180ms ease;
}


.care-pathways-modal-close:hover {
    background:
        linear-gradient(
            145deg,
            var(--pink),
            var(--purple)
        );

    transform: rotate(4deg);
}


.care-pathways-modal-close:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
}


/* =========================================================
   CENTRAL MANIFESTO
========================================================= */

.care-pathways-manifesto {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);

    gap: clamp(30px, 4vw, 60px);
    align-items: center;

    margin-bottom: 28px;
    padding:
        clamp(28px, 3.3vw, 46px);

    color: #ffffff;

    border-radius: 13px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(242, 102, 181, 0.23),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #21162b,
            #3b2850 55%,
            var(--purple)
        );

    box-shadow:
        0 25px 65px rgba(49, 29, 70, 0.17);
}


.care-pathways-manifesto-label {
    display: inline-block;

    margin-bottom: 17px;
    padding: 8px 11px;

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.09);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
}


.care-pathways-manifesto h3 {
    max-width: 760px;

    margin-bottom: 19px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(27px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -0.035em;
}


.care-pathways-manifesto p {
    max-width: 760px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 15px;
    line-height: 1.66;
}


.care-pathways-manifesto p + p {
    margin-top: 13px;
}


.care-pathways-entry-points {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.care-pathways-entry-points span {
    min-height: 55px;

    display: flex;
    align-items: center;

    padding: 12px 14px;

    color: rgba(255, 255, 255, 0.88);

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.075);

    font-size: 12px;
    font-weight: 720;
    line-height: 1.35;
}


/* =========================================================
   FIVE PRINCIPLES
========================================================= */

.care-pathways-principles {
    display: grid;
    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 28px;
}


.care-pathway-principle {
    position: relative;

    grid-column: span 2;

    min-height: 270px;

    padding: 25px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.92);

    box-shadow: var(--shadow-soft);
}


.care-pathway-principle:nth-child(4),
.care-pathway-principle:nth-child(5) {
    grid-column: span 3;
}


.care-pathway-principle::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--violet)
        );
}


.care-pathway-principle:nth-child(2)::before {
    background:
        linear-gradient(
            90deg,
            var(--violet),
            var(--blue)
        );
}


.care-pathway-principle:nth-child(3)::before {
    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--purple)
        );
}


.care-pathway-principle:nth-child(4)::before {
    background:
        linear-gradient(
            90deg,
            var(--coral),
            var(--pink)
        );
}


.care-pathway-principle:nth-child(5)::before {
    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--purple)
        );
}


.care-pathway-principle-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 18px;

    margin-bottom: 29px;
}


.care-pathway-principle-number {
    color: var(--purple);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;
    font-style: italic;
    line-height: 1;
}


.care-pathway-principle-type {
    color: var(--muted);

    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.15em;
}


.care-pathway-principle h3 {
    margin-bottom: 13px;

    color: var(--ink);

    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -0.025em;
}


.care-pathway-principle p {
    color: var(--muted);

    font-size: 13.5px;
    line-height: 1.62;
}


/* =========================================================
   CLINICAL BOUNDARY
========================================================= */

.care-pathways-boundary {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.72fr)
        minmax(0, 1.28fr);

    gap: clamp(28px, 4vw, 58px);

    padding:
        clamp(28px, 3.5vw, 47px);

    color: #ffffff;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #2b1d38,
            #46315e
        );
}


.care-pathways-boundary .mini-label {
    color: rgba(255, 255, 255, 0.54);
}


.care-pathways-boundary h3 {
    margin-top: 12px;

    font-size: clamp(28px, 3vw, 41px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}


.care-pathways-boundary h3 span {
    display: block;

    margin-top: 4px;

    color: #d8c9ff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
}


.care-pathways-boundary ul {
    display: grid;

    gap: 12px;

    list-style: none;
}


.care-pathways-boundary li {
    position: relative;

    padding:
        13px
        15px
        13px
        38px;

    color: rgba(255, 255, 255, 0.75);

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.055);

    font-size: 13px;
    line-height: 1.52;
}


.care-pathways-boundary li::before {
    content: "✓";

    position: absolute;

    top: 13px;
    left: 14px;

    color: #d8c9ff;

    font-weight: 900;
}


.care-pathways-boundary li strong {
    color: #ffffff;
}


/* =========================================================
   MODAL FOOTER
========================================================= */

.care-pathways-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 35px;

    margin-top: 28px;
    padding-top: 23px;

    border-top: 1px solid var(--line);
}


.care-pathways-modal-footer p {
    max-width: 750px;

    color: var(--ink-soft);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    font-style: italic;
    line-height: 1.5;
}


.care-pathways-modal-footer span {
    color: var(--purple);

    font-size: 9px;
    font-weight: 850;
    line-height: 1.45;
    letter-spacing: 0.14em;
    text-align: right;
}


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

@media (max-width: 1050px) {

    .pd-pathway-bridge {
        grid-template-columns:
            minmax(0, 1fr)
            auto;
    }


    .pd-pathway-bridge-principles {
        grid-column: 1 / -1;
        grid-row: 2;

        grid-template-columns:
            repeat(3, max-content);

        gap: 10px 25px;
    }


    .care-pathways-manifesto,
    .care-pathways-boundary {
        grid-template-columns: 1fr;
    }


    .care-pathways-principles {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .care-pathway-principle,
    .care-pathway-principle:nth-child(4),
    .care-pathway-principle:nth-child(5) {
        grid-column: auto;
    }


    .care-pathway-principle:last-child {
        grid-column: 1 / -1;

        min-height: 230px;
    }

}


@media (max-width: 720px) {

    .pd-pathway-bridge {
        grid-template-columns: 1fr;

        padding: 25px;
    }


    .pd-pathway-bridge-principles {
        grid-column: auto;
        grid-row: auto;

        grid-template-columns: 1fr;
    }


    .pd-pathway-expand {
        width: 100%;
    }


    .care-pathways-modal {
        padding: 10px;
    }


    .care-pathways-modal-dialog {
        width: 100%;
        max-height: 97vh;

        padding: 23px;
    }


    .care-pathways-modal-header {
        gap: 18px;
    }


    .care-pathways-modal-header h2 {
        font-size: clamp(39px, 11vw, 55px);
    }


    .care-pathways-modal-close {
        width: 44px;
        height: 44px;

        font-size: 27px;
    }


    .care-pathways-entry-points,
    .care-pathways-principles {
        grid-template-columns: 1fr;
    }


    .care-pathway-principle,
    .care-pathway-principle:last-child {
        grid-column: auto;

        min-height: 0;
    }


    .care-pathways-modal-footer {
        align-items: flex-start;
        flex-direction: column;
    }


    .care-pathways-modal-footer span {
        text-align: left;
    }

}
/* =========================================================
   FLEXIBLE PATHWAYS PANEL — MATCH WEBSITE CONTENT WIDTH
========================================================= */

#process > .pd-pathway-bridge {
    box-sizing: border-box;

    width: calc(100% - 96px) !important;
    max-width: 1080px !important;

    margin:
        32px
        auto
        0 !important;
}


/* Keep the existing three-part internal composition */

#process > .pd-pathway-bridge {
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(170px, 0.42fr)
        minmax(210px, 0.48fr);
}


/* Prevent internal content from widening the panel */

#process > .pd-pathway-bridge > * {
    min-width: 0;
}


#process > .pd-pathway-bridge
.pd-pathway-expand {
    width: 100%;
    min-width: 0;
    max-width: 250px;

    justify-self: end;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    #process > .pd-pathway-bridge {
        width: calc(100% - 48px) !important;

        grid-template-columns: 1fr;

        gap: 23px;
    }


    #process > .pd-pathway-bridge
    .pd-pathway-bridge-principles {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    #process > .pd-pathway-bridge
    .pd-pathway-expand {
        width: min(100%, 300px);
        max-width: none;

        justify-self: start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    #process > .pd-pathway-bridge {
        width: calc(100% - 32px) !important;

        margin-top: 24px !important;

        padding:
            25px
            21px;
    }


    #process > .pd-pathway-bridge
    .pd-pathway-bridge-principles {
        grid-template-columns: 1fr;
    }


    #process > .pd-pathway-bridge
    .pd-pathway-expand {
        width: 100%;
    }

}
/* =========================================================
   INTERACTIVE STUDENT LEARNING RESOURCE
========================================================= */

.slr-showcase {
    position: relative;

    padding:
        clamp(74px, 6vw, 96px)
        0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 16%,
            rgba(139, 114, 216, 0.12),
            transparent 26%
        ),
        radial-gradient(
            circle at 93% 82%,
            rgba(242, 102, 181, 0.08),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf8ff 100%
        );
}


.slr-showcase::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--line),
            transparent
        );
}


/* =========================================================
   SECTION HEADING
========================================================= */

.slr-showcase-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, 0.75fr);

    gap: clamp(38px, 5vw, 74px);
    align-items: end;

    margin-bottom:
        clamp(44px, 5vw, 68px);
}


.slr-showcase-heading h2 {
    max-width: 720px;

    margin-top: 13px;

    font-size: clamp(45px, 5.4vw, 72px);
    font-weight: 720;
    line-height: 0.99;
    letter-spacing: -0.058em;
}


.slr-showcase-heading .display-serif {
    color: var(--purple);
}


/* =========================================================
   RESOURCE LAYOUT
========================================================= */

.slr-showcase-layout {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.37fr)
        minmax(0, 1.63fr);

    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}


/* =========================================================
   RESOURCE CONTEXT
========================================================= */

.slr-resource-context {
    align-self: center;
}


.slr-resource-context h3 {
    max-width: 270px;

    margin: 17px 0 18px;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(27px, 2.8vw, 38px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}


.slr-resource-context > p:not(.mini-label) {
    max-width: 290px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.66;
}


.slr-resource-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}


.slr-resource-tags span {
    padding: 8px 10px;

    color: var(--purple);

    border: 1px solid var(--line);
    border-radius: 999px;

    background: rgba(246, 242, 255, 0.72);

    font-size: 9px;
    font-weight: 820;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.slr-resource-context
.slr-resource-instruction {
    margin-top: 23px;

    color: var(--ink-soft);

    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
}


/* =========================================================
   CARD STAGE
========================================================= */

.slr-card-stage {
    width: 100%;
    max-width: 790px;

    justify-self: end;

    perspective: 1600px;
}


.slr-flip-card {
    position: relative;

    width: 100%;
    height: 640px;

    cursor: pointer;

    border-radius: 22px;

    perspective: inherit;

    outline: none;

    -webkit-tap-highlight-color: transparent;
}


.slr-flip-card:focus-visible {
    outline: 4px solid rgba(242, 102, 181, 0.72);
    outline-offset: 7px;
}


.slr-flip-card-inner {
    position: relative;

    width: 100%;
    height: 100%;

    border-radius: inherit;

    transform-style: preserve-3d;

    transition:
        transform
        700ms
        cubic-bezier(.2, .75, .2, 1);

    box-shadow:
        0 34px 95px rgba(40, 24, 58, 0.19);
}


.slr-flip-card:hover
.slr-flip-card-inner {
    box-shadow:
        0 42px 115px rgba(40, 24, 58, 0.25);
}


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


.slr-card-face {
    position: absolute;

    inset: 0;

    overflow: hidden;

    border-radius: inherit;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* =========================================================
   FRONT FACE
========================================================= */

.slr-card-front {
    display: grid;
    grid-template-rows:
        auto
        minmax(0, 1fr)
        auto
        auto;

    padding:
        clamp(28px, 3.5vw, 44px);

    color: #ffffff;

    background:
        radial-gradient(
            circle at 87% 12%,
            rgba(242, 102, 181, 0.28),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 92%,
            rgba(79, 124, 255, 0.18),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #21162b 0%,
            #352347 52%,
            var(--purple) 100%
        );
}


.slr-card-front::after {
    content: "";

    position: absolute;

    top: -100px;
    right: -70px;

    width: 310px;
    aspect-ratio: 1;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}


.slr-card-front-top {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}


.slr-card-type {
    color: rgba(255, 255, 255, 0.62);

    font-size: 9px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.16em;
}


.slr-card-index {
    color: rgba(255, 255, 255, 0.54);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
    font-style: italic;
}


/* Front illustration */

.slr-card-illustration {
    position: relative;
    z-index: 1;

    width: min(100%, 460px);

    align-self: center;
    justify-self: center;

    color: rgba(255, 255, 255, 0.82);
}


.slr-card-illustration svg {
    width: 100%;
}


.slr-illustration-orbit {
    fill: none;
    stroke: rgba(255, 255, 255, 0.11);
    stroke-width: 1.5;
}


.slr-orbit-two {
    stroke: rgba(242, 102, 181, 0.21);
}


.slr-illustration-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.slr-illustration-dot {
    fill: var(--pink);
    stroke: none;
}


.slr-card-front-copy {
    position: relative;
    z-index: 2;

    max-width: 590px;
}


.slr-card-kicker {
    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.57);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
}


.slr-card-front-copy h3 {
    font-size: clamp(43px, 5.4vw, 69px);
    font-weight: 720;
    line-height: 0.92;
    letter-spacing: -0.065em;
}


.slr-card-front-copy h3 span {
    display: block;

    color: #ddd1ff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
}


.slr-card-front-copy > p:last-child {
    max-width: 530px;

    margin-top: 19px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.58;
}


.slr-flip-cue,
.slr-flip-back-cue {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    font-size: 11px;
    font-weight: 820;
    line-height: 1.4;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}


.slr-flip-cue {
    position: absolute;
    z-index: 3;

    right: 35px;
    bottom: 32px;

    color: rgba(255, 255, 255, 0.83);
}


.slr-flip-cue > span:last-child,
.slr-flip-back-cue > span:last-child {
    font-size: 19px;
}


/* =========================================================
   BACK FACE
========================================================= */

.slr-card-back {
    display: grid;
    grid-template-rows:
        auto
        minmax(0, 1fr)
        auto;

    color: var(--ink);

    border: 1px solid rgba(105, 89, 160, 0.17);

    background:
        radial-gradient(
            circle at 94% 6%,
            rgba(139, 114, 216, 0.11),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf8ff 100%
        );

    transform: rotateY(180deg);
}


.slr-card-back-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 22px;

    padding:
        27px
        30px
        22px;

    border-bottom: 1px solid var(--line);
}


.slr-card-back-header
.slr-card-type {
    color: var(--purple);
}


.slr-card-back-header h3 {
    max-width: 550px;

    margin-top: 7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
}


.slr-card-back-index {
    flex: 0 0 auto;

    color: var(--muted);

    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.14em;
}


/* =========================================================
   OPPOSING GUIDANCE COLUMNS
========================================================= */

.slr-guidance-columns {
    min-height: 0;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.slr-guidance-column {
    min-width: 0;

    padding:
        22px
        25px
        16px;
}


.slr-guidance-column + .slr-guidance-column {
    border-left: 1px solid var(--line);
}


.slr-guidance-column > header {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 17px;
    padding-bottom: 13px;

    border-bottom: 1px solid var(--line);
}


.slr-guidance-symbol {
    width: 28px;
    height: 28px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 900;
}


.slr-guidance-do
.slr-guidance-symbol {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--blue),
            var(--violet)
        );
}


.slr-guidance-dont
.slr-guidance-symbol {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #b85e67,
            var(--coral)
        );
}


.slr-guidance-column h4 {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.12em;
}


.slr-guidance-do h4 {
    color: var(--purple);
}


.slr-guidance-dont h4 {
    color: #a94f5c;
}


.slr-guidance-column ul {
    display: grid;

    gap: 13px;

    list-style: none;
}


.slr-guidance-column li {
    display: grid;
    grid-template-columns:
        22px
        minmax(0, 1fr);

    gap: 9px;
    align-items: start;
}


.slr-item-icon {
    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    margin-top: 1px;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 900;
}


.slr-guidance-do
.slr-item-icon {
    color: var(--purple);

    background: rgba(79, 124, 255, 0.12);
}


.slr-guidance-dont
.slr-item-icon {
    color: #a34b57;

    background: rgba(255, 116, 93, 0.13);
}


.slr-guidance-column strong {
    display: block;

    margin-bottom: 3px;

    color: var(--ink);

    font-size: 12.5px;
    line-height: 1.25;
}


.slr-guidance-column li p {
    color: var(--muted);

    font-size: 10.6px;
    line-height: 1.42;
}


/* =========================================================
   SAFETY FOOTNOTE
========================================================= */

.slr-card-safety {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 8px 22px;
    align-items: center;

    padding:
        15px
        30px
        18px;

    border-top: 1px solid var(--line);

    background: rgba(246, 242, 255, 0.55);
}


.slr-card-safety p {
    color: var(--muted);

    font-size: 9.5px;
    line-height: 1.42;
}


.slr-card-safety p:first-child {
    color: var(--ink-soft);
}


.slr-card-safety p strong {
    color: #a94f5c;
}


.slr-flip-back-cue {
    grid-column: 2;
    grid-row: 1 / 3;

    justify-self: end;

    color: var(--purple);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .slr-showcase-heading,
    .slr-showcase-layout {
        grid-template-columns: 1fr;
    }


    .slr-showcase-heading {
        gap: 24px;
    }


    .slr-resource-context {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: 10px 28px;
        align-items: end;
    }


    .slr-resource-context h3,
    .slr-resource-context > p {
        max-width: 650px;
    }


    .slr-resource-tags {
        grid-column: 2;
        grid-row: 1 / 4;

        flex-direction: column;

        margin-top: 0;
    }


    .slr-resource-instruction {
        grid-column: 1;
    }


    .slr-card-stage {
        max-width: 790px;

        justify-self: center;
    }

}


/* =========================================================
   MOBILE — PRESERVE TWO OPPOSING COLUMNS
========================================================= */

@media (max-width: 620px) {

    .slr-showcase {
        padding:
            66px
            0;
    }


    .slr-showcase-heading h2 {
        font-size: clamp(43px, 13vw, 59px);
    }


    .slr-resource-context {
        display: block;
    }


    .slr-resource-tags {
        flex-direction: row;

        margin-top: 20px;
    }


    .slr-flip-card {
        height: 720px;

        border-radius: 17px;
    }


    .slr-card-front {
        padding:
            25px
            22px;
    }


    .slr-card-front-copy h3 {
        font-size: clamp(40px, 13vw, 56px);
    }


    .slr-card-back-header {
        padding:
            21px
            18px
            17px;
    }


    .slr-card-back-header h3 {
        font-size: 21px;
    }


    .slr-card-back-index {
        display: none;
    }


    .slr-guidance-column {
        padding:
            17px
            13px
            12px;
    }


    .slr-guidance-column > header {
        gap: 7px;

        margin-bottom: 13px;
        padding-bottom: 10px;
    }


    .slr-guidance-symbol {
        width: 23px;
        height: 23px;

        font-size: 11px;
    }


    .slr-guidance-column h4 {
        font-size: 12px;
    }


    .slr-guidance-column ul {
        gap: 10px;
    }


    .slr-guidance-column li {
        grid-template-columns:
            17px
            minmax(0, 1fr);

        gap: 6px;
    }


    .slr-item-icon {
        width: 16px;
        height: 16px;

        font-size: 8px;
    }


    .slr-guidance-column strong {
        font-size: 10.5px;
    }


    .slr-guidance-column li p {
        font-size: 8.8px;
        line-height: 1.38;
    }


    .slr-card-safety {
        grid-template-columns: 1fr;

        gap: 6px;

        padding:
            13px
            17px
            15px;
    }


    .slr-card-safety p {
        font-size: 8.5px;
    }


    .slr-flip-back-cue {
        grid-column: 1;
        grid-row: auto;

        justify-self: start;

        margin-top: 4px;

        font-size: 9px;
    }

}


/* =========================================================
   VERY NARROW SCREENS
========================================================= */

@media (max-width: 390px) {

    .slr-flip-card {
        height: 760px;
    }


    .slr-guidance-column {
        padding-inline: 10px;
    }


    .slr-guidance-column strong {
        font-size: 10px;
    }


    .slr-guidance-column li p {
        font-size: 8.3px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .slr-flip-card-inner {
        transition-duration: 1ms;
    }

}

/* =========================================================
   DIRECTOR VIDEO MINI-PLAYER
========================================================= */

.director-video-player {
    position: fixed;
    z-index: 1100;

    right: 84px;
    bottom: 22px;

    width: min(390px, calc(100vw - 118px));

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.director-video-window {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;

    background: #17131f;

    box-shadow:
        0 26px 75px rgba(26, 15, 45, 0.34),
        0 8px 24px rgba(26, 15, 45, 0.22);

    transform-origin: right bottom;

    animation: director-video-arrive 520ms ease both;
}

.director-video {
    width: 100%;
    aspect-ratio: 16 / 9;

    display: block;

    object-fit: cover;
    background: #17131f;
}

.director-video-label {
    position: absolute;

    top: 12px;
    left: 12px;

    max-width: calc(100% - 62px);

    padding: 7px 10px;

    color: rgba(255, 255, 255, 0.92);
    background: rgba(20, 13, 31, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    pointer-events: none;
}

.director-video-close {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: rgba(20, 13, 31, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 21px;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.director-video-close:hover {
    background: rgba(105, 89, 160, 0.94);
    transform: scale(1.06);
}

.director-video-unmute,
.director-video-start {
    position: absolute;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.24);

    font-weight: 820;

    cursor: pointer;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.director-video-unmute {
    left: 12px;
    bottom: 49px;

    padding: 9px 13px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(105, 89, 160, 0.94),
            rgba(99, 91, 255, 0.94)
        );

    box-shadow: 0 9px 24px rgba(44, 30, 79, 0.30);

    font-size: 12px;
}

.director-video-unmute:hover,
.director-video-start:hover,
.director-video-reopen:hover {
    transform: translateY(-2px);
}

.director-video-unmute.is-unmuted {
    background: rgba(20, 13, 31, 0.76);
}

.director-video-start {
    inset: 50% auto auto 50%;

    padding: 12px 16px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(105, 89, 160, 0.96),
            rgba(99, 91, 255, 0.96)
        );

    box-shadow: 0 16px 38px rgba(29, 17, 51, 0.34);

    font-size: 13px;

    transform: translate(-50%, -50%);
}

.director-video-start:hover {
    transform: translate(-50%, calc(-50% - 2px));
}

.director-video-reopen {
    margin-left: auto;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 12px 16px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--electric)
        );

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    box-shadow: 0 16px 38px rgba(53, 34, 92, 0.26);

    font-size: 12px;
    font-weight: 820;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.director-video-reopen:hover {
    box-shadow: 0 20px 46px rgba(53, 34, 92, 0.34);
}

.director-video-player.is-collapsed .director-video-window {
    display: none;
}

.director-video-player.is-collapsed .director-video-reopen {
    display: inline-flex;
}

@keyframes director-video-arrive {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 760px) {
    .director-video-player {
        right: 60px;
        bottom: 16px;

        width: min(330px, calc(100vw - 76px));
    }

    .director-video-window {
        border-radius: 14px;
    }

    .director-video-label {
        top: 9px;
        left: 9px;

        padding: 6px 8px;

        font-size: 8px;
    }

    .director-video-close {
        top: 8px;
        right: 8px;

        width: 29px;
        height: 29px;
    }

    .director-video-unmute {
        left: 9px;
        bottom: 45px;

        padding: 8px 11px;

        font-size: 11px;
    }
}

@media (max-height: 560px) and (min-width: 761px) {
    .director-video-player {
        width: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .director-video-window {
        animation: none;
    }
}
/* Hide the large centre Play video button */
.director-video-start {
    display: none !important;
}
