/* ==========================================================================
   Asternom (asternom.com)
   Black and neon theme drawn from the Asternom mark: magenta and electric
   blue on near-black. No JavaScript, no webfonts, no build step.
   ========================================================================== */

:root {
    /* Palette */
    --black: #000000;
    --bg: #07060b;
    --bg-raised: #0e0c17;
    --bg-deep: #030207;
    --text: #a7a1bd;
    --text-strong: #c6c0dc;
    --heading: #f3f1fa;
    --muted: #6e6889;
    --magenta: #ff2d9b;
    --magenta-soft: #ff7cc4;
    --violet: #8b5cf6;
    --blue: #3f7dff;
    --blue-soft: #8fa6ff;
    --line: rgba(139, 124, 189, 0.22);

    /* Semantic tokens */
    --link: var(--blue-soft);
    --link-hover: var(--magenta-soft);
    --accent: var(--magenta);

    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
        "Liberation Mono", monospace;

    --content: 1040px;
    --measure: 68ch;
    --radius: 12px;
}

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

html {
    font-size: 16px;
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

::selection {
    background: var(--magenta);
    color: var(--black);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 3px;
    border-radius: 2px;
}

h1, h2, h3, h4 {
    color: var(--heading);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.01em;
}

strong {
    color: var(--text-strong);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section--raised {
    background: var(--bg-raised);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.kicker {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--magenta-soft);
    padding-left: 4px;
    margin-bottom: 0.85rem;
}

.gradient-text {
    background: linear-gradient(92deg, var(--magenta-soft), var(--blue-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glow-rule {
    width: min(280px, 60vw);
    height: 2px;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--magenta) 30%, #ffd7ef 50%, var(--blue) 70%, transparent);
    background-size: 320% 100%;
    background-position: 0% 50%;
    box-shadow: 0 0 18px rgba(255, 45, 155, 0.45);
    animation: glow-slide 3.2s ease-in-out infinite alternate;
}

@keyframes glow-slide {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 10px rgba(63, 125, 255, 0.4);
        opacity: 0.8;
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 45, 155, 0.9), 0 2px 44px rgba(139, 92, 246, 0.5);
        opacity: 1;
    }

    100% {
        background-position: 100% 50%;
        box-shadow: 0 0 10px rgba(255, 45, 155, 0.4);
        opacity: 0.8;
    }
}

/* Site navigation
   --------------------------------------------------------------------------
   The brand lockup is the triangle mark plus the wordmark cropped from the
   logo art, so the header typography matches the logo exactly. */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 6, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.brand img.brand-word {
    width: auto;
    height: 16px;
    border-radius: 0;
}

.brand:hover img.brand-word {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-strong);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--heading);
    text-decoration: none;
}

.nav-links a[aria-current="page"] {
    color: var(--heading);
    border-bottom: 2px solid var(--magenta);
    padding-bottom: 2px;
}

/* Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
    animation: btn-glow 4s ease-in-out infinite alternate;
}

.btn:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 8px 28px rgba(255, 45, 155, 0.35);
    animation: none;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 45, 155, 0.55);
    color: var(--magenta-soft);
    animation: btn-glow 4s ease-in-out infinite alternate, btn-border 4s ease-in-out infinite alternate;
}

.btn--ghost:hover {
    background: rgba(255, 45, 155, 0.1);
    color: var(--magenta-soft);
    box-shadow: none;
    filter: none;
}

@keyframes btn-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 45, 155, 0.3);
    }

    50% {
        box-shadow: 0 0 22px rgba(139, 92, 246, 0.5);
    }

    100% {
        box-shadow: 0 0 12px rgba(63, 125, 255, 0.42);
    }
}

@keyframes btn-border {
    0% {
        border-color: rgba(255, 45, 155, 0.55);
    }

    100% {
        border-color: rgba(63, 125, 255, 0.7);
    }
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

/* Hero
   --------------------------------------------------------------------------
   Pure black so the transparent logo floats on the page. */

.hero {
    background: var(--black);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    text-align: center;
    min-height: min(92vh, 62rem);
    padding: 4.5rem 0 4rem;
}

.hero .wrap {
    width: 100%;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.hero-logo {
    width: min(440px, 82vw);
    margin-top: -2.5rem;
}

.hero h1 {
    margin: 0;
}

.hero-pitch {
    max-width: 38rem;
    font-size: clamp(1.02rem, 2.4vw, 1.18rem);
    color: var(--text-strong);
}

.hero .cta-row {
    justify-content: center;
    margin-top: 1rem;
}

/* Album card (home music section)
   -------------------------------------------------------------------------- */

.album-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3rem;
    align-items: center;
}

