/*
    Colors:
    White: #FFFFFF
    Gold: #F1C87A
    Red: #220A09
*/

@font-face {
    font-family: "Heroic Condensed";
    src: url("./Fonts/Heroic/HeroicCondensed%20Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Heroic Condensed";
    src: url("./Fonts/Heroic/HeroicCondensed%20Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Heroic Condensed";
    src: url("./Fonts/Heroic/HeroicCondensed%20Heavy.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Heroic Condensed";
    src: url("./Fonts/Heroic/HeroicCondensed%20Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Marvin Visions";
    src: url("./Fonts/MarvinVisions-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./Fonts/Inter/Inter-VariableFont_opsz%2Cwght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-white: #ffffff;
    --color-gold: #f1c87a;
    --color-red: #220a09;
    --font-display: "Heroic Condensed", Impact, "Arial Narrow", sans-serif;
    --font-display-alt: "Marvin Visions", "Heroic Condensed", Impact, sans-serif;
    --font-body: "Inter", Helvetica, Arial, sans-serif;
    --page-max: 90vw;
    --form-max: 785px;
    --content-pad: clamp(1.25rem, 5vw, 2.5rem);
    --band-width: min(3455px, 180vw);
    --band-aspect-w: 1920;
    --band-aspect-h: 1080;
    --band-height: calc(var(--band-width) * var(--band-aspect-h) / var(--band-aspect-w));
}

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

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--color-white);
    font-family: var(--font-body);
    background-color: var(--color-red);
    background-image: url("../img/Smoke.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

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

p {
    margin: 0;
}

.page {
    position: relative;
    z-index: 1;
    width: var(--page-max);
    margin: 0 auto;
    text-align: center;
}

.gold {
    color: var(--color-gold);
}

.white {
    color: var(--color-white);
}

.gray {
    opacity: 0.75;
}

/****** 
    --- Hero --- 
******/
.hero {
    min-height: 100vh;
    min-height: 100svh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: clamp(100px, 2vw, 150px);
    margin-bottom: 150px;
    position: relative;
}

/* --- Logos --- */

.logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.logo--jacksons {
    width: min(100%, 34rem);
}

.logo--sister {
    width: min(92%, 24rem);
}

/* --- Tagline & CTA --- */

.tagline {
    margin: 0 0 clamp(6rem, 4vw, 2.25rem);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.25rem, 4vw, 3rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
}

.tagline__genres {
    font-weight: 800;
    font-size: clamp(0.5rem, 4.5vw, 3.75rem);
    letter-spacing: 0.05em;
    font-family: var(--font-display-alt)
}

.event__title--mobile {
    font-family: var(--font-display-alt);
    font-weight: 900;
    font-size: clamp(4rem, 10vw, 6.25rem);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: none;
}

.early-access-container {
    margin-top: auto;
    margin-bottom: clamp(40px, 5vw, 100px);
}

.early-access {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1rem, 7vw, 3.25rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.caret {
    width: 1.5rem;
    height: auto;
    margin: 0 auto;
}


/****** 
    --- Info Section --- 
******/
.info {
    min-height: 100vh;
    min-height: 100svh;
    height: 100%;
    display: block;
    position: relative;
    flex-direction: column;
    justify-content: center;
}


/* --- Event --- */
.event__title {
    font-family: var(--font-display-alt);
    font-weight: 900;
    font-size: clamp(4rem, 10vw, 6.25rem);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.event__date, .event__date-mobile {
    color: var(--color-gold);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: clamp(2rem, 10vw, 4rem);
}

.event__date {
    font-size: clamp(1.75rem, 10vw, 5.25rem);

}

.event__venue {
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 10vw, 4.5rem);
    text-transform: uppercase;
}

/* --- Form --- */

.signup {
    margin-bottom: 3rem;
}

.form {
    width: min(100%, var(--form-max));
    margin: 0 auto;
    text-align: left;
}

.field {
    margin-bottom: 1.5rem;
}

.field__control {
    position: relative;
}

.field__label {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 0.45rem;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-white);
    opacity: 0.5;
    pointer-events: none;
    transform-origin: left bottom;
    transition:
        top 0.2s ease,
        bottom 0.2s ease,
        font-size 0.2s ease,
        opacity 0.2s ease;
}

.field__input {
    display: block;
    width: 100%;
    padding: 1.25rem 0 0 0;
    border: 0;
    border-bottom: 1px solid var(--color-white);
    border-radius: 0;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.2;
    outline: none;
    appearance: none;
}

.field__input:focus {
    border-bottom-color: var(--color-gold);
}

.field__control:focus-within .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__input.is-focused + .field__label,
.field__input.is-filled + .field__label {
    top: 0;
    bottom: auto;
    font-size: 0.7rem;
    opacity: 0.5;
}

.field__input.field__input--invalid {
    border-bottom-color: #e57373;
}

.field__error {
    margin: 0.35rem 0 0;
    color: #e57373;
    font-family: var(--font-body);
    font-size: 0.7rem;
    line-height: 1.3;
}

.privacy {
    margin: 0.25rem 0 1rem;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 200;
    line-height: 1.45;
    color: var(--color-white);
    text-align: left;
    font-style: italic;
}

.privacy__link {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy__link:hover,
.privacy__link:focus-visible {
    color: var(--color-gold);
}

.consent {
    margin-bottom: 1.5rem;
}

.consent__label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    align-items: center;
}

.consent__input {
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--color-white);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    accent-color: var(--color-gold);
}

.consent__input:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23220A09' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.85rem;
}

.consent__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.consent__text,
.consent__note {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.45;
    color: var(--color-white);
}

.consent__note {
    margin: 0.25rem 0 1rem;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 200;
    line-height: 1.45;
    font-style: italic;
}

.submit {
    display: block;
    width: 100%;
    padding: 10px 1.25rem;
    border: 0;
    border-radius: 20px;
    background: var(--color-gold);
    color: var(--color-red);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.submit:hover {
    filter: brightness(1.05);
}

.submit:active {
    transform: scale(0.99);
}

.submit:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}

.success {
    margin: 0 auto;
    max-width: var(--form-max);
    padding: 1.5rem 0.5rem;
    color: var(--color-gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.35rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.35;
}

.success[hidden],
.form[hidden],
.field__error[hidden] {
    display: none;
}

/* --- Sale dates --- */
.sales {
    position: relative;
    z-index: 1;
    margin: 0 auto clamp(1.25rem, 3.5vw, 2rem);
    max-width: 1075px;
    width: 100%;
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
}

.sales__block {
    padding: clamp(0.85rem, 2.4vw, 1.1rem) 0.5rem;
}

.sales__block + .sales__block {
    border-top: 2px solid var(--color-gold);
}

.sales__label {
    margin: 0 0 0.3rem;
    font-family: var(--font-display-alt);
    letter-spacing: 0.05em;
    font-weight: 400;
    font-size: clamp(0.5rem, 10vw, 1.5rem);
    text-transform: uppercase;
}

.sales__datetime {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 9vw, 4rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
}

/* --- Footer band --- */
/* Outside .page: 140vw wide; container ~30% shorter, image full-size + clipped */
.band {
    position: relative;
    z-index: 0;
    width: var(--band-width);
    max-width: none;
    height: calc(var(--band-height));
    margin-top: calc(var(--band-height) * -0.25);
    margin-right: 0;
    margin-left: calc(50vw - (var(--band-width) / 2));
    overflow: hidden;
}

.band picture,
.band__photo {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

@media (max-height: 500px) and (orientation: landscape) {
    .logos {
        margin-bottom: 0.65rem;
    }

    .logo--jacksons {
        width: min(55vw, 22rem);
    }

    .logo--sister {
        width: min(42vw, 15rem);
    }

    .caret {
        margin-bottom: 1rem;
    }

    .band {
        margin-top: calc(var(--band-height) * 0.45);
    }
}

@media (max-width: 833px) {
    /****** Hero Section ******/
    .logo--jacksons {
        width: 100%;
    }
    
    .logo--sister {
        width: 40%;
    }
    
    .tagline {
        letter-spacing: 0.05em;
    }

    .event__title--mobile {
        display: block;
        line-height: .9;
    }
    
    .early-access {
        letter-spacing: 0.05em;
    }

    .caret {
        width: 1.25rem;
        height: auto;
    }
    
    /****** Info Section ******/
    .info {
        display: block;
    }

    .event {
        padding-bottom: 1.5rem
    }

    .event__title {
        display: none;
    }

    .event__date {
        display: none;
    }
    
    .event__date-mobile {
        display: block
    }

    /* Form */
    .form {
        width: 100%;
    }

    .field {
        margin-bottom: 0.5rem;
    }

    .privacy {
        margin: 1rem 0 1.5rem;
    }

    .consent {
        margin-bottom: 2.5rem;
    }
    
    .consent__text {
        font-size: .85rem;
    }
}

@media (min-width: 834px) {
    .mobile-break {
        display: none;
    }

    .info {
        min-height: auto;
    }

    .band {
        margin-top: calc(
            (var(--band-height) * -0.25)
            - ((100vw - 834px) * 0.18)
        );
    }

    .logo--jacksons {
        width: min(100%, 1210px);
    }

    .logo--sister {
        width: min(90%, 550px);
    }

    .event__date {
        max-height: 90px;
    }

    .event__date-mobile {
        display: none;
    }
}
