:root {
    --navy: #10182B;
    --navy2: #1B2A4A;
    --ink: #1A2233;
    --muted: #5A6B85;
    --paper: #F7F9FC;
    --line: #D8E0EE;
    --amber: #C8871F;
    --ice: #CADCFC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

.spine {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: var(--navy);
    z-index: 10;
}

.spine::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--amber);
}

.wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 28px 0 44px;
}

header {
    padding: 96px 0 64px;
}

.kicker {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 22px;
}

h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1.02;
    color: var(--navy);
    letter-spacing: -.01em;
}

.thesis {
    font-family: 'Fraunces', serif;
    font-size: clamp(20px, 3vw, 27px);
    color: var(--navy2);
    margin-top: 26px;
    max-width: 620px;
    line-height: 1.35;
}

.thesis em {
    font-style: normal;
    color: var(--amber);
}

.geo {
    margin-top: 30px;
    font-size: 13.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.geo b {
    color: var(--ink);
    font-weight: 600;
}

.bio {
    border-top: 1px solid var(--line);
    padding: 52px 0;
    max-width: 640px;
}

.bio p {
    margin-bottom: 16px;
    font-size: 16.5px;
    color: var(--ink);
}

.bio p:last-child {
    margin-bottom: 0;
}

section.ledger {
    border-top: 1px solid var(--line);
    padding: 52px 0 24px;
}

.sect {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.row {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.row:last-child {
    border-bottom: none;
}

.yr {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    color: var(--amber);
    font-weight: 600;
}

.row h2 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.row p {
    font-size: 15px;
    color: var(--muted);
    max-width: 560px;
}

.now .yr,
.now h2 {
    color: var(--navy);
}

a.ln {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1.5px solid var(--amber);
}

a.ln:hover,
a.ln:focus-visible {
    color: var(--amber);
}

a.ln:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.now h2::after {
    content: "current focus";
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-left: 12px;
    font-weight: 600;
    vertical-align: middle;
}

footer {
    background: var(--navy);
    color: var(--ice);
    margin-top: 56px;
}

.foot-in {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 28px 56px 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    align-items: center;
    justify-content: space-between;
}

.mono {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-logo {
    width: 64px;
    height: auto;
    display: block;
}

.mono span {
    font-size: 12.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.links a,
.error-link a {
    color: #fff;
    text-decoration: none;
    font-size: 15.5px;
    margin: 6px 0;
    font-weight: 500;
}

.links a {
    display: block;
}

.links a:hover,
.links a:focus-visible,
.error-link a:hover,
.error-link a:focus-visible {
    color: var(--amber);
}

.links a:focus-visible,
.error-link a:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.links small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-top: 14px;
}

.error-page {
    padding-top: 96px;
    min-height: 70vh;
}

.error-link {
    margin-top: 32px;
}

.error-link a {
    display: inline-block;
    color: var(--navy);
    border-bottom: 1px solid var(--amber);
}

@media (max-width: 560px) {
    .wrap {
        padding-left: 34px;
    }

    .row {
        grid-template-columns: 64px 1fr;
        gap: 14px;
    }

    .foot-in {
        padding-left: 34px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    header,
    .bio,
    section.ledger {
        animation: rise .7s ease both;
    }

    .bio {
        animation-delay: .12s;
    }

    section.ledger {
        animation-delay: .2s;
    }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(14px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
}
