@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/filament/filament/inter/inter-latin-wght-normal-NRMW37G5.woff2") format("woff2");
}

:root {
    --ink: #171717;
    --body: #343a40;
    --muted: #68717a;
    --line: #d9dde2;
    --paper: #ffffff;
    --surface: #f4f6f7;
    --surface-warm: #fbf8f2;
    --navy: #17324d;
    --teal: #087f8c;
    --green: #357a38;
    --amber: #f0a202;
    --orange: #d9581e;
    --shadow: 0 18px 45px rgba(23, 23, 23, 0.08);
    --journal-banner: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--surface);
    color: var(--body);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.58;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin-top: 0; }

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

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: 0.55rem 0.8rem;
}

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

.publisher-bar-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 48px;
    gap: 1rem;
}

.publisher-mark {
    color: var(--orange);
    font-size: 0.95rem;
    font-weight: 800;
}

.utility-nav {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    color: #505963;
    font-size: 0.87rem;
    font-weight: 700;
}

.journal-hero {
    background:
        linear-gradient(90deg, rgba(18, 33, 48, 0.94), rgba(18, 33, 48, 0.78) 48%, rgba(8, 127, 140, 0.62)),
        var(--journal-banner),
        linear-gradient(120deg, #17324d, #087f8c 70%, #d9581e);
    background-position: center;
    background-size: cover;
    color: var(--paper);
}

.hero-grid {
    align-items: end;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.2rem);
    min-height: 360px;
    padding: 3rem 0 2.3rem;
}

.journal-cover img,
.cover-placeholder {
    width: 170px;
    border: 5px solid rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
}

.journal-cover img {
    background: var(--paper);
    height: auto;
    object-fit: contain;
}

