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

body {
    font-family: 'Courier New', Courier, monospace;
    background: #fff;
    color: #000;
    min-height: 100vh;
}

a {
    color: #000;
    text-decoration: none;
}

header {
    padding: 28px 36px;
}

.site-title {
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

.site-title:hover {
    opacity: 0.5;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 84px);
}

.home-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.nav-row {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
}

.nav-row a {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: 0.02em;
    transition: opacity 0.15s;
}

.nav-row a:hover {
    opacity: 0.35;
}

.nav-disabled {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: 0.02em;
    color: #000;
    opacity: 0.25;
    cursor: default;
}

.section-page {
    padding: 60px 36px 80px;
}

.section-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 84px);
    padding-top: 0;
    padding-bottom: 0;
}

.section-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: normal;
    text-align: center;
    letter-spacing: 0.12em;
    margin-bottom: 72px;
}

.album-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 56px 40px;
    width: 100%;
    max-width: 1100px;
}

.album {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: calc(33.333% - 28px);
    min-width: 220px;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 0.05em;
}

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

.album-title {
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.album-links {
    display: flex;
    gap: 20px;
}

.album-links a {
    font-size: 0.9rem;
    text-decoration: underline;
    letter-spacing: 0.02em;
}

.album-links a:hover {
    opacity: 0.45;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.art-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.art-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 0.05em;
}

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

.art-caption {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: #444;
}

.project-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-title {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.project-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.project-links {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.project-links a {
    font-size: 0.85rem;
    text-decoration: underline;
    letter-spacing: 0.02em;
}

.project-links a:hover {
    opacity: 0.45;
}

.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
}

.post-link {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-decoration: underline;
}

.post-link:hover {
    opacity: 0.45;
}

.post-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: normal;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.post-date {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.04em;
    margin-bottom: 48px;
}

.post-text {
    max-width: 640px;
}

.post-body {
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.post-back {
    display: inline-block;
    margin-top: 48px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-decoration: underline;
}

.post-back:hover {
    opacity: 0.45;
}

.contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-email {
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.contact-email a {
    text-decoration: underline;
}

.contact-email a:hover {
    opacity: 0.45;
}

@media (max-width: 700px) {
    .home-nav nav {
        flex-direction: column;
        gap: 32px;
        height: auto;
        padding: 40px 0;
    }

    .home-nav {
        align-items: flex-start;
        padding-top: 60px;
    }

    .album-grid,
    .art-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }
}

@media (max-width: 480px) {
    .album-grid,
    .art-grid {
        grid-template-columns: 1fr;
    }
}
