@font-face {
    font-family: fot-tsukubrdgothic-std;
    font-weight: bold;
    src: url("/src/font/b.otf") format("opentype");
}

@font-face {
    font-family: fot-tsukubrdgothic-std;
    src: url("/src/font/r.otf") format("opentype");
}

:root {
    --beige: #e4decb;
    --black: #000;
    --white: #f2f0e8ff;
    --brown: #2d231c;
    --space: 20px;
}

html,
body {
    width: 100%;
    background-color: var(--white);
    color: var(--black);
    font-family: fot-tsukubrdgothic-std, system-ui, sans-serif;
}

.cv-header {
    align-items: center;
    background-color: var(--white);
    border-bottom: 1px solid #d6d0bf;
    display: flex;
    justify-content: space-between;
    padding: 16px var(--space);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    width: 140px;
}

.cv-nav {
    display: flex;
    gap: 18px;
}

.cv-nav a {
    font-size: .95rem;
    text-decoration: none;
}

.cv-nav a[aria-current="page"] {
    border-bottom: 2px solid var(--black);
    font-weight: bold;
}

.cv-main {
    margin: 0 auto;
    max-width: 980px;
    padding: 40px var(--space) 80px;
}

.hero {
    margin-bottom: 20px;
}

.eyebrow {
    color: #5f564f;
    font-size: .85rem;
    letter-spacing: .08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.lead {
    line-height: 1.9;
    max-width: 760px;
}

.headshot {
    align-items: center;
    background: #fffdf7;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.headshot-frame {
    align-items: center;
    background: repeating-linear-gradient(
        -45deg,
        #ece5d3,
        #ece5d3 10px,
        #f6f1e5 10px,
        #f6f1e5 20px
    );
    border-radius: 16px;
    display: flex;
    height: 220px;
    justify-content: center;
    text-align: center;
    width: min(100%, 220px);
}

.headshot_image{
    border-radius: 14px;
    height: 100%;
    object-fit: cover;
}

.headshot-note {
    color: #5f564f;
    font-size: .9rem;
}

.cv-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin-bottom: 48px;
}

.card {
    background: #fffdf7;
    border: 1px solid #d8cfbc;
    border-radius: 14px;
    box-shadow: 2px 2px 0 #d8cfbc;
    padding: 22px;
}

.card h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

dl div + div {
    border-top: 1px dashed #d8cfbc;
    margin-top: 8px;
    padding-top: 8px;
}

dt {
    font-weight: bold;
    margin-bottom: 2px;
}

.section-title-wrap {
    margin-bottom: 16px;
}

.history h2 {
    font-size: 1.5rem;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    background: #fff;
    border-left: 5px solid var(--brown);
    border-radius: 10px;
    display: grid;
    gap: 8px;
    padding: 16px;
}

.timeline-item .date {
    color: #64584e;
    font-size: .9rem;
    font-weight: bold;
}

.timeline-item h3 {
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.timeline-item p {
    line-height: 1.8;
}

@media (min-width: 768px) {
    .logo {
        width: 170px;
    }

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

    .timeline-item {
        grid-template-columns: 90px 1fr;
        gap: 14px;
    }
}