.cover-placeholder {
    height: 224px;
    background: linear-gradient(160deg, #f6e6a4, #cfe3d9);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.cover-placeholder span {
    color: var(--navy);
    font-size: 2rem;
    font-weight: 800;
}

.cover-placeholder strong {
    font-size: 0.92rem;
    line-height: 1.25;
}

.journal-kicker,
.eyebrow,
.article-type {
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.journal-hero .journal-kicker {
    color: #ffd36f;
}

.hero-copy h1 {
    color: var(--paper);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 650;
    line-height: 1.12;
    margin-bottom: 0.8rem;
    max-width: none;
    white-space: nowrap;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    max-width: 760px;
}

.hero-actions,
.inline-actions,
.article-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.05rem;
    text-align: center;
}

.button-primary {
    background: var(--orange);
    color: var(--paper);
}

.button-primary:hover {
    background: #bd4511;
    color: var(--paper);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: var(--paper);
}

.button-secondary:hover {
    background: var(--paper);
    color: var(--navy);
}

.button-muted {
    background: #e9eef2;
    color: var(--navy);
}

dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

dd {
    margin: 0.1rem 0 0;
}

.journal-menu {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(23, 23, 23, 0.04);
    position: relative;
    z-index: 20;
}

.journal-menu-inner {
    align-items: stretch;
    display: flex;
    gap: 0.2rem;
    min-height: 58px;
    overflow-x: auto;
}

.journal-menu a {
    align-items: center;
    border-bottom: 3px solid transparent;
    color: #39434d;
    display: flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0 0.85rem;
    white-space: nowrap;
}

.journal-menu a:hover,
.journal-menu a.active {
    border-bottom-color: var(--orange);
    color: var(--navy);
}

.mobile-journal-menu {
    display: none;
}

.home-shell {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.6rem;
    padding: 2rem 0 3rem;
}

.home-main,
.home-side,
.article-list,
.compact-list,
.link-list,
.issue-list {
    display: grid;
    gap: 1rem;
}

.panel,
.submit-card,
.article-card,
.archive-item,
.member-card,
.editor-tile {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.panel,
.submit-card {
    padding: 1.35rem;
}

.intro-panel {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.intro-panel h2,
.section-header h2,
.page-header h1,
.article-hero h1 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.12;
}

.intro-panel h2,
.section-header h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    margin-bottom: 0.8rem;
}

.intro-copy {
    max-height: none;
}

.text-link,
.compact-heading a,
.link-list a,
.issue-list a,
.archive-item a,
.member-links a,
.pdf-link {
    color: var(--teal);
    font-weight: 800;
}

.text-link:hover,
.compact-heading a:hover,
.link-list a:hover,
.issue-list a:hover,
.archive-item a:hover,
.member-links a:hover,
.pdf-link:hover {
    color: var(--orange);
}

.journal-strip {
    background: var(--navy);
    color: var(--paper);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journal-strip div {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1rem;
}

.journal-strip div:last-child {
    border-right: 0;
}

.journal-strip strong,
.journal-strip span {
    display: block;
}

.journal-strip strong {
    color: #ffd36f;
    font-size: 1.7rem;
    line-height: 1;
}

.journal-strip span {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.35rem;
}

.section-header,
.compact-heading,
.page-header.with-actions {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.section-header {
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 0.7rem;
}

.article-duo,
.featured-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.compact-heading {
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.8rem;
    padding-bottom: 0.75rem;
}

.compact-heading h3,
.link-panel h2,
.submit-card h2,
.member-group h2 {
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.compact-article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.85rem;
}

.compact-article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.compact-article p {
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.compact-article h4 {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.32;
    margin: 0 0 0.25rem;
}

.compact-article span,
.editor-tile span,
.archive-item span,
.empty-state,
.designation,
.interests,
.authors,
.article-excerpt {
    color: var(--muted);
}

.editor-tile {
    align-items: center;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1rem;
}

.editor-tile img,
.member-card img,
.member-initials {
    background: var(--surface);
    height: 72px;
    width: 72px;
}

.editor-tile img,
.member-card img {
    object-fit: cover;
}

.member-initials {
    align-items: center;
    color: var(--navy);
    display: flex;
    font-weight: 800;
    justify-content: center;
}

.editor-tile h3 {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.editor-tile p {
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.submit-card {
    background: var(--surface-warm);
    border-top: 4px solid var(--orange);
    box-shadow: var(--shadow);
}

.submit-card p {
    color: #5d5142;
}

.submit-card .button {
    width: 100%;
}

.submit-card .button + .button {
    margin-top: 0.65rem;
}

.link-panel h2 {
    margin-bottom: 0.9rem;
}

.link-list a,
.issue-list a {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.72rem;
}

.issue-list a {
    align-items: start;
    display: grid;
    gap: 0.15rem;
}

.issue-list span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.page-header,
.article-hero {
    padding: 2.2rem 0 1.25rem;
}

.page-header h1,
.article-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
}

.page-header p,
.article-hero .authors {
    max-width: 870px;
}

.section-tabs {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    display: flex;
    flex: 0 0 auto;
    overflow: hidden;
}

.section-tabs a {
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
    padding: 0.72rem 1rem;
}

.section-tabs a:last-child {
    border-right: 0;
}

.section-tabs a.active,
.section-tabs a:hover {
    background: var(--navy);
    color: var(--paper);
}

.page-shell,
.article-layout,
.article-hero,
.page-header,
.page-image {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.page-shell {
    padding-bottom: 3rem;
}

.page-image {
    margin-bottom: 1.3rem;
}

.page-image img {
    border-radius: 4px;
    max-height: 380px;
    object-fit: cover;
    width: 100%;
}

.prose {
    color: #2f3840;
}

.prose h1,
.prose h2,
.prose h3 {
    color: var(--ink);
    line-height: 1.22;
}

.prose h1,
.prose h2 {
    border-bottom: 1px solid var(--line);
    font-size: 1.28rem;
    margin-top: 1.3rem;
    padding-bottom: 0.45rem;
}

.prose h1:first-child,
.prose h2:first-child,
.prose p:first-child {
    margin-top: 0;
}

.prose a {
    color: var(--teal);
    font-weight: 700;
}

.prose img {
    border-radius: 4px;
    margin: 1rem 0;
}

.prose table {
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.prose .grid-list {
    display: grid;
    gap: 0.35rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 1.1rem;
}

.prose .principles {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1rem 0;
}

.prose .principle {
    border-left: 4px solid var(--teal);
    padding-left: 0.9rem;
}

.prose .principle h3 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.prose th,
.prose td {
    border: 1px solid var(--line);
    padding: 0.65rem;
    text-align: left;
}

.rich-content,
.article-content {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.article-card {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.15rem;
}

.article-card h2 {
    color: var(--ink);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 0.4rem;
}

.article-meta,
.article-detail-meta,
.date-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.25rem;
    margin: 0.9rem 0 0;
}

.article-meta dd,
.article-detail-meta dd {
    color: var(--ink);
    font-weight: 700;
}

.article-card .article-actions {
    align-content: start;
    align-items: start;
    flex-direction: column;
    min-width: 120px;
}

.pdf-link {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
}

.archive-grid,
.member-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.archive-item {
    padding: 1.1rem;
}

.archive-item p {
    color: var(--orange);
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.archive-item h2 {
    color: var(--ink);
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
}

.archive-item a {
    display: inline-flex;
    margin-top: 0.8rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.2rem 0 3rem;
}

.article-sidebar nav {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    display: grid;
    overflow: hidden;
    position: sticky;
    top: 1rem;
}

.article-sidebar a {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
    padding: 0.72rem 0.9rem;
}

.article-sidebar a:last-child {
    border-bottom: 0;
}

.article-sidebar a:hover {
    background: var(--surface-warm);
    color: var(--navy);
}

.article-content section + section {
    border-top: 1px solid var(--line);
    margin-top: 1.4rem;
    padding-top: 1.4rem;
}

.article-hero .pdf-button {
    background: var(--orange);
    border-radius: 4px;
    color: var(--paper);
    display: inline-flex;
    font-weight: 800;
    margin-top: 0.4rem;
    padding: 0.7rem 1rem;
}

.member-group + .member-group {
    margin-top: 2rem;
}

.member-group h2 {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
}

.member-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.member-card img,
.member-card .member-initials {
    height: 86px;
    width: 86px;
}

.member-card h3 {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.member-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.site-footer {
    background: #202428;
    color: var(--paper);
    margin-top: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 3.5rem 0;
}

.site-footer h2 {
    color: var(--paper);
    font-size: 1.08rem;
    margin-bottom: 1rem;
}

.site-footer p {
    color: #c9d0d6;
}

.site-footer a {
    color: #edf2f5;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    max-width: 340px;
    padding: 0.32rem 0;
}

.site-footer a:hover {
    color: #ffd36f;
}

@media (max-width: 1060px) {
    .hero-grid {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .journal-cover img,
    .cover-placeholder {
        width: 140px;
    }

    .cover-placeholder {
        height: 184px;
    }

    .home-shell,
    .article-layout {
        grid-template-columns: 1fr;
    }

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

    .home-side .submit-card {
        grid-column: 1 / -1;
    }

    .article-sidebar nav {
        display: flex;
        overflow-x: auto;
        position: static;
    }

    .article-sidebar a {
        border-bottom: 0;
        border-right: 1px solid var(--line);
        flex: 0 0 auto;
    }

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

@media (max-width: 760px) {
    .container,
    .page-shell,
    .article-layout,
    .article-hero,
    .page-header,
    .page-image {
        width: min(100% - 24px, 1240px);
    }

    .publisher-bar-inner,
    .page-header.with-actions,
    .section-header {
        align-items: start;
        flex-direction: column;
    }

    .utility-nav {
        overflow-x: auto;
        width: 100%;
    }

    .journal-menu-inner {
        display: none;
    }

    .mobile-journal-menu {
        display: block;
        position: relative;
    }

    .mobile-journal-menu summary {
        align-items: center;
        color: var(--navy);
        cursor: pointer;
        display: flex;
        font-size: 0.9rem;
        font-weight: 750;
        justify-content: space-between;
        list-style: none;
        min-height: 52px;
        user-select: none;
    }

    .mobile-journal-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu-label {
        align-items: center;
        color: var(--muted);
        display: inline-flex;
        font-size: 0.8rem;
        gap: 0.55rem;
    }

    .mobile-menu-chevron {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        display: inline-block;
        height: 8px;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 160ms ease;
        width: 8px;
    }

    .mobile-journal-menu[open] .mobile-menu-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }

    .mobile-journal-menu-links {
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow: 0 14px 28px rgba(23, 23, 23, 0.16);
        display: grid;
        left: 0;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .journal-menu .mobile-journal-menu-links a {
        border-bottom: 1px solid var(--line);
        display: block;
        font-size: 0.9rem;
        min-height: 0;
        padding: 0.78rem 1rem;
        white-space: normal;
    }

    .journal-menu .mobile-journal-menu-links a:last-child {
        border-bottom: 0;
    }

    .journal-menu .mobile-journal-menu-links a.active {
        background: #f5f7f8;
        border-left: 3px solid var(--orange);
        padding-left: calc(1rem - 3px);
    }

    .hero-grid {
        align-items: start;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 1rem;
        min-height: 0;
        padding: 2rem 0 1.4rem;
    }

    .journal-cover img,
    .cover-placeholder {
        width: 96px;
    }

    .cover-placeholder {
        height: 128px;
    }

    .cover-placeholder {
        padding: 0.65rem;
    }

    .cover-placeholder span {
        font-size: 1.35rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.2rem, 4vw, 1.55rem);
    }

    .hero-copy p {
        font-size: 0.95rem;
    }

    .hero-actions .button,
    .submit-card .button {
        width: 100%;
    }

    .home-side {
        grid-column: 1 / -1;
    }

    .journal-strip,
    .article-duo,
    .featured-board,
    .home-side,
    .footer-grid,
    .archive-grid,
    .member-grid,
    .prose .grid-list,
    .prose .principles {
        grid-template-columns: 1fr;
    }

    .journal-strip div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        border-right: 0;
    }

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

    .article-card .article-actions {
        align-items: center;
        flex-direction: row;
    }

    .member-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .member-card img,
    .member-card .member-initials {
        height: 72px;
        width: 72px;
    }
}

@media (max-width: 460px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .journal-cover {
        display: none;
    }

    .article-detail-meta {
        grid-template-columns: 1fr;
    }

    .section-tabs {
        width: 100%;
        overflow-x: auto;
    }
}
