:root {
            --sand: #f1ede2;
            --sand-deep: #e4dece;
            --paper: #fbfaf5;
            --ink: #171915;
            --muted: #66685f;
            --line: #c9c5b9;
            --emerald: #0d684c;
            --emerald-dark: #084534;
            --mint: #c8dfce;
            --brass: #b68a32;
            --signal: #af4e3e;
            --shadow: 0 18px 44px rgba(23, 25, 21, 0.09);
            --ui: "Sora", Arial, sans-serif;
            --editorial: "Spectral", Georgia, serif;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        #home,
        #themes,
        #papers,
        #context,
        #paper-detail,
        #archives,
        #volume-22,
        #volume-21 {
            scroll-margin-top: 112px;
        }

        #featured,
        #context,
        #paper-detail,
        #archives {
            scroll-margin-top: 0;
        }

        body {
            margin: 0;
            color: var(--ink);
            background: var(--sand);
            font-family: var(--ui);
            font-size: 15px;
            line-height: 1.6;
        }

        main {
            min-height: 72vh;
        }

        body[data-page="home"] .browse-section,
        body[data-page="home"] .detail-section,
        body[data-page="browse"] .home-section,
        body[data-page="browse"] .detail-section,
        body[data-page="detail"] .home-section,
        body[data-page="detail"] .browse-section {
            display: none;
        }

        body.sheet-open {
            overflow: hidden;
        }

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

        button,
        input {
            font: inherit;
        }

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        button {
            color: inherit;
        }

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

        :focus-visible {
            outline: 3px solid var(--brass);
            outline-offset: 3px;
        }

        .skip-link {
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 100;
            padding: 10px 14px;
            color: var(--paper);
            background: var(--ink);
            transform: translateY(-150%);
        }

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

        .icon {
            width: 18px;
            height: 18px;
            stroke-width: 1.8;
            flex: 0 0 auto;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 40;
            border-bottom: 1px solid var(--line);
            background: rgba(241, 237, 226, 0.96);
            backdrop-filter: blur(14px);
        }

        .edition-bar {
            min-height: 31px;
            color: var(--paper);
            background: var(--ink);
            font-size: 11px;
            font-weight: 600;
        }

        .edition-bar__inner {
            width: min(1440px, calc(100% - 48px));
            min-height: 31px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .edition-bar p {
            margin: 0;
        }

        .edition-bar__signal {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .edition-bar__signal::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--mint);
        }

        .masthead {
            width: min(1440px, calc(100% - 48px));
            min-height: 70px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.35fr) auto;
            align-items: center;
            gap: 26px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            width: fit-content;
            text-decoration: none;
        }

        .brand__mark {
            position: relative;
            width: 42px;
            height: 42px;
            border: 1px solid var(--ink);
            display: grid;
            place-items: center;
            overflow: hidden;
            font-family: var(--editorial);
            font-size: 21px;
            font-weight: 600;
            line-height: 1;
        }

        .brand__mark::after {
            content: "";
            position: absolute;
            right: -8px;
            bottom: 7px;
            width: 30px;
            height: 1px;
            background: var(--emerald);
            transform: rotate(-45deg);
        }

        .brand__text {
            display: grid;
            line-height: 1.15;
        }

        .brand__text strong {
            font-family: var(--editorial);
            font-size: 20px;
            font-weight: 600;
        }

        .brand__text span {
            margin-top: 3px;
            color: var(--muted);
            font-size: 10px;
            font-weight: 600;
        }

        .research-nav {
            justify-self: center;
        }

        .research-nav ul {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .research-nav a {
            min-height: 44px;
            padding: 0 13px;
            display: inline-flex;
            align-items: center;
            border-bottom: 2px solid transparent;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: border-color 160ms ease, color 160ms ease;
        }

        .research-nav a:hover,
        .research-nav a[aria-current="page"] {
            color: var(--emerald-dark);
            border-color: var(--emerald);
        }

        .masthead__tools {
            display: flex;
            align-items: center;
            justify-self: end;
            gap: 14px;
        }

        .search-command {
            min-height: 44px;
            border: 0;
            border-bottom: 1px solid var(--ink);
            background: transparent;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 600;
        }

        .volume-switcher {
            min-height: 44px;
            border: 1px solid var(--line);
            display: inline-flex;
            align-items: stretch;
            background: var(--paper);
        }

        .volume-switcher a {
            min-width: 44px;
            display: grid;
            place-items: center;
            border-right: 1px solid var(--line);
            font-size: 11px;
            font-weight: 600;
            text-decoration: none;
            transition: color 160ms ease, background 160ms ease;
        }

        .volume-switcher a:last-child {
            border-right: 0;
        }

        .volume-switcher a:hover {
            color: var(--emerald-dark);
            background: var(--mint);
        }

        .volume-switcher a[aria-current="true"] {
            color: var(--paper);
            background: var(--emerald-dark);
        }

        .hero {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            min-height: 620px;
            border-bottom: 1px solid var(--line);
            background: var(--paper);
        }

        .hero__inner {
            position: relative;
            width: min(1440px, calc(100% - 48px));
            min-height: 620px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.25fr);
            gap: 72px;
            align-items: center;
        }

        .hero__volume {
            position: relative;
            min-height: 480px;
            display: grid;
            place-items: center;
            border-right: 1px solid var(--line);
        }

        .hero__number {
            position: relative;
            z-index: 2;
            margin: 0;
            color: var(--emerald-dark);
            font-family: var(--editorial);
            font-size: 250px;
            font-weight: 400;
            line-height: 0.72;
            transform: translate(
                calc(var(--pointer-x, 0) * 5px),
                calc(var(--pointer-y, 0) * 5px)
            );
            transition: transform 180ms ease-out;
        }

        .hero__number sup {
            position: absolute;
            top: -18px;
            right: -41px;
            color: var(--signal);
            font-family: var(--ui);
            font-size: 13px;
            font-weight: 700;
        }

        .hero__volume-label {
            position: absolute;
            left: 8px;
            bottom: 26px;
            margin: 0;
            color: var(--muted);
            font-size: 10px;
            font-weight: 700;
            writing-mode: vertical-rl;
            transform: rotate(180deg);
        }

        .data-field {
            position: absolute;
            inset: 12px 30px 12px 0;
            z-index: 1;
            pointer-events: none;
        }

        .data-line {
            position: absolute;
            background: var(--line);
            opacity: 0.75;
        }

        .data-line--h1 {
            top: 20%;
            left: 2%;
            width: 76%;
            height: 1px;
        }

        .data-line--h2 {
            right: 0;
            bottom: 24%;
            width: 66%;
            height: 1px;
        }

        .data-line--v1 {
            top: 5%;
            left: 24%;
            width: 1px;
            height: 68%;
        }

        .data-line--v2 {
            right: 18%;
            bottom: 5%;
            width: 1px;
            height: 58%;
        }

        .data-node {
            position: absolute;
            width: 8px;
            height: 8px;
            border: 1px solid var(--emerald);
            border-radius: 50%;
            background: var(--paper);
        }

        .data-node--a {
            top: calc(20% - 4px);
            left: 2%;
            animation: trace-x 7s ease-in-out infinite alternate;
        }

        .data-node--b {
            right: calc(18% - 4px);
            bottom: 17%;
            animation: trace-y 6s ease-in-out infinite alternate;
        }

        .data-node--c {
            right: 11%;
            bottom: calc(24% - 4px);
            border-color: var(--signal);
        }

        @keyframes trace-x {
            from { transform: translateX(0); }
            to { transform: translateX(230px); }
        }

        @keyframes trace-y {
            from { transform: translateY(0); }
            to { transform: translateY(-180px); }
        }

        .hero__content {
            position: relative;
            z-index: 2;
            max-width: 770px;
            padding: 54px 0;
        }

        .eyebrow {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0 0 20px;
            color: var(--emerald-dark);
            font-size: 11px;
            font-weight: 700;
        }

        .eyebrow::before {
            content: "";
            width: 32px;
            height: 2px;
            background: var(--emerald);
        }

        .hero h1 {
            max-width: 690px;
            margin: 0;
            font-family: var(--editorial);
            font-size: 68px;
            font-weight: 400;
            line-height: 0.98;
        }

        .hero__theme {
            max-width: 690px;
            margin: 22px 0 0;
            color: var(--muted);
            font-family: var(--editorial);
            font-size: 24px;
            line-height: 1.32;
        }

        .hero__actions {
            margin-top: 30px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 20px;
        }

        .button {
            min-height: 46px;
            padding: 0 18px;
            border: 1px solid var(--ink);
            border-radius: 3px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            background: transparent;
            cursor: pointer;
            font-size: 11px;
            font-weight: 700;
            text-decoration: none;
            transition: transform 160ms ease, color 160ms ease, background 160ms ease;
        }

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

        .button--primary {
            color: var(--paper);
            border-color: var(--emerald-dark);
            background: var(--emerald-dark);
        }

        .button--primary:hover {
            background: var(--emerald);
        }

        .button--quiet {
            padding-inline: 0;
            border: 0;
            border-bottom: 1px solid var(--ink);
            border-radius: 0;
        }

        .hero__facts {
            margin: 34px 0 0;
            padding: 20px 0 0;
            border-top: 1px solid var(--line);
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        .hero__facts div {
            min-width: 0;
        }

        .hero__facts dt {
            color: var(--muted);
            font-size: 9px;
            font-weight: 700;
        }

        .hero__facts dd {
            margin: 5px 0 0;
            font-family: var(--editorial);
            font-size: 18px;
            line-height: 1.2;
        }

        .section {
            padding: 66px 0;
        }

        .section__inner {
            width: min(1320px, calc(100% - 48px));
            margin: 0 auto;
        }

        .section-heading {
            margin-bottom: 34px;
            display: grid;
            grid-template-columns: minmax(240px, 0.85fr) minmax(360px, 1.15fr);
            gap: 60px;
            align-items: end;
        }

        .section-heading__index {
            margin: 0 0 12px;
            color: var(--signal);
            font-size: 10px;
            font-weight: 700;
        }

        .section-heading h2 {
            margin: 0;
            font-family: var(--editorial);
            font-size: 39px;
            font-weight: 400;
            line-height: 1.05;
        }

        .section-heading__copy {
            max-width: 650px;
            margin: 0;
            color: var(--muted);
            font-family: var(--editorial);
            font-size: 18px;
            line-height: 1.5;
        }

        .featured-summary {
            margin: 0 0 22px;
            padding: 14px 0;
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            color: var(--muted);
            font-size: 10px;
            font-weight: 600;
        }

        .featured-summary a {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: var(--ink);
            text-decoration: none;
        }

        .featured-summary a:hover {
            color: var(--emerald);
        }

        .browse-section {
            background: var(--sand);
        }

        .browse-header {
            margin-bottom: 32px;
            display: grid;
            grid-template-columns: minmax(250px, 0.75fr) minmax(400px, 1.25fr);
            gap: 60px;
            align-items: end;
        }

        .browse-header h1 {
            margin: 0;
            font-family: var(--editorial);
            font-size: 48px;
            font-weight: 400;
            line-height: 1;
        }

        .browse-header p {
            max-width: 660px;
            margin: 0;
            color: var(--muted);
            font-family: var(--editorial);
            font-size: 18px;
        }

        .browse-controls {
            margin-bottom: 28px;
            padding: 18px 0;
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            display: grid;
            grid-template-columns: minmax(280px, 1fr) auto;
            gap: 24px;
            align-items: center;
        }

        .browse-search {
            max-width: 620px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1px solid var(--ink);
        }

        .browse-search input {
            width: 100%;
            min-height: 46px;
            border: 0;
            outline: 0;
            color: var(--ink);
            background: transparent;
        }

        .browse-topics {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 6px;
        }

        .browse-topic {
            min-height: 40px;
            padding: 0 11px;
            border: 1px solid var(--line);
            border-radius: 3px;
            background: var(--paper);
            cursor: pointer;
            font-size: 9px;
            font-weight: 600;
        }

        .browse-topic:hover,
        .browse-topic[aria-pressed="true"] {
            color: var(--paper);
            border-color: var(--emerald-dark);
            background: var(--emerald-dark);
        }

        .browse-result-bar {
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            color: var(--muted);
            font-size: 10px;
            font-weight: 600;
        }

        .browse-result-bar strong {
            color: var(--ink);
        }

        .pagination {
            margin-top: 34px;
            padding-top: 22px;
            border-top: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .pagination button {
            min-width: 44px;
            height: 44px;
            padding: 0 10px;
            border: 1px solid var(--line);
            border-radius: 3px;
            background: var(--paper);
            cursor: pointer;
            font-size: 10px;
            font-weight: 600;
        }

        .pagination button:hover:not(:disabled),
        .pagination button[aria-current="page"] {
            color: var(--paper);
            border-color: var(--emerald-dark);
            background: var(--emerald-dark);
        }

        .pagination button:disabled {
            color: #9c9c94;
            cursor: not-allowed;
        }

        .pagination__ellipsis {
            min-width: 28px;
            text-align: center;
        }

        .theme-strip {
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
        }

        .theme-filter {
            position: relative;
            min-height: 96px;
            padding: 16px;
            border: 0;
            border-right: 1px solid var(--line);
            background: transparent;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            text-align: left;
            cursor: pointer;
            transition: color 160ms ease, background 160ms ease;
        }

        .theme-filter:last-child {
            border-right: 0;
        }

        .theme-filter span {
            color: var(--muted);
            font-size: 9px;
            font-weight: 700;
        }

        .theme-filter strong {
            font-family: var(--editorial);
            font-size: 17px;
            font-weight: 600;
        }

        .theme-filter:hover,
        .theme-filter[aria-pressed="true"] {
            color: var(--paper);
            background: var(--emerald-dark);
        }

        .theme-filter:hover span,
        .theme-filter[aria-pressed="true"] span {
            color: var(--mint);
        }

        .papers-toolbar {
            margin: 42px 0 24px;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
        }

        .papers-toolbar__count {
            margin: 0;
            color: var(--muted);
            font-size: 11px;
            font-weight: 600;
        }

        .papers-toolbar__count strong {
            color: var(--ink);
            font-family: var(--editorial);
            font-size: 25px;
            font-weight: 600;
        }

        .inline-search {
            width: min(460px, 100%);
            display: flex;
            align-items: center;
            gap: 9px;
            border-bottom: 1px solid var(--ink);
        }

        .inline-search input {
            width: 100%;
            min-height: 44px;
            border: 0;
            outline: 0;
            color: var(--ink);
            background: transparent;
        }

        .inline-search input::placeholder {
            color: var(--muted);
        }

        .paper-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
        }

        .paper-card {
            min-width: 0;
            padding: 14px;
            border: 1px solid var(--line);
            border-radius: 4px;
            background: var(--paper);
            display: grid;
            grid-template-columns: minmax(116px, 0.74fr) minmax(0, 1.26fr);
            gap: 17px;
            transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
        }

        .paper-card:hover {
            border-color: var(--emerald);
            box-shadow: var(--shadow);
            transform: translateY(-4px);
        }

        .paper-card[hidden] {
            display: none;
        }

        .paper-cover {
            position: relative;
            isolation: isolate;
            min-width: 0;
            aspect-ratio: 3 / 4;
            overflow: hidden;
            padding: 12px;
            color: var(--paper);
            background: var(--cover, var(--emerald-dark));
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .paper-cover::before,
        .paper-cover::after {
            content: "";
            position: absolute;
            z-index: -1;
            opacity: 0.68;
        }

        .paper-cover::before {
            top: 31%;
            left: 0;
            width: 74%;
            height: 1px;
            background: currentColor;
        }

        .paper-cover::after {
            top: 0;
            right: 23%;
            width: 1px;
            height: 76%;
            background: currentColor;
        }

        .paper-cover__issue {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 5px;
            font-size: 8px;
            font-weight: 700;
        }

        .paper-cover__letter {
            align-self: flex-end;
            font-family: var(--editorial);
            font-size: 73px;
            line-height: 0.75;
        }

        .paper-cover__pages {
            display: grid;
            font-family: var(--editorial);
            font-size: 12px;
            line-height: 1.1;
        }

        .paper-cover__dot {
            position: absolute;
            top: calc(31% - 4px);
            left: 26%;
            width: 8px;
            height: 8px;
            border: 1px solid currentColor;
            border-radius: 50%;
            background: var(--cover, var(--emerald-dark));
        }

        .paper-card__body {
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .paper-card__kicker {
            margin: 0 0 9px;
            color: var(--emerald);
            font-size: 8px;
            font-weight: 700;
        }

        .paper-card h3 {
            margin: 0;
            font-family: var(--editorial);
            font-size: 18px;
            font-weight: 600;
            line-height: 1.16;
            overflow-wrap: anywhere;
        }

        .paper-card h3 a {
            text-decoration: none;
        }

        .paper-card h3 a:hover {
            color: var(--emerald-dark);
            text-decoration: underline;
        }

        .paper-card__authors {
            margin: 10px 0 0;
            color: var(--muted);
            font-size: 9px;
            line-height: 1.5;
        }

        .paper-card__keywords {
            margin: 12px 0;
            color: var(--muted);
            font-size: 8px;
            line-height: 1.5;
        }

        .paper-card__actions {
            margin-top: auto;
            padding-top: 12px;
            border-top: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .paper-card__actions a {
            min-height: 36px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 8px;
            font-weight: 700;
            text-decoration: none;
        }

        .paper-card__actions a:hover {
            color: var(--emerald);
        }

        .empty-state {
            margin: 24px 0 0;
            padding: 28px;
            border: 1px solid var(--line);
            background: var(--paper);
            text-align: center;
        }

        .empty-state[hidden] {
            display: none;
        }

        .context-band {
            position: relative;
            overflow: hidden;
            color: var(--paper);
            background: var(--ink);
        }

        .context-band::after {
            content: "23";
            position: absolute;
            right: 3%;
            bottom: -95px;
            color: rgba(251, 250, 245, 0.055);
            font-family: var(--editorial);
            font-size: 340px;
            line-height: 1;
            pointer-events: none;
        }

        .context-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(260px, 0.8fr) minmax(440px, 1.2fr);
            gap: 100px;
        }

        .context-grid h2 {
            max-width: 500px;
            margin: 0;
            font-family: var(--editorial);
            font-size: 39px;
            font-weight: 400;
            line-height: 1.08;
        }

        .context-grid__copy {
            max-width: 680px;
        }

        .context-grid__copy > p {
            margin: 0;
            color: #d8d8cf;
            font-family: var(--editorial);
            font-size: 20px;
            line-height: 1.5;
        }

        .context-facts {
            margin: 32px 0 0;
            border-top: 1px solid #46473f;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .context-facts div {
            min-height: 90px;
            padding: 18px 18px 18px 0;
            border-bottom: 1px solid #46473f;
        }

        .context-facts div:nth-child(odd) {
            border-right: 1px solid #46473f;
        }

        .context-facts div:nth-child(even) {
            padding-left: 18px;
        }

        .context-facts dt {
            color: var(--mint);
            font-size: 9px;
            font-weight: 700;
        }

        .context-facts dd {
            margin: 6px 0 0;
            font-family: var(--editorial);
            font-size: 16px;
        }

        .detail-section {
            border-bottom: 1px solid var(--line);
            background: var(--paper);
        }

        .paper-detail {
            display: grid;
            grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
            gap: 58px;
        }

        .paper-detail__crumb {
            margin: 0 0 22px;
            color: var(--muted);
            font-size: 10px;
            font-weight: 600;
        }

        .paper-detail h2 {
            max-width: 850px;
            margin: 0;
            font-family: var(--editorial);
            font-size: 42px;
            font-weight: 400;
            line-height: 1.08;
        }

        .author-list {
            margin: 20px 0 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 6px 18px;
            list-style: none;
        }

        .author-list li {
            position: relative;
            font-size: 11px;
            font-weight: 600;
        }

        .author-list li:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 50%;
            right: -11px;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--signal);
            transform: translateY(-50%);
        }

        .publication-facts {
            margin: 28px 0 0;
            padding: 16px 0;
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            display: flex;
            flex-wrap: wrap;
            gap: 12px 30px;
        }

        .publication-facts span {
            color: var(--muted);
            font-size: 9px;
            font-weight: 600;
        }

        .abstract {
            margin-top: 28px;
        }

        .abstract h3 {
            margin: 0 0 15px;
            color: var(--emerald-dark);
            font-size: 10px;
            font-weight: 700;
        }

        .abstract p {
            margin: 0;
            font-family: var(--editorial);
            font-size: 18px;
            line-height: 1.62;
        }

        .keyword-list {
            margin: 28px 0 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            list-style: none;
        }

        .keyword-list li {
            padding: 6px 9px;
            border: 1px solid var(--line);
            border-radius: 3px;
            color: var(--muted);
            font-size: 8px;
            font-weight: 600;
        }

        .citation-actions {
            margin-top: 30px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .paper-detail__aside {
            align-self: start;
        }

        .paper-preview {
            margin: 0;
            padding: 12px;
            border: 1px solid var(--line);
            background: var(--sand);
        }

        .paper-preview img {
            width: 100%;
            border: 1px solid #deddd7;
            background: white;
            box-shadow: 0 12px 28px rgba(23, 25, 21, 0.12);
        }

        .paper-preview figcaption {
            margin-top: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            color: var(--muted);
            font-size: 8px;
            font-weight: 600;
        }

        .download-panel {
            margin-top: 14px;
            padding: 16px;
            color: var(--paper);
            background: var(--emerald-dark);
        }

        .download-panel p {
            margin: 0 0 14px;
            font-family: var(--editorial);
            font-size: 18px;
            line-height: 1.3;
        }

        .download-panel .button {
            width: 100%;
            color: var(--ink);
            border-color: var(--paper);
            background: var(--paper);
        }

        .archive-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            border-top: 1px solid var(--line);
            border-left: 1px solid var(--line);
        }

        .archive-volume {
            min-height: 185px;
            padding: 20px;
            border-right: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            display: flex;
            flex-direction: column;
            transition: color 180ms ease, background 180ms ease;
        }

        .archive-volume:hover {
            color: var(--paper);
            background: var(--emerald-dark);
        }

        .archive-volume__top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
        }

        .archive-volume__number {
            font-family: var(--editorial);
            font-size: 58px;
            line-height: 0.8;
        }

        .archive-volume__year {
            font-size: 10px;
            font-weight: 700;
        }

        .archive-volume h3 {
            max-width: 340px;
            margin: auto 0 0;
            font-family: var(--editorial);
            font-size: 17px;
            font-weight: 600;
            line-height: 1.2;
        }

        .archive-volume a {
            margin-top: 16px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-size: 9px;
            font-weight: 700;
            text-decoration: none;
        }

        .site-footer {
            padding: 58px 0 88px;
            color: var(--paper);
            background: var(--emerald-dark);
        }

        .footer-grid {
            width: min(1320px, calc(100% - 48px));
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(220px, 0.85fr) minmax(400px, 1.15fr);
            gap: 80px;
        }

        .footer-wordmark {
            margin: 0;
            font-family: var(--editorial);
            font-size: 40px;
            line-height: 1;
        }

        .footer-intro {
            max-width: 430px;
            margin: 18px 0 0;
            color: #cbd8d1;
            font-family: var(--editorial);
            font-size: 17px;
        }

        .footer-links {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 26px;
        }

        .footer-links h2 {
            margin: 0 0 13px;
            color: var(--mint);
            font-size: 9px;
            font-weight: 700;
        }

        .footer-links ul {
            margin: 0;
            padding: 0;
            display: grid;
            gap: 8px;
            list-style: none;
        }

        .footer-links a {
            color: var(--paper);
            font-size: 10px;
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .footer-logo {
            width: 190px;
            margin-top: 38px;
            filter: grayscale(1) brightness(5);
            opacity: 0.48;
        }

        .mobile-bottom-nav {
            display: none;
        }

        .sheet-backdrop {
            position: fixed;
            inset: 0;
            z-index: 70;
            border: 0;
            background: rgba(23, 25, 21, 0.52);
            opacity: 0;
            visibility: hidden;
            cursor: default;
            transition: opacity 180ms ease, visibility 180ms ease;
        }

        .sheet-backdrop[data-open="true"] {
            opacity: 1;
            visibility: visible;
        }

        .sheet {
            position: fixed;
            left: 50%;
            bottom: 0;
            z-index: 80;
            width: min(680px, 100%);
            max-height: min(76vh, 680px);
            padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
            overflow-y: auto;
            border: 1px solid var(--line);
            border-bottom: 0;
            border-radius: 6px 6px 0 0;
            background: var(--paper);
            box-shadow: 0 -24px 70px rgba(23, 25, 21, 0.2);
            transform: translate(-50%, 105%);
            visibility: hidden;
            transition: transform 200ms ease, visibility 200ms ease;
        }

        .sheet[data-open="true"] {
            transform: translate(-50%, 0);
            visibility: visible;
        }

        .sheet__header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .sheet__header h2 {
            margin: 0;
            font-family: var(--editorial);
            font-size: 27px;
            font-weight: 600;
        }

        .icon-button {
            width: 44px;
            height: 44px;
            padding: 0;
            border: 1px solid var(--line);
            border-radius: 3px;
            background: transparent;
            display: grid;
            place-items: center;
            cursor: pointer;
        }

        .sheet-search {
            margin-top: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 2px solid var(--ink);
        }

        .sheet-search input {
            width: 100%;
            min-height: 50px;
            border: 0;
            outline: 0;
            background: transparent;
        }

        .sheet__quick-links {
            margin: 28px 0 0;
            padding: 0;
            display: grid;
            border-top: 1px solid var(--line);
            list-style: none;
        }

        .sheet__quick-links a {
            min-height: 52px;
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            font-size: 11px;
            font-weight: 600;
            text-decoration: none;
        }

        .sheet__volumes {
            margin-top: 24px;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .sheet__volumes a {
            min-height: 100px;
            padding: 12px;
            border: 1px solid var(--line);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            font-family: var(--editorial);
            font-size: 25px;
            text-decoration: none;
        }

        .sheet__volumes a span {
            color: var(--muted);
            font-family: var(--ui);
            font-size: 8px;
            font-weight: 600;
        }

        .toast {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 100;
            max-width: 320px;
            padding: 13px 16px;
            color: var(--paper);
            border-radius: 3px;
            background: var(--ink);
            font-size: 10px;
            font-weight: 600;
            opacity: 0;
            pointer-events: none;
            transform: translateY(12px);
            transition: opacity 180ms ease, transform 180ms ease;
        }

        .toast[data-open="true"] {
            opacity: 1;
            transform: translateY(0);
        }

        .js .reveal {
            opacity: 0;
            transform: translateY(14px);
            transition: opacity 420ms ease, transform 420ms ease;
        }

        .js .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 1180px) {
            .masthead {
                grid-template-columns: minmax(210px, 0.8fr) minmax(350px, 1.2fr) auto;
                gap: 14px;
            }

            .research-nav a {
                padding-inline: 8px;
            }

            .search-command span {
                display: none;
            }

            .hero__inner {
                grid-template-columns: minmax(300px, 0.75fr) minmax(500px, 1.25fr);
                gap: 44px;
            }

            .hero__number {
                font-size: 215px;
            }

            .hero h1 {
                font-size: 59px;
            }

            .paper-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 920px) {
            #featured,
            #context,
            #paper-detail,
            #archives {
                scroll-margin-top: 0;
            }

            .edition-bar__inner,
            .masthead,
            .hero__inner,
            .section__inner,
            .footer-grid {
                width: min(100% - 32px, 760px);
            }

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

            .research-nav {
                display: none;
            }

            .hero,
            .hero__inner {
                min-height: 0;
            }

            .hero__inner {
                padding: 36px 0 54px;
                grid-template-columns: 1fr;
                gap: 26px;
            }

            .hero__volume {
                min-height: 190px;
                border-right: 0;
                border-bottom: 1px solid var(--line);
                place-items: start;
            }

            .hero__number {
                margin: 25px 0 0 40px;
                font-size: 175px;
            }

            .hero__volume-label {
                right: 8px;
                bottom: 16px;
                left: auto;
            }

            .data-field {
                inset: 0;
            }

            .data-line--v1,
            .data-line--v2 {
                height: 100%;
            }

            .hero__content {
                padding: 0;
            }

            .hero h1 {
                font-size: 50px;
            }

            .section-heading,
            .browse-header,
            .context-grid,
            .paper-detail,
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .browse-controls {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .browse-topics {
                justify-content: flex-start;
            }

            .section-heading {
                align-items: start;
            }

            .theme-strip {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .theme-filter {
                border-bottom: 1px solid var(--line);
            }

            .theme-filter:nth-child(2n) {
                border-right: 0;
            }

            .theme-filter:last-child {
                grid-column: 1 / -1;
            }

            .paper-detail__aside {
                width: min(460px, 100%);
            }

            .archive-grid {
                grid-template-columns: 1fr;
            }

            .archive-volume {
                min-height: 165px;
            }

            .footer-links {
                max-width: 660px;
            }
        }

        @media (max-width: 680px) {
            body {
                padding-bottom: calc(68px + env(safe-area-inset-bottom));
            }

            .edition-bar__inner {
                width: calc(100% - 24px);
            }

            .edition-bar__inner p:last-child {
                display: none;
            }

            .masthead {
                width: calc(100% - 24px);
                min-height: 62px;
            }

            .brand__mark {
                width: 38px;
                height: 38px;
            }

            .brand__text strong {
                font-size: 18px;
            }

            .masthead__tools .volume-switcher {
                display: none;
            }

            .masthead__tools .search-command {
                display: none;
            }

            .hero__inner,
            .section__inner,
            .footer-grid {
                width: calc(100% - 28px);
            }

            .hero__inner {
                padding: 14px 0 34px;
                gap: 18px;
            }

            .hero__volume {
                min-height: 126px;
            }

            .hero__number {
                margin: 12px 0 0 24px;
                font-size: 116px;
            }

            .hero__number sup {
                top: -10px;
                right: -34px;
                font-size: 10px;
            }

            .hero h1 {
                font-size: 38px;
                line-height: 1;
            }

            .hero__theme {
                margin-top: 12px;
                font-size: 17px;
            }

            .hero__actions {
                margin-top: 18px;
                gap: 10px;
            }

            .hero__actions .button--primary {
                width: 100%;
            }

            .hero__actions .button--quiet {
                min-height: 36px;
            }

            .hero__facts {
                margin-top: 20px;
                padding-top: 14px;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px 16px;
            }

            .section {
                padding: 50px 0;
            }

            .section-heading {
                margin-bottom: 26px;
            }

            .section-heading h2,
            .context-grid h2 {
                font-size: 32px;
            }

            .section-heading__copy,
            .context-grid__copy > p {
                font-size: 17px;
            }

            .browse-header {
                margin-bottom: 24px;
            }

            .browse-header h1 {
                font-size: 38px;
            }

            .browse-header p {
                font-size: 17px;
            }

            .browse-controls {
                padding: 14px 0;
            }

            .browse-topics {
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 4px;
                scrollbar-width: thin;
            }

            .browse-topic {
                flex: 0 0 auto;
            }

            .theme-strip {
                display: flex;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                scrollbar-width: thin;
            }

            .theme-filter,
            .theme-filter:last-child {
                flex: 0 0 72%;
                min-height: 88px;
                border-right: 1px solid var(--line);
                border-bottom: 0;
                scroll-snap-align: start;
            }

            .papers-toolbar {
                align-items: stretch;
                flex-direction: column;
            }

            .paper-grid {
                grid-template-columns: 1fr;
            }

            .paper-card {
                grid-template-columns: minmax(108px, 0.72fr) minmax(0, 1.28fr);
                gap: 14px;
            }

            .paper-card h3 {
                font-size: 17px;
            }

            .paper-card__keywords {
                display: none;
            }

            .context-grid {
                gap: 42px;
            }

            .context-facts {
                grid-template-columns: 1fr;
            }

            .context-facts div:nth-child(odd) {
                border-right: 0;
            }

            .context-facts div:nth-child(even) {
                padding-left: 0;
            }

            .paper-detail h2 {
                font-size: 30px;
            }

            .abstract p {
                font-size: 17px;
            }

            .pagination {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 5px;
            }

            .citation-actions .button {
                flex: 1 1 calc(50% - 10px);
            }

            .archive-volume__number {
                font-size: 66px;
            }

            .footer-grid {
                gap: 46px;
            }

            .footer-links {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .mobile-bottom-nav {
                position: fixed;
                right: 0;
                bottom: 0;
                left: 0;
                z-index: 60;
                min-height: calc(66px + env(safe-area-inset-bottom));
                padding: 6px 4px env(safe-area-inset-bottom);
                border-top: 1px solid var(--line);
                background: rgba(251, 250, 245, 0.97);
                backdrop-filter: blur(14px);
                display: grid;
                grid-template-columns: repeat(5, minmax(0, 1fr));
            }

            .mobile-bottom-nav a,
            .mobile-bottom-nav button {
                min-width: 0;
                min-height: 54px;
                padding: 4px 2px;
                border: 0;
                background: transparent;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 3px;
                cursor: pointer;
                font-size: 8px;
                font-weight: 600;
                text-decoration: none;
            }

            .mobile-bottom-nav a[aria-current="page"] {
                color: var(--emerald);
            }

            .toast {
                right: 14px;
                bottom: calc(82px + env(safe-area-inset-bottom));
                left: 14px;
                max-width: none;
                text-align: center;
            }
        }

        @media (max-width: 390px) {
            .brand__text span {
                display: none;
            }

            .hero h1 {
                font-size: 34px;
            }

            .hero__actions .button--quiet {
                display: none;
            }

            .paper-card {
                grid-template-columns: 96px minmax(0, 1fr);
                padding: 10px;
            }

            .paper-cover {
                padding: 9px;
            }

            .paper-cover__letter {
                font-size: 60px;
            }

            .paper-card h3 {
                font-size: 15px;
            }

            .citation-actions .button {
                flex-basis: 100%;
            }
        }

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

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

            .js .reveal {
                opacity: 1;
                transform: none;
            }
        }

/* Omeka server-rendering adapters. */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.paper-cover {
    padding: 0;
    text-decoration: none;
    background: var(--emerald-dark);
}

.paper-cover::before,
.paper-cover::after {
    display: none;
}

.paper-cover__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.browse-controls .button {
    margin: 0;
}

.browse-topics {
    justify-content: flex-start;
    margin: -12px 0 28px;
}

.browse-topic {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.browse-topic:hover,
.browse-topic[aria-current="page"] {
    color: var(--paper);
    border-color: var(--emerald-dark);
    background: var(--emerald-dark);
}

.pagination-nav {
    margin-top: 34px;
}

ul.pagination {
    margin: 0;
    padding: 22px 0 0;
    list-style: none;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination .page-input,
.pagination .page-number {
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--paper);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}

.pagination a:hover,
.pagination .active a,
.pagination [aria-current="page"] {
    color: var(--paper);
    border-color: var(--emerald-dark);
    background: var(--emerald-dark);
}

.pagination_previous,
.pagination_next {
    position: static;
}

.paper-detail h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--editorial);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.author-list li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.author-email {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    color: var(--emerald-dark);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.author-email:hover {
    color: var(--paper);
    background: var(--emerald-dark);
}

.affiliation-list {
    max-width: 820px;
    margin: 14px 0 0;
    padding: 0;
    color: var(--muted);
    list-style: none;
    counter-reset: affiliations;
}

.affiliation-list li {
    position: relative;
    padding-left: 24px;
    font-family: var(--editorial);
    font-size: 14px;
    counter-increment: affiliations;
}

.affiliation-list li::before {
    content: counter(affiliations);
    position: absolute;
    left: 0;
    color: var(--signal);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 700;
}

.abstract h2,
.keyword-section h2,
.citation-section h2 {
    margin: 0 0 15px;
    color: var(--emerald-dark);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.keyword-section,
.citation-section {
    margin-top: 34px;
}

.citation-section {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.citation-text {
    max-width: 850px;
    margin: 0;
    font-family: var(--editorial);
    font-size: 16px;
}

.citation-actions .button {
    margin: 0;
}

.paper-preview object {
    width: 100%;
    height: min(65vh, 640px);
    border: 1px solid #deddd7;
    background: white;
    box-shadow: 0 12px 28px rgba(23, 25, 21, 0.12);
}

.canonical-link {
    min-height: 38px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--paper);
    font-size: 9px;
    font-weight: 700;
}

.text-link {
    min-height: 44px;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--mint);
    font-size: 10px;
    font-weight: 700;
}

.selected-section,
.archive-section {
    background: var(--sand);
}

.context-band.section {
    padding: 54px 0;
}

.archive-section.section {
    padding-top: 54px;
}

/* Core and plugin pages that use Omeka's fallback views. */
.site-main > h1,
.site-main > h2,
.site-main > p,
.site-main > form,
.site-main > nav,
.site-main > .page,
.site-main > .record,
.site-main > #primary,
.site-main > #search-results,
.site-main > .exhibits,
.site-main > .collections,
.site-main > .items,
.site-main > .simple-page,
.site-main > .element-set,
.content-page,
.legacy-record,
.legacy-collection {
    width: min(1120px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.site-main > h1,
.content-page,
.legacy-record,
.legacy-collection {
    padding-top: 58px;
}

.site-main > h1,
.content-page h1,
.legacy-record h1,
.legacy-collection h1 {
    font-family: var(--editorial);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.1;
}

.element-set,
.element,
.record {
    min-width: 0;
}

.element {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.element h3 {
    margin: 0 0 8px;
    color: var(--emerald-dark);
    font-family: var(--ui);
    font-size: 10px;
    text-transform: uppercase;
}

@media (max-width: 680px) {
    .paper-detail h1 {
        font-size: 30px;
    }

    .paper-preview object {
        height: 68vh;
    }

    .site-main > h1,
    .site-main > h2,
    .site-main > p,
    .site-main > form,
    .site-main > nav,
    .site-main > .page,
    .site-main > .record,
    .site-main > #primary,
    .site-main > #search-results,
    .site-main > .exhibits,
    .site-main > .collections,
    .site-main > .items,
    .site-main > .simple-page,
    .site-main > .element-set,
    .content-page,
    .legacy-record,
    .legacy-collection {
        width: calc(100% - 28px);
    }
}
