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

:root {
    --bg: #FAFAF8;
    --text: #1a1a1a;
    --text-light: #888;
    --accent: #E85A5A;
    --border: #e0e0db;
}

html {
    font-size: 18px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* ========================
   HOME PAGE
   ======================== */

.home-topnav {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    margin-bottom: 0;
    animation: fadeIn 0.8s ease-out;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 220px);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.home-nameplate {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.home-greeting {
    font-family: 'Cormorant', serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.home-sub {
    color: var(--text-light);
    font-family: 'Cormorant', serif;
    font-size: 1.8rem;
    margin-bottom: 56px;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    border-bottom-color: var(--accent);
}

.soon {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    vertical-align: middle;
    margin-left: 6px;
}

.home-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.home-links-label {
    font-size: 0.8rem;
    color: var(--border);
}

.ext-link {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.ext-link:hover {
    color: var(--text);
    border-color: var(--accent);
}

/* ========================
   INNER PAGES (Bio, etc.)
   ======================== */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 80px;
    animation: fadeIn 0.8s ease-out;
}

header a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text);
}

.page-nav {
    display: flex;
    gap: 24px;
}

.page-nav .nav-link {
    color: var(--border);
}

.page-nav .nav-link:hover {
    color: var(--text-light);
}

.page-nav .nav-link-active {
    color: var(--text);
    border-bottom-color: transparent;
}

.page-nav .nav-link-active:hover {
    color: var(--text);
    border-bottom-color: transparent;
}

.logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-title {
    font-family: 'Cormorant', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.page-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 72px;
    align-items: start;
    animation: fadeIn 1s ease-out 0.2s both;
}

.photo-container {
    padding-top: 86px;
}

.page-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(15%);
    transition: filter 0.4s ease;
}

.page-photo:hover {
    filter: grayscale(0%);
}

.page-body h2 {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.page-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    max-width: 520px;
}

.page-body a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.page-body a:hover {
    text-decoration-color: var(--accent);
}

.divider {
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}

.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 16px;
}

.role {
    margin-bottom: 12px;
}

.role-title {
    font-family: 'Cormorant', serif;
    font-size: 1.25rem;
    font-weight: 500;
}

.role-company {
    color: var(--text-light);
    font-size: 0.9rem;
}

footer {
    margin-top: 100px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    animation: fadeIn 1s ease-out 0.4s both;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.footer-updated {
    font-size: 0.75rem;
    color: var(--border);
}

/* ========================
   COMING SOON PAGE
   ======================== */

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
    animation: fadeIn 1s ease-out 0.2s both;
}

.coming-soon h2 {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.coming-soon p {
    color: var(--text-light);
}

/* ========================
   PICTURES PAGE
   ======================== */

.pictures-page {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.pictures-title {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.featured-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.featured-photo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.featured-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.thumbnail-section {
    position: relative;
    margin-top: 8px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
}

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

.thumbnail-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    pointer-events: none;
}

.more-coming {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Cormorant', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
}

/* ========================
   ANTI-ALGORITHM PAGE
   ======================== */

.algo-page {
    max-width: 720px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.algo-title {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.algo-intro {
    color: var(--text-light);
    margin-bottom: 56px;
    max-width: 480px;
}

.algo-section {
    margin-bottom: 48px;
}

.algo-section .section-label {
    margin-bottom: 24px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 32px;
}

.account-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease;
}

.account-card:hover {
    transform: translateY(-4px);
}

.account-thumb {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease;
}

.account-card:hover .account-thumb {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.account-name {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.3;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.account-card:hover .account-name {
    color: var(--text);
}

/* ========================
   MUSIC PAGE
   ======================== */

.music-page {
    max-width: 720px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.music-title {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.music-intro {
    color: var(--text-light);
    margin-bottom: 56px;
    max-width: 480px;
}

.music-section {
    margin-bottom: 56px;
}

.music-section .section-label {
    margin-bottom: 32px;
}

.lp-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 56px;
}

.lp-card-song {
    grid-template-columns: 200px 1fr;
}

.lp-cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lp-cover img:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.lp-liner {
    padding-top: 8px;
}

.lp-album {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.lp-card-song .lp-album {
    font-size: 1.3rem;
}

.lp-artist {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.lp-artist-sub {
    font-family: 'Cormorant', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 2px;
}

.lp-note {
    font-family: 'Cormorant', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lp-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lp-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.2s ease;
}

.lp-links a:hover {
    color: var(--text);
    transform: scale(1.15);
}

.lp-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========================
   ANIMATIONS
   ======================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================
   MOBILE
   ======================== */

@media (max-width: 800px) {
    html {
        font-size: 16px;
    }

    .container {
        padding: 60px 24px;
    }

    .home-greeting {
        font-size: 2.2rem;
    }

    .home-sub {
        font-size: 1.4rem;
    }

    .logo-large {
        width: 100px;
        height: 100px;
    }

    header {
        margin-bottom: 48px;
        flex-wrap: wrap;
    }

    .page-nav {
        gap: 16px;
    }

    .page-nav .nav-link {
        font-size: 0.8rem;
    }

    .page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .photo-container {
        padding-top: 0;
    }

    .page-photo {
        max-width: 240px;
    }

    .home-topnav {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .home-links {
        flex-direction: column;
        gap: 16px;
    }

    footer {
        margin-top: 64px;
    }

    .featured-photos {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured-photos {
        gap: 24px;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .lp-card {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 48px;
    }

    .lp-card-song {
        grid-template-columns: 1fr;
    }

    .lp-cover img {
        max-width: 280px;
    }

    .lp-card-song .lp-cover img {
        max-width: 200px;
    }
}
