:root {
    --bg: #0a0a0a;
    --fg: #f2f0eb;
    --rule: rgba(242, 240, 235, 0.18);
    --dim: rgba(242, 240, 235, 0.55);
    --faint: rgba(242, 240, 235, 0.35);
}

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

html, body { background: var(--bg); }

body {
    font-family: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--fg);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
    overflow-x: hidden;
}

main {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2.25rem, 5vw, 3rem);
    text-align: center;
}

.name {
    font-weight: 900;
    font-size: clamp(2.8rem, 11vw, 6rem);
    line-height: 0.86;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.name span { display: block; }

.rule {
    width: 36px;
    height: 2px;
    background: var(--fg);
    opacity: 0.85;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 100%;
}

a {
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(1.05rem, 3vw, 1.2rem);
    letter-spacing: -0.005em;
    padding: 0.7rem 0.4rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.55em;
    position: relative;
    transition: color 200ms ease;
}

a::before {
    content: '';
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    background: var(--fg);
    border-radius: 50%;
    flex: 0 0 auto;
    transform: translateY(-0.18em);
    transition: background 200ms ease, transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

a .label {
    position: relative;
}

a .label::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -0.05em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

a:hover .label::after,
a:focus-visible .label::after { transform: scaleX(1); }

a:hover::before,
a:focus-visible::before { transform: translate(0, -0.18em) scale(1.4); }

a:focus-visible { outline: none; }

.meta {
    display: inline-block;
    margin-left: 0.35em;
    font-weight: 500;
    font-size: 0.62em;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    vertical-align: 0.25em;
    white-space: nowrap;
}

@media (max-width: 380px) {
    .meta {
        display: block;
        margin: 0.15rem 0 0;
        vertical-align: baseline;
    }
    a { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    a, a::before, a .label::after { transition: none; }
}
