
    .knowledge-page {
        width:
            min(
                1180px,
                calc(100% - 32px)
            );
        margin: 0 auto;
        padding: 88px 0 120px;
    }


    .knowledge-hero {
        max-width: 860px;
        margin-bottom: 84px;
    }


    .knowledge-eyebrow,
    .knowledge-section-heading > p:first-child {
        margin: 0 0 14px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        opacity: 0.7;
    }


    .knowledge-hero h1 {
        margin: 0;
        font-size:
            clamp(
                2.8rem,
                7vw,
                5.8rem
            );
        line-height: 1.02;
    }


    .knowledge-introduction {
        max-width: 760px;
        margin: 28px 0 0;
        font-size:
            clamp(
                1.05rem,
                2vw,
                1.28rem
            );
        line-height: 1.75;
    }


    .knowledge-summary {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 30px;
        font-size: 0.94rem;
        opacity: 0.72;
    }


    .knowledge-section {
        margin-top: 88px;
    }


    .knowledge-section-heading {
        max-width: 760px;
        margin-bottom: 32px;
    }


    .knowledge-section-heading h2 {
        margin: 0;
        font-size:
            clamp(
                2rem,
                4vw,
                3.3rem
            );
        line-height: 1.08;
    }


    .knowledge-section-heading > p:last-child {
        margin: 18px 0 0;
        line-height: 1.7;
    }


    .knowledge-card-grid {
        display: grid;
        grid-template-columns:
            repeat(
                auto-fit,
                minmax(
                    290px,
                    1fr
                )
            );
        gap: 24px;
    }


    .knowledge-node {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }


    .knowledge-node-score {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        padding: 0 8px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.68;
    }


    .knowledge-explorer-controls {
        display: grid;
        grid-template-columns:
            repeat(
                auto-fit,
                minmax(220px, 1fr)
            );
        align-items: end;
        gap: 16px;
        margin-bottom: 24px;
        padding: 20px;
        border: 1px solid
            color-mix(
                in srgb,
                currentColor 16%,
                transparent
            );
        border-radius: 18px;
    }


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


    .knowledge-explorer-field > span {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.7;
    }


    .knowledge-explorer-field input,
    .knowledge-explorer-field select {
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        border: 1px solid
            color-mix(
                in srgb,
                currentColor 22%,
                transparent
            );
        border-radius: 10px;
        background: transparent;
        color: inherit;
        font: inherit;
    }


    .knowledge-explorer-field input:focus-visible,
    .knowledge-explorer-field select:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }


    .knowledge-explorer-results {
        align-self: center;
        margin: 0;
        font-size: 0.86rem;
        font-weight: 700;
        opacity: 0.72;
    }


    .knowledge-connection[hidden],
    .knowledge-empty[hidden] {
        display: none;
    }


    .knowledge-connections {
        display: grid;
        gap: 16px;
    }


    .knowledge-connection {
        display: grid;
        grid-template-columns:
            90px
            minmax(0, 1fr)
            minmax(220px, 0.8fr);
        align-items: center;
        gap: 24px;
        padding: 24px;
        border: 1px solid
            color-mix(
                in srgb,
                currentColor 16%,
                transparent
            );
        border-radius: 18px;
    }


    .knowledge-connection-score {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }


    .knowledge-connection-score span {
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.64;
    }


    .knowledge-connection-score strong {
        font-size: 2rem;
        line-height: 1;
    }


    .knowledge-relationship-badge {
        display: inline-flex;
        width: fit-content;
        margin-top: 6px;
        padding: 5px 8px;
        border: 1px solid
            color-mix(
                in srgb,
                currentColor 18%,
                transparent
            );
        border-radius: 999px;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.2;
        text-transform: uppercase;
    }


    .knowledge-relationship-badge[
        data-relationship="prerequisite"
    ],
    .knowledge-relationship-badge[
        data-relationship="next-reading"
    ],
    .knowledge-relationship-badge[
        data-relationship="learning-path"
    ] {
        background:
            color-mix(
                in srgb,
                currentColor 7%,
                transparent
            );
    }


    .knowledge-connection-work {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        font-weight: 700;
    }


    .knowledge-connection-work a {
        color: inherit;
        text-decoration-thickness: 1px;
        text-underline-offset: 4px;
    }


    .knowledge-connection-direction {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 24px;
        font-size: 1.1rem;
        opacity: 0.72;
    }


    .knowledge-shared-topics {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }


    .knowledge-shared-topics span,
    .knowledge-topics a {
        display: inline-flex;
        padding: 7px 11px;
        border: 1px solid
            color-mix(
                in srgb,
                currentColor 15%,
                transparent
            );
        border-radius: 999px;
        color: inherit;
        font-size: 0.8rem;
        text-decoration: none;
    }


    .knowledge-topics {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }


    .knowledge-topics a:hover,
    .knowledge-topics a:focus-visible {
        background:
            color-mix(
                in srgb,
                currentColor 6%,
                transparent
            );
    }


    .knowledge-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        margin-top: 88px;
        padding-top: 28px;
        border-top: 1px solid
            color-mix(
                in srgb,
                currentColor 16%,
                transparent
            );
    }


    .knowledge-footer a {
        color: inherit;
        font-weight: 700;
    }


    @media (max-width: 820px) {

        .knowledge-connection {
            grid-template-columns:
                74px
                minmax(0, 1fr);
        }


        .knowledge-shared-topics {
            grid-column:
                1 / -1;
            justify-content:
                flex-start;
        }

    }


    @media (max-width: 640px) {

        .knowledge-page {
            width:
                min(
                    100% - 24px,
                    1180px
                );
            padding:
                64px 0 88px;
        }


        .knowledge-hero {
            margin-bottom: 64px;
        }


        .knowledge-section {
            margin-top: 68px;
        }


        .knowledge-card-grid {
            grid-template-columns:
                1fr;
        }


        .knowledge-connection {
            grid-template-columns:
                1fr;
        }


        .knowledge-shared-topics {
            grid-column: auto;
        }


        .knowledge-footer {
            flex-direction:
                column;
        }

    }

