@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');



:root {
    --paper: #f7f1e5;
    --surface: #fffdf7;
    --ink: #172d40;
    --orange: #b64b24;
    --line: #d9ceba;
    --muted: #435966;

    --gutter: clamp(20px, 5vw, 88px);
    --title-size: clamp(32px, 5vw, 76px);
    --section-size: clamp(25px, 3vw, 36px);
    --quote-size: clamp(21px, 2vw, 29px);
    --intro-space: 48px;
    --panel-space: clamp(28px, 3vw, 40px);
}



* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 24px;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px;
}

main {
    overflow-wrap: break-word;
}

main a {
    text-underline-offset: 4px;
}

blockquote {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

blockquote > p {
    margin: 0;
}



header {
    height: 64px;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 50;
}

nav {
    flex: 1;
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: clamp(14px, 2.3vw, 32px);
}

nav li {
    position: relative;
}

nav a {
    display: block;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 18px 0 12px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}



.subpage {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
}

.subpage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.subpage-intro {
    position: relative;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.page-intro {
    min-width: 0;
    padding: var(--intro-space) var(--gutter);
    justify-content: flex-start;
}

.page-title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: var(--title-size);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.055em;
    color: var(--ink);
}

.page-title span {
    color: #334b59;
}

.page-title .first-name {
    color: var(--ink);
    white-space: nowrap;
}

.page-title .dot {
    color: var(--orange);
}

.tags {
    margin: 24px 0 0;
    font: 600 11px / 1.8 'JetBrains Mono', monospace;
    letter-spacing: .18em;
    color: var(--muted);
}

.tags strong {
    font-weight: inherit;
}

.description {
    margin: 22px 0 0;
    max-width: 58ch;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--muted);
}

.subpage-grid {
    display: grid;
    background: var(--paper);
    padding: 48px var(--gutter);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}