.album-cover {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 14px 60px rgba(255, 45, 155, 0.14), 0 6px 24px rgba(63, 125, 255, 0.12);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.album-cover img {
    width: 100%;
}

a.album-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 70px rgba(255, 45, 155, 0.22), 0 8px 30px rgba(63, 125, 255, 0.18);
}

.album-card h2 {
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    margin-bottom: 0.4rem;
}

.album-byline {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.1rem;
}

.special-mention {
    margin-top: 1.65rem;
}

.album-card .cta-row {
    margin-top: 1.4rem;
}

/* Platform links
   -------------------------------------------------------------------------- */

.icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    color: var(--text-strong);
    transition: transform 120ms ease, border-color 120ms ease, color 120ms ease;
}

.section--raised .icon-btn {
    background: var(--bg);
}

.icon-btn:hover {
    color: var(--heading);
    border-color: rgba(255, 45, 155, 0.6);
    transform: translateY(-2px);
    text-decoration: none;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.platform {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-strong);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

.platform:hover {
    color: var(--heading);
    border-color: rgba(255, 45, 155, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 45, 155, 0.12);
    text-decoration: none;
}

.platform svg {
    width: 20px;
    height: 20px;
    flex: none;
    fill: currentColor;
    opacity: 0.92;
}

/* Album page
   -------------------------------------------------------------------------- */

.album-hero {
    background: var(--black);
    border-bottom: 1px solid var(--line);
    text-align: center;
    padding: 4rem 0 4.5rem;
}

.album-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.album-hero .album-cover {
    width: min(420px, 88vw);
    margin-bottom: 1.4rem;
}

.album-hero h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    letter-spacing: 0.03em;
}

.album-hero .kicker {
    margin-bottom: 0;
}

.album-hero .album-byline {
    margin-bottom: 0.4rem;
}

/* Statement / prose
   -------------------------------------------------------------------------- */

.statement {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
}

.statement h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    margin-bottom: 1.1rem;
}

.statement p {
    font-size: clamp(1.02rem, 2.2vw, 1.2rem);
    color: var(--text-strong);
}

.statement p + p {
    margin-top: 1.1rem;
}

.prose {
    max-width: var(--measure);
}

.prose p + p {
    margin-top: 1.1rem;
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 1rem;
}

/* Footer
   -------------------------------------------------------------------------- */

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
    padding: 3rem 0 2rem;
    font-size: 0.93rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

.footer-brand img.brand-word {
    width: auto;
    height: 18px;
    border-radius: 0;
}

.site-footer h4 {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.site-footer ul {
    list-style: none;
}

.site-footer li + li {
    margin-top: 0.45rem;
}

.site-footer a {
    color: var(--text-strong);
}

.site-footer a:hover {
    color: var(--heading);
}

.footer-legal {
    border-top: 1px solid var(--line);
    padding-top: 1.4rem;
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: space-between;
}

/* Utility pages (404)
   -------------------------------------------------------------------------- */

.center-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 4rem 1.5rem;
}

.center-page .big-mono {
    font-family: var(--mono);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    background: linear-gradient(92deg, var(--magenta), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
    .section {
        padding: 3.2rem 0;
    }

    .album-card {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .album-card .album-cover {
        max-width: 420px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 560px) {
    .site-nav .wrap {
        flex-wrap: nowrap;
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand {
        flex: none;
        gap: 0.5rem;
    }

    .brand img {
        width: 26px;
        height: 26px;
    }

    .brand img.brand-word {
        height: 14px;
    }

    .nav-links {
        flex-wrap: nowrap;
        gap: 0.9rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: min(84vh, 46rem);
        padding: 3.5rem 0 3rem;
    }

    .hero-logo {
        margin-top: -1rem;
    }

    .platforms {
        grid-template-columns: 1fr 1fr;
    }

    .platform {
        padding: 0.75rem 0.85rem;
        font-size: 0.88rem;
        gap: 0.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .platforms {
        grid-template-columns: 1fr;
    }

    .brand img:not(.brand-word) {
        display: none;
    }

    .nav-links {
        gap: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .platform,
    .icon-btn,
    .album-cover {
        transition: none;
    }
}
