:root {
    --yellow: #f7ad08;
    --ink: #101010;
    --cream: #f7f0df
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #111;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif
}

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

button,
input {
    font: inherit
}

.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
}

.hero {
    min-height: 75vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4.5rem clamp(1rem, 4vw, 4rem) 0;
    background: linear-gradient(#ffffff05, #23140829), url('../images/hero-background.png') center/cover no-repeat;
    isolation: isolate
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 18%;
    background: linear-gradient(transparent, #190f0761);
    z-index: -1
}

.hazard-strip {
    position: absolute;
    inset: 0 0 auto;
    height: 24px;
    background: repeating-linear-gradient(135deg, #111 0 27px, var(--yellow) 27px 54px);
    box-shadow: 0 3px 8px #0008
}

.brand {
    width: min(500px, 43vw);
    position: absolute;
    left: 6%;
    top: 7%;
    filter: drop-shadow(0 4px 3px #fff8);
    animation: drop .8s both
}

.plans-sign {
    width: min(390px, 34vw);
    position: absolute;
    right: 4%;
    top: -3%;
    transform-origin: 50% 0;
    filter: drop-shadow(0 12px 8px #0005);
    animation: swing 4s ease-in-out infinite
}

.hero-stage {
    width: min(1120px, 94vw);
    margin-top: 8rem;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end
}

.sign-stack {
    position: relative;
    z-index: 2;
    transform: rotate(-1.5deg);
    animation: rise .9s .2s both
}

.coming-sign {
    width: 100%;
    filter: drop-shadow(0 16px 12px #0007)
}

.tools-sign {
    position: absolute;
    width: 18%;
    left: 8%;
    top: -12%;
    z-index: 3;
    transform: rotate(-7deg);
    filter: drop-shadow(0 7px 4px #0005)
}

.bear {
    width: min(500px, 40vw);
    margin-left: -8%;
    z-index: 3;
    filter: drop-shadow(0 20px 12px #0007);
    animation: bearIn 1s .35s both, float 4s 1.4s ease-in-out infinite
}

.cone {
    position: absolute;
    width: 110px;
    left: 2%;
    bottom: 1rem;
    transform: rotate(-5deg);
    filter: drop-shadow(0 9px 6px #0005)
}

.mini-sign {
    position: absolute;
    width: 342px;
    right: 1.5%;
    bottom: -4rem;
    transform: rotate(0deg);
    filter: drop-shadow(0 9px 6px #0005)
}

.features {
    position: relative;
    background: var(--cream);
    padding: 0 clamp(1rem, 5vw, 5rem) 2.2rem;
    border-top: 8px solid #222
}

.section-brush {
    width: min(650px, 90%);
    margin: -1.4rem auto 1.5rem;
    padding: .55rem 1.5rem;
    text-align: center;
    background: var(--yellow);
    clip-path: polygon(2% 10%, 98% 0, 100% 80%, 3% 100%, 0 45%)
}

.section-brush h1 {
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(1.15rem, 2.5vw, 2rem)
}

.feature-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr)
}

.feature {
    text-align: center;
    padding: .5rem 1.2rem;
    border-right: 1px dashed #d6a33c
}

.feature:last-child {
    border: 0
}

.icon-ring {
    width: 105px;
    height: 105px;
    margin: auto auto .5rem;
    border: 2px solid #d9d2c2;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff8;
    transition: .25s
}

.icon-ring img {
    width: 82%;
    height: 82%;
    object-fit: contain
}

.feature:hover .icon-ring {
    transform: translateY(-6px) rotate(-2deg);
    border-color: var(--yellow);
    box-shadow: 0 10px 24px #d98e1930
}

.feature h2 {
    margin: .25rem 0;
    font-size: 1.05rem;
    text-transform: uppercase
}

.feature p {
    margin: 0;
    font-size: .83rem;
    line-height: 1.35
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .6s var(--delay)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.parties {
    position: relative;
    overflow: hidden;
    padding: 28px 0;
    background: linear-gradient(90deg, #15100bd9, #15100b66), url('../images/01-workshop-background.png') center/cover no-repeat;
    /* height: 100vh; */
    padding-bottom: 50px;
    background-position-y: bottom;
}

.parties:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/13-confetti-overlay.png') center/cover no-repeat;
    pointer-events: none;
    z-index: 1
}

.party-hazard {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: repeating-linear-gradient(135deg, var(--yellow) 0 24px, #111 24px 48px);
    box-shadow: 0 4px 10px #0008;
    z-index: 4
}

.party-hazard-bottom {
    top: auto;
    bottom: 0
}

.party-inner {
    position: relative;
    z-index: 2;
    width: min(1320px, 94%);
    min-height: 640px;
    margin: auto;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: end;
    gap: 1.5rem;
    padding: 3.2rem 0 3.1rem
}

.party-visual {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 590px
}

.party-balloons {
    position: absolute;
    z-index: 1;
    width: min(275px, 54%);
    left: 2%;
    top: 2%;
    filter: drop-shadow(0 14px 14px #0008)
}

.party-bear {
    position: relative;
    z-index: 2;
    width: min(490px, 100%);
    filter: drop-shadow(0 18px 16px #0009);
    left: 30%;
    bottom: -10%;
}

.party-gifts {
    position: absolute;
    z-index: 3;
    width: min(250px, 52%);
    left: 3%;
    bottom: 0;
    filter: drop-shadow(0 12px 12px #0008)
}

.party-board {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1448/1086;
    min-height: 0;
    padding: clamp(4.2rem, 7vw, 5.8rem) clamp(2rem, 4vw, 4.2rem) clamp(1.6rem, 3vw, 2.4rem);
    background: url('../images/05-blank-wooden-party-board.png') center/100% 100% no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.party-board>* {
    max-width: 100%
}

.party-board-top {
    position: absolute;
    top: 44px;
    left: 9%;
    right: 9%;
    height: 26px;
    background: repeating-linear-gradient(135deg, #111 0 22px, var(--yellow) 22px 44px)
}

.party-kicker {
    margin: 0 auto .2rem;
    color: var(--yellow);
    font-size: clamp(2.1rem, 4.1vw, 4rem);
    font-weight: 900;
    line-height: .9;
    text-transform: uppercase
}

.party-tagline {
    width: min(560px, 82%);
    height: 52px;
    margin: .05rem auto .6rem;
    object-fit: cover;
    object-position: center
}

.party-intro {
    max-width: 590px;
    margin: 0 auto .7rem;
    font-size: clamp(.86rem, 1.05vw, 1rem);
    font-weight: 700;
    line-height: 1.35
}

.party-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .25rem;
    margin: .55rem auto;
    width: min(650px, 92%)
}

.party-benefits article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: .3rem .35rem;
    border-right: 2px dashed #c99438
}

.party-benefits article:last-child {
    border: 0
}

.party-benefits img {
    width: 70px;
    height: 62px;
    object-fit: contain
}

.party-benefits strong {
    text-transform: uppercase;
    font-size: .72rem;
    line-height: 1.15;
    overflow-wrap: anywhere
}

.party-contact {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) minmax(145px, 190px);
    align-items: center;
    gap: .65rem;
    width: min(650px, 92%);
    margin: .55rem auto 0;
    padding: .5rem .65rem;
    border: 2px solid #c69133;
    border-radius: 10px;
    background: #f7ead0cc;
    text-align: left
}

.party-contact>img {
    width: 40px;
    height: 40px;
    object-fit: contain
}

.party-contact div {
    display: flex;
    flex-direction: column
}

.party-contact span {
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase
}

.party-contact a:not(.party-button) {
    color: #111;
    font-size: clamp(.85rem, 1.05vw, 1rem);
    font-weight: 900;
    text-decoration: none;
    overflow-wrap: anywhere
}

.party-button {
    display: block;
    min-width: 0;
    width: 100%;
    transition: .2s
}

.party-button img {
    width: 100%;
    height: auto
}

.party-button:hover {
    transform: translateY(-2px)
}

.party-button:focus-visible {
    outline: 4px solid #111;
    outline-offset: 4px
}

.signup {
    position: relative;
    display: grid;
    grid-template-columns: .8fr 1.6fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem clamp(1rem, 6vw, 6rem);
    background: linear-gradient(110deg, #0d0d0d 0 35%, var(--yellow) 35%);
    color: #fff
}

.signup-copy {
    display: flex;
    align-items: center;
    gap: 1rem
}

.worker-icon {
    color: var(--yellow);
    font-size: 3rem
}

.signup h2 {
    margin: 0;
    color: var(--yellow);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    text-transform: uppercase
}

.signup p {
    margin: .2rem 0
}

.signup form {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 1fr) auto;
    align-items: center;
    gap: .8rem;
    color: #111
}

.signup form div {
    display: flex;
    flex-direction: column
}

.signup form strong {
    text-transform: uppercase
}

.signup form span {
    font-size: .78rem
}

.signup input {
    min-width: 0;
    padding: .9rem 1rem;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 3px 8px #0004;
    outline: 2px solid transparent
}

.signup input:focus {
    outline-color: #111
}

.signup button {
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    background: #111;
    color: #fff;
    padding: .9rem 1.25rem;
    text-transform: uppercase;
    font-weight: 900;
    box-shadow: 0 4px 8px #0005;
    transition: .2s
}

.signup button:hover {
    transform: translateY(-2px);
    background: #292929
}

.signup button:disabled {
    opacity: .65;
    cursor: wait
}

.form-message {
    position: absolute;
    right: 6rem;
    bottom: -1.5rem;
    z-index: 5;
    background: #111;
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 6px;
    font-size: .8rem
}

footer {
    min-height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
    color: var(--yellow);
    background: #090909;
    text-transform: uppercase;
    letter-spacing: .08em
}

footer small {
    color: #aaa;
    font-size: .65rem
}

@keyframes drop {
    from {
        opacity: 0;
        transform: translateY(-25px)
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(35px) scale(.98)
    }
}

@keyframes bearIn {
    from {
        opacity: 0;
        transform: translateX(60px)
    }
}

@keyframes float {
    50% {
        transform: translateY(-8px)
    }
}

@keyframes swing {
    0%,
    100% {
        transform: rotate(-1.4deg)
    }
    50% {
        transform: rotate(1.4deg)
    }
}

@media(max-width:800px) {
    .hero {
        min-height: auto;
        padding-top: 2.6rem
    }
    .brand {
        position: relative;
        left: auto;
        top: auto;
        width: min(430px, 82vw)
    }
    .plans-sign {
        width: 210px;
        top: 16%;
        right: -1.5rem
    }
    .hero-stage {
        margin-top: 3rem;
        grid-template-columns: 1fr;
        position: relative
    }
    .sign-stack {
        width: 88%
    }
    .bear {
        width: 48%;
        position: absolute;
        right: -3%;
        bottom: -8%;
        margin: 0
    }
    .mini-sign {
        width: 78px
    }
    .cone {
        width: 70px
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem
    }
    .feature {
        border: 0
    }
    .feature:last-child {
        grid-column: 1/-1;
        max-width: 240px;
        justify-self: center
    }
    .party-inner {
        width: min(720px, 92%);
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 3.2rem 0
    }
    .party-visual {
        min-height: 0;
        height: clamp(310px, 68vw, 430px);
        overflow: visible
    }
    .party-bear {
        width: min(350px, 68vw);
        margin-inline: auto
    }
    .party-balloons {
        left: 50%;
        top: 0;
        width: min(205px, 40vw);
        transform: translateX(-92%)
    }
    .party-gifts {
        width: min(185px, 38vw);
        left: 50%;
        bottom: -4%;
        transform: translateX(-92%)
    }
    .party-board {
        aspect-ratio: auto;
        min-height: 0;
        padding: 3.6rem clamp(1.2rem, 5vw, 2.4rem) 1.6rem;
        background-size: 100% 100%;
        overflow: visible
    }
    .party-board-top {
        top: 32px
    }
    .party-kicker {
        font-size: clamp(2rem, 9vw, 3.2rem)
    }
    .party-tagline {
        width: min(440px, 88%);
        height: 44px
    }
    .party-intro {
        font-size: .9rem
    }
    .party-benefits {
        width: 94%
    }
    .party-contact {
        grid-template-columns: 44px minmax(0, 1fr);
        width: 94%;
        gap: .55rem;
        text-align: left
    }
    .party-button {
        grid-column: 1/-1;
        justify-self: center;
        max-width: 210px
    }
    .signup {
        grid-template-columns: 1fr;
        background: linear-gradient(170deg, #111 0 42%, var(--yellow) 42%);
        padding-block: 1.5rem
    }
    .signup form {
        grid-template-columns: 1fr
    }
    .form-message {
        position: static;
        grid-column: 1/-1;
        background: transparent;
        padding: 0
    }
}

@media(max-width:430px) {
    .hero-stage {
        margin-top: 2rem
    }
    .plans-sign {
        width: 150px;
        right: auto;
        top: -3%;
        /* top: 17% */
    }
    .sign-stack {
        width: 100%;
        margin-bottom: 9rem
    }
    .bear {
        width: 55%;
        bottom: -2%
    }
    .tools-sign {
        width: 22%;
        top: -16%
    }
    .mini-sign {
        display: none
    }
    .section-brush {
        margin-top: -.8rem
    }
    .feature-grid {
        grid-template-columns: 1fr
    }
    .feature:last-child {
        grid-column: auto
    }
    .icon-ring {
        width: 90px;
        height: 90px
    }
    .party-inner {
        width: 94%;
        gap: .5rem;
        padding: 2.8rem 0
    }
    .party-visual {
        height: 290px
    }
    .party-bear {
        width: min(245px, 70vw);
        top: 18px;
        left: 95px;
    }
    .party-balloons {
        width: min(130px, 38vw);
        left: 50%;
        top: 2%;
        transform: translateX(-96%)
    }
    .party-gifts {
        width: min(125px, 36vw);
        left: 20%;
        /* bottom: -60px; */
        transform: none
    }
    .signup form {
        color: #fff;
    }
    .party-board {
        padding: 2.9rem .85rem 1.15rem;
        background: #f8f0df;
        border: 8px solid #855126;
        border-radius: 8px;
        box-shadow: inset 0 0 0 2px #b77b42, 0 14px 25px #0008;
        overflow: hidden
    }
    .party-board-top {
        top: 0;
        left: 0;
        right: 0;
        height: 22px
    }
    .party-kicker {
        font-size: clamp(2rem, 14vw, 2.8rem)
    }
    .party-tagline {
        width: 100%;
        height: 36px;
        margin-bottom: .45rem
    }
    .party-intro {
        font-size: .86rem;
        line-height: 1.3
    }
    .party-benefits {
        grid-template-columns: 1fr;
        width: 100%;
        margin: .45rem auto
    }
    .party-benefits article {
        flex-direction: row;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px dashed #c99438;
        text-align: left;
        padding: .25rem .2rem
    }
    .party-benefits img {
        width: 54px;
        height: 44px
    }
    .party-benefits strong {
        font-size: .68rem
    }
    .party-contact {
        grid-template-columns: 1fr;
        width: 100%;
        padding: .55rem;
        text-align: center
    }
    .party-contact>img {
        justify-self: center;
        width: 36px;
        height: 36px
    }
    .party-contact a:not(.party-button) {
        font-size: .9rem
    }
    .party-button {
        width: 100%;
        max-width: 190px
    }
    footer {
        font-size: .75rem;
        gap: .8rem
    }
}

@media(prefers-reduced-motion:reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms!important;
        animation-iteration-count: 1!important;
        scroll-behavior: auto!important;
        transition: none!important
    }
    .reveal {
        opacity: 1;
        transform: none
    }
}