/* home.css */
.home-wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.home-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.home-overlay {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 20vh auto 0;
    padding: 0 24px;
    color: var(--fg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#type {
    font-size: var(--fs-h1);
    font-weight: 700;
    color: var(--accent);
    display: inline-block;
    min-height: 1.3em;
    white-space: nowrap;
    margin-bottom: 0;
    margin-top: 0;
}

.home-subtitle {
    font-size: var(--fs-h2);
    max-width: 600px;
    line-height: 1.6;
    color: var(--fg-dim);
    text-align: center;
}

.home-more a {
    background: var(--accent);
    font-size: var(--fs-body);
    color: #121212;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.home-more a:hover {
    background: var(--accent-hover);
}



@media (prefers-reduced-motion: reduce) {
    #bg {
        display: none;
    }
}