.prelaunch {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 40px 24px;
    background: radial-gradient(ellipse at 75% 20%, #d9ddc5 0, transparent 60%), #eeeee5;
}

.prelaunch-card {
    width: min(100%, 600px);
    text-align: center;
}

.prelaunch .band-logo {
    width: 220px;
    margin: 0 auto 50px;
}

.prelaunch h1 {
    font-size: clamp(52px, 10vw, 88px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 24px 0;
}

.prelaunch-copy {
    font-size: 15px;
    line-height: 1.9;
    color: #626957;
}

.prelaunch-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: #929884;
    margin: 32px auto;
}

.preview-access {
    max-width: 320px;
    margin: auto;
    font-size: 13px;
}

.preview-access summary {
    cursor: pointer;
    padding: 10px;
    outline-offset: 4px;
}

.preview-access form {
    text-align: left;
    padding-top: 20px;
}

.preview-access label {
    display: block;
    margin-bottom: 8px;
}

.preview-access input {
    width: 100%;
    padding: 12px;
    border: 1px solid #929884;
    background: #f8f8f1;
    border-radius: 0;
}

.preview-access .button {
    width: 100%;
    margin-top: 16px;
    cursor: pointer;
}

.prelaunch-footer {
    margin: 48px 0 0;
    font-size: 9px;
    letter-spacing: 2px;
    color: #626957;
}

/* Theme and base styles */

:root {
    --paper: #eeeee5;
    --ink: #292c25;
    --muted: #777a6c;
    --line: #d3d4c7;
    --dark: #262a23;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #788645;
    outline-offset: 5px;
}

button,
a {
    touch-action: manipulation;
}

::selection {
    background: #d2dcaa;
    color: var(--ink);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: 'Manrope', sans-serif;
}

section {
    scroll-margin-top: 0;
}

/* Shared components */

.wordmark {
    display: inline-flex;
    align-items: center;
}

.band-logo {
    display: block;
    width: 160px;
    height: auto;
    /* Crop the source image's empty space without modifying the original. */
    aspect-ratio: 2.16;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

.band-logo--white {
    mix-blend-mode: normal;
}

.eyebrow {
    margin: 0;
    font-size: 10px;
    letter-spacing: 1.9px;
    font-weight: 600;
    line-height: 1.6;
}

.section-wrap {
    padding: 57px 8% 75px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.section-number {
    opacity: .5;
    margin-right: 15px;
}

.small-note {
    font-size: 12px;
    color: var(--muted);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a8b786;
    margin-right: 9px;
    vertical-align: middle;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 17px 23px;
    font-size: 12px;
    font-weight: 500;
    transition: background .2s, transform .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: var(--ink);
    color: #f0f0e5;
    gap: 15px;
}

.button-dark:hover {
    background: #424935;
}

.button-arrow {
    margin-left: 25px;
    font-size: 18px;
}

.play-icon {
    font-size: 10px;
}

.button-light {
    background: #e2e6cb;
    color: #30352b;
    min-width: 176px;
}

.button-light:hover {
    background: #f1f4e3;
}

.button-light span {
    font-size: 18px;
}

.text-link {
    display: inline-flex;
    gap: 35px;
    font-size: 12px;
    border-bottom: 1px solid #9b9f8e;
    padding: 6px 0 9px;
}

.text-link:hover {
    color: #758244;
}

/* Header and navigation */

.site-header {
    height: 96px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eeeee7;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 37px;
    font-size: 13px;
}

.site-header nav a {
    transition: opacity .2s;
}

.site-header nav a:hover {
    opacity: .55;
}

.nav-contact {
    border-left: 1px solid var(--line);
    padding-left: 36px;
}

.nav-contact span {
    margin-left: 18px;
}

/* Hero */

.hero {
    min-height: 660px;
    height: calc(100svh - 96px);
    max-height: 840px;
    position: relative;
    overflow: hidden;
    background: #c9c8ac;
}

.hero-art {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            90deg,
            rgba(225, 225, 197, .63),
            rgba(225, 225, 197, .13) 60%,
            rgba(187, 189, 159, .05)
        ),
        url('/images/Weatherlight_EP1.jpg');
    background-size: cover;
    background-position: center, center 75%;
    filter: saturate(.65);
}

.hero-content {
    position: relative;
    padding: 104px 8% 100px;
    z-index: 1;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 15px;
}

.little-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--ink);
}

h1 {
    font-size: clamp(64px, 6.9vw, 108px);
    line-height: 1.08;
    letter-spacing: -6px;
    font-weight: 500;
    margin: 33px 0 27px;
}

h1 em {
    font-style: normal;
    color: #5c634b;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #515647;
    margin-bottom: 30px;
}

.hero-bottom {
    position: absolute;
    bottom: 28px;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1.7px;
    font-weight: 500;
}

.hero-bottom a span {
    font-size: 18px;
    margin-left: 20px;
}

