:root {
    --request-ink: #173f35;
    --request-copy: #60736c;
    --request-line: rgba(31, 87, 72, .14);
    --request-paper: rgba(255, 255, 252, .76);
    --request-green: #1d6656;
}

.custom-request-main { background: transparent; }

.custom-request-shell {
    width: min(1180px, calc(100% - 128px));
    margin-inline: auto;
    padding-bottom: clamp(64px, 8vh, 104px);
}

.custom-request-hero {
    max-width: 960px;
    padding: clamp(72px, 9vh, 116px) 0 clamp(30px, 4vh, 46px);
}

.custom-request-hero > span,
.custom-request-form__heading > span,
.package-custom-request > div > span {
    display: block;
    color: rgba(31, 87, 72, .58);
    font: 650 .72rem/1.25 "Manrope", sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.custom-request-hero h1 {
    max-width: 11ch;
    margin: 0;
    color: var(--request-ink);
    font: 580 clamp(3.25rem, 5.15vw, 5.8rem)/.94 "Manrope", sans-serif;
    letter-spacing: -.06em;
}

.custom-request-hero p {
    max-width: 48ch;
    margin: clamp(20px, 2.8vh, 30px) 0 0;
    color: rgba(43, 71, 63, .68);
    font: 410 clamp(.82rem, .86vw, .92rem)/1.7 "Manrope", sans-serif;
}

.custom-request-back {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 7px 0;
    color: rgba(31, 87, 72, .68);
    font: 570 .9rem/1.35 "Manrope", sans-serif;
    text-decoration: none;
}

.custom-request-back::before { content: "←"; }

.custom-request-form {
    box-sizing: border-box;
    padding: clamp(34px, 4vw, 58px);
    border: 1px solid var(--request-line);
    border-radius: 30px;
    background: var(--request-paper);
}

.custom-request-form__heading h2 {
    margin: 0;
    color: var(--request-ink);
    font: 560 clamp(2.35rem, 4vw, 4.3rem)/.98 "Manrope", sans-serif;
    letter-spacing: -.055em;
}

.custom-request-form__heading p {
    max-width: 650px;
    margin: 18px 0 0;
    color: rgba(43, 71, 63, .68);
    font: 410 clamp(.82rem, .86vw, .92rem)/1.7 "Manrope", sans-serif;
}

.custom-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
    margin-top: 42px;
}

.custom-request-field { display: grid; gap: 10px; }
.custom-request-field--wide { grid-column: 1 / -1; }

.custom-request-field > span {
    color: #315e52;
    font: 560 .88rem/1.35 "Manrope", sans-serif;
}

.custom-request-field > span small {
    margin-left: 5px;
    color: rgba(49, 94, 82, .58);
    font: 450 .74rem/1.35 "Manrope", sans-serif;
}

.custom-request-field input,
.custom-request-field textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid rgba(31, 87, 72, .16);
    border-radius: 15px;
    outline: none;
    color: #213f37;
    background: rgba(250, 251, 247, .8);
    font: 430 1rem/1.55 "Inter", sans-serif;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.custom-request-field input { min-height: 58px; padding: 0 17px; }
.custom-request-field textarea { min-height: 150px; padding: 16px 17px; resize: vertical; }

.custom-request-field input:focus,
.custom-request-field textarea:focus {
    border-color: rgba(29, 102, 86, .62);
    background: rgba(255, 255, 252, .96);
    box-shadow: 0 0 0 4px rgba(45, 126, 106, .09);
}

.custom-request-field input::placeholder,
.custom-request-field textarea::placeholder { color: rgba(73, 100, 91, .48); }

.custom-request-field > small {
    color: rgba(73, 100, 91, .68);
    font: 420 .76rem/1.5 "Inter", sans-serif;
}

.custom-request-form__actions {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.custom-request-form__actions button {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: var(--request-green);
    cursor: pointer;
    font: 600 .95rem/1.2 "Manrope", sans-serif;
}

.custom-request-form__actions button:disabled { cursor: wait; opacity: .62; }

.custom-request-form__actions p {
    max-width: 560px;
    margin: 0;
    color: rgba(73, 100, 91, .72);
    font: 420 .78rem/1.55 "Inter", sans-serif;
}

.custom-request-form__actions a { color: inherit; text-underline-offset: 3px; }

.custom-request-status {
    min-height: 0;
    margin-top: 0;
    color: #28594c;
    font: 560 .88rem/1.5 "Manrope", sans-serif;
}

.custom-request-status:not(:empty) { margin-top: 20px; }
.custom-request-status.is-error { color: #934a3d; }

.custom-request-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* The package page's open-ended route, kept visually secondary to the four featured examples. */
.package-custom-request {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    margin-top: 42px;
    padding: 34px 38px;
    border: 1px solid var(--request-line);
    border-radius: 24px;
    background: rgba(255, 255, 252, .58);
}

.package-custom-request h2 {
    max-width: 18ch;
    margin: 12px 0 0;
    color: var(--request-ink);
    font: 560 clamp(1.7rem, 2.5vw, 2.55rem)/1.04 "Manrope", sans-serif;
    letter-spacing: -.048em;
}

.package-custom-request p {
    max-width: 700px;
    margin: 14px 0 0;
    color: var(--request-copy);
    font: 420 .9rem/1.62 "Inter", sans-serif;
}

.package-custom-request > a {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0 22px;
    border-radius: 15px;
    color: #fff;
    background: var(--request-green);
    font: 600 .85rem/1.2 "Manrope", sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 860px) {
    .custom-request-shell {
        width: calc(100% - (var(--mobile-gutter) * 2));
        padding-bottom: var(--mobile-page-end-space);
    }

    .custom-request-hero {
        padding: var(--mobile-page-start-space) 0 26px;
    }

    .custom-request-hero h1 {
        max-width: 9ch;
        margin-top: 0;
        font-size: clamp(2.45rem, 12.2vw, 4.15rem);
        line-height: .98;
        letter-spacing: -.062em;
    }

    .custom-request-hero p {
        max-width: 42rem;
        margin-top: 20px;
        color: var(--mobile-muted);
        font: 430 .94rem/1.68 "Manrope", sans-serif;
    }

    .custom-request-back { margin-top: 18px; font-size: .88rem; }

    .custom-request-form {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .custom-request-form__heading h2 {
        margin-top: 0;
        font-size: 2.35rem;
    }

    .custom-request-form__heading p {
        margin-top: 16px;
        color: var(--mobile-muted);
        font: 430 .94rem/1.68 "Manrope", sans-serif;
    }

    .custom-request-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 32px;
    }

    .custom-request-field--wide { grid-column: auto; }
    .custom-request-field input { min-height: 56px; }

    .custom-request-form__actions {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .custom-request-form__actions button { min-height: 58px; }
    .custom-request-form__actions p { font-size: .8rem; }

    .package-hub .package-scene--hub .package-scene__inner {
        padding-bottom: var(--mobile-page-end-space);
    }

    .package-custom-request {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 24px;
        margin-top: 28px;
        padding: 24px 20px;
        border-radius: 20px;
    }

    .package-custom-request h2 { font-size: 1.75rem; }
    .package-custom-request p { font-size: .88rem; }
    .package-custom-request > a { width: 100%; box-sizing: border-box; }
}