/* WEBSITE PRODUCTION 022: KNOWLEDGE EXPERIENCE */


/* =========================================
   KNOWLEDGE — EXPERIENCE FOUNDATION
   ========================================= */

.knowledge-page {
    position: relative;
    isolation: isolate;
}

.knowledge-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(112, 145, 133, 0.11),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 22%,
            rgba(183, 155, 104, 0.08),
            transparent 26%
        );
}

.knowledge-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    height: 1px;
    z-index: -1;
    pointer-events: none;
    transform: translateX(-50%);
    background:
        linear-gradient(
            to right,
            transparent,
            color-mix(
                in srgb,
                currentColor 20%,
                transparent
            ),
            transparent
        );
}


/* =========================================
   KNOWLEDGE — HERO
   ========================================= */

.knowledge-hero {
    position: relative;
    padding:
        clamp(28px, 4vw, 54px)
        0
        clamp(20px, 3vw, 40px);
}

.knowledge-hero::before {
    content: "";
    position: absolute;
    top: -74px;
    left: -90px;
    width: 300px;
    height: 300px;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(112, 145, 133, 0.10),
            transparent 68%
        );
}

.knowledge-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(440px, 70%);
    height: 1px;
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            rgba(183, 155, 104, 0.65),
            transparent
        );
}

.knowledge-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.knowledge-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

.knowledge-hero h1 {
    max-width: 900px;
    text-wrap: balance;
    letter-spacing: -0.055em;
}

.knowledge-introduction {
    max-width: 760px;
    text-wrap: pretty;
}

.knowledge-summary {
    position: relative;
    width: fit-content;
    max-width: 100%;
    padding: 14px 18px;
    border:
        1px solid
        color-mix(
            in srgb,
            currentColor 12%,
            transparent
        );
    border-radius: 999px;
    background:
        color-mix(
            in srgb,
            currentColor 3%,
            transparent
        );
}


/* =========================================
   KNOWLEDGE — SECTIONS
   ========================================= */

.knowledge-section {
    position: relative;
}

.knowledge-section + .knowledge-section {
    padding-top: 88px;
    border-top:
        1px solid
        color-mix(
            in srgb,
            currentColor 10%,
            transparent
        );
}

.knowledge-section-heading {
    position: relative;
    max-width: 760px;
    margin-bottom: 34px;
}

.knowledge-section-heading::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 20px;
    background:
        linear-gradient(
            to right,
            rgba(183, 155, 104, 0.90),
            rgba(112, 145, 133, 0.55)
        );
}

.knowledge-section-heading h2 {
    text-wrap: balance;
    letter-spacing: -0.035em;
}


/* =========================================
   KNOWLEDGE — CONNECTED WORK
   ========================================= */

.knowledge-card-grid {
    align-items: stretch;
}