.hero-side {
    position: absolute;
    right: 25px;
    top: 45%;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 2px;
}

/* Music and listening panel */

.music {
    background: var(--dark);
    color: var(--paper);
}

.music .small-note {
    color: #a1a594;
}

.release-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.album {
    position: relative;
    max-width: 510px;
}

.album img {
    display: block;
    width: 100%;
    height: auto;
}

.album-corner {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: 1px solid #e9e9ce88;
    display: grid;
    place-items: center;
    color: #ecebd4;
    background: #292c2518;
}

.release-label {
    color: #c8cfaf;
    font-size: 9px;
}

.release-copy h2 {
    font-size: clamp(34px, 3.5vw, 53px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.18;
    margin: 22px 0;
}

.release-copy h2 span {
    display: block;
    color: #b9bea7;
}

.release-description {
    color: #b7baad;
    font-size: 14px;
    line-height: 1.9;
}

.release-meta {
    display: flex;
    gap: 20px;
    font-size: 8px;
    letter-spacing: 1.25px;
    border-top: 1px solid #ffffff22;
    padding-top: 20px;
    margin: 25px 0 29px;
}

.spotify-player {
    display: block;
    width: 100%;
    height: 352px;
    border: 0;
    border-radius: 12px;
    margin-bottom: 24px;
}

.listening-note {
    font-size: 10px;
    color: #969d88;
    margin: 17px 0 0;
}

.listen-panel {
    margin-top: 25px;
    border-top: 1px solid #ffffff22;
    padding-top: 20px;
}

.listen-panel > p {
    font-size: 12px;
    color: #b7baad;
    margin: 10px 0;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.platforms a {
    border: 1px solid #ffffff33;
    padding: 9px 12px;
    font-size: 11px;
}

.platforms a:hover {
    background: #ffffff15;
}

.platforms span {
    padding-left: 10px;
}

.listen-panel small {
    display: block;
    margin-top: 12px;
    font-size: 10px;
    color: #a1a594;
}

/* Live shows */

.live {
    padding-bottom: 70px;
}

.live .section-heading {
    margin-bottom: 38px;
}

.live-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center;
}

.live h2,
.about h2,
.newsletter h2 {
    font-weight: 500;
    font-size: 49px;
    letter-spacing: -2.3px;
    line-height: 1.14;
    margin-bottom: 0;
}

.live-update {
    border-left: 1px solid var(--line);
    padding: 6px 0 6px 37px;
}

.live-update .eyebrow {
    font-size: 9px;
}

.live-update h3 {
    font-size: 19px;
    font-weight: 500;
    margin: 15px 0 10px;
    letter-spacing: -.5px;
}

.live-update p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}

.show-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
}

.show-list li {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.show-list time {
    font-size: 10px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--muted);
}

.show-place {
    min-width: 0;
}

.show-place strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.show-place span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.show-tickets {
    gap: 8px;
    font-size: 10px;
    white-space: nowrap;
}

/* About the band */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-art {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 32px;
    background: var(--dark);
    display: grid;
    align-items: center;
    justify-content: center;
}

.about-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.about-art figcaption {
    margin-top: 20px;
    text-align: center;
    font-size: 8px;
    letter-spacing: 2px;
    color: #ececd9;
}

.band-moment {
    margin: 0;
    padding: 48px 8% 0;
}

.band-moment img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center 62%;
}

.band-moment figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    font-size: 9px;
    line-height: 1.7;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.about-copy {
    padding: 54px 16% 50px 13%;
}

.about h2 {
    font-size: 41px;
    margin: 22px 0;
}

.about-copy > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.85;
    color: #747869;
}

.about-signoff {
    display: block;
    margin-top: 22px;
    font-size: 12px;
}

.about-signoff > span {
    display: block;
    margin-top: 7px;
    color: #747869;
}

/* Newsletter */

.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 65px;
}

.newsletter h2 {
    font-size: 39px;
    margin: 15px 0 13px;
}

