.booking {
    --booking-ragged: polygon(0 1%, 6% 1.3%, 12% .4%, 18% 1%, 25% .2%, 31% 1%, 38% .5%, 45% 1.2%, 51% 0, 58% .6%, 65% .2%, 72% 1%, 79% 0, 86% .6%, 94% .3%, 100% 1.1%, 99% 21%, 100% 40%, 99% 64%, 100% 84%, 99% 98.5%, 91% 98.8%, 84% 99.5%, 76% 99%, 68% 99.8%, 60% 99.2%, 53% 100%, 45% 99.2%, 37% 99.8%, 30% 99%, 23% 99.6%, 15% 98.9%, 7% 99.5%, 0 98.8%, .7% 72%, 0 49%, .7% 25%);
    overflow: hidden;
}

.booking__hero {
    position: relative;
    isolation: isolate;
    background: var(--ink);
    color: var(--paper);
}

.booking__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    padding-block: clamp(2.6rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.3rem);
}

.booking__kicker {
    color: var(--yellow);
    margin-bottom: .8rem;
}

.booking__title {
    --ragged: var(--booking-ragged);
    --sheet-color: var(--orange);
    display: inline-block;
    max-width: 100%;
    padding: .08em .15em .14em;
    color: var(--ink);
    font: 900 clamp(2.1rem, 6.7vw, 6.2rem) / .98 var(--display);
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
    transform: rotate(-1.2deg);
}

.booking__heading > p:last-child {
    max-width: 53ch;
    margin-top: 1.35rem;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.55;
}

.booking__note {
    --ragged: var(--booking-ragged);
    --sheet-color: var(--yellow);
    --sheet-shadow: var(--orange);
    padding: 1.35rem;
    color: var(--ink);
    transform: rotate(3deg);
}

.booking__note p:last-child {
    margin-top: .55rem;
    font: 900 clamp(1.2rem, 2.6vw, 2.05rem) / 1.1 var(--display);
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.booking__note-tape {
    top: -13px;
    right: 11%;
    transform: rotate(11deg);
}

.booking__hero-ink,
.booking__wall-ink {
    aspect-ratio: 1;
    height: auto;
    z-index: -1;
}

.booking__hero-ink {
    top: -85px;
    right: -62px;
    width: min(57vw, 450px);
    color: var(--orange);
    opacity: .68;
}

.booking__wall {
    position: relative;
    isolation: isolate;
    background: var(--paper) var(--texture);
    padding-block: clamp(2.6rem, 6vw, 4.9rem);
}

.booking__wall::before {
    content: "";
    position: absolute;
    inset: -14px 0 auto;
    height: 15px;
    background: var(--paper);
    clip-path: polygon(0 45%, 6% 24%, 12% 40%, 17% 16%, 24% 35%, 29% 12%, 35% 29%, 42% 7%, 48% 32%, 54% 14%, 60% 33%, 65% 2%, 71% 31%, 77% 12%, 83% 37%, 89% 15%, 95% 39%, 100% 20%, 100% 100%, 0 100%);
    pointer-events: none;
}

.booking__wall-ink {
    left: -95px;
    bottom: -30px;
    width: 250px;
    color: var(--ink);
    opacity: .6;
}

.booking__panel {
    max-width: 960px;
}

.booking-form {
    --ragged: var(--booking-ragged);
    --sheet-color: var(--white);
    --sheet-shadow: var(--orange);
    padding: clamp(1.25rem, 4vw, 3.2rem);
    color: var(--ink);
}

.booking-form__tape {
    top: -11px;
    left: 9%;
}

.booking-form__tape--end {
    top: -9px;
    right: 9%;
    left: auto;
    transform: rotate(10deg);
}

.booking-form h2 {
    margin-bottom: 1.45rem;
    font-size: clamp(1.75rem, 4.4vw, 3.1rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.booking-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.3rem;
}

.booking-field {
    display: grid;
    align-content: start;
    min-width: 0;
    gap: .4rem;
}

.booking-field--wide {
    grid-column: 1 / -1;
}

.booking-field label {
    font-weight: 800;
}

.booking-field label small {
    font-size: .85em;
    font-weight: 400;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: .65rem .75rem;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.booking-field textarea {
    resize: vertical;
}

.booking-field input[type="file"] {
    padding: .3rem;
}

.booking-field input::file-selector-button {
    min-height: 44px;
    margin-right: .65rem;
    padding: .3rem .6rem;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: var(--yellow);
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.booking-field__help {
    font-size: .9rem;
    line-height: 1.45;
}

.booking-field .input-validation-error,
.booking-field [aria-invalid="true"] {
    border-color: var(--red-ink);
}

.booking-form .field-validation {
    color: var(--red-ink);
    font-size: .9rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.booking-form .field-validation:empty {
    display: none;
}

.booking-form__footer {
    display: grid;
    gap: .6rem;
    margin-top: 1.5rem;
}

.booking-form__acceptance {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 44px;
    padding: .75rem;
    border: 2px solid var(--ink);
    background: var(--paper);
    line-height: 1.5;
    cursor: pointer;
}

.booking-form__acceptance input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--orange);
}

.booking-form__footer .btn {
    justify-self: start;
    margin-top: .65rem;
}

.booking-form :is(input, select, textarea):focus-visible,
.booking-feedback:focus {
    outline: 3px solid #2074c6;
    outline-offset: 4px;
}

.booking-feedback {
    display: grid;
    gap: .35rem;
    margin-bottom: 1.6rem;
    padding: 1rem 1.2rem;
    border: 2px solid var(--ink);
    border-left-width: 8px;
    background: var(--white);
    color: var(--ink);
}

.booking-feedback--success {
    border-left-color: #26644b;
}

.booking-feedback--warning {
    border-left-color: var(--orange);
    background: var(--yellow);
}

.booking-feedback--error {
    border-left-color: var(--red-ink);
}

@media (max-width: 800px) {
    .booking__intro {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking__note {
        width: min(94%, 410px);
        justify-self: end;
    }
}

@media (max-width: 580px) {
    .booking-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-form__footer .btn {
        width: 100%;
    }
}
