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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
}

header {
    margin-bottom: 40px;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

h1 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #000;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-links a:not(:last-child)::after {
    content: "•";
    color: #ccc;
    margin-left: 12px;
}

.social-links a:hover {
    color: #000;
}

.header-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

nav {
    font-size: 14px;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e5e5e5;
}

nav a {
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s ease;
    position: relative;
    bottom: -1px;
}

nav a:hover {
    color: #000;
    background: #f5f5f5;
}

nav a.active {
    color: #000;
    border-color: #e5e5e5;
    background: #fff;
}

.page-title {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.intro {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 30px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: baseline;
    transition: color 0.2s ease;
}

.links a:hover {
    color: #666;
}

.links a::before {
    content: "→";
    margin-right: 12px;
    color: #ccc;
    font-size: 14px;
}

.link-description {
    font-size: 14px;
    color: #666;
    margin-left: 24px;
    margin-top: 4px;
}

.inline-link {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-color: #ccc;
    transition: text-decoration-color 0.2s ease;
}

.inline-link:hover {
    text-decoration-color: #999;
}

.category-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category {
    padding: 2px 0;
}

.category-header {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    color: #2a2a2a;
    cursor: pointer;
    padding: 4px 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    line-height: 1.8;
}

.category-header:hover {
    color: #666;
}

.category-header::before {
    content: "▸";
    margin-right: 8px;
    font-size: 14px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.category-header.expanded::before {
    transform: rotate(90deg);
}

.category-content {
    display: none;
    margin-top: 4px;
    padding-left: 20px;
}

.category-content.expanded {
    display: block;
}

.list-item {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    color: #2a2a2a;
    display: flex;
    align-items: baseline;
    line-height: 1.35;
}

.list-item::before {
    content: "•";
    color: #999;
    margin-right: 12px;
}

footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: #999;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #000;
}

.section-title {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #000;
}

.grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.item-image {
    width: 100%;
    aspect-ratio: 2/3;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-title {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 14px;
    color: #2a2a2a;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 640px) {
    .container {
        padding: 60px 20px 80px;
    }

    h1 {
        font-size: 28px;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .item {
        flex: none;
    }

    .item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 2/3;
    }

    .item-title {
        width: 100%;
    }
}