.knowledge-node {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 28px 28px 30px;
    border:
        1px solid
        color-mix(
            in srgb,
            currentColor 13%,
            transparent
        );
    border-radius: 22px;
    background:
        color-mix(
            in srgb,
            currentColor 2.5%,
            transparent
        );
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease,
        background-color 200ms ease;
}

.knowledge-node::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 50px;
    height: 2px;
    background:
        linear-gradient(
            to right,
            rgba(183, 155, 104, 0.95),
            rgba(112, 145, 133, 0.65)
        );
}

.knowledge-node::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    border:
        1px solid
        color-mix(
            in srgb,
            currentColor 7%,
            transparent
        );
    border-radius: 50%;
}

.knowledge-node:hover,
.knowledge-node:focus-within {
    transform: translateY(-4px);
    border-color:
        color-mix(
            in srgb,
            currentColor 24%,
            transparent
        );
    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.10);
    background:
        color-mix(
            in srgb,
            currentColor 4.5%,
            transparent
        );
}

.knowledge-node-score {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background:
        color-mix(
            in srgb,
            currentColor 7%,
            transparent
        );
    font-variant-numeric: tabular-nums;
}


/* =========================================
   KNOWLEDGE — EXPLORER
   ========================================= */

.knowledge-explorer-controls {
    position: relative;
    overflow: hidden;
    padding:
        clamp(22px, 3vw, 30px);
    border-radius: 22px;
    background:
        color-mix(
            in srgb,
            currentColor 2.5%,
            transparent
        );
}

.knowledge-explorer-controls::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 2px;
    background:
        linear-gradient(
            to right,
            rgba(112, 145, 133, 0.85),
            rgba(183, 155, 104, 0.75)
        );
}

.knowledge-explorer-field {
    position: relative;
}

.knowledge-explorer-field > span {
    display: block;
    margin-bottom: 9px;
}

.knowledge-explorer-field input,
.knowledge-explorer-field select {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.knowledge-explorer-field input:hover,
.knowledge-explorer-field select:hover {
    border-color:
        color-mix(
            in srgb,
            currentColor 36%,
            transparent
        );
}

.knowledge-explorer-field input:focus-visible,
.knowledge-explorer-field select:focus-visible {
    outline: none;
    border-color:
        color-mix(
            in srgb,
            currentColor 52%,
            transparent
        );
    box-shadow:
        0 0 0 4px
        color-mix(
            in srgb,
            currentColor 8%,
            transparent
        );
}


/* =========================================
   KNOWLEDGE — CONNECTION GRAPH
   ========================================= */

.knowledge-connections {
    position: relative;
}

.knowledge-connection {
    position: relative;
    overflow: hidden;
    transition:
        transform 190ms ease,
        border-color 190ms ease,
        box-shadow 190ms ease,
        background-color 190ms ease;
}

.knowledge-connection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background:
        linear-gradient(
            to bottom,
            rgba(112, 145, 133, 0.85),
            rgba(183, 155, 104, 0.72)
        );
    opacity: 0.58;
}

.knowledge-connection:hover,
.knowledge-connection:focus-within {
    transform: translateX(4px);
    border-color:
        color-mix(
            in srgb,
            currentColor 25%,
            transparent
        );
    background:
        color-mix(
            in srgb,
            currentColor 3.5%,
            transparent
        );
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.08);
}

.knowledge-connection-score strong {
    font-variant-numeric: tabular-nums;
}

