@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/BarlowCondensed-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

:root {
    --ink: #110414;
    --plum: #29052f;
    --plum-bright: #541260;
    --purple: #461150;
    --pink: #f34c91;
    --pink-hot: #ff5b9f;
    --cream: #fff8eb;
    --aqua: #7fc4c2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--cream);
    background: var(--ink);
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.shell {
    width: min(100% - 8vw, 1360px);
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--ink);
    background: var(--cream);
    transform: translateY(-180%);
}

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

.challenge-hero {
    position: relative;
    isolation: isolate;
    min-height: min(980px, 100svh);
    overflow: hidden;
    color: var(--cream);
    background: #315e61;
}

.challenge-hero__image,
.prize__image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.challenge-hero__image { object-position: 52% 49%; }

.challenge-hero__veil {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: rgba(17, 4, 20, .44);
}

.challenge-nav {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 30px;
}

.challenge-nav__brand { width: 142px; }
.challenge-nav__brand img,
.challenge-footer img { width: 100%; filter: brightness(0) invert(1); }

.challenge-nav__back {
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}

.challenge-nav__back:hover,
.challenge-nav__back:focus-visible { color: var(--pink-hot); }

.challenge-hero__content {
    display: flex;
    min-height: min(900px, calc(100svh - 78px));
    align-items: center;
    padding-block: 70px 58px;
}

.challenge-hero__copy { width: min(650px, 54vw); }

.challenge-hero h1 {
    max-width: 7ch;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(116px, 12.8vw, 208px);
    font-style: italic;
    font-weight: 900;
    line-height: .7;
    letter-spacing: -.03em;
    text-transform: uppercase;
    text-shadow: 0 3px 34px rgba(17, 4, 20, .3);
}

.challenge-hero__promise {
    margin: 34px 0 0;
    color: var(--pink-hot);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(38px, 4vw, 64px);
    font-style: italic;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.challenge-hero__meta {
    margin: 28px 0 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(22px, 2vw, 31px);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.challenge-button {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 16px 46px;
    border: 2px solid var(--ink);
    color: var(--ink);
    background: var(--pink-hot);
    box-shadow: 9px 9px 0 rgba(41, 5, 47, .95);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .01em;
    text-decoration: none;
    text-transform: uppercase;
    transform: skewX(-6deg);
    transition: box-shadow 160ms ease, transform 160ms ease, color 160ms ease, background-color 160ms ease;
}

.challenge-button:hover,
.challenge-button:focus-visible {
    color: var(--plum);
    background: var(--cream);
    box-shadow: 5px 5px 0 rgba(41, 5, 47, .95);
    transform: translate(4px, 4px) skewX(-6deg);
}

.challenge-button:focus-visible,
.challenge-nav__back:focus-visible {
    outline: 3px solid var(--cream);
    outline-offset: 5px;
}

.challenge-hero__reward {
    display: grid;
    width: min(560px, 100%);
    gap: 5px;
    margin-top: 34px;
    padding: 16px 24px;
    border: 2px solid var(--pink-hot);
    background: rgba(41, 5, 47, .55);
    transform: skewX(-3deg);
}

.challenge-hero__reward > * { transform: skewX(3deg); }

.challenge-hero__reward span,
.challenge-hero__reward strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 900;
    line-height: 1.02;
    text-transform: uppercase;
}

.challenge-hero__reward span {
    color: var(--pink-hot);
    font-size: 21px;
}

.challenge-hero__reward strong { font-size: clamp(23px, 2.1vw, 33px); }

.section-kicker {
    margin: 0;
    color: var(--pink-hot);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.journey {
    padding: clamp(84px, 10vw, 145px) 0;
    background: var(--plum);
}

.journey-steps {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.journey-step {
    display: grid;
    grid-template-columns: minmax(150px, .24fr) 1fr;
    align-items: center;
    gap: clamp(34px, 6vw, 96px);
    min-height: 190px;
    padding: 28px clamp(42px, 5vw, 78px);
    background: var(--purple);
    transform: skewX(-4deg);
}

.journey-step:nth-child(2) { background: var(--plum-bright); }
.journey-step > * { transform: skewX(4deg); }

.journey-step__number {
    color: var(--pink-hot);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(94px, 10vw, 158px);
    font-style: italic;
    font-weight: 900;
    line-height: .7;
    letter-spacing: -.04em;
}

.journey-step h3,
.selection h2,
.apply h2 {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
}

.journey-step h3 {
    font-size: clamp(40px, 5vw, 70px);
    line-height: .85;
    letter-spacing: -.025em;
}

.journey-step p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 248, 235, .78);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
}

.selection {
    padding: clamp(90px, 10vw, 150px) 0;
    color: var(--ink);
    background: var(--cream);
}

.selection__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
    gap: clamp(50px, 10vw, 150px);
}

