/* ==========================================================================
   TOUCH GRASS™
   Contact Page Styles
   Project-intake page with restrained layout + mildly unhinged copy
   ========================================================================== */


/* ==========================================================================
   1. CONTACT HERO
   ========================================================================== */

.contact-hero {
    padding:
        58px
        0
        88px;

    background: var(--off-white);
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
    align-items: stretch;
    gap: clamp(48px, 7vw, 96px);
}

.contact-hero__copy {
    display: flex;
    min-height: 590px;
    flex-direction: column;
    justify-content: center;

    padding-block: 35px;
}

.contact-hero__copy h1 {
    max-width: 590px;

    margin:
        0
        0
        28px;

    font-size: 52px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.contact-hero__lead {
    max-width: 530px;

    margin:
        0
        0
        17px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.65;
}

.contact-hero__joke {
    max-width: 430px;

    margin:
        0
        0
        32px;

    color: var(--ochre);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-hero__image {
    min-height: 590px;

    overflow: hidden;

    background: var(--sage);
}

.contact-hero__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================================================
   2. EXPECTATIONS
   ========================================================================== */

.contact-expectations {
    padding:
        0
        0
        82px;

    background: var(--off-white);
}

.contact-expectations__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border-strong);
}

.contact-expectations article {
    min-height: 215px;

    padding:
        24px
        clamp(22px, 3vw, 40px)
        10px;

    border-right: 1px solid var(--border);
}

.contact-expectations article:first-child {
    padding-left: 0;
}

.contact-expectations article:last-child {
    padding-right: 0;

    border-right: 0;
}

