:root {
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --bg: #f7f3ed;
    --bg-elevated: #fffdf9;
    --bg-soft: #eee7de;
    --surface: #ffffff;
    --text: #1d2421;
    --text-muted: #666c68;
    --line: #d9d2c8;
    --line-strong: #bcb3a8;
    --accent: #a95235;
    --accent-strong: #813b27;
    --accent-soft: #eed8cc;
    --forest: #172a24;
    --forest-soft: #26443a;
    --light: #fffaf1;
    --success: #2c6d54;
    --danger: #9b3434;
    --shadow-sm: 0 8px 28px rgb(28 34 31 / 8%);
    --shadow-lg: 0 28px 80px rgb(22 32 28 / 16%);
    --radius-sm: .55rem;
    --radius: 1rem;
    --radius-lg: 1.75rem;
    --shell: min(1400px, calc(100vw - 3rem));
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #101613;
    --bg-elevated: #151d19;
    --bg-soft: #1b2521;
    --surface: #1a221e;
    --text: #f0ece4;
    --text-muted: #a8afa9;
    --line: #34423b;
    --line-strong: #516259;
    --accent: #df8867;
    --accent-strong: #efa080;
    --accent-soft: #4b2c22;
    --forest: #0a0f0d;
    --forest-soft: #223c33;
    --light: #f7f1e7;
    --success: #61b590;
    --danger: #ee8383;
    --shadow-sm: 0 8px 28px rgb(0 0 0 / 25%);
    --shadow-lg: 0 28px 80px rgb(0 0 0 / 40%);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="system"] {
        --bg: #101613;
        --bg-elevated: #151d19;
        --bg-soft: #1b2521;
        --surface: #1a221e;
        --text: #f0ece4;
        --text-muted: #a8afa9;
        --line: #34423b;
        --line-strong: #516259;
        --accent: #df8867;
        --accent-strong: #efa080;
        --accent-soft: #4b2c22;
        --forest: #0a0f0d;
        --forest-soft: #223c33;
        --light: #f7f1e7;
        --success: #61b590;
        --danger: #ee8383;
        --shadow-sm: 0 8px 28px rgb(0 0 0 / 25%);
        --shadow-lg: 0 28px 80px rgb(0 0 0 / 40%);
        color-scheme: dark;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
    content: "";
    pointer-events: none;
}

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

a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

button,
summary {
    cursor: pointer;
}

button,
input,
textarea {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.06;
    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem, 6vw, 6.5rem);
    letter-spacing: -.045em;
}

h2 {
    font-size: clamp(2.15rem, 3.7vw, 4.15rem);
    letter-spacing: -.035em;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: -.02em;
}

::selection {
    background: var(--accent);
    color: #fff;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.narrow {
    width: min(920px, 100%);
}

.section {
    padding-block: clamp(5rem, 9vw, 9rem);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: .7rem 1rem;
    border: 2px solid var(--accent);
    background: var(--surface);
    transform: translateY(-160%);
}

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

.eyebrow {
    display: inline-block;
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 750;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button--primary {
    background: var(--accent);
    color: #fff;
}

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

.button--light {
    background: var(--light);
    color: var(--forest);
}

.button--glass {
    border-color: rgb(255 255 255 / 42%);
    background: rgb(255 255 255 / 8%);
    color: #fff;
    backdrop-filter: blur(10px);
}

.button--database {
    min-height: 2.6rem;
    padding: .65rem 1rem;
    background: var(--forest);
    color: var(--light);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--accent);
    font-size: .86rem;
    font-weight: 750;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 65%, transparent);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
    background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    min-height: 5.4rem;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

.brand-marks {
    display: block;
    width: 138px;
    flex: 0 0 auto;
}

.brand-logo {
    width: 100%;
    height: auto;
}

.brand-logo--dark {
    display: none;
}

html[data-theme="dark"] .brand-logo--light {
    display: none;
}

html[data-theme="dark"] .brand-logo--dark {
    display: block;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="system"] .brand-logo--light {
        display: none;
    }

    html[data-theme="system"] .brand-logo--dark {
        display: block;
    }
}

.brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.brand-copy small,
.brand--footer > span:last-child small {
    color: var(--text-muted);
    font-size: .63rem;
    line-height: 1.25;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.7rem, 1.6vw, 1.6rem);
    font-size: .84rem;
    font-weight: 650;
}