.selection h2 {
    max-width: 13ch;
    margin-top: 20px;
    font-size: clamp(56px, 7vw, 100px);
    line-height: .82;
    letter-spacing: -.035em;
}

.selection__copy {
    padding-top: 38px;
    border-top: 3px solid var(--pink-hot);
}

.selection__copy p {
    margin: 0;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.7;
}

.selection__copy p + p { margin-top: 24px; }

.selection__benefits {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: clamp(24px, 5vw, 70px);
    background: var(--pink-hot);
}

.selection-benefit {
    min-height: 270px;
    padding: clamp(28px, 3.5vw, 48px);
    background: var(--ink);
}

.selection-benefit span {
    color: var(--pink-hot);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 900;
}

.selection-benefit h3 {
    margin: 50px 0 0;
    color: var(--cream);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(34px, 3.2vw, 52px);
    font-style: italic;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

.selection-benefit p {
    margin: 18px 0 0;
    color: rgba(255, 248, 235, .76);
    font-size: 15px;
    line-height: 1.6;
}

.prize {
    position: relative;
    isolation: isolate;
    min-height: 820px;
    overflow: hidden;
    background: var(--ink);
}

.prize__image { object-position: center; }

.prize__veil {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: rgba(17, 4, 20, .18);
}

.prize__content {
    display: flex;
    min-height: 820px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 100px;
    text-align: center;
}

.prize h2 {
    display: flex;
    flex-direction: column;
    margin: 30px 0 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 900;
    line-height: .64;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.prize h2 span { font-size: clamp(124px, 17vw, 245px); }
.prize h2 strong { color: var(--pink-hot); font-size: clamp(112px, 15vw, 215px); }

.prize p {
    margin: 50px 0 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(27px, 3vw, 44px);
    font-style: italic;
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.prize p em { color: var(--pink-hot); }

.challenge-button--light {
    color: var(--ink);
    background: var(--cream);
    box-shadow: 9px 9px 0 var(--pink-hot);
}

.challenge-button--light:hover,
.challenge-button--light:focus-visible {
    color: var(--ink);
    background: var(--pink-hot);
    box-shadow: 5px 5px 0 var(--cream);
}

.apply {
    padding: clamp(90px, 11vw, 160px) 0;
    color: var(--cream);
    background: var(--pink);
    text-align: center;
}

.apply__inner { max-width: 980px; }

.apply h2 {
    margin: 0 auto;
    font-size: clamp(72px, 10vw, 146px);
    line-height: .78;
    letter-spacing: -.045em;
}

.apply p:not(.section-kicker, .apply__pending) {
    max-width: 690px;
    margin: 34px auto 0;
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.6;
}

.apply .challenge-button { margin-top: 40px; background: var(--cream); }

.apply__pending {
    display: inline-block;
    margin: 38px 0 0;
    padding: 14px 20px;
    color: var(--cream);
    background: var(--plum);
    font-weight: 700;
}

.challenge-footer {
    padding: 42px 0;
    color: rgba(255, 248, 235, .72);
    background: var(--ink);
}

.challenge-footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}

.challenge-footer__inner > a:first-child { width: 116px; }

.challenge-footer p {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.challenge-footer__ticket {
    padding: 10px 18px;
    border: 2px solid var(--pink-hot);
    color: var(--ink);
    background: var(--pink-hot);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transform: skewX(-6deg);
    transition: color 160ms ease, background-color 160ms ease;
}

.challenge-footer__ticket:hover,
.challenge-footer__ticket:focus-visible {
    color: var(--pink-hot);
    background: transparent;
}

@media (max-width: 900px) {
    .challenge-hero { min-height: 980px; }
    .challenge-hero__image { object-position: 60% center; }
    .challenge-hero__veil { background: rgba(17, 4, 20, .58); }
    .challenge-hero__content { min-height: 900px; align-items: flex-end; padding-bottom: 64px; }
    .challenge-hero__copy { width: min(680px, 100%); }
    .challenge-hero h1 { font-size: clamp(100px, 19vw, 160px); }
    .selection__grid { grid-template-columns: 1fr; gap: 50px; }
    .selection h2 { max-width: 14ch; }
    .selection__copy { max-width: 700px; padding-top: 28px; }
    .selection__benefits { grid-template-columns: 1fr; }
    .selection-benefit { min-height: 0; }
    .selection-benefit h3 { margin-top: 28px; }
    .challenge-footer__inner { grid-template-columns: 1fr auto; }
    .challenge-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 640px) {
    .shell { width: min(100% - 2.25rem, 1360px); }

    .challenge-hero {
        min-height: 920px;
        background: var(--plum);
    }

    .challenge-hero__image {
        height: 55%;
        object-position: center 48%;
    }

    .challenge-hero__veil { background: rgba(17, 4, 20, .32); }

    .challenge-nav { padding-top: 22px; }
    .challenge-nav__brand { width: 108px; }
    .challenge-nav__back { font-size: 14px; }

    .challenge-hero__content {
        min-height: 920px;
        align-items: flex-end;
        padding-block: 260px 40px;
    }

    .challenge-hero__copy { width: 100%; }
    .challenge-hero h1 { font-size: clamp(76px, 22vw, 100px); line-height: .72; letter-spacing: -.035em; }
    .challenge-hero__promise { margin-top: 26px; font-size: clamp(35px, 11vw, 50px); }
    .challenge-hero__meta { margin-top: 22px; font-size: 21px; }
    .challenge-button { width: calc(100% - 9px); min-height: 58px; padding-inline: 26px; font-size: 28px; }
    .challenge-hero__reward { margin-top: 30px; padding: 14px 18px; }
    .challenge-hero__reward strong { font-size: 22px; }

    .journey { padding-block: 76px; }
    .journey-step {
        grid-template-columns: 92px 1fr;
        gap: 22px;
        min-height: 155px;
        padding: 22px 26px;
        transform: skewX(-2deg);
    }
    .journey-step > * { transform: skewX(2deg); }
    .journey-step__number { font-size: 76px; }
    .journey-step h3 { font-size: 37px; }
    .journey-step p { margin-top: 10px; font-size: 13px; }

    .selection { padding-block: 76px; }
    .selection h2 { font-size: 54px; }
    .selection__copy { padding-top: 22px; }
    .selection__benefits { margin-top: 10px; }

    .prize,
    .prize__content { min-height: 660px; }
    .prize__content { padding-block: 78px; }
    .prize h2 { margin-top: 38px; }
    .prize h2 span { font-size: clamp(92px, 30vw, 128px); }
    .prize h2 strong { font-size: clamp(88px, 28vw, 120px); }
    .prize p { margin-top: 42px; font-size: 26px; }

    .apply { padding-block: 82px; }
    .apply h2 { font-size: clamp(64px, 20vw, 90px); }

    .challenge-footer__inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .challenge-footer p { grid-column: auto; grid-row: auto; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .challenge-button { transition: none; }
}
