.pipp-contact-page .pipp-home-header { position: fixed; }
.pipp-contact-page .pipp-nav-background,
.pipp-contact-page .pipp-home-header.is-scrolled .pipp-nav-background,
.pipp-contact-page .pipp-home-header.is-menu-open .pipp-nav-background,
.pipp-contact-page .pipp-home-header:hover .pipp-nav-background,
.pipp-contact-page .pipp-home-header:focus-within .pipp-nav-background {
    background-color: #F4F1EA;
}
.pipp-contact-page .pipp-nav-shell,
.pipp-contact-page .pipp-primary-nav a {
    color: #777;
}
.pipp-contact-page .pipp-menu a {
    color: #777777 !important;
}
.pipp-contact-page .pipp-menu a:hover,
.pipp-contact-page .pipp-menu a:focus {
    color: #D0B3A8 !important;
}
.pipp-contact-page .pipp-brand img,
.pipp-contact-page .pipp-header-actions img {
    filter: invert(48%) sepia(5%) saturate(32%) hue-rotate(314deg) brightness(95%);
}
.pipp-contact-main { padding-top: 190px; background-color: #F4F1EA; }

.pipp-contact-inner {
    width: min(80%, 1230px);
    margin: 0 auto;
}

.pipp-contact-hero {
    padding: 120px 0 55px;
}

.pipp-contact-title {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
    gap: .34em;
    margin: 0 0 38px;
    color: #A79E93;
    font-family: "FuturaHandwritten", sans-serif;
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.pipp-curved-word {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.pipp-curved-word > span {
    display: inline-block;
    transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
    transform-origin: 50% 75%;
}

.pipp-doodle-word {
    display: inline-block;
    transform-origin: center bottom;
}

.pipp-doodle-word--1 {
    transform: rotate(-6deg) translateY(10px);
}

.pipp-doodle-word--2 {
    transform: rotate(4deg) translateY(-12px);
}

.pipp-doodle-word--3 {
    transform: rotate(-4deg) translateY(6px);
}

.pipp-doodle-mark {
    display: inline-block;
    margin-left: 1px;
    font-size: 1.2em;
    transform: rotate(10deg) translateY(-8px);
}

.pipp-contact-subtitle {
    margin: 0 0 56px;
    text-align: center;
    color: #9C948B;
    font-family: "Cormorant", serif;
    font-size: clamp(20px, 2vw, 27px);
    font-style: italic;
    font-weight: 400;
}

.pipp-contact-notice {
    max-width: 640px;
    margin: 0 0 40px;
    padding: 16px 20px;
    border: 1px solid #CBC5BC;
    color: #7E7E7E;
    font-size: 14px;
    line-height: 1.5;
}

.pipp-contact-notice--ok {
    border-color: #B8C1B0;
    background-color: #EEF1EC;
}

.pipp-contact-notice--error {
    border-color: #D0B3A8;
    background-color: #FBF2EF;
}

.pipp-contact-form {
    width: 100%;
}

.pipp-contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pipp-contact-field {
    margin-bottom: 58px;
}

.pipp-contact-field:nth-of-type(4) {
    margin-bottom: 20px;
}

.pipp-contact-field label {
    display: block;
    margin-bottom: 20px;
    color: #7E7E7E;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pipp-contact-field input,
.pipp-contact-field select,
.pipp-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 2px;
    border: 0 !important;
    border-bottom: 1px solid #CBC5BC !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #7E7E7E !important;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    box-shadow: none !important;
}

.pipp-contact-field textarea {
    min-height: 128px;
    padding-block: 0;
    line-height: 32px;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 31px,
        #CBC5BC 31px,
        #CBC5BC 32px
    ) !important;
    resize: vertical;
}

.pipp-contact-field input:focus,
.pipp-contact-field select:focus,
.pipp-contact-field textarea:focus {
    outline: 0 !important;
    border-bottom-color: #D0B3A8 !important;
}

.pipp-invoice-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #7E7E7E;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.pipp-invoice-consent input {
    margin-top: 4px;
}

.pipp-contact-submit-row {
    margin-top: 54px;
    text-align: center;
}

.pipp-contact-submit {
    display: inline-flex;
    width: min(100%, 322px);
    min-height: 80px;
    align-items: center;
    justify-content: center;
    padding: 16px 44px;
    border: 1px solid #CBC5BC;
    background-color: #CBC5BC;
    color: #FFFFFF;
    font-family: "Cormorant", serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.pipp-contact-submit:hover,
.pipp-contact-submit:focus-visible {
    background-color: #FFFFFF;
    color: #7E7E7E;
    border-color: #CBC5BC;
}

body:has(.pipp-contact-success-overlay) {
    overflow: hidden;
}

.pipp-contact-success-overlay {
    position: fixed;
    z-index: 10001;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px;
    background: rgb(40 38 36 / 56%);
}

.pipp-contact-success-modal {
    display: flex;
    width: min(100%, 950px);
    min-height: 470px;
    box-sizing: border-box;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 64px 80px 70px;
    border-radius: 10px;
    background: #F4F1EA;
    box-shadow: 0 18px 40px rgb(40 38 36 / 12%);
    text-align: center;
}

.pipp-contact-success-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 36px;
    place-items: center;
    border-radius: 50%;
    background: rgb(184 193 176 / 20%);
    color: #B8C1B0;
}

.pipp-contact-success-icon svg {
    width: 42px;
    height: 42px;
}

.pipp-contact-success-icon path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.pipp-contact-success-modal h2 {
    margin: 0 0 18px;
    color: #7E7E7E;
    font-family: "Cormorant", serif;
    font-size: 42px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
}

.pipp-contact-success-modal p {
    margin: 0 0 38px;
    color: #7E7E7E;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
}

.pipp-contact-success-button {
    display: inline-flex;
    width: 234px;
    min-height: 84px;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: #B8C1B0;
    color: #FFFFFF !important;
    font-family: "Cormorant", serif !important;
    font-size: 25px;
    font-style: italic;
    line-height: 1.1;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.pipp-contact-success-button:hover,
.pipp-contact-success-button:focus-visible {
    background: #D0B3A8;
    color: #FFFFFF !important;
}

@media (max-width: 1024px) {
    .pipp-contact-main {
        padding-top: 150px;
    }
}

@media (max-width: 600px) {
    .pipp-contact-success-overlay {
        padding: 24px;
    }

    .pipp-contact-success-modal {
        width: 100%;
        min-height: 402px;
        padding: 46px 47px 47px;
        border-radius: 10px;
    }

    .pipp-contact-success-icon {
        width: 57px;
        height: 57px;
        margin-bottom: 40px;
    }

    .pipp-contact-success-icon svg {
        width: 35px;
        height: 35px;
    }

    .pipp-contact-success-modal h2 {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .pipp-contact-success-modal p {
        margin-bottom: 40px;
        font-size: 20px;
        line-height: 1.4;
    }

    .pipp-contact-success-button {
        width: 100%;
        min-height: 64px;
        padding: 14px 18px;
        font-size: 24px;
    }

    .pipp-contact-main {
        padding-top: 118px;
    }

    .pipp-contact-hero {
        padding: 40px 0 76px;
    }

    .pipp-contact-inner {
        width: calc(100% - 94px);
    }

    .pipp-contact-title {
        margin-bottom: 34px;
        gap: .24em;
        font-size: 24px;
    }

    .pipp-doodle-word--1 {
        transform: rotate(-4deg) translateY(4px);
    }

    .pipp-doodle-word--2 {
        transform: rotate(3deg) translateY(-6px);
    }

    .pipp-doodle-word--3 {
        transform: rotate(-3deg) translateY(3px);
    }

    .pipp-doodle-mark {
        transform: rotate(8deg) translateY(-4px);
    }

    .pipp-contact-subtitle {
        margin-bottom: 54px;
        text-align: center;
        font-size: 18px;
    }

    .pipp-contact-field {
        margin-bottom: 53px;
    }

    .pipp-contact-field:nth-of-type(3) {
        margin-bottom: 20.5px;
    }

    .pipp-contact-field:nth-of-type(4) {
        margin-bottom: 36px;
    }

    .pipp-contact-field:nth-of-type(5) {
        margin-bottom: 0;
    }

    .pipp-contact-field label {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .pipp-contact-field:nth-of-type(3) label,
    .pipp-contact-field:nth-of-type(5) label {
        margin-bottom: 0;
    }

    #pipp_contact_name,
    #pipp_contact_email,
    #pipp_contact_phone {
        min-height: 18px;
        height: 18px;
        padding-block: 0;
    }


    #pipp_contact_email {
        min-height: 8px;
        height: 8px;
    }

    #pipp_contact_message {
        min-height: 112px;
        line-height: 28px;
        background-image: repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 27px,
            #CBC5BC 27px,
            #CBC5BC 28px
        ) !important;
    }

    .pipp-contact-submit-row {
        margin-top: 56px;
    }

    .pipp-contact-submit {
        width: 152px;
        min-height: 38px;
        padding: 8px 10px;
        background-color: #CBC5BC !important;
        font-size: 10.5px;
    }
}
