.knowledge-page .knowledge-hero {
    min-height: 0;
    padding-block: clamp(54px, 7vw, 96px);
    align-items: stretch;
}

.knowledge-page .knowledge-hero .hero-copy {
    justify-content: center;
}

.knowledge-page .knowledge-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.8rem, 5.4vw, 5.4rem);
}

.knowledge-visual {
    position: relative;
    min-height: clamp(360px, 42vw, 560px);
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 45%),
        #0b0b0c;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.knowledge-visual::before,
.knowledge-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.knowledge-visual::before {
    inset: 22px;
    border: 1px solid rgba(184, 155, 94, 0.25);
}

.knowledge-visual::after {
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.025) 49px 50px);
    z-index: -1;
}

.knowledge-visual-mark {
    width: min(48%, 230px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--gold);
    box-shadow: 0 0 0 16px rgba(184, 155, 94, 0.035), 0 0 0 17px rgba(184, 155, 94, 0.18);
}

.knowledge-visual-mark img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.knowledge-visual-label {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 34px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--panel-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.knowledge-definition {
    display: grid;
    grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: start;
}

.knowledge-definition .section-kicker {
    margin-top: .45rem;
}

.knowledge-definition-copy {
    max-width: 840px;
}

.knowledge-definition-copy > p:first-child {
    margin-top: 0;
    color: var(--cream);
    font: 500 clamp(1.45rem, 2.7vw, 2.2rem)/1.25 "Cormorant Garamond", Georgia, serif;
}

.knowledge-definition-copy p + p {
    margin-top: 1.2rem;
}

.knowledge-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.knowledge-card {
    min-height: 240px;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid var(--line);
    background: rgba(15, 13, 12, .86);
    display: flex;
    flex-direction: column;
}

.knowledge-card-index {
    color: var(--gold);
    font: 600 1.4rem/1 "Cormorant Garamond", Georgia, serif;
    opacity: .72;
}

.knowledge-card h3 {
    margin-top: auto;
    padding-top: 42px;
}

.knowledge-card p {
    margin-bottom: 0;
}

.knowledge-contrast {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.knowledge-contrast article {
    padding: clamp(24px, 3vw, 36px);
    background: var(--bg-soft);
}

.knowledge-contrast h3 {
    margin-top: 0;
}

.knowledge-final {
    text-align: center;
}

.knowledge-final .section-lede {
    margin-inline: auto;
}

.knowledge-final .hero-actions {
    justify-content: center;
}

.knowledge-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: center;
}

.knowledge-entry-copy {
    max-width: 780px;
}

.knowledge-entry-copy h2 {
    margin-bottom: 0;
}

.knowledge-entry-copy p:not(.section-kicker) {
    margin-top: 16px;
}

.knowledge-entry-mark {
    min-height: 220px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 48%), var(--bg-soft);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.knowledge-entry-mark::after {
    content: "FIELD NOTE";
    position: absolute;
    right: 18px;
    bottom: 15px;
    color: var(--gold);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.knowledge-entry-mark img {
    width: min(48%, 116px);
    max-height: 128px;
}

/* Gimp: cold inventory rails and the red closure line. */
.gimp-knowledge-page .knowledge-visual {
    border-color: rgba(183, 183, 180, .34);
    background: radial-gradient(circle at 50% 42%, #242424 0, #0b0b0c 44%, #050505 100%);
}

.gimp-knowledge-page .knowledge-visual::before {
    border-color: rgba(183, 183, 180, .27);
}

.gimp-knowledge-page .knowledge-visual::after {
    left: 50%;
    right: auto;
    width: 3px;
    background: #8e342e;
    opacity: .85;
}

.gimp-knowledge-page .knowledge-visual-mark {
    color: #b7b7b4;
    border-radius: 48% 48% 42% 42%;
    box-shadow: 0 0 0 14px rgba(183,183,180,.025), 0 0 0 15px rgba(183,183,180,.18);
}

/* Shiny Latex: a controlled chrome/violet material study. */
.latex-knowledge-page .knowledge-visual {
    background:
        radial-gradient(circle at 32% 24%, rgba(255,255,255,.76) 0 2%, rgba(180,188,208,.22) 6%, transparent 20%),
        linear-gradient(132deg, #050608 9%, #555d69 30%, #0a0b0d 46%, #8a55c8 47%, #17121f 55%, #050608 76%);
}

.latex-knowledge-page .knowledge-visual::before {
    border-color: rgba(170,182,196,.38);
}

.latex-knowledge-page .knowledge-visual-mark {
    color: #d9e1eb;
    border-color: rgba(217,225,235,.72);
    background: rgba(4,5,7,.72);
    box-shadow: 0 0 0 16px rgba(138,85,200,.08), 0 0 0 17px rgba(217,225,235,.24);
}

/* Patriarchy: seal-led institutional classification rather than a generic article. */
.patriarchy-knowledge-page .knowledge-visual {
    background: linear-gradient(145deg, #1a1511, #080706 62%);
}

.patriarchy-knowledge-page .knowledge-visual-mark {
    background: rgba(111,29,29,.09);
}

@media (max-width: 900px) {
    .knowledge-definition,
    .knowledge-card-grid {
        grid-template-columns: 1fr;
    }

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

    .knowledge-card {
        min-height: 0;
    }

    .knowledge-card h3 {
        margin-top: 0;
        padding-top: 28px;
    }

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

    .knowledge-entry-mark {
        min-height: 180px;
    }
}

@media (max-width: 620px) {
    .knowledge-page .knowledge-hero {
        padding-block: 38px 48px;
    }

    .knowledge-page .knowledge-hero h1 {
        font-size: clamp(2.45rem, 13vw, 4rem);
    }

    .knowledge-visual {
        min-height: 330px;
    }

    .knowledge-visual-label {
        left: 24px;
        right: 24px;
        bottom: 24px;
        flex-direction: column;
        gap: 5px;
    }
}
