@font-face {
    font-family: 'Intro';
    src: url('../fonts/Intro/IntroRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fresno Black";
    src: url("../fonts/FresnoBlack/font.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0d0d0d;
    --white: #fff;
    --orange: #ff7100;
    --content-width: 1124px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    color: var(--black);
    background: var(--white);
    font-family: "Intro", Arial, sans-serif;
}

button,
select {
    font: inherit;
}

.page {
    min-height: 100vh;
    display: grid;
    grid-template-rows: minmax(650px, 1fr) auto;
}

.hero {
    position: relative;
    z-index: 0;
    min-height: 760px;
    padding: 30px 24px 150px;
    color: var(--white);
    background: var(--black);
    width: 110%;
    max-width: 100vw;
    border-radius: 0 0 50% 50% / 0 0 120px 120px;
}

.hero::after {
    display: none;
    content: "";
    position: absolute;
    z-index: -1;
    left: -5%;
    right: -5%;
    bottom: -1px;
    height: 190px;
    background: var(--white);
}

.hero-inner,
.footer-inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.back-link {
    display: inline-flex;
    color: inherit;
    font-family: "Fresno Black", Impact, sans-serif;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.panel {
    width: min(750px, 100%);
    min-height: 503px;
    margin: 140px auto 0;
    padding: 74px 64px 66px;
    color: var(--black);
    background: var(--white);
    border-radius: 48px 0 48px 0;
    text-align: center;
}

h1 {
    margin: 0 0 20px;
    font-family: "Fresno Black", Impact, sans-serif;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.1;
    text-transform: uppercase;
}

.pledge {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 20px;
    line-height: 1.45;
}

.pledge li+li {
    margin-top: 14px;
}

.club-form {
    width: min(444px, 100%);
    margin: 32px auto -83px;
}

.select-wrap {
    position: relative;
}

.form-field {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.select-wrap input {
    font-size: 16px;
}

#suggestionList {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 180px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    background: var(--white);
    border: 1px solid rgba(13, 13, 13, 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(13, 13, 13, 0.12);
    text-align: left;
}

#suggestionList li {
    padding: 10px 12px;
    color: var(--black);
    font-size: 15px;
    line-height: 1.3;
    cursor: pointer;
}

#suggestionList li:hover,
#suggestionList li:focus-visible {
    background: #f5f5f5;
    outline: none;
}

#secondary {
    width: 100%;
}

.select-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    width: 100%;
}

.select-field {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
}

.field-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field-select {
    width: 100%;
    height: 56px;
    padding: 0 42px 0 18px;
    color: var(--black);
    background: var(--white);
    background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px;
    background-repeat: no-repeat;
    border: 2px solid var(--black);
    border-radius: 3px;
    font: inherit;
    appearance: none;
    cursor: pointer;
}

select {
    width: 100%;
    height: 56px;
    padding: 0 48px 0 18px;
    color: #aaa;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 3px;
    text-align: center;
    appearance: none;
    cursor: pointer;
}

.select-wrap::after {
    content: "⌄";
    position: absolute;
    top: 50%;
    right: 18px;
    color: #888;
    transform: translateY(-58%);
    pointer-events: none;
}

.submit-button {
    font-family: 'Intro', sans-serif;
    font-weight: 800;
    display: block;
    min-width: 190px;
    margin: 40px auto 0;
    padding: 12px 24px 10px;
    color: var(--white);
    background: var(--orange);
    border: 0;
    border-radius: 999px;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 20px;
    letter-spacing: 0;
}np

.submit-button:hover {
    background: #e96500;
}

footer {
    padding: 10px 24px 18px;
}

.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-family: "Fresno Black", Impact, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.credit {
    font-size: 15px;
}

@media (max-width: 700px) {
    .page {
        grid-template-rows: auto auto;
    }

    .hero {
        width: 100%;
        min-height: 620px;
        padding: 18px 18px 82px;
        border-radius: 0 0 38% 38% / 0 0 64px 64px;
        overflow-x: hidden;
    }

    .hero::after {
        height: 90px;
    }

    .panel {
        min-height: auto;
        margin-top: 58px;
        padding: 48px 22px 54px;
        border-radius: 34px 0 34px 0;
    }

    h1 {
        font-size: 29px;
    }

    .pledge {
        font-size: 17px;
        line-height: 1.25;
    }

    .pledge li+li {
        margin-top: 8px;
    }

    .club-form {
        margin-bottom: -75px;
    }

    .footer-inner {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}