/* miris.one - single-viewport centered minimalist statement */

:root {
    --void: #0a0a0f;
    --light: #f0ece4;
    --signal: #6366f1;
    --signal-faint: rgba(99, 102, 241, 0.15);
    --signal-zero: rgba(99, 102, 241, 0);
    --signal-full: rgba(99, 102, 241, 1);
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Sora', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    background: var(--void);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
}

.stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30vh 1.5rem;
}

/* Single pulse ring -- the one and only decoration */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    border: 1px solid var(--signal-faint);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0.8);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

.content {
    position: relative;
    text-align: center;
    max-width: 600px;
    z-index: 1;
}

.domain {
    font-family: 'Sora', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--light);
    margin-bottom: 1.75rem;
}

.domain .dot {
    color: var(--signal);
    font-weight: 300;
}

.tagline {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light);
    opacity: 0.75;
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
}

.links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.property-link {
    position: relative;
    color: var(--signal);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--signal-zero);
    transition: border-color 300ms ease, color 300ms ease;
    letter-spacing: 0.02em;
}

.property-link:hover {
    border-bottom-color: var(--signal-full);
}

.sep {
    color: var(--light);
    opacity: 0.35;
    font-size: 0.95rem;
    user-select: none;
    line-height: 1;
}

.copyright {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light);
    opacity: 0.3;
}

/* Subtle entrance fade for the entire content block */
.content {
    animation: fadeIn 1.2s ease-out 0.1s both;
}

.copyright {
    animation: fadeIn 1.2s ease-out 0.6s both;
}

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

.copyright {
    /* preserve the dimmed final opacity */
}

@keyframes fadeInDim {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}

.copyright {
    animation: fadeInDim 1.2s ease-out 0.6s both;
}

@media (max-width: 540px) {
    .stage {
        padding: 20vh 1.25rem;
    }

    .domain {
        margin-bottom: 1.25rem;
    }

    .tagline {
        margin-bottom: 2.25rem;
    }

    .links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .pulse-ring {
        width: 160px;
        height: 160px;
        margin-top: -80px;
        margin-left: -80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pulse-ring {
        animation: none;
        transform: scale(1);
        opacity: 0.8;
    }

    .content,
    .copyright {
        animation: none;
    }

    .copyright {
        opacity: 0.3;
    }
}
