:root {
    --phone-width: 430px;
    --poster-width: 100vw;
    --ink: #050505;
    --blue: #2848ef;
    --paper: #ffffff;
}

@font-face {
    font-family: "MINI Serif";
    src: url("../assets/rsvp/fonts/mini-serif-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MINI Serif";
    src: url("../assets/rsvp/fonts/mini-serif-bold.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MINI Serif";
    src: url("../assets/rsvp/fonts/mini-serif-italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "MINI Serif", Georgia, "Times New Roman", serif;
    background: #000;
    color: var(--ink);
}

button,
input,
select,
textarea {
    font: inherit;
}

.public-body {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.phone-shell {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    background: var(--paper);
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
}

.phone-shell.poster-shell {
    width: var(--poster-width);
}

.phone-shell.details-shell {
    min-height: auto;
}

.poster-screen {
    position: relative;
    min-height: 100dvh;
    background: #000;
}

.poster-screen img {
    display: block;
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}

.poster-hotspot {
    position: absolute;
    left: 13.85%;
    width: 39.2%;
    height: 4.85%;
    overflow: hidden;
    color: transparent;
    border-radius: 999px;
}

.poster-hotspot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.poster-register {
    top: 69.8%;
}

.poster-learn {
    top: 76.85%;
}

.white-screen {
    position: relative;
    min-height: 100dvh;
    background: #fff;
    padding: 28px 20px 58px;
}

.details-screen {
    min-height: auto;
    padding: 24px 30px 42px;
}

.details-copy h1,
.details-copy h2,
.details-copy h3,
.choice-copy h1,
.rsvp-form h1,
.thanks-copy h1 {
    margin: 0;
    text-align: center;
    font-weight: 800;
    line-height: .98;
}

.details-copy h1 {
    font-size: 24px;
}

.details-copy h2 {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 16px;
}

.details-copy h3,
.rsvp-form h2 {
    font-size: 10px;
    text-align: left;
    margin: 12px 0 5px;
    font-weight: 800;
}

.details-copy p,
.details-copy li {
    font-size: 10px;
    line-height: 1.12;
    margin: 0 0 9px;
}

.details-copy ul {
    margin: 0 0 9px 12px;
    padding: 0;
}

.details-copy .compact-list {
    margin: 0 0 8px 12px;
    padding: 0;
}

.details-copy .compact-list li {
    margin: 0 0 2px;
    line-height: 1.08;
}

.details-copy .nested-list {
    margin-top: 1px;
    margin-bottom: 0;
}

.event-lines {
    margin: 0 0 10px;
}

.event-line {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    line-height: 1.12;
}

.event-line:first-child {
    color: #df1d1d;
}

.detail-icon {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 0;
    overflow: hidden;
    color: #111;
    font-family: "Material Symbols Outlined";
    font-size: 10px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20;
}

.detail-icon.pin {
    color: #df1d1d;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 20;
}

.detail-info-list {
    margin-bottom: 10px;
}

.detail-info {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 7px;
    align-items: start;
    margin-bottom: 9px;
}

.detail-info.no-icon {
    display: block;
    padding-left: 0;
}

.detail-info p {
    margin-bottom: 0;
}


.black-pill,
.choice-pill {
    min-height: 32px;
    border-radius: 999px;
    border: 1.5px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
}

.black-pill {
    background: #000;
    color: #fff;
}

.details-button {
    width: 108px;
}

.details-cta {
    margin-top: 0;
}

.choose-screen {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 29dvh;
}

.choice-copy {
    width: min(340px, calc(100% - 40px));
    text-align: center;
}

.choice-copy h1 {
    font-size: 30px;
    margin-bottom: 8px;
}

.choice-copy > p {
    font-size: 13px;
    margin: 0 0 26px;
}

.choice-pill {
    width: 100%;
    background: #fff;
    color: #000;
    line-height: .9;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
}

.choice-pill.solid {
    background: #000;
    color: #fff;
}

.choice-note {
    font-size: 12px !important;
    line-height: 1.15;
    margin: 12px 0 28px !important;
}

.next-choice {
    width: 154px;
    min-height: 48px;
    margin-top: 28px;
    font-size: 16px;
}

.form-screen {
    padding: 34px 22px 58px;
}

.player-form-screen {
    min-height: 100dvh;
    padding: 6.8dvh 34px 58px;
}

.rsvp-form h1 {
    font-size: 20px;
    margin: 0 0 24px;
}

.player-form-screen .rsvp-form h1 {
    font-size: 24px;
    margin-bottom: 18px;
}

.rsvp-form h2 {
    margin-top: 11px;
}

.helper {
    margin: -2px 0 8px;
    font-size: 10px;
    line-height: 1.05;
}

.rsvp-input {
    display: block;
    width: 100%;
    min-height: 21px;
    margin: 5px 0;
    border: 1.4px solid #000;
    border-radius: 999px;
    padding: 4px 13px;
    color: #111;
    background: #fff;
    font-size: 10px;
    line-height: 1;
}

.player-form-screen .rsvp-input {
    min-height: 30px;
    margin: 7px 0;
    padding: 5px 16px;
    font-size: 11px;
}

select.rsvp-input {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 15px) 8px, calc(100% - 8px) 8px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.player-form-screen select.rsvp-input {
    background-position: calc(100% - 17px) 11px, calc(100% - 9px) 11px;
}

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 14px;
}

.segmented input {
    position: absolute;
    opacity: 0;
}

.segmented span {
    min-height: 36px;
    border: 1.4px solid #000;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.segmented input:checked + span {
    background: #000;
    color: #fff;
}

.form-next {
    width: 106px;
    border: 0;
    margin: 20px auto 0;
    display: flex;
}

.player-form-screen .form-next {
    width: 140px;
    min-height: 37px;
    margin-top: 34px;
    font-size: 13px;
}

.guest-form-screen {
    padding: 26dvh 38px 58px;
}

.guest-form-screen .rsvp-form h1 {
    font-size: 23px;
    margin-bottom: 31px;
}

.guest-form-screen .rsvp-form h2 {
    font-size: 12px;
    margin: 0 0 10px;
}

.guest-form-screen .rsvp-input {
    min-height: 27px;
    margin: 8px 0;
    padding: 5px 18px;
    font-size: 11px;
}

.guest-form-screen .helper {
    font-size: 11px;
    line-height: 1.15;
    margin: -5px 0 8px;
}

.guest-form-screen .form-next {
    width: 140px;
    min-height: 37px;
    margin-top: 29px;
    font-size: 13px;
}

.guest-form-screen .rsvp-form h2:nth-of-type(2) {
    margin-top: 18px;
}

.form-errors {
    border: 1px solid #111;
    padding: 8px 10px;
    margin-bottom: 12px;
    font-size: 10px;
}

.form-errors ul {
    margin: 5px 0 0 14px;
    padding: 0;
}

.thanks-screen {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-copy {
    margin-top: -30px;
}

.thanks-copy h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

.thanks-copy p {
    font-size: 15px;
    line-height: 1.15;
    margin: 0;
    font-style: italic;
}

.guest-confirmation-screen {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    color: #fff;
    background: #050505;
}

.guest-confirmation-screen::before {
    content: "";
    position: absolute;
    inset: -12px;
    background: url("../assets/rsvp/hero.png") 52% 35% / auto 180% no-repeat;
    filter: brightness(.42) blur(1.8px);
    transform: scale(1.04);
}

.guest-confirmation-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, .76), rgba(0, 0, 0, .22) 28%, rgba(0, 0, 0, .34) 62%, rgba(0, 0, 0, .72)),
        linear-gradient(90deg, rgba(0, 0, 0, .36), transparent 34%, transparent 66%, rgba(0, 0, 0, .34));
}

.confirmation-frame {
    position: relative;
    z-index: 2;
    min-height: calc(100dvh - 78px);
    margin: 36px 37px 0;
    padding: 0;
    border-right: 8px solid var(--blue);
    border-bottom: 8px solid var(--blue);
    border-left: 8px solid var(--blue);
}

.confirmation-frame::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 84px;
    border-top: 8px solid var(--blue);
}