.newsletter > div > p:last-child {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.email-field {
    display: flex;
    border-bottom: 1px solid #969c85;
    padding-bottom: 12px;
    gap: 10px;
}

.email-field input {
    width: 100%;
    min-width: 0;
    background: none;
    border: 0;
    border-radius: 0;
    outline-offset: 1px;
    color: var(--ink);
    font-size: 13px;
    padding: 8px 0;
}

.email-field input::placeholder {
    color: #808473;
}

.email-field button {
    border: 0;
    background: transparent;
    white-space: nowrap;
    font-size: 12px;
    cursor: pointer;
    padding: 8px 0 8px 12px;
}

.email-field button span {
    margin-left: 20px;
}

.email-field button:hover {
    color: #778447;
}

.privacy-note {
    font-size: 10px;
    color: #848978;
    margin: 14px 0 0;
}

.form-message {
    font-size: 12px;
    line-height: 1.6;
    margin: 15px 0 0;
}

/* Footer */

.site-footer {
    margin: 0 6%;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer .band-logo {
    width: 140px;
}

.site-footer > span {
    font-size: 10px;
    color: var(--muted);
}

.site-footer > a:last-child {
    font-size: 8px;
    letter-spacing: 1px;
}

.site-footer > a:last-child span {
    font-size: 17px;
    margin-left: 25px;
}

/* Accessibility and HTMX feedback */

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

.skip-link {
    position: absolute;
    top: -100px;
    z-index: 10;
    background: var(--paper);
    padding: 15px;
}

.skip-link:focus {
    top: 0;
}

.htmx-request {
    opacity: .6;
}

/* Wide screens */

@media (min-width: 1600px) {
    .hero-content {
        padding-top: 130px;
    }

    .section-wrap {
        padding-left: max(8%, calc((100vw - 1250px) / 2));
        padding-right: max(8%, calc((100vw - 1250px) / 2));
    }
}

/* Tablets */

@media (max-width: 900px) {
    .hero {
        min-height: 620px;
        max-height: 750px;
    }

    .hero-content {
        padding-top: 110px;
    }

    h1 {
        font-size: 76px;
        letter-spacing: -4px;
    }

    .release-grid {
        gap: 6%;
    }

    .release-meta {
        gap: 12px;
        font-size: 7px;
    }

    .desktop-break {
        display: none;
    }

    .about-copy {
        padding: 40px 10%;
    }

    .about h2 {
        font-size: 35px;
    }

    .live h2 {
        font-size: 42px;
    }

    .newsletter {
        gap: 6%;
    }

    .newsletter h2 {
        font-size: 34px;
    }

    .site-header nav {
        gap: 25px;
    }

    .nav-contact {
        padding-left: 25px;
    }
}

/* Phones */

@media (max-width: 600px) {
    .site-header {
        height: 80px;
        padding: 0 6%;
    }

    .site-header .band-logo,
    .site-footer .band-logo {
        width: 125px;
    }

    .site-header nav {
        gap: 19px;
        font-size: 11px;
    }

    .nav-contact {
        display: none;
    }

    .show-list li {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 0;
    }

    .show-tickets {
        margin-top: 6px;
        justify-self: start;
    }

    .hero {
        height: 690px;
        min-height: 0;
        max-height: calc(100svh - 80px);
    }

    .hero-art {
        background-size: cover, auto 110%;
        background-position: center, 60% 60%;
    }

    .hero-content {
        padding: 85px 7% 90px;
    }

    .hero-kicker {
        font-size: 8px;
        letter-spacing: 1.2px;
        gap: 10px;
    }

    h1 {
        font-size: clamp(48px, 12vw, 72px);
        letter-spacing: -3.4px;
        margin: 31px 0 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-side {
        right: 12px;
        font-size: 7px;
    }

    .hero-bottom {
        font-size: 7px;
        letter-spacing: 1px;
        bottom: 22px;
    }

    .hero-bottom a span {
        margin-left: 7px;
    }

    .button {
        padding: 15px 20px;
    }

    .section-wrap {
        padding: 36px 7% 45px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .small-note {
        font-size: 9px;
        max-width: 130px;
        text-align: right;
    }

    .section-number {
        margin-right: 8px;
    }

    .release-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .album {
        max-width: none;
    }

    .release-copy h2 {
        font-size: 42px;
        margin: 17px 0;
    }

    .release-copy h2 span {
        display: inline;
        margin-left: 12px;
    }

    .release-description {
        font-size: 13px;
        max-width: 320px;
    }

    .release-meta {
        font-size: 8px;
        gap: 22px;
    }

    .live-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .live h2 {
        font-size: 42px;
    }

    .live h2 br {
        display: none;
    }

    .live-update {
        padding-left: 20px;
    }

    .live-update h3 {
        font-size: 18px;
    }

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

    .about-art {
        padding: 28px 12%;
    }

    .band-moment {
        padding: 28px 7% 0;
    }

    .band-moment img {
        aspect-ratio: 1484 / 1012;
    }

    .band-moment figcaption {
        flex-direction: column;
        gap: 4px;
    }

    .about-copy {
        padding: 38px 7% 42px;
    }

    .about h2 {
        font-size: 38px;
    }

    .about-copy > p:not(.eyebrow) {
        max-width: 370px;
    }

    .newsletter {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 43px;
        padding-bottom: 42px;
    }

    .newsletter h2 {
        font-size: 36px;
    }

    .site-footer {
        flex-wrap: wrap;
        gap: 23px;
        padding: 25px 0;
    }

    .site-footer > a:last-child {
        width: 100%;
        display: flex;
        justify-content: space-between;
        font-size: 7px;
    }

    .site-footer > a:last-child span {
        line-height: 1;
    }
}

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

    * {
        transition: none !important;
    }
}
