:root {
    --black: #0a0007;
    --pink: #ff2e93;
    --pink-soft: #ff8cc6;
    --text: #fde8f3;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    height: 100%;
    background: var(--black);
    color: var(--text);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

body {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

#spiral {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Darkens the spiral's centre so the title stays readable over it. */
.veil {
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 34rem 20rem at center, rgba(10,0,7,0.88) 0%, rgba(10,0,7,0.6) 45%, rgba(10,0,7,0) 75%),
        radial-gradient(circle at center, rgba(10,0,7,0) 55%, rgba(10,0,7,0.85) 100%);
    pointer-events: none;
}

main, footer {
    position: relative;
    z-index: 2;
}

main {
    align-self: center;
    justify-self: center;
    text-align: center;
    padding: 2rem;
}

.logo {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 11vw, 7rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--text);
    text-shadow: 0 0 0.35em rgba(255, 46, 147, 0.75), 0 0 1.2em rgba(255, 46, 147, 0.35);
}

.tagline {
    margin: 1rem 0 2.5rem;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: var(--pink-soft);
}

.button {
    display: inline-block;
    padding: 0.85em 1.8em;
    border: 1px solid var(--pink);
    border-radius: 999px;
    background: rgba(10, 0, 7, 0.65);
    color: var(--text);
    font: inherit;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s, color 0.25s;
}

.button:hover,
.button:focus-visible {
    background: var(--pink);
    color: var(--black);
    box-shadow: 0 0 1.5rem rgba(255, 46, 147, 0.6);
    outline: none;
}

footer {
    padding: 1rem;
    text-align: center;
}

#motion {
    background: none;
    border: none;
    color: var(--pink-soft);
    opacity: 0.6;
    font: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

#motion:hover,
#motion:focus-visible {
    opacity: 1;
    text-decoration: underline;
    outline: none;
}
