/* =============================================
   home.css — homepage styles
   Dark, minimal, Garamond — matches books page
   ============================================= */

/* Section label — shared utility */

header {
        justify-content: flex-end;
}



.section-label {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 32px;
}

/* ── HERO ── */

.home-hero {
    padding: 120px 0 80px;
    animation: fadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hero-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
    animation: fadeUp 0.9s 0.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-heading {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: clamp(52px, 9vw, 110px);
    font-weight: 400;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.02em;
    animation: fadeUp 0.9s 0.15s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-heading em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
}

.hero-rule {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    animation: fadeUp 0.9s 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* ── ABOUT ── */

.home-about {
    padding: 64px 0;
    animation: fadeUp 0.9s 0.25s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.about-inner {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0 48px;
    align-items: start;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    letter-spacing: 0.01em;
}

/* ── SOCIAL GRID ── */

.home-social {
    padding: 64px 0 120px;
    animation: fadeUp 0.9s 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

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

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-item i {
    font-size: 20px;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.social-item span {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: inherit;
}

/*.social-icon-img {
    width: 24px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.social-item:hover {
    transform: translateY(-3px);
    opacity: 1;
}*/

.social-item:hover i {
    transform: translateY(-3px);
}

.social-item:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
}

.social-item:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
    background-color: var(--hover-color);
}

.social-item.youtube:hover    { --hover-color: rgba(255, 61, 12, 0.5); }
.social-item.twitch:hover     { --hover-color: rgba(100, 65, 164, 0.5); }
.social-item.twitter:hover    { --hover-color: rgba(255, 255, 255, 0.1); }
.social-item.mastodon:hover   { --hover-color: rgba(86, 58, 204, 0.5); }
.social-item.reddit:hover     { --hover-color: rgba(255, 61, 12, 0.5); }
.social-item.github:hover     { --hover-color: rgba(4, 44, 105, 0.6); }
.social-item.medium:hover     { --hover-color: rgba(255, 255, 255, 0.1); }
.social-item.bandcamp:hover   { --hover-color: rgba(98, 154, 169, 0.5); }
.social-item.goodreads:hover  { --hover-color: rgba(255, 255, 255, 0.1); }
.social-item.tradingview:hover { --hover-color: rgba(255, 255, 255, 0.1); }

/* Per-platform hover colours 
.social-item.youtube:hover  { background-color: rgba(255, 61, 12, 0.15); }
.social-item.twitch:hover   { background-color: rgba(100, 65, 164, 0.2); }
.social-item.twitter:hover  { background-color: rgba(255, 255, 255, 0.05); }
.social-item.mastodon:hover { background-color: rgba(86, 58, 204, 0.2); }
.social-item.reddit:hover   { background-color: rgba(255, 61, 12, 0.15); }
.social-item.github:hover   { background-color: rgba(4, 44, 105, 0.3); }
.social-item.medium:hover   { background-color: rgba(255, 255, 255, 0.04); }
.social-item.bandcamp:hover { background-color: rgba(98, 154, 169, 0.2); }
.social-item.goodreads:hover { background-color: rgba(255, 255, 255, 0.04); }
.social-item.tradingview:hover { background-color: rgba(33, 150, 243, 0.15); }
*/

/*
html::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease, background 0.5s ease;
    background: radial-gradient(ellipse at center, transparent 50%, var(--vignette-color, transparent) 100%);
    pointer-events: none;
    z-index: 0;
}

html:has(.youtube:hover)    { --vignette-color: rgba(255, 61, 12, 0.15); }
html:has(.twitch:hover)     { --vignette-color: rgba(100, 65, 164, 0.15); }
html:has(.mastodon:hover)   { --vignette-color: rgba(86, 58, 204, 0.15); }
html:has(.reddit:hover)     { --vignette-color: rgba(255, 61, 12, 0.15); }
html:has(.github:hover)     { --vignette-color: rgba(4, 44, 105, 0.15); }
html:has(.bandcamp:hover)   { --vignette-color: rgba(98, 154, 169, 0.15); }
html:has(.tradingview:hover){ --vignette-color: rgba(255, 255, 255, 0.15); }
html:has(.twitter:hover)   { --vignette-color: rgba(255, 255, 255, 0.15); }
html:has(.goodreads:hover) { --vignette-color: rgba(255, 255, 255, 0.15); }
html:has(.medium:hover)    { --vignette-color: rgba(255, 255, 255, 0.15); }

html:has(.youtube:hover)::after,
html:has(.twitch:hover)::after,
html:has(.mastodon:hover)::after,
html:has(.reddit:hover)::after,
html:has(.github:hover)::after,
html:has(.bandcamp:hover)::after,
html:has(.tradingview:hover)::after,
html:has(.twitter:hover)::after,
html:has(.goodreads:hover)::after,
html:has(.medium:hover)::after { opacity: 1; }

*/

/* ── FOOTER ── */

.home-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer p {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.15);
}

/* ── ANIMATIONS ── */

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

/* ── RESPONSIVE ── */

@media screen and (max-width: 768px) {
    .home-hero {
        padding: 80px 24px 60px;
        text-align: center;
    }

    .home-about {
        padding: 48px 24px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-social {
        padding: 48px 24px 80px;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-footer {
        padding: 40px 24px;
    }

    header {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}