    .wrap {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .research-h1 {
        max-width: 580px;
    }

    .page-intro-text {
        max-width: 680px;
    }

    .tagline-h3 {
        margin: 0px auto 20px;
    }

    .essay-topnav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 40px 0 32px;
        padding-bottom: 20px;
        border-bottom: 2px solid #2544A8;
    }

    .essay-nav-group {
        position: relative;
    }

    .essay-nav-divider {
        display: flex;
        align-items: center;
        cursor: pointer;
        list-style: none;
        user-select: none;
        color: #2544A8;
        margin: 0;
        padding: 8px 14px;
        border-radius: 100px;
    }

        .essay-nav-divider::-webkit-details-marker { display: none; }

        .essay-nav-divider-label {
            display: inline-block;
            font: 700 0.8em/1.4em "Arial", sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            transition: transform 100ms;
        }

        .essay-nav-divider:has(.essay-nav-active-icon) .essay-nav-divider-label {
            font-weight: 700;
        }

        .essay-nav-divider:hover .essay-nav-divider-label,
        .essay-nav-divider:hover .essay-nav-active-icon {
            transform: translateY(-2px);
        }

        .essay-nav-active-icon {
            display: inline-block;
            width: 12px;
            height: 12px;
            margin: 0 8px 0 2px;
            border-radius: 3px;
            transition: transform 100ms;
            flex-shrink: 0;
        }

        .essay-nav-divider::after {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            margin-left: 4px;
            border-right: 1.5px solid #2544A8;
            border-bottom: 1.5px solid #2544A8;
            transform: rotate(45deg) translateY(-2px);
            transition: transform 200ms ease;
            flex-shrink: 0;
        }

        .essay-nav-details[open] .essay-nav-divider::after {
            transform: rotate(-135deg) translateY(-2px);
        }

    /* The dropdown is a plain sibling of the <details>, not nested inside
       it - see the comment in build-content.js's buildEssayNavHtml. Shown
       when the details is open (click) via the sibling selector below, or
       on hover at wider widths (see the min-width:769px block further
       down) - both are plain CSS we fully control. */
    .essay-nav-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 20;
        min-width: 240px;
        max-width: calc(100vw - 48px);
        padding: 10px;
        background: #fff;
        border: 1px solid #2544A8;
        border-bottom-width: 2px;
        border-radius: 8px;
    }

        .essay-nav-details[open] ~ .essay-nav-dropdown {
            display: block;
        }

    .essay-nav-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    @media (max-width: 768px) {
        .essay-topnav {
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 0;
        }

        .essay-nav-group {
            width: 100%;
        }

        .essay-nav-divider {
            width: 100%;
            padding: 12px 0;
            border-radius: 0;
        }

        .essay-nav-divider::after {
            margin-left: auto;
        }

        .essay-nav-dropdown {
            position: static;
            width: 100%;
            max-width: none;
            margin-top: 0;
            padding: 0 8px 12px 8px;
            background: none;
            border: none;
            border-radius: 0;
            box-shadow: none;
        }
    }

    .essay-topnav a {
        display: flex;
        align-items: center;
        font: 400 0.85em/1.3em "Arial", sans-serif;
        text-decoration: none;
        color: #2544A8;
        margin: 0;
        padding: 6px 4px 6px 20px;
        transition: transform 0.15s ease;
        border: 1px solid #fff;
    }

        .essay-topnav a::before {
            content: "";
            display: inline-block;
            flex-shrink: 0;
            align-self: flex-start;
            width: 10px;
            height: 10px;
            margin-right: 10px;
            margin-top: 4px;
            background: #2544A8;
        }

        .essay-topnav a.essay-draft::before {
            background: none;
            border: 1px solid #2544A8;
        }

        .essay-topnav span {
            margin-right: 8px;
        }

        .essay-topnav a .essay-draft-pill {
            align-self: flex-start;
        }

        .essay-topnav a:hover {
            border: 1px solid #2544A8;
        }

            .essay-topnav a.essay-draft:hover {
                background: none;
                border: 1px dashed #2544A8;
            }

        .essay-topnav a.active {
            background: #F0E7FF;
            border: 1px solid #2544A8;
        }

            .essay-topnav a.essay-draft.active {
                border: 1px dashed #2544A8;
            }

    .essay-draft-pill {
        display: inline-block;
        padding: 3px 6px;
        font: 400 0.75em/1.2em "Arial", sans-serif;
        letter-spacing: -0.01em;
        border-radius: 100px;
        border: 1px solid #2544A8;
        color: #2544A8;
        vertical-align: middle;
    }

    .essay-viewer {
        padding: 0 0 24px;
        scroll-margin-top: 70px;
    }

        .essay-viewer h1 {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin: 24px auto 16px;
            font: 400 2.7em/1.3em "FK Raster Grotesk Smooth", sans-serif;
            text-align: center;
            /* max-width: 800px; */
        }

        .essay-draft-pill-lg {
            font-size: 0.4em;
            padding: 4px 8px;
            margin-bottom: -4px;
        }

        .essay-viewer h2 {
            text-align: left;
            margin: 40px 0 12px;
            font: 300 1.5em/1.3em "quimby-gubernatorial", sans-serif;
        }

        .essay-viewer h3 {
            text-align: left;
            margin-top: 36px;
            margin-bottom: 12px;
            font: 600 1.05em/1.4em "FK Raster Grotesk Smooth", sans-serif;
            text-transform: uppercase;
        }

        .essay-viewer h4 {
            margin: 24px 0;
            font-size: 1em;
            font-style: italic;
            font-weight: 400;
            text-align: center;
        }

        .essay-desc {
            width: fit-content;
            max-width: 100%;
            margin: 0 0 24px;
            padding: 10px 20px;
            border: 1.5px solid #2544A8;
            border-radius: 10px;
            text-align: left;
            font: 400 1em/1.5em "Times New Roman", serif;
            color: #2544A8;
        }

        .essay-viewer p {
            margin: 16px 0;
            font-size: 1.05em;
            line-height: 1.6em;
        }

        .essay-viewer blockquote {
            border-left: 2px solid #2544A8;
            margin: 24px 0;
            padding: 0 0 0 20px;
            font-size: 1em;
        }

        .essay-viewer ul, .essay-viewer ol {
            margin: 16px 0;
            padding: 0 0 0 1.5em;
        }

        .essay-viewer li {
            font-size: 1.05em;
            line-height: 1.65em;
            margin: 0 0 0.4em;
        }

        .essay-viewer .essay-ornament {
            margin: 24px 0 0;
            font-size: 1.25em;
        }

    /* ── Thinker graph ── */

    .graph-container {
        position: relative;
        max-width: 800px;
        margin: 1.5em 0 0;
        border: 1px solid #2544A8;
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
    }

    .thinker-graph {
        display: block;
        width: 100%;
        height: auto;
    }

    .graph-node circle {
        cursor: pointer;
        stroke: #fff;
        stroke-width: 2px;
        transition: transform 0.15s ease, filter 0.15s ease;
        transform-box: fill-box;
        transform-origin: center;
    }

        .graph-node:hover circle,
        .graph-node.active circle {
            transform: scale(1.12);
            filter: brightness(1.08);
        }

    .graph-node text {
        font: 400 11px/1.2em "Arial", sans-serif;
        fill: #2544A8;
        pointer-events: none;
        text-anchor: middle;
    }

    .graph-edge {
        stroke: #2544A8;
        stroke-opacity: 0.18;
        stroke-width: 1.25px;
    }

        .graph-edge.active {
            stroke-opacity: 0.5;
            stroke-width: 1.75px;
        }

    .graph-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em 1.1em;
        padding: 0.9em 1.1em;
        border-top: 1px solid rgba(37, 68, 168, 0.15);
        font: 400 0.78em/1.4em "Arial", sans-serif;
    }

        .graph-legend-item {
            display: flex;
            align-items: center;
            gap: 0.45em;
        }

        .graph-legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }

    .graph-details {
        max-width: 800px;
        margin: 1em 0 1.5em;
        padding: 1.1em 1.4em;
        border: 1px solid #2544A8;
        border-radius: 10px;
        background: #fff;
        min-height: 3em;
    }

        .graph-details p.graph-details-placeholder {
            margin: 0;
            opacity: 0.6;
            font-size: 0.9em;
        }

        .graph-details-name {
            margin: 0 0 0.3em;
            font: 400 1.2em/1.4em "FK Raster Grotesk Smooth", sans-serif;
        }

        .graph-details-discipline {
            display: inline-block;
            margin: 0 0 0.6em;
            font: 400 0.72em/1.4em "Arial", sans-serif;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            opacity: 0.6;
        }

        .graph-details p.graph-details-desc {
            margin: 0;
            font: 400 0.95em/1.5em "Times New Roman", serif;
        }

    @media (max-width: 600px) {
        .graph-legend {
            font-size: 0.72em;
        }
    }

    @media (min-width: 768px) {
        .wrap {
            max-width: 960px;
        }

        .essay-viewer {
            padding: 16px 0 40px;
        }

        .essay-viewer h1 {
            margin: 0 auto 16px;
            text-align: center;
        }
    }

