:root {
    --panel-background: rgba(0, 0, 0, 0.46);
    --panel-border: rgba(255, 255, 255, 0.18);
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.82);
    --accent: #c11224;
    --accent-hover: #9f0e1d;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: #000000;
}

body {
    color: var(--text-light);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
}

/* Full-screen slideshow */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
    transition:
        opacity 1.25s ease-in-out,
        transform 7s ease-out,
        visibility 0s linear 1.25s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1.07);
    transition:
        opacity 1.25s ease-in-out,
        transform 7s ease-out,
        visibility 0s;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.32) 0%,
            rgba(0, 0, 0, 0.08) 35%,
            rgba(0, 0, 0, 0.18) 62%,
            rgba(0, 0, 0, 0.7) 100%
        );
}

/* Upper-left band title */

.site-header {
    position: relative;
    z-index: 3;
    padding: 1.1rem 0;
}

.site-name {
    color: #ffffff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.site-name:hover,
.site-name:focus {
    color: #ffffff;
}

/* Hide social icons for now */

.social-links {
    display: none;
}

/* Position the form in the lower third */

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 2rem 0 7.5rem;
}

.signup-panel {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 1.15rem;
    background: var(--panel-background);
    border: 1px solid var(--panel-border);
    border-radius: 0.8rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.signup-title {
    margin: 0;
    color: #ffffff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
}

.intro-text {
    max-width: 410px;
    margin-right: auto;
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

/* Mailchimp form */

.form-control {
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    color: #111111;
    background: rgba(255, 255, 255, 0.97);
    border: 2px solid transparent;
    border-radius: 0.45rem;
    font-size: 0.92rem;
}

.form-control::placeholder {
    color: #6c757d;
}

.form-control:focus {
    color: #111111;
    background: #ffffff;
    border-color: #ff5363;
    box-shadow: 0 0 0 0.18rem rgba(193, 18, 36, 0.25);
}

.btn-danger {
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 0.45rem;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.privacy-note {
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.7rem;
}

.mailchimp-trap {
    position: absolute;
    left: -5000px;
}

/* Slideshow dots */

.slide-indicators {
    position: absolute;
    right: 0;
    bottom: 3.2rem;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}

.slide-indicator {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        transform 150ms ease;
}

.slide-indicator:hover,
.slide-indicator:focus,
.slide-indicator.is-active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Footer */

.site-footer {
    position: relative;
    z-index: 3;
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    text-align: center;
}

/* Mobile */

@media (max-width: 767.98px) {
    .site-header {
        padding-top: 0.85rem;
    }

    .site-name {
        font-size: 1.45rem;
    }

    .hero-content {
        align-items: flex-end;
        padding: 1rem 0 6.5rem;
    }

    .signup-panel {
        max-width: 94%;
        padding: 1rem;
    }

    .signup-title {
        font-size: 1.45rem;
    }

    .intro-text {
        font-size: 0.84rem;
    }

    .slide-indicators {
        bottom: 2.9rem;
    }
}

/* Short desktop screens */

@media (max-height: 720px) and (min-width: 768px) {
    .hero-content {
        padding-bottom: 5.5rem;
    }

    .signup-panel {
        padding: 1rem;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transform: none;
        transition: opacity 0.4s linear;
    }

    .hero-slide.is-active {
        transform: none;
    }
}