:root {
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-blue: #ca14d7;
    /* Using the requested ray color as accent */
    --bg-color: #121212;
}

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

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    /* Hide scrollbars for the fullscreen effect */
    background-color: var(--bg-color);
    color: var(--text-primary);
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to canvas if needed, but text needs pointer-events */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    padding: 4rem;
}

/* Enable pointer events on actual text elements */
.content-overlay>* {
    pointer-events: auto;
}

.hero-text {
    grid-column: 1 /span 2;
    align-self: center;
    max-width: 80vw;
    margin-top: -5vh;
    /* Slight visual adjustment */
}

h1 {
    font-size: clamp(3rem, 7vw, 9rem);
    line-height: 0.9;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.subtitle {
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    color: #a0a0a0;
    /* Slate blueish grey */
    max-width: 600px;
    font-weight: 400;
    line-height: 1.4;
}

.info-block {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    text-align: right;
    font-size: clamp(1rem, 1.5vw, 2rem);
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.lead-text {
    line-height: 1.3;
    margin-bottom: 1rem;
}

.lead-text strong {
    font-weight: 700;
    color: #ffffff;
}

.phi {
    font-family: serif;
    /* For that specific look of the symbol */
}

.contact-info {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.email-link:hover {
    color: #ffffff;
}

.icon {
    fill: currentColor;
    width: 14px;
    height: 14px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .content-overlay {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding: 2rem 1.5rem;
        gap: 2rem;
        height: auto;
        /* Allow scrolling on small screens if needed */
        min-height: 100%;
        overflow-y: auto;
    }

    .hero-text {
        grid-column: 1;
        margin-top: 4rem;
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: clamp(2.5rem, 12vw, 5rem);
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .info-block {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        text-align: left;
        margin-top: 0;
        margin-bottom: 4rem;
        font-size: 1.1rem;
    }

    .contact-info {
        align-items: flex-start;
        margin-top: 1.5rem;
    }

    /* Ensure content is clickable on mobile */
    .content-overlay>* {
        pointer-events: auto;
    }
}