/* 1. Imports and Resets */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Inter:wght@400;500;600&display=swap');

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

body {
    background-color: #0a0a0a;
    color: #f0f0f0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Main Layout */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 2; /* Ensures content is above the background glow */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* 24px */
}

/* 3. Typography */
h1 {
    font-family: 'Inter', sans-serif;
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1; /* 110% */
    letter-spacing: -0.05em;
    color: rgb(240, 240, 240);
    max-width: 520px;
}

h1 .font-serif {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
}

p {
    font-size: 16px;
    letter-spacing: -0.04em;
    line-height: 1.5; /* 150% */
    color: rgba(255, 255, 255, 0.56);
    max-width: 302px;
}

/* 4. Effects and Animations */
.background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    max-width: 787px;
    height: 111px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 80%);
    filter: blur(80px);
    z-index: 1;
}

.anim-word {
    display: inline-block;
    /* Initial state for animation */
    opacity: 0;
    filter: blur(4px);
    transform: translateY(10px);
    /* Transition effect */
    transition: opacity 0.6s ease-out, filter 0.6s ease-out, transform 0.6s ease-out;
}

.anim-word.visible {
    /* Final state for animation */
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}


/* 5. Responsive Design */
@media (max-width: 810px) {
    h1 {
        font-size: 40px;
    }

    p {
        font-size: 14px;
    }
}