.contact-expectations article > span {
    display: block;

    margin-bottom: 44px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

.contact-expectations strong {
    display: block;

    margin-bottom: 12px;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-expectations p {
    max-width: 350px;
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.72;
}


/* ==========================================================================
   3. PROJECT INQUIRY
   ========================================================================== */

.project-inquiry {
    padding:
        var(--section-space)
        0;

    background: var(--white);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-inquiry__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.6fr) minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(70px, 10vw, 150px);
}

.project-inquiry__intro {
    position: sticky;
    top: 32px;
}

.project-inquiry__intro h2 {
    max-width: 470px;

    margin:
        0
        0
        23px;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.project-inquiry__intro > p {
    max-width: 465px;
    margin: 0;

    color: var(--text);

    font-size: 15px;
    line-height: 1.75;
}

.project-inquiry__side-note {
    max-width: 450px;

    margin-top: 38px;

    padding-top: 20px;

    border-top: 1px solid var(--border-strong);
}

.project-inquiry__side-note strong {
    display: block;

    margin-bottom: 14px;

    color: var(--ochre);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.project-inquiry__side-note ul {
    display: grid;
    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.project-inquiry__side-note li {
    color: var(--text);

    font-size: 13px;
    line-height: 1.55;
}


/* ==========================================================================
   4. FORM STRUCTURE
   ========================================================================== */

.project-form {
    min-width: 0;
}

.project-form fieldset {
    margin: 0;
    padding:
        0
        0
        52px;

    border: 0;
    border-bottom: 1px solid var(--border);

    margin-bottom: 52px;
}

.project-form fieldset:last-of-type {
    margin-bottom: 0;
}

.project-form legend {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 14px;

    margin:
        0
        0
        30px;
    padding: 0;

    color: var(--green-dark);

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.project-form legend span {
    color: var(--muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.project-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:
        30px
        28px;
}

.project-form label {
    min-width: 0;
}

.project-form__grid > label,
.project-form__message {
    display: grid;
    gap: 9px;
}

.project-form__grid > label > span,
.project-form__message > span {
    color: var(--muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-form input[type="text"],
.project-form input[type="email"],
.project-form input[type="tel"],
.project-form select,
.project-form textarea {
    width: 100%;

    padding:
        12px
        0;

    border: 0;
    border-bottom: 1px solid var(--border-strong);
    border-radius: 0;
    outline: 0;

    color: var(--ink);
    background: transparent;

    font-family: var(--font);
    font-size: 15px;

    transition: border-color 180ms ease;
}

.project-form input[type="text"],
.project-form input[type="email"],
.project-form input[type="tel"],
.project-form select {
    min-height: 48px;
}

.project-form textarea {
    min-height: 135px;

    resize: vertical;
}

.project-form input::placeholder,
.project-form textarea::placeholder {
    color: var(--stone-light);

    opacity: 1;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
    border-bottom-color: var(--green);
}


/* ==========================================================================
   5. SERVICE CHECKBOXES
   ========================================================================== */

.project-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.project-options label {
    position: relative;

    display: block;

    min-height: 126px;

    cursor: pointer;
}

.project-options input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.project-options label > span {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;

    padding:
        22px
        48px
        22px
        22px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        color 180ms ease,
        background 180ms ease;
}

.project-options label > span::after {
    position: absolute;
    top: 20px;
    right: 20px;

    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;

    content: "";

    border: 1px solid var(--border-strong);

    font-size: 12px;
    line-height: 1;

    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.project-options strong {
    display: block;

    margin-bottom: 5px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.project-options small {
    color: var(--text);

    font-size: 12px;
    line-height: 1.55;

    transition: color 180ms ease;
}

.project-options input:checked + span {
    color: var(--white);
    background: var(--green);
}

.project-options input:checked + span::after {
    content: "✓";

    color: var(--green-dark);
    background: var(--white);

    border-color: var(--white);
}

.project-options input:checked + span small {
    color: rgba(255, 255, 255, 0.66);
}

.project-options input:focus-visible + span {
    outline: 2px solid var(--ochre);
    outline-offset: -2px;
}


/* ==========================================================================
   6. DISTRESS OPTIONS
   ========================================================================== */

.distress-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.distress-options label {
    position: relative;

    min-width: 0;

    cursor: pointer;
}

.distress-options input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.distress-options label > span {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: flex-end;

    padding:
        24px
        22px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        color 180ms ease,
        background 180ms ease;
}

.distress-options strong {
    display: block;

    margin-bottom: 7px;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.distress-options small {
    color: var(--text);

    font-size: 12px;
    line-height: 1.55;

    transition: color 180ms ease;
}

.distress-options input:checked + span {
    color: var(--white);
    background: var(--green-dark);
}

.distress-options input:checked + span small {
    color: rgba(255, 255, 255, 0.62);
}

.distress-options input:focus-visible + span {
    outline: 2px solid var(--ochre);
    outline-offset: -2px;
}


/* ==========================================================================
   7. MESSAGE FIELDS
   ========================================================================== */

.project-form__message + .project-form__message {
    margin-top: 30px;
}


/* ==========================================================================
   8. PHOTO UPLOAD DEMO
   ========================================================================== */

.photo-upload-demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;

    padding:
        24px
        0;

    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border);
}

.photo-upload-demo strong {
    display: block;

    margin-bottom: 6px;

    font-size: 15px;
    font-weight: 600;
}

.photo-upload-demo p {
    max-width: 480px;
    margin: 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.65;
}

.photo-upload-demo__button {
    display: grid;
    min-width: 190px;
    min-height: 76px;
    place-content: center;

    padding:
        14px
        18px;

    border: 1px dashed var(--border-strong);

    text-align: center;
}

.photo-upload-demo__button span {
    color: var(--green);

    font-size: 13px;
    font-weight: 600;
}

.photo-upload-demo__button small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.photo-upload-demo__joke {
    max-width: 620px;

    margin:
        18px
        0
        0;

    color: var(--ochre);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.65;
}


/* ==========================================================================
   9. SUBMIT
   ========================================================================== */

.project-form__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding-top: 8px;
}

.project-form__submit > div {
    max-width: 430px;
}

.project-form__submit strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ochre);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.project-form__submit p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}


/* ==========================================================================
   10. BEFORE CONTACT
   ========================================================================== */

.before-contact {
    padding:
        var(--section-space)
        0;

    background: var(--sage-light);

    border-bottom: 1px solid var(--border);
}

.before-contact__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(70px, 10vw, 145px);
}

.before-contact h2 {
    max-width: 550px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.before-contact__list {
    border-top: 1px solid var(--border-strong);
}

.before-contact__list article {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;

    padding:
        23px
        0;

    border-bottom: 1px solid var(--border);
}

.before-contact__list span {
    color: var(--green-dark);

    font-size: 14px;
    font-weight: 600;
}

.before-contact__list p {
    max-width: 560px;
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.72;
}


/* ==========================================================================
   11. CONTACT INFORMATION
   ========================================================================== */

.contact-information {
    padding:
        var(--section-space)
        0;

    background: var(--white);
}

.contact-information__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    border-top: 1px solid var(--border-strong);
    border-left: 1px solid var(--border);
}

.contact-information__grid article {
    min-height: 215px;

    padding:
        27px
        28px
        25px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-information__grid article > span {
    display: block;

    margin-bottom: 48px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.contact-information__grid strong {
    display: block;

    margin-bottom: 9px;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.contact-information__grid p {
    margin: 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================================
   12. CONTACT FAQ
   ========================================================================== */

.contact-faq {
    padding:
        var(--section-space)
        0;

    color: var(--white);
    background: var(--green-dark);
}

.contact-faq .section-kicker {
    color: rgba(255, 255, 255, 0.46);
}

.contact-faq__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(70px, 10vw, 145px);
}

.contact-faq__grid > div:first-child h2 {
    max-width: 520px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.contact-faq__questions {
    border-top: 1px solid var(--border-light);
}

.contact-faq details {
    border-bottom: 1px solid var(--border-light);
}

.contact-faq summary {
    position: relative;

    display: block;

    padding:
        22px
        45px
        22px
        0;

    cursor: pointer;

    color: rgba(255, 255, 255, 0.9);

    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;

    list-style: none;
}

.contact-faq summary::-webkit-details-marker {
    display: none;
}

.contact-faq summary::after {
    position: absolute;
    top: 50%;
    right: 4px;

    content: "+";

    color: var(--ochre);

    font-size: 20px;
    font-weight: 400;

    transform: translateY(-50%);

    transition: transform 180ms ease;
}

.contact-faq details[open] summary::after {
    transform:
        translateY(-50%)
        rotate(45deg);
}

.contact-faq details p {
    max-width: 600px;

    margin:
        -4px
        0
        22px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 14px;
    line-height: 1.72;
}


/* ==========================================================================
   13. FINAL CTA
   ========================================================================== */

.contact-final {
    padding:
        95px
        0;

    background: var(--off-white);
}

.contact-final__inner {
    max-width: 780px;

    margin-inline: auto;

    text-align: center;
}

.contact-final .section-kicker {
    margin-bottom: 18px;
}

.contact-final h2 {
    margin:
        0
        0
        18px;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.contact-final p {
    margin:
        0
        0
        27px;

    color: var(--text);

    font-size: 15px;
    line-height: 1.7;
}

.contact-final .button {
    margin-inline: auto;
}


/* ==========================================================================
   14. ANCHOR OFFSET
   ========================================================================== */

#project-form {
    scroll-margin-top: 28px;
}


/* ==========================================================================
   15. RESPONSIVE — 1100PX
   ========================================================================== */

@media (max-width: 1100px) {

    .contact-hero__grid {
        grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
        gap: 55px;
    }

    .contact-hero__copy h1 {
        font-size: 46px;
    }

    .project-inquiry__grid {
        gap: 75px;
    }

}


/* ==========================================================================
   16. RESPONSIVE — 900PX
   ========================================================================== */

@media (max-width: 900px) {

    .contact-hero__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__copy {
        min-height: 0;

        padding:
            42px
            0
            10px;
    }

    .contact-hero__copy h1 {
        max-width: 650px;
    }

    .contact-hero__image {
        min-height: 560px;
    }


    .contact-expectations__grid {
        grid-template-columns: 1fr;
    }

    .contact-expectations article,
    .contact-expectations article:first-child,
    .contact-expectations article:last-child {
        display: grid;
        min-height: 0;
        grid-template-columns: 50px 210px minmax(0, 1fr);
        gap: 20px;

        padding:
            24px
            0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .contact-expectations article > span,
    .contact-expectations strong {
        margin: 0;
    }


    .project-inquiry__grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .project-inquiry__intro {
        position: static;

        max-width: 650px;
    }


    .before-contact__grid,
    .contact-faq__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

}


/* ==========================================================================
   17. RESPONSIVE — 680PX
   ========================================================================== */

@media (max-width: 680px) {

    .contact-hero {
        padding:
            30px
            0
            68px;
    }

    .contact-hero__copy h1 {
        font-size: 40px;
    }

    .contact-hero__lead {
        font-size: 16px;
    }

    .contact-hero__image {
        min-height: 430px;
    }


    .contact-expectations {
        padding-bottom: 60px;
    }

    .contact-expectations article,
    .contact-expectations article:first-child,
    .contact-expectations article:last-child {
        grid-template-columns: 36px 1fr;
        gap: 10px 17px;
    }

    .contact-expectations p {
        grid-column: 2;
    }


    .project-inquiry__intro h2,
    .before-contact h2,
    .contact-faq__grid > div:first-child h2,
    .contact-final h2 {
        font-size: 30px;
    }


    .project-form__grid {
        grid-template-columns: 1fr;
    }


    .project-options {
        grid-template-columns: 1fr;
    }


    .distress-options {
        grid-template-columns: 1fr;
    }

    .distress-options label > span {
        min-height: 118px;
    }


    .photo-upload-demo {
        grid-template-columns: 1fr;
    }

    .photo-upload-demo__button {
        width: 100%;
    }


    .project-form__submit {
        align-items: flex-start;
        flex-direction: column;
    }


    .before-contact__list article {
        grid-template-columns: 1fr;
        gap: 7px;
    }


    .contact-information__grid {
        grid-template-columns: 1fr;
    }


    .contact-final {
        padding:
            72px
            0;
    }

}


/* ==========================================================================
   18. RESPONSIVE — 420PX
   ========================================================================== */

@media (max-width: 420px) {

    .contact-hero__copy h1 {
        font-size: 36px;
    }

    .contact-hero__image {
        min-height: 370px;
    }

    .project-inquiry__intro h2,
    .before-contact h2,
    .contact-faq__grid > div:first-child h2,
    .contact-final h2 {
        font-size: 28px;
    }

    .project-form legend {
        font-size: 18px;
    }

}