.primary-nav > a,
.primary-nav summary {
    padding-block: 1rem;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.primary-nav summary::-webkit-details-marker {
    display: none;
}

.primary-nav summary::after {
    margin-left: .35rem;
    color: var(--text-muted);
    content: "⌄";
}

.primary-nav details {
    position: relative;
}

.nav-menu {
    position: absolute;
    top: calc(100% + .8rem);
    left: 50%;
    display: grid;
    width: max-content;
    min-width: 240px;
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -.5rem);
    transition: opacity .18s ease, transform .18s ease;
}

.primary-nav details[open] .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-menu a {
    padding: .75rem .85rem;
    border-radius: .65rem;
}

.nav-menu a:hover {
    background: var(--bg-soft);
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.language-link {
    padding: .5rem;
    font-size: .74rem;
    font-weight: 800;
}

.theme-picker {
    display: flex;
    padding: .18rem;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.theme-picker button {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    place-items: center;
    font-size: .72rem;
}

.theme-picker button.is-active {
    background: var(--accent);
    color: #fff;
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: min(850px, calc(100svh - 5.4rem));
    overflow: hidden;
    background: #101815;
    color: #fff;
}

.hero-media,
.hero-media img,
.hero-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
    object-position: center 52%;
}

.hero-scrim {
    background:
        linear-gradient(90deg, rgb(8 15 12 / 92%) 0%, rgb(8 15 12 / 69%) 44%, rgb(8 15 12 / 20%) 80%),
        linear-gradient(0deg, rgb(8 15 12 / 70%) 0%, transparent 45%);
}

.hero-inner {
    position: relative;
    display: grid;
    min-height: min(750px, calc(100svh - 10rem));
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: end;
    gap: clamp(3rem, 8vw, 8rem);
    padding-block: clamp(6rem, 12vw, 11rem) 5rem;
}

.hero-copy {
    max-width: 850px;
}

.hero .eyebrow {
    margin-bottom: 1.35rem;
    color: #e6cdbf;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 1.5rem;
    font-size: clamp(3.7rem, 7.6vw, 7.8rem);
    line-height: .96;
}

.hero-copy > p {
    max-width: 660px;
    margin-bottom: 2rem;
    color: rgb(255 255 255 / 78%);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero-card {
    display: flex;
    align-items: flex-end;
    gap: 1.1rem;
    padding: 1.3rem 0;
    border-top: 1px solid rgb(255 255 255 / 35%);
    border-bottom: 1px solid rgb(255 255 255 / 35%);
}

.hero-card__number {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    line-height: .9;
}

.hero-card strong {
    display: block;
    font-size: .8rem;
}

.hero-card p {
    margin: .25rem 0 0;
    color: rgb(255 255 255 / 65%);
    font-size: .76rem;
    line-height: 1.45;
}

.hero-index {
    position: relative;
    display: flex;
    min-height: 5rem;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgb(255 255 255 / 20%);
    color: rgb(255 255 255 / 63%);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-index span + span::before {
    margin-right: 2rem;
    color: var(--accent);
    content: "•";
}

.split-heading,
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 8rem);
}

.split-heading {
    padding-bottom: clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.split-heading .eyebrow,
.section-heading .eyebrow {
    margin-bottom: 1.25rem;
}

.split-heading h2,
.section-heading h2 {
    margin-bottom: 0;
}

.split-heading > p {
    margin-bottom: .5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.journal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(3rem, 8vw, 8rem);
    padding-top: clamp(3rem, 6vw, 5rem);
}

.journal-aside {
    align-self: start;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}

.stat {
    display: grid;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.stat:first-child {
    padding-top: 0;
}

.stat strong {
    font-family: var(--font-serif);
    font-size: 2.15rem;
    font-weight: 500;
    line-height: 1;
}

.stat span {
    margin-top: .4rem;
    color: var(--text-muted);
    font-size: .76rem;
}

.journal-aside .text-link {
    margin-top: 1.35rem;
}

.issues-section {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
}

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

.issue-heading-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.carousel-controls {
    display: flex;
    gap: .45rem;
}

.carousel-controls button {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-elevated);
    place-items: center;
    transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}

.carousel-controls button:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.carousel-controls button:disabled {
    opacity: .32;
    cursor: default;
}

.issue-carousel {
    margin-top: 3rem;
    overflow: hidden;
}

.issue-track {
    display: flex;
    gap: 1rem;
    padding: .5rem 0 1.8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--accent) var(--line);
    scrollbar-width: thin;
}

.issue-card {
    position: relative;
    display: flex;
    min-height: 340px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    flex: 0 0 calc((100% - 4rem) / 5);
    scroll-snap-align: start;
    transition: color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.issue-card::before {
    position: absolute;
    top: -30%;
    right: -25%;
    width: 170px;
    height: 170px;
    border: 1px solid var(--accent-soft);
    border-radius: 48% 52% 42% 58%;
    content: "";
    transform: rotate(22deg);
}

.issue-card:hover {
    z-index: 2;
    color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.issue-card__top {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.issue-card > strong {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 7vw, 7.5rem);
    font-weight: 400;
    letter-spacing: -.08em;
    line-height: 1;
}

.issue-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    font-weight: 700;
}

.issue-card i {
    font-style: normal;
}

.database-section {
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.database-panel {
    position: relative;
    display: grid;
    min-height: 590px;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: clamp(1.5rem, 3vw, 3rem);
    background: var(--forest);
    color: var(--light);
}

.database-art {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgb(216 130 92 / 25%), transparent 44%),
        linear-gradient(145deg, #233e35, #0e1714);
}

.database-art::before,
.database-art::after,
.database-art span {
    position: absolute;
    border: 1px solid rgb(239 186 158 / 32%);
    border-radius: 50%;
    content: "";
}

.database-art::before {
    width: 380px;
    height: 500px;
    inset: 10% auto auto 20%;
    border-radius: 48% 52% 35% 35%;
}

.database-art::after {
    width: 230px;
    height: 420px;
    inset: 18% auto auto 31%;
    border-width: 30px 8px 10px;
    border-radius: 42% 42% 48% 48%;
}

.database-art span:nth-child(1) {
    width: 490px;
    height: 130px;
    top: 68%;
    left: 10%;
}

.database-art span:nth-child(2) {
    width: 340px;
    height: 70px;
    top: 75%;
    left: 23%;
}

.database-art span:nth-child(3) {
    width: 130px;
    height: 130px;
    top: 22%;
    left: 42%;
}

.database-copy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(3rem, 7vw, 7rem);
}

.database-copy .eyebrow {
    margin-bottom: 1.3rem;
    color: #d8b9a7;
}

.database-copy h2 {
    margin-bottom: 1.5rem;
}

.database-copy p {
    max-width: 570px;
    margin-bottom: 2rem;
    color: rgb(255 250 241 / 67%);
}

.partners-section {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
}

.partners-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 8rem);
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.partners-heading .eyebrow {
    margin-bottom: 1.1rem;
}

.partners-heading h2 {
    margin-bottom: 0;
}

.partners-heading > p {
    margin: 0 0 .45rem;
    color: var(--text-muted);
}

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

.partner-card {
    display: flex;
    min-width: 0;
    min-height: 230px;
    align-items: stretch;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.partner-card:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.partner-card__visual {
    display: grid;
    min-height: 150px;
    padding: 1rem;
    border-radius: calc(var(--radius) - .4rem);
    background: #fff;
    place-items: center;
}

.partner-card__visual img {
    width: 100%;
    max-width: 210px;
    max-height: 105px;
    object-fit: contain;
}

.partner-card__fallback {
    display: grid;
    color: #203c33;
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.partner-card__fallback small {
    margin-bottom: .5rem;
    color: #a24f34;
    font-family: var(--font-sans);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.partner-card__name {
    margin-top: 1rem;
    font-size: .78rem;
    font-weight: 750;
}

.partner-card__description {
    margin-top: .4rem;
    color: var(--text-muted);
    font-size: .72rem;
}

.contact-strip {
    padding-block: clamp(5rem, 8vw, 8rem);
}

.contact-strip__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.contact-strip h2 {
    max-width: 820px;
    margin: 1rem 0 0;
}

.page-hero {
    position: relative;
    padding-block: clamp(5rem, 10vw, 9rem);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 85% 25%, var(--accent-soft), transparent 32%),
        var(--bg-soft);
}

.page-hero__content {
    position: relative;
    z-index: 2;
}

.page-hero__media,
.page-hero__scrim {
    position: absolute;
    inset: 0;
}

.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__image--top {
    object-position: center top;
}

.page-hero__image--center {
    object-position: center;
}

.page-hero__image--bottom {
    object-position: center bottom;
}

.page-hero__scrim {
    z-index: 1;
    background:
        linear-gradient(90deg, rgb(8 15 12 / 88%) 0%, rgb(8 15 12 / 67%) 60%, rgb(8 15 12 / 35%) 100%),
        linear-gradient(0deg, rgb(8 15 12 / 58%), transparent 58%);
}

.page-hero--with-image {
    min-height: clamp(430px, 56vw, 680px);
    display: flex;
    align-items: end;
    color: var(--light);
}

.page-hero--with-image .breadcrumb,
.page-hero--with-image .page-meta,
.page-hero--with-image .page-hero__lead {
    color: rgb(255 250 241 / 72%);
}

.page-hero--with-image .eyebrow {
    color: #efb496;
}

.page-hero .eyebrow {
    margin-bottom: 1.2rem;
}

.page-hero h1 {
    max-width: 1000px;
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 6vw, 6rem);
}

.page-hero__content > p {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.08rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: .75rem;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.page-meta {
    color: var(--text-muted);
    font-size: .72rem;
}

.prose {
    min-width: 0;
    color: var(--text);
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose p,
.prose li {
    color: color-mix(in srgb, var(--text) 82%, var(--text-muted));
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose h2 {
    margin: 3.2rem 0 1.2rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.prose h3 {
    margin: 2.4rem 0 1rem;
}

.prose h4 {
    margin: 2rem 0 .8rem;
    font-size: 1.1rem;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li {
    margin-bottom: .55rem;
    padding-left: .25rem;
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.prose blockquote {
    margin: 2rem 0;
    padding: 1.3rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--bg-soft);
}

.prose table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

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

.prose th {
    background: var(--bg-soft);
}

.prose--page {
    font-size: 1.02rem;
}

.people-group + .people-group {
    margin-top: clamp(3rem, 7vw, 6rem);
}

.people-group > h2 {
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--accent);
    font-size: clamp(1.65rem, 3vw, 2.6rem);
}

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

.person-card {
    position: relative;
    min-width: 0;
    padding: 1.6rem 1.7rem 1.6rem 2rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}

.person-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--accent);
    content: "";
}

.person-card br {
    display: block;
    content: "";
    margin-bottom: .4rem;
}

.person-card em,
.person-card i {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.65;
}

.person-card a {
    display: inline-block;
    margin-top: .55rem;
    overflow-wrap: anywhere;
    font-size: .8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, .6fr) minmax(0, 1.4fr);
    gap: clamp(3rem, 9vw, 10rem);
}

.home-contact-heading {
    grid-template-columns: 1fr;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-form-wrap > h2 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.contact-details {
    align-self: start;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--forest);
    color: var(--light);
}

.contact-details .eyebrow {
    color: #d8b9a7;
}

.contact-details h2 {
    margin: 1.1rem 0;
}

.contact-details p {
    color: rgb(255 250 241 / 67%);
}

.contact-details a {
    display: block;
    margin-top: .65rem;
    color: #efb496;
}

.contact-form {
    display: grid;
    gap: 1.2rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.contact-form label {
    display: grid;
    gap: .55rem;
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 750;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    outline: 0;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: .95rem;
    font-weight: 400;
}

.contact-form textarea {
    min-height: 190px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.contact-form .button {
    justify-self: start;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.alert {
    padding: 1rem 1.1rem;
    border: 1px solid;
    border-radius: var(--radius-sm);
}

.alert--success {
    border-color: var(--success);
    background: color-mix(in srgb, var(--success) 12%, transparent);
    color: var(--success);
}

.alert--error {
    border-color: var(--danger);
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    color: var(--danger);
}

.error-page {
    display: grid;
    min-height: 65svh;
    padding-block: 6rem;
    place-items: center;
    text-align: center;
}

.error-page > .shell > span {
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: clamp(6rem, 16vw, 13rem);
    line-height: .8;
    opacity: .35;
}

.error-page h1 {
    margin-top: 2rem;
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.error-page p {
    color: var(--text-muted);
}

.site-footer {
    padding: clamp(4rem, 7vw, 7rem) 0 1.5rem;
    background: var(--forest);
    color: var(--light);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) 1fr 1fr;
    gap: clamp(2.5rem, 8vw, 8rem);
}

.brand--footer {
    align-items: center;
}

.brand--footer .brand-logo--light {
    display: none;
}

.brand--footer .brand-logo--dark {
    display: block;
}

.brand--footer > span:last-child {
    display: flex;
    flex-direction: column;
}

.footer-brand p {
    max-width: 450px;
    margin: 1.5rem 0 0;
    color: rgb(255 250 241 / 60%);
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
}

.footer-title {
    margin-bottom: .5rem;
    color: #d8b9a7;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-grid a:not(.brand) {
    color: rgb(255 250 241 / 72%);
    font-size: .84rem;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: clamp(3rem, 7vw, 7rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 15%);
    color: rgb(255 250 241 / 42%);
    font-size: .69rem;
}

.footer-credit a {
    color: rgb(255 250 241 / 78%);
    font-weight: 750;
}

.footer-credit a:hover {
    color: #fff;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .nav-toggle {
        display: grid;
        width: 2.75rem;
        height: 2.75rem;
        padding: .65rem;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        place-content: center;
    }

    .nav-toggle span {
        display: block;
        width: 1.05rem;
        height: 1px;
        margin: .12rem;
        background: currentColor;
    }

    .nav-toggle b {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        clip: rect(0, 0, 0, 0);
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 1.5rem;
        display: none;
        width: min(440px, calc(100vw - 3rem));
        max-height: calc(100svh - 7rem);
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        overflow-y: auto;
        border: 1px solid var(--line);
        border-radius: 0 0 var(--radius) var(--radius);
        background: var(--bg-elevated);
        box-shadow: var(--shadow-lg);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav > a,
    .primary-nav summary {
        display: block;
        padding: .8rem;
    }

    .nav-menu {
        position: static;
        width: auto;
        min-width: 0;
        padding: 0 0 .5rem .8rem;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .header-actions {
        justify-self: end;
    }

    .brand-copy {
        display: none;
    }

    .issue-card {
        flex-basis: calc((100% - 2rem) / 3);
    }

    .issue-card {
        min-height: 300px;
    }

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

@media (max-width: 820px) {
    :root {
        --shell: min(100% - 2rem, 680px);
    }

    .section {
        padding-block: 4.5rem;
    }

    .header-inner {
        min-height: 4.7rem;
        grid-template-columns: auto 1fr auto;
        gap: .65rem;
    }

    .brand-marks {
        width: 110px;
    }

    .nav-toggle {
        grid-column: 3;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .header-actions .button--database {
        display: none;
    }

    .theme-picker button {
        width: 1.65rem;
        height: 1.65rem;
    }

    .primary-nav {
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-scrim {
        background:
            linear-gradient(0deg, rgb(8 15 12 / 96%) 4%, rgb(8 15 12 / 70%) 68%, rgb(8 15 12 / 40%)),
            linear-gradient(90deg, rgb(8 15 12 / 75%), transparent);
    }

    .hero-inner {
        min-height: 690px;
        grid-template-columns: 1fr;
        align-content: end;
        gap: 2.5rem;
        padding-block: 6rem 3rem;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 14vw, 5.5rem);
    }

    .hero-card {
        max-width: 420px;
    }

    .hero-index {
        min-height: 4rem;
        gap: .75rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .hero-index span + span::before {
        margin-right: .75rem;
    }

    .split-heading,
    .section-heading,
    .partners-heading,
    .journal-layout,
    .database-panel,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .journal-aside {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat {
        padding: 0;
        border: 0;
    }

    .journal-aside .text-link {
        grid-column: 1 / -1;
    }

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

    .issue-card {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .database-art {
        min-height: 420px;
    }

    .database-copy {
        padding: 3rem 2rem 4rem;
    }

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

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

    .contact-strip__inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .header-actions .theme-picker {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .language-link {
        padding: .55rem;
        border: 1px solid var(--line);
        border-radius: 50%;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-index span:nth-child(3) {
        display: none;
    }

    .journal-aside {
        grid-template-columns: 1fr;
    }

    .issue-card {
        flex-basis: 100%;
    }

    .issue-card {
        min-height: 250px;
    }

    .database-art {
        min-height: 330px;
    }

    .database-art::before {
        left: 5%;
        transform: scale(.7);
        transform-origin: center;
    }

    .database-art::after {
        left: 19%;
        transform: scale(.7);
        transform-origin: center;
    }

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

    .partner-card {
        min-height: 210px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: .4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