.confirmation-frame h1 {
    margin: -4px 0 0 -8px;
    font-size: 43px;
    line-height: .9;
    font-weight: 800;
}

.confirmation-date {
    margin: 3px 0 0 -4px;
    font-size: 25px;
    line-height: 1;
}

.confirmation-card {
    width: 216px;
    margin: 75px auto 0;
    text-align: center;
}

.confirmation-dealer {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.confirmation-qr {
    display: block;
    width: 170px;
    height: 170px;
    margin: 0 auto 10px;
    background: #fff;
}

.confirmation-message {
    margin: 0 0 13px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.05;
}

.confirmation-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 174px;
    min-height: 34px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
}

.guest-confirmation-screen .mini-mark {
    z-index: 2;
    filter: invert(1);
}

.mini-mark {
    position: absolute;
    right: 19px;
    bottom: 18px;
    width: 54px;
    height: auto;
    display: block;
}

@media (min-width: 333px) {
    .phone-shell {
        margin-inline: auto;
    }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .phone-shell {
        width: var(--phone-width);
        box-shadow: 0 0 0 1px #777;
    }

    .phone-shell.poster-shell {
        width: var(--phone-width);
    }

    .phone-shell.details-shell {
        min-height: 100dvh;
    }

    .details-screen {
        min-height: 100dvh;
        padding: 3.5dvh 4.3dvh 2.2dvh;
    }

    .details-shell .details-copy h1 {
        font-size: clamp(28px, 4.1dvh, 42px);
    }

    .details-shell .details-copy h2 {
        font-size: clamp(20px, 2.8dvh, 29px);
        margin-bottom: 2.5dvh;
    }

    .details-shell .details-copy h3,
    .details-shell .details-copy p,
    .details-shell .details-copy li,
    .details-shell .event-line {
        font-size: clamp(11px, 1.55dvh, 16px);
        line-height: 1.16;
    }

    .details-shell .details-copy h3 {
        margin-top: 1.65dvh;
        margin-bottom: .65dvh;
    }

    .details-shell .event-lines {
        margin-bottom: 1.4dvh;
    }

    .details-shell .detail-info-list {
        margin-bottom: 1.4dvh;
    }

    .details-shell .detail-info {
        margin-bottom: 1.55dvh;
    }

    .details-shell .details-copy .compact-list li {
        margin-bottom: .4dvh;
    }

    .details-shell .details-cta {
        margin-top: 1.8dvh;
    }

    .details-shell .details-button {
        width: 14.2dvh;
        min-height: 4.5dvh;
        font-size: clamp(11px, 1.45dvh, 15px);
    }

    .details-shell .mini-mark {
        right: 3.1dvh;
        bottom: 2.5dvh;
    }
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    .phone-shell,
    .phone-shell.poster-shell,
    .phone-shell.details-shell {
        width: 100vw;
        min-height: 100dvh;
        box-shadow: none;
    }

    .white-screen {
        padding-inline: 0;
    }

    .poster-screen img {
        width: 100vw;
        height: 100dvh;
        object-fit: cover;
    }

    .rsvp-form,
    .details-copy,
    .choice-copy {
        width: min(84vw, 448px);
        max-width: none;
        margin-inline: auto;
    }

    .rsvp-form h1 {
        font-size: clamp(23px, 6.25vw, 29px);
        margin-bottom: clamp(27px, 7.6vw, 36px);
    }

    .rsvp-form h2 {
        font-size: clamp(12px, 3.2vw, 15px);
        margin: 0 0 10px;
    }

    .rsvp-input {
        min-height: clamp(29px, 7.2vw, 36px);
        margin: clamp(7px, 1.9vw, 10px) 0;
        padding: 6px clamp(17px, 4.6vw, 22px);
        border-width: 1.5px;
        font-size: clamp(11px, 3vw, 14px);
        line-height: 1.1;
    }

    select.rsvp-input {
        background-position: calc(100% - 18px) 11px, calc(100% - 9px) 11px;
    }

    .helper {
        font-size: clamp(11px, 3vw, 14px);
        line-height: 1.18;
    }

    .form-next,
    .guest-form-screen .form-next,
    .player-form-screen .form-next {
        width: clamp(138px, 36vw, 172px);
        min-height: clamp(36px, 9.5vw, 45px);
        margin-top: clamp(28px, 7vw, 38px);
        font-size: clamp(12px, 3.2vw, 15px);
    }

    .guest-form-screen {
        padding: 25.8dvh 0 58px;
    }

    .guest-form-screen .rsvp-form h1 {
        font-size: clamp(23px, 6.25vw, 29px);
        margin-bottom: clamp(30px, 8vw, 38px);
    }

    .guest-form-screen .rsvp-form h2 {
        font-size: clamp(12px, 3.2vw, 15px);
        margin-bottom: 10px;
    }

    .guest-form-screen .rsvp-input {
        min-height: clamp(29px, 7.2vw, 36px);
        margin: clamp(7px, 1.9vw, 10px) 0;
        padding: 6px clamp(17px, 4.6vw, 22px);
        font-size: clamp(12px, 3.05vw, 14px);
    }

    .guest-form-screen .helper {
        font-size: clamp(11px, 3vw, 14px);
        line-height: 1.18;
    }

    .guest-form-screen .rsvp-form h2:nth-of-type(2) {
        margin-top: clamp(19px, 5vw, 25px);
    }

    .player-form-screen {
        padding: clamp(38px, 7.2dvh, 66px) 0 68px;
    }

    .player-form-screen .rsvp-form {
        width: min(84vw, 448px);
    }

    .player-form-screen .rsvp-form h1 {
        font-size: clamp(23px, 5.45vw, 31px);
        margin-bottom: clamp(17px, 4vw, 22px);
    }

    .player-form-screen .rsvp-input {
        min-height: clamp(29px, 6vw, 35px);
        margin: clamp(6px, 1.5vw, 8px) 0;
        font-size: clamp(12px, 2.7vw, 14px);
    }

    .player-form-screen .rsvp-form h2,
    .player-form-screen .helper {
        font-size: clamp(11px, 2.6vw, 13px);
    }

    .segmented {
        gap: clamp(8px, 2.2vw, 12px);
        margin-bottom: clamp(14px, 3.5vw, 18px);
    }

    .segmented span {
        min-height: clamp(35px, 8.5vw, 44px);
        font-size: clamp(10px, 2.6vw, 13px);
    }

    .choose-screen {
        padding-top: 29dvh;
    }

    .choice-copy {
        width: min(73vw, 394px);
    }

    .choice-copy h1 {
        font-size: clamp(25px, 6.8vw, 32px);
        margin-bottom: 8px;
    }

    .choice-copy > p {
        font-size: clamp(11px, 3vw, 14px);
        margin-bottom: clamp(22px, 6vw, 30px);
    }

    .choice-pill {
        min-height: clamp(42px, 11vw, 52px);
        padding: 10px 16px;
        font-size: clamp(13px, 3.65vw, 17px);
    }

    .choice-note {
        font-size: clamp(10px, 2.8vw, 13px) !important;
        margin: clamp(10px, 2.8vw, 14px) 0 clamp(24px, 6.4vw, 31px) !important;
    }

    .next-choice {
        width: clamp(132px, 36vw, 160px);
        min-height: clamp(42px, 10.5vw, 50px);
        margin-top: clamp(26px, 7vw, 34px);
        font-size: clamp(13px, 3.6vw, 16px);
    }

    .details-screen {
        min-height: 100dvh;
        padding: clamp(28px, 7dvh, 54px) 0 18px;
    }

    .details-copy {
        width: min(78vw, 420px);
    }

    .details-shell .details-copy h1 {
        font-size: clamp(30px, 8.2vw, 42px);
    }

    .details-shell .details-copy h2 {
        font-size: clamp(21px, 5.7vw, 29px);
        margin-bottom: clamp(20px, 5.3vw, 28px);
    }

    .details-shell .details-copy h3,
    .details-shell .details-copy p,
    .details-shell .details-copy li,
    .details-shell .event-line {
        font-size: clamp(12.5px, 3.35vw, 16px);
        line-height: 1.2;
    }

    .details-shell .detail-icon {
        flex-basis: clamp(12px, 3.2vw, 15px);
        width: clamp(12px, 3.2vw, 15px);
        height: clamp(12px, 3.2vw, 15px);
        font-size: clamp(12px, 3.2vw, 15px);
    }

    .details-shell .details-copy h3 {
        margin-top: clamp(17px, 4.5vw, 22px);
        margin-bottom: 6px;
    }

    .details-shell .detail-info {
        grid-template-columns: clamp(18px, 4.6vw, 22px) 1fr;
        column-gap: clamp(7px, 2vw, 10px);
        margin-bottom: 17px;
    }

    .details-shell .details-copy .compact-list li {
        margin-bottom: 4.5px;
    }

    .details-shell .details-cta {
        position: static;
        margin-top: 20px;
    }

    .details-shell .details-button {
        width: clamp(142px, 38vw, 174px);
        min-height: clamp(42px, 10.8vw, 52px);
        font-size: clamp(13px, 3.4vw, 16px);
    }

    .mini-mark {
        right: clamp(18px, 5vw, 26px);
        bottom: 22px;
    }

    .details-shell .mini-mark {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        margin: 22px 8px 0 auto;
    }
}

@media (max-width: 360px) {
    .rsvp-form,
    .details-copy {
        width: 86vw;
    }

    .choice-copy {
        width: 78vw;
    }
}
