@font-face {
    font-family: 'Panama';
    src: url('../fonts/PanamaProportionalRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Monaspace Neon';
    src: url('../fonts/MonaspaceNeon-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Monaspace Neon';
    src: url('../fonts/MonaspaceNeon-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #fbfbfa;
    --ink: #111111;
    --muted: #606060;
    --faint: #8a8a8a;
    --line: #dfdfdc;
    --surface: #f3f3f0;
    --accent: #245f43;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    line-height: 1.55;
}

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

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

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #b8b8b3;
}

::-webkit-scrollbar-thumb:hover {
    background: #8f8f89;
}

.page {
    width: 100%;
    max-width: 968px;
    margin: 0 auto;
    padding: 72px 24px 48px;
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 142px;
    gap: 48px;
    align-items: start;
    padding-bottom: 42px;
}

.intro.text-only {
    display: block;
}

.intro-copy,
.section,
.row,
.row > div {
    min-width: 0;
}

.kicker {
    margin: 0 0 8px;
    color: var(--faint);
    font-family: 'Monaspace Neon', ui-monospace, Consolas, monospace;
    font-size: 13px;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-family: 'Plus Jakarta Sans', 'Neue Haas Display', ui-sans-serif, system-ui, sans-serif;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.04em;
}

.lede {
    max-width: 650px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.portrait {
    width: 142px;
    height: 170px;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1) contrast(1.04);
    border: 1px solid var(--line);
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
    color: var(--muted);
    font-family: 'Monaspace Neon', ui-monospace, Consolas, monospace;
    font-size: 14px;
}

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

.section h2 {
    margin-bottom: 16px;
    color: var(--faint);
    font-family: 'Monaspace Neon', ui-monospace, Consolas, monospace;
    font-size: 13px;
    font-weight: 500;
    text-transform: lowercase;
}

.rows {
    display: grid;
    gap: 0;
}

.row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 28px;
    padding: 14px 0;
}

.row + .row {
    border-top: 1px solid var(--line);
}

.row h3 {
    font-size: 19px;
    line-height: 1.25;
    font-weight: 500;
    max-width: 100%;
    overflow-wrap: break-word;
}

.row p {
    max-width: 620px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 16px;
}

.row > span {
    color: var(--faint);
    font-family: 'Monaspace Neon', ui-monospace, Consolas, monospace;
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.compact .row {
    padding: 12px 0;
}

.more-row h3 {
    font-size: 17px;
}

.more-row > span {
    color: var(--faint);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
}

.plain-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 16px;
}

.plain-list li + li {
    margin-top: 7px;
}

.tight-list {
    font-size: 16px;
    line-height: 1.45;
}

.tight-list li + li {
    margin-top: 5px;
}

.section-copy {
    max-width: 680px;
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    color: var(--faint);
    font-family: 'Monaspace Neon', ui-monospace, Consolas, monospace;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .page {
        padding: 42px 16px 48px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portrait {
        width: 104px;
        height: 124px;
        order: -1;
    }

    h1 {
        font-size: 38px;
    }

    .lede {
        max-width: 320px;
        font-size: 18px;
    }

    .row p {
        max-width: 320px;
    }

    .row,
    .split {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .row > span {
        text-align: left;
    }
}