.knowledge-relationship-badge {
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.knowledge-relationship-badge[data-relationship="prerequisite"] {
    background:
        color-mix(
            in srgb,
            #8b6a45 11%,
            transparent
        );
}

.knowledge-relationship-badge[data-relationship="next-reading"] {
    background:
        color-mix(
            in srgb,
            #6f8f82 11%,
            transparent
        );
}

.knowledge-relationship-badge[data-relationship="learning-path"] {
    background:
        color-mix(
            in srgb,
            #786e91 11%,
            transparent
        );
}

.knowledge-connection:hover .knowledge-relationship-badge {
    transform: translateY(-1px);
}

.knowledge-connection-work a {
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.knowledge-connection-direction {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    min-height: 28px;
    border:
        1px solid
        color-mix(
            in srgb,
            currentColor 14%,
            transparent
        );
    border-radius: 50%;
    opacity: 0.78;
}

.knowledge-shared-topics span {
    transition:
        transform 160ms ease,
        border-color 160ms ease;
}

.knowledge-shared-topics span:hover {
    transform: translateY(-2px);
}


/* =========================================
   KNOWLEDGE — TOPICS
   ========================================= */

.knowledge-topics {
    position: relative;
}

.knowledge-topics a {
    position: relative;
    overflow: hidden;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        background-color 170ms ease;
}

.knowledge-topics a::before {
    content: "";
    position: absolute;
    inset: auto 10px 5px;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: currentColor;
    opacity: 0.42;
    transition: transform 180ms ease;
}

.knowledge-topics a:hover,
.knowledge-topics a:focus-visible {
    transform: translateY(-2px);
}

.knowledge-topics a:hover::before,
.knowledge-topics a:focus-visible::before {
    transform: scaleX(1);
}


/* =========================================
   KNOWLEDGE — EMPTY STATE
   ========================================= */

.knowledge-empty {
    position: relative;
    padding: 24px 26px;
    border-left:
        2px solid
        color-mix(
            in srgb,
            currentColor 24%,
            transparent
        );
    background:
        color-mix(
            in srgb,
            currentColor 2.5%,
            transparent
        );
}


/* =========================================
   KNOWLEDGE — FOOTER
   ========================================= */

.knowledge-footer {
    position: relative;
    padding-bottom: 12px;
}

.knowledge-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: min(150px, 30%);
    height: 2px;
    background:
        linear-gradient(
            to right,
            rgba(183, 155, 104, 0.85),
            rgba(112, 145, 133, 0.55)
        );
}

.knowledge-footer a {
    position: relative;
    text-underline-offset: 5px;
    transition:
        transform 170ms ease,
        opacity 170ms ease;
}

.knowledge-footer a:hover,
.knowledge-footer a:focus-visible {
    transform: translateY(-2px);
}


/* =========================================
   KNOWLEDGE — ACCESSIBILITY
   ========================================= */

.knowledge-page a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}


/* =========================================
   KNOWLEDGE — TABLET
   ========================================= */

@media (max-width: 820px) {

    .knowledge-page {
        padding-top: 72px;
        padding-bottom: 100px;
    }

    .knowledge-hero {
        margin-bottom: 66px;
    }

    .knowledge-section {
        margin-top: 72px;
    }

    .knowledge-section + .knowledge-section {
        padding-top: 72px;
    }

    .knowledge-connection {
        grid-template-columns:
            minmax(80px, 0.28fr)
            minmax(0, 1fr);
    }

    .knowledge-shared-topics {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 104px;
    }
}


/* =========================================
   KNOWLEDGE — MOBILE
   ========================================= */

@media (max-width: 640px) {

    .knowledge-page {
        width:
            min(
                100% - 24px,
                1180px
            );
        padding-top: 54px;
        padding-bottom: 80px;
    }

    .knowledge-hero {
        margin-bottom: 54px;
        padding-top: 14px;
    }

    .knowledge-hero h1 {
        font-size:
            clamp(
                2.7rem,
                13vw,
                4.4rem
            );
    }

    .knowledge-summary {
        width: 100%;
        border-radius: 18px;
    }

    .knowledge-section {
        margin-top: 60px;
    }

    .knowledge-section + .knowledge-section {
        padding-top: 60px;
    }

    .knowledge-section-heading {
        margin-bottom: 28px;
    }

    .knowledge-node {
        padding: 26px 22px 28px;
    }

    .knowledge-node::before {
        left: 22px;
    }

    .knowledge-explorer-controls {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .knowledge-connection {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }

    .knowledge-connection:hover,
    .knowledge-connection:focus-within {
        transform: translateY(-2px);
    }

    .knowledge-shared-topics {
        grid-column: auto;
        justify-content: flex-start;
        padding-left: 0;
    }

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


/* =========================================
   KNOWLEDGE — REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .knowledge-node,
    .knowledge-connection,
    .knowledge-relationship-badge,
    .knowledge-shared-topics span,
    .knowledge-topics a,
    .knowledge-topics a::before,
    .knowledge-footer a,
    .knowledge-explorer-field input,
    .knowledge-explorer-field select {
        transition: none;
    }

    .knowledge-node:hover,
    .knowledge-node:focus-within,
    .knowledge-connection:hover,
    .knowledge-connection:focus-within,
    .knowledge-shared-topics span:hover,
    .knowledge-topics a:hover,
    .knowledge-topics a:focus-visible,
    .knowledge-footer a:hover,
    .knowledge-footer a:focus-visible {
        transform: none;
    }
}
