/* Statement pages. Shared website structure lives in base.css. */

@font-face {
    font-family: "MP Geist";
    src: url("assets/geist.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.statement-detail {
    --statement-background: var(--bg);
    --statement-ink: var(--ink);
    --statement-muted: var(--muted);
    --statement-rule: var(--line);
    --statement-panel: var(--panel);

    padding: 36px 0 96px;
    background: var(--statement-background);
    color: var(--statement-ink);
    font-family: "MP Geist", Arial, sans-serif;
}

/* Section context */

.statement-detail .statement-breadcrumbs {
    margin-bottom: 56px;
    color: var(--statement-muted);
    font-size: 14px;
}

.statement-detail .statement-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.statement-detail .statement-breadcrumbs li + li::before {
    margin-right: 12px;
    color: #97979c;
    content: "/";
}

.statement-detail .statement-breadcrumbs a {
    text-decoration: none;
}

.statement-detail .statement-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Introduction and artwork */

.statement-detail .statement-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 56px;
}

.statement-detail .statement-introduction {
    min-width: 0;
}

.statement-detail h1,
.statement-detail h2 {
    font-family: "MP Geist", Arial, sans-serif;
}

.statement-detail h1 {
    max-width: 16ch;
    font-size: clamp(40px, 4.6vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.statement-detail .statement-lead {
    margin-top: 30px;
    color: var(--statement-muted);
    font-size: 18px;
    line-height: 1.8;
}

.statement-detail .statement-lead p + p {
    margin-top: 20px;
}

.statement-detail .statement-art {
    min-width: 0;
    margin: 0;
}

.statement-detail .statement-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

/* Article */

.statement-detail .statement-prose {
    max-width: 760px;
    margin-top: 76px;
}

.statement-detail .statement-topic {
    padding: 36px 0;
    border-top: 1px solid var(--statement-rule);
}

.statement-detail .statement-topic h2,
.statement-detail .statement-invitation h2 {
    margin-bottom: 22px;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.statement-detail .statement-topic p,
.statement-detail .statement-invitation p {
    max-width: 68ch;
    color: var(--statement-muted);
    font-size: 17px;
    line-height: 1.85;
}

.statement-detail .statement-topic p + p {
    margin-top: 20px;
}

/* Closing invitation */

.statement-detail .statement-invitation {
    margin-top: 24px;
    padding: 36px;
    border: 1px solid var(--statement-rule);
    background: var(--statement-panel);
}

.statement-detail .statement-invitation .actions {
    margin-top: 26px;
}

.statement-detail .statement-invitation .cta {
    font-family: "MP Geist", Arial, sans-serif;
}

.statement-detail .statement-return {
    margin-top: 32px;
    color: var(--statement-muted);
    font-size: 14px;
}

.statement-detail .statement-return a {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}

/* Responsive layout */

@media (max-width: 1100px) {
    .statement-detail .statement-hero {
        gap: 32px;
    }
}

@media (max-width: 850px) {
    .statement-detail .statement-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .statement-detail h1 {
        max-width: 20ch;
    }

    .statement-detail .statement-art {
        width: 100%;
        max-width: 600px;
        margin-inline: auto;
    }

    .statement-detail .statement-prose {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .statement-detail {
        padding: 24px 0 64px;
    }

    .statement-detail .statement-breadcrumbs {
        margin-bottom: 36px;
        font-size: 13px;
    }

    .statement-detail h1 {
        font-size: clamp(36px, 10vw, 46px);
    }

    .statement-detail .statement-lead {
        margin-top: 24px;
        font-size: 17px;
    }

    .statement-detail .statement-topic {
        padding: 28px 0;
    }

    .statement-detail .statement-topic p,
    .statement-detail .statement-invitation p {
        font-size: 16px;
    }

    .statement-detail .statement-invitation {
        padding: 24px;
    }
}

.statement-detail .statement-topic ul {
    margin: 24px 0;
    padding-left: 24px;
    color: var(--statement-muted);
    font-size: 17px;
    line-height: 1.85;
}

.statement-detail .statement-topic li {
    padding-left: 6px;
}

.statement-detail .statement-topic li + li {
    margin-top: 14px;
}

.statement-detail .statement-topic li::marker {
    color: var(--statement-muted);
}

@media (max-width: 600px) {
    .statement-detail .statement-topic ul {
        font-size: 16px;
    }
}
