:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    background: #2b3644;
    color: #333;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    width: min(100%, 68rem);
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-inline: 1px solid rgb(255 255 255 / 12%);
    box-shadow: 0 0 3rem rgb(11 20 31 / 24%);
    color: #333;
}

a {
    color: #111;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-thickness: 2px;
}

a:focus-visible {
    outline: 3px solid #2368c4;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    transform: translateY(-200%);
    background: #fff;
    border: 2px solid #111;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-main {
    width: 100%;
    flex: 1;
}

.site-header {
    width: 100%;
    min-height: 4rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e3e3e3;
}

@media (max-width: 68rem) {
    body {
        border-inline: 0;
        box-shadow: none;
    }
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.site-brand-logo {
    width: 1.75rem;
    height: 1.75rem;
    display: block;
    object-fit: contain;
}

.site-navigation ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 3vw, 1.5rem);
    list-style: none;
}

.site-navigation a {
    font-size: 0.875rem;
    text-decoration: none;
}

.site-navigation a:hover {
    text-decoration: underline;
}

.navigation-separator {
    color: #aaa;
    font-size: 0.75rem;
}

.site-navigation .mailing-list-nav-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid #aaa;
}

.home-page .site-main,
.splash-page .site-main,
.error-page .site-main {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero {
    width: min(100%, 42rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artist-logo {
    display: block;
    width: min(100%, 500px);
    height: auto;
}

.social-links {
    margin-top: 1.25rem;
}

.social-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links li {
    margin: 0.65rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
}

.social-icon-frame {
    width: 24px;
    height: 24px;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
}

.social-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icon--instagram {
    width: 21px;
    height: 21px;
    margin: 1.5px;
}

.social-icon--substack {
    width: 36px;
    height: 36px;
    margin: -6px;
}

.social-links a {
    font-size: 1.125rem;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

.splash-page .social-links {
    margin-top: 1.875rem;
}

.splash-page .social-links li {
    margin: 1.25rem 0;
    gap: 0.95rem;
}

.splash-page .social-icon-frame {
    width: 64px;
    height: 64px;
}

.splash-page .social-icon {
    width: 64px;
    height: 64px;
}

.splash-page .social-icon--instagram {
    width: 56px;
    height: 56px;
    margin: 4px;
}

.splash-page .social-links a {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
}

.site-footer {
    width: min(100% - 2rem, 68rem);
    margin: 0 auto;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid #e3e3e3;
    color: #666;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.site-footer a {
    color: inherit;
}

.content-page {
    width: min(100% - 2rem, 46rem);
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 5rem) 0;
    line-height: 1.65;
}

.content-page h1 {
    margin: 0 0 0.5rem;
    color: #111;
    font-size: clamp(2.25rem, 8vw, 4rem);
    line-height: 1.05;
}

.content-page h2 {
    margin: 2.25rem 0 0.5rem;
    color: #111;
    font-size: 1.35rem;
    line-height: 1.25;
}

.content-page p,
.content-page ul {
    margin: 0.75rem 0;
}

.content-page .page-meta {
    color: #666;
}

.mailing-list-content {
    width: min(100% - 2rem, 40rem);
    text-align: center;
}

.mailing-list-content .eyebrow {
    color: #586575;
}

.mailing-list-intro {
    max-width: 34rem;
    margin: 1rem auto 0;
    color: #4d5864;
    font-size: 1.1rem;
}

.mailing-list-form {
    min-height: 8.5rem;
    margin: 2rem auto 1.25rem;
    padding: 1.25rem;
    background: #f1f3f5;
    border: 1px solid #d9dee3;
    border-radius: 1rem;
}

.mailing-list-form .formkit-form[data-uid="1ec42499d0"] {
    max-width: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.mailing-list-form .formkit-header,
.mailing-list-form .formkit-subheader,
.mailing-list-form .formkit-guarantee {
    display: none !important;
}

.mailing-list-form .formkit-fields {
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.mailing-list-form .formkit-field,
.mailing-list-form .formkit-input,
.mailing-list-form .formkit-submit {
    width: 100% !important;
    margin: 0 !important;
}

.mailing-list-form .formkit-input,
.mailing-list-form .formkit-submit {
    min-height: 3rem !important;
    border-radius: 0.6rem !important;
}

.mailing-list-form .formkit-input {
    padding: 0.75rem 0.9rem !important;
    border: 1px solid #b8c0c9 !important;
    font: inherit !important;
}

.mailing-list-form .formkit-submit {
    min-width: 8.5rem;
    padding: 0.75rem 1rem !important;
    background: #2b3644 !important;
    color: #fff !important;
    font: inherit !important;
    font-weight: 700 !important;
}

.mailing-list-form .formkit-submit > span {
    padding: 0 !important;
}

.mailing-list-form .formkit-submit:hover {
    background: #1e2732 !important;
}

.mailing-list-form .formkit-powered-by-convertkit-container {
    margin-top: 0.75rem !important;
}

.mailing-list-note {
    max-width: 32rem;
    margin: 0 auto;
    color: #66717d;
    font-size: 0.875rem;
}

.mailing-list-confirmation {
    max-width: 38rem;
}

.mailing-list-actions {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

.mailing-list-primary-action {
    padding: 0.75rem 1rem;
    background: #2b3644;
    border-radius: 0.6rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.mailing-list-primary-action:hover {
    background: #1e2732;
}

.artist-content {
    width: min(100% - 2rem, 54rem);
    display: grid;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 4rem);
}

.artist-profile-image {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow:
        0 1rem 2.5rem rgb(25 36 50 / 18%),
        0 0.25rem 0.75rem rgb(25 36 50 / 12%);
}

.artist-profile-copy p:last-child {
    margin-bottom: 0;
}

.artist-tagline {
    color: #273442;
    font-size: 1.2rem;
    font-weight: 700;
}

.artist-signoff {
    font-weight: 700;
}

.error-content {
    max-width: 34rem;
    padding: 2rem;
}

.error-content h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(3rem, 15vw, 7rem);
}

.song-directory,
.song-detail {
    width: min(100% - 2rem, 68rem);
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.song-detail {
    width: min(100% - 2rem, 38rem);
}

.page-header {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: #666;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-header h1 {
    margin: 0;
    color: #111;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
}

.page-header > p:last-child {
    max-width: 38rem;
    margin: 1rem 0 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.empty-state {
    color: #666;
}

.song-index-list {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.song-index-list li {
    border-bottom: 1px solid #d8d8d8;
}

.song-index-list li:first-child {
    border-top: 1px solid #d8d8d8;
}

.song-index-list a {
    padding: 1.25rem 0;
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.song-index-list img {
    width: 10rem;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 0.4rem 1.25rem rgb(25 36 50 / 16%);
}

.song-index-list a:hover .song-index-title {
    text-decoration: underline;
}

.song-detail-grid {
    width: min(100%, 26rem);
    margin: 0 auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #344150, #252f3c);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 1.25rem;
    box-shadow:
        0 1.25rem 3rem rgb(25 36 50 / 20%),
        0 0.25rem 0.75rem rgb(25 36 50 / 12%);
}

.song-listen-heading {
    width: 100%;
    margin: 0;
    padding: 0.25rem 1rem 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.song-artwork {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    border-radius: 0.9rem;
    box-shadow:
        0 0.65rem 1.5rem rgb(8 15 24 / 24%),
        0 0 0 1px rgb(255 255 255 / 8%);
}

.song-information {
    width: 100%;
    padding: 0.9rem 1rem 1rem;
    background: transparent;
    text-align: center;
}

.song-service-prompt {
    margin: 0;
    color: #ccc;
    font-size: 0.8rem;
}

.platform-links {
    margin-top: 0.8rem;
}

.platform-links ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.platform-links li {
    margin: 0.55rem 0;
}

.platform-links a {
    min-height: 3.25rem;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: rgb(255 255 255 / 94%);
    border-radius: 0.7rem;
    box-shadow: 0 0.25rem 0.6rem rgb(8 15 24 / 14%);
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.platform-links a:hover {
    background: #fff;
    box-shadow: 0 0.4rem 0.9rem rgb(8 15 24 / 20%);
}

.platform-link--soundcloud a {
    border-left: 4px solid #ff5c35;
}

.platform-link--bandcamp a {
    border-left: 4px solid #629aa9;
}

.platform-link--youtube a {
    border-left: 4px solid #f00;
}

.song-learn-more {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgb(255 255 255 / 14%);
}

.song-learn-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
}

.song-learn-more img {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
    object-fit: contain;
}

@media (max-width: 520px) {
    .site-header {
        min-height: 3.5rem;
        gap: 0.5rem;
    }

    .site-brand {
        gap: 0.35rem;
        font-size: 0.9rem;
    }

    .site-brand-logo {
        width: 1.5rem;
        height: 1.5rem;
    }

    .site-navigation ul {
        gap: 0.4rem;
    }

    .site-navigation a {
        font-size: 0.8rem;
    }

    .site-navigation .mailing-list-nav-link {
        padding: 0.35rem 0.4rem;
    }

    .artist-content {
        padding: 1.5rem 0;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .artist-profile-image {
        width: min(100%, 18rem);
        margin: 0 auto;
        border-radius: 1rem;
    }

    .mailing-list-content {
        padding: 2rem 0;
    }

    .mailing-list-form {
        padding: 1rem;
    }

    .mailing-list-form .formkit-fields {
        grid-template-columns: 1fr;
    }

    .song-detail {
        padding: 0.5rem 0;
    }

    .song-directory {
        padding: 1rem 0;
    }

    .song-index-list a {
        padding: 0.9rem 0;
        grid-template-columns: 6.5rem minmax(0, 1fr) auto;
        gap: 0.9rem;
        font-size: 1.1rem;
    }

    .song-index-list img {
        width: 6.5rem;
        border-radius: 0.6rem;
    }

    .song-detail-grid {
        padding: 0.5rem;
        border-radius: 1rem;
    }

    .song-listen-heading {
        width: 100%;
        padding: 0.15rem 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    .song-artwork {
        width: 100%;
    }

    .song-information {
        padding: 0.55rem 0.15rem 0.15rem;
    }

    .platform-links li {
        margin: 0.35rem 0;
    }

    .platform-links a {
        min-height: 2.4rem;
        padding: 0.4rem 0.65rem;
        font-size: 0.95rem;
    }

    .hero {
        padding: 1rem 1.5rem 2rem;
    }

    .home-page .artist-logo {
        width: min(100%, 330px);
    }

    .splash-page .social-icon-frame {
        width: 48px;
        height: 48px;
    }

    .splash-page .social-icon {
        width: 48px;
        height: 48px;
    }

    .splash-page .social-icon--instagram {
        width: 42px;
        height: 42px;
        margin: 3px;
    }

}
