@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }

:root {
    --paper: #f1ead8;
    --wall: #e4dcc6;
    --ink: #141414;
    --red: #e63b2e;
    --rule: 3px solid var(--ink);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    color: var(--ink);
    background: var(--wall);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.poster {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 2.5rem 2.75rem 2rem;
    background: var(--paper);
    border: 4px solid var(--ink);
    box-shadow: 10px 10px 0 var(--ink);
}

.strip {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding-bottom: 0.8rem;
    border-bottom: var(--rule);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.stamp {
    position: absolute;
    top: 5.5rem;
    right: 2.5rem;
    width: 124px;
    height: 124px;
    margin: 0;
    display: grid;
    place-items: center;
    border: 3px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(12deg);
}
.stamp::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--red);
    border-radius: 50%;
}

.name {
    margin: 1.75rem 0 1rem;
    font-size: clamp(3.2rem, 12vw, 8.75rem);
    font-weight: 700;
    line-height: 0.84;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}
.name span { display: block; color: var(--red); }

.bio { max-width: 36rem; margin: 0; font-size: 1.25rem; line-height: 1.5; }
.bio a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bio a:hover { color: var(--red); }
.bio a.pill { text-decoration: none; background: var(--ink); color: var(--paper); padding: 0 0.3rem; }
.bio a.pill:hover { background: var(--red); color: var(--paper); }

.music { margin-top: 2.25rem; padding-top: 1rem; border-top: var(--rule); }
.music h2 { margin: 0 0 0.75rem; font-size: 0.82rem; letter-spacing: 3px; text-transform: uppercase; }

.artists { list-style: none; margin: 0; padding: 0; }
.artists li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.75rem;
    line-height: 1.02;
    animation: drop 0.5s ease both;
}
.artists li:nth-child(2) { animation-delay: 0.07s; }
.artists li:nth-child(3) { animation-delay: 0.14s; }
.artists li:nth-child(4) { animation-delay: 0.21s; }
.artists li:nth-child(5) { animation-delay: 0.28s; }
.artist {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}
.size-0 .artist { font-size: clamp(2rem, 6.4vw, 3.9rem); color: var(--red); }
.size-1 .artist { font-size: clamp(1.65rem, 4.8vw, 2.9rem); }
.size-2 .artist { font-size: clamp(1.35rem, 3.7vw, 2.2rem); }
.size-3 .artist, .size-4 .artist { font-size: clamp(1.15rem, 2.9vw, 1.7rem); opacity: 0.85; }
.detail {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    padding-bottom: 0.2rem;
}
.detail a { text-decoration: none; border-bottom: 1px solid currentColor; }
.detail a:hover { color: var(--red); }
.when { text-transform: uppercase; letter-spacing: 1px; font-size: 0.72rem; opacity: 0.65; align-self: center; }
.is-live .when { color: var(--red); opacity: 1; }

.music-note { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.state-loading .music-note { font-style: italic; opacity: 0.7; }
.music-note a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.music-note a:hover { color: var(--red); }

.links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: var(--rule);
}
.links a {
    padding: 0.5rem 0.95rem;
    border: 2px solid var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.links a:first-child { background: var(--ink); color: var(--paper); }
.links a:hover { background: var(--red); border-color: var(--red); color: var(--paper); transform: translateY(-2px); }
.flags { display: flex; gap: 0.5rem; margin-left: auto; }
.flags img { display: block; }

.demo-badge {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 0.8rem;
    font-weight: 700;
}
.demo-badge[hidden] { display: none; }

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
    body { padding: 1rem 0.75rem 2rem; }
    .poster { padding: 1.5rem 1.25rem 1.25rem; box-shadow: 6px 6px 0 var(--ink); }
    .stamp { width: 92px; height: 92px; top: 4.4rem; right: 1rem; font-size: 0.62rem; }
    .name { margin-top: 1.25rem; }
    .bio { font-size: 1.1rem; }
    .flags { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
