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

html {
    background-color: #ffffff;
}

:root {
    --accent: #C44D18;
    --text-color: #666;
    --bg-color: #ffffff;
    --light-gray: #4d4d4d;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.4;
    font-size: 16px;
    min-height: 100vh;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
}

.content {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 0;
    margin-top: 5vh;
}

.name-text {
    margin: 0;
    line-height: 1.3;
    font-size: 16px;
    font-weight: normal;
}

.header-links {
    font-size: 16px;
    font-weight: normal;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.header-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-link:hover {
    color: #000000;
}

.header-link.active {
    color: #000000;
}

.content p {
    margin: 0;
    line-height: 1.4;
    font-size: 16px;
    font-weight: normal;
    color: var(--text-color);
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.name-text + p {
    margin-top: 1.3em;
}

.content p:not(.name-text) ~ p {
    margin-top: 1.75rem;
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.highlight-link {
    font-weight: normal;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.highlight-link:hover {
    opacity: 0.7;
}

.highlight-link.active {
    text-decoration: underline;
    opacity: 1;
}

.description-text {
    color: #bbb;
    font-size: 16px;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    will-change: max-height, margin-top, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-text.active {
    max-height: 1000px;
    margin-top: 0.3em;
    margin-bottom: 0;
    opacity: 1;
    transition: opacity 0.35s cubic-bezier(0, 0, 0.2, 1), max-height 0.5s cubic-bezier(0, 0, 0.2, 1), margin-top 0.5s cubic-bezier(0, 0, 0.2, 1);
}

.description-link {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.description-link:hover {
    opacity: 0.7;
}

.contact-links {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: normal;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    line-height: 1.5;
    margin-top: 1.3em;
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-link {
    text-decoration: none;
    color: var(--light-gray);
    transition: color 0.2s ease;
    font-family: 'IBM Plex Mono', monospace;
}

.contact-link:hover {
    color: var(--accent);
}

.separator {
    color: var(--light-gray);
    margin: 0 0.2rem;
    font-family: 'IBM Plex Mono', monospace;
}

.investments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.3em;
}

.investment-item {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.6em 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.investment-item:first-child {
    border-top: 1px solid #eee;
}

.investment-item:hover {
    opacity: 0.6;
}

.investment-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}

.investment-name {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.investment-tag {
    font-size: 10px;
    font-weight: 500;
    color: #888;
    background: #f3f3f3;
    padding: 0.15em 0.5em;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.investment-desc {
    color: var(--text-color);
    font-size: 12px;
    text-align: right;
    margin-left: auto;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.3em;
}

.content-item {
    display: flex;
    align-items: baseline;
    gap: 0.75em;
    padding: 0.6em 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.content-item:first-child {
    border-top: 1px solid #eee;
}

.content-item:hover {
    opacity: 0.6;
}

.content-type {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    min-width: 52px;
}

.content-title {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

.content-date {
    color: #999;
    font-size: 11px;
    margin-left: auto;
    white-space: nowrap;
    font-family: 'IBM Plex Mono', monospace;
}

@media (max-width: 768px) {
    .container {
        padding: 4rem 1.5rem;
    }

    .name-text {
        font-size: 14px;
    }

    .content {
        gap: 1.5rem;
        margin-top: 0;
    }

    .content p {
        font-size: 14px;
        line-height: 1.3;
    }

    .description-text {
        font-size: 14px;
        line-height: 1.3;
    }

    .description-text.active {
        margin-top: 0.1em;
    }

    .name-text + p {
        margin-top: 0.0875em;
    }

    .content p:not(.name-text) ~ p {
        margin-top: 0.15625rem;
    }

    .contact-links {
        margin-top: 0.0875em;
    }

    .investment-item {
        flex-wrap: wrap;
    }

    .investment-desc {
        text-align: left;
        max-width: 100%;
        margin-left: 0;
        padding-left: calc(20px + 0.75em);
    }

    .investment-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 3rem 1rem;
    }

    body {
        font-size: 14px;
    }

    .name-text {
        font-size: 13px;
    }

    .content {
        margin-top: 0;
    }

    .content p {
        font-size: 13px;
        line-height: 1.3;
    }

    .description-text {
        font-size: 13px;
        line-height: 1.3;
    }

    .description-text.active {
        margin-top: 0.1em;
    }

    .name-text + p {
        margin-top: 0.07875em;
    }

    .content p:not(.name-text) ~ p {
        margin-top: 0.1375rem;
    }

    .contact-links {
        font-size: 10px;
        margin-top: 0.07875em;
    }
}
