:is(.page-contact, .contact-scope) main {
    overflow: hidden;
    background: var(--ice);
}

:is(.page-contact, .contact-scope) .contact-intake {
    display: grid;
    background: var(--white);
}

:is(.page-contact, .contact-scope) .contact-form-panel {
    min-width: 0;
    background: var(--white);
}

:is(.page-contact, .contact-scope) .contact-form-panel__inner,
:is(.page-contact, .contact-scope) .contact-info__inner,
:is(.page-contact, .contact-scope) .contact-guidance,
:is(.page-contact, .contact-scope) .contact-reassurance__copy {
    padding-inline: 1.5rem;
}

:is(.page-contact, .contact-scope) .contact-form-panel__inner {
    padding-block: 4.5rem 5rem;
}

:is(.page-contact, .contact-scope) .contact-form-panel .accent-line,
:is(.page-contact, .contact-scope) .contact-info .accent-line,
:is(.page-contact, .contact-scope) .contact-guidance .accent-line,
:is(.page-contact, .contact-scope) .contact-reassurance .accent-line {
    margin-top: 1.15rem;
}

:is(.page-contact, .contact-scope) .contact-form-panel h1,
:is(.page-contact, .contact-scope) .contact-info h2,
:is(.page-contact, .contact-scope) .contact-guidance h2,
:is(.page-contact, .contact-scope) .contact-reassurance h2 {
    margin-top: 2rem;
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.07;
}

:is(.page-contact, .contact-scope) .contact-form-panel h1 {
    color: var(--anthracite);
    font-size: clamp(2.8rem, 12vw, 4.3rem);
}

:is(.page-contact, .contact-scope) .contact-form-panel__intro {
    max-width: 40rem;
    margin-top: 1.5rem;
    color: rgba(47, 55, 58, 0.78);
    font-size: 1rem;
    line-height: 1.55;
}

:is(.page-contact, .contact-scope) .form-status:not(:empty) {
    margin-top: 1.8rem;
}

:is(.page-contact, .contact-scope) .form-notice {
    padding: 1rem 1.1rem;
    border-left: 4px solid;
    font-size: 0.95rem;
    line-height: 1.45;
}

:is(.page-contact, .contact-scope) .form-notice--success {
    border-color: var(--turquoise);
    color: var(--anthracite);
    background: var(--ice);
}

:is(.page-contact, .contact-scope) .form-notice--error {
    border-color: #a23a3a;
    color: #762727;
    background: #fff0f0;
}

:is(.page-contact, .contact-scope) .contact-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem 1.5rem;
    margin-top: 2.75rem;
}

:is(.page-contact, .contact-scope) .contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

:is(.page-contact, .contact-scope) .form-field {
    min-width: 0;
}

:is(.page-contact, .contact-scope) .form-field > label,
:is(.page-contact, .contact-scope) .consent-control label {
    display: block;
    color: var(--anthracite);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

:is(.page-contact, .contact-scope) .consent-control label a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

:is(.page-contact, .contact-scope) .consent-control label a:hover {
    color: var(--anthracite);
}

:is(.page-contact, .contact-scope) .field-option {
    display: block;
    margin-top: 0.15rem;
    color: rgba(47, 55, 58, 0.7);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 400;
}

:is(.page-contact, .contact-scope) input:not([type="checkbox"]):not([type="file"]),
:is(.page-contact, .contact-scope) select,
:is(.page-contact, .contact-scope) textarea {
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.75rem 0.1rem;
    color: var(--anthracite);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(47, 55, 58, 0.45);
    border-radius: 0;
    font: inherit;
    font-size: 1rem;
}

:is(.page-contact, .contact-scope) select {
    min-height: 3.15rem;
}

:is(.page-contact, .contact-scope) textarea {
    min-height: 5.5rem;
    resize: vertical;
    line-height: 1.5;
}

:is(.page-contact, .contact-scope) #message {
    min-height: 9rem;
}

:is(.page-contact, .contact-scope) input::placeholder,
:is(.page-contact, .contact-scope) textarea::placeholder {
    color: rgba(47, 55, 58, 0.58);
    opacity: 1;
}

:is(.page-contact, .contact-scope) input:not([type="checkbox"]):not([type="file"]):focus,
:is(.page-contact, .contact-scope) select:focus,
:is(.page-contact, .contact-scope) textarea:focus {
    outline: 0;
    border-bottom-color: var(--turquoise-strong);
    box-shadow: 0 2px 0 var(--turquoise-strong);
}

:is(.page-contact, .contact-scope) [aria-invalid="true"] {
    border-color: #a23a3a !important;
}

:is(.page-contact, .contact-scope) .form-field--upload input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 0.8rem;
    padding: 0.85rem;
    color: var(--anthracite);
    background: var(--ice);
    border: 1px solid var(--pearl);
    border-radius: 0;
    font: inherit;
    font-size: 0.88rem;
}

:is(.page-contact, .contact-scope) .form-field--upload input::file-selector-button {
    margin-right: 0.8rem;
    padding: 0.65rem 0.8rem;
    color: var(--white);
    background: var(--anthracite);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

:is(.page-contact, .contact-scope) .field-help,
:is(.page-contact, .contact-scope) .required-note {
    margin-top: 0.6rem;
    color: rgba(47, 55, 58, 0.72);
    font-size: 0.78rem;
    line-height: 1.45;
}

:is(.page-contact, .contact-scope) .form-error {
    margin-top: 0.45rem;
    color: #8d2929;
    font-size: 0.8rem;
    font-weight: 500;
}

:is(.page-contact, .contact-scope) .consent-control {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    align-items: start;
    gap: 0.8rem;
}

:is(.page-contact, .contact-scope) .consent-control input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.12rem 0 0;
    accent-color: var(--turquoise-strong);
}

:is(.page-contact, .contact-scope) .consent-control label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
}

:is(.page-contact, .contact-scope) .form-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.2rem;
}

:is(.page-contact, .contact-scope) .form-submit .button {
    min-width: 12.5rem;
    min-height: 3.25rem;
    cursor: pointer;
}

:is(.page-contact, .contact-scope) .form-submit .button:disabled {
    cursor: wait;
    opacity: 0.66;
    transform: none;
}

:is(.page-contact, .contact-scope) .contact-info {
    min-width: 0;
    color: var(--white);
    background: var(--anthracite);
}

:is(.page-contact, .contact-scope) .contact-info__inner {
    display: flex;
    min-height: 36rem;
    flex-direction: column;
    padding-block: 4.5rem;
}

:is(.page-contact, .contact-scope) .contact-info h2 {
    color: var(--white);
    font-size: clamp(3rem, 13vw, 4.5rem);
}

:is(.page-contact, .contact-scope) .contact-info__lead {
    max-width: 31rem;
    margin-top: 1.8rem;
    color: var(--white);
    line-height: 1.6;
}

:is(.page-contact, .contact-scope) .contact-details {
    margin: 3.25rem 0 0;
}

:is(.page-contact, .contact-scope) .contact-details > div {
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

:is(.page-contact, .contact-scope) .contact-details dt {
    color: var(--turquoise);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

:is(.page-contact, .contact-scope) .contact-details dd {
    margin: 0.35rem 0 0;
    overflow-wrap: anywhere;
    font-size: 1rem;
}

:is(.page-contact, .contact-scope) .contact-details a {
    text-decoration: underline;
    text-decoration-color: rgba(125, 201, 208, 0.55);
    text-underline-offset: 0.25rem;
}

:is(.page-contact, .contact-scope) .contact-details a:hover {
    color: var(--turquoise);
}

:is(.page-contact, .contact-scope) .contact-info__note {
    max-width: 28rem;
    margin-top: auto;
    padding-top: 3rem;
    color: var(--pearl);
    font-size: 0.85rem;
    line-height: 1.55;
}

:is(.page-contact, .contact-scope) .contact-guidance {
    padding-block: 5rem;
    background: var(--ice);
}

:is(.page-contact, .contact-scope) .contact-guidance h2 {
    color: var(--anthracite);
    font-size: clamp(2.5rem, 10vw, 4rem);
}

:is(.page-contact, .contact-scope) .contact-guidance__items {
    display: grid;
    margin-top: 3rem;
    border-top: 1px solid var(--pearl);
}

:is(.page-contact, .contact-scope) .contact-guidance article {
    min-height: 13rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--pearl);
}

:is(.page-contact, .contact-scope) .contact-guidance article > span {
    display: block;
    color: var(--turquoise-strong);
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1;
}

:is(.page-contact, .contact-scope) .contact-guidance h3 {
    margin: 1.5rem 0 0;
    color: var(--anthracite);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
    text-transform: uppercase;
}

:is(.page-contact, .contact-scope) .contact-guidance article p {
    max-width: 25rem;
    margin-top: 1rem;
    color: rgba(47, 55, 58, 0.78);
    line-height: 1.55;
}

:is(.page-contact, .contact-scope) .contact-reassurance {
    position: relative;
    display: flex;
    min-height: 37rem;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background: var(--anthracite);
}

:is(.page-contact, .contact-scope) .contact-reassurance__copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-block: 5rem;
}

:is(.page-contact, .contact-scope) .contact-reassurance h2 {
    max-width: 56rem;
    font-size: clamp(2.9rem, 11vw, 4.7rem);
}

:is(.page-contact, .contact-scope) .contact-reassurance__copy > p:last-child {
    max-width: 36rem;
    margin-top: 2rem;
    color: var(--white);
    line-height: 1.6;
}

:is(.page-contact, .contact-scope) .contact-reassurance > img {
    position: absolute;
    z-index: 1;
    inset: -4%;
    width: 108%;
    max-width: none;
    height: 108%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    pointer-events: none;
}

@media (min-width: 48rem) {
    :is(.page-contact, .contact-scope) .contact-intake {
        grid-template-columns: minmax(18rem, 40%) minmax(0, 60%);
        grid-template-areas: "info form";
    }

    :is(.page-contact, .contact-scope) .contact-form-panel {
        grid-area: form;
    }

    :is(.page-contact, .contact-scope) .contact-info {
        grid-area: info;
    }

    :is(.page-contact, .contact-scope) .contact-form-panel__inner,
    :is(.page-contact, .contact-scope) .contact-info__inner {
        padding-inline: clamp(2rem, 4vw, 4.5rem);
        padding-block: clamp(5rem, 7vw, 7rem);
    }

    :is(.page-contact, .contact-scope) .contact-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :is(.page-contact, .contact-scope) .form-field--wide {
        grid-column: 1 / -1;
    }

    :is(.page-contact, .contact-scope) .contact-info__inner {
        min-height: 100%;
    }

    :is(.page-contact, .contact-scope) .contact-info h2 {
        font-size: clamp(3rem, 4.4vw, 4rem);
    }

    :is(.page-contact, .contact-scope) .contact-guidance {
        padding: 6rem clamp(2.5rem, 6vw, 7rem);
    }

    :is(.page-contact, .contact-scope) .contact-guidance__items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    :is(.page-contact, .contact-scope) .contact-guidance article {
        padding: 2.5rem 2rem;
        border-right: 1px solid var(--pearl);
    }

    :is(.page-contact, .contact-scope) .contact-guidance article:first-child {
        padding-left: 0;
    }

    :is(.page-contact, .contact-scope) .contact-guidance article:last-child {
        padding-right: 0;
        border-right: 0;
    }

    :is(.page-contact, .contact-scope) .contact-reassurance__copy {
        padding: 7rem clamp(2.5rem, 7vw, 8rem);
    }
}

@media (min-width: 75rem) {
    :is(.page-contact, .contact-scope) .contact-intake {
        grid-template-columns: minmax(28rem, 39%) minmax(0, 61%);
    }

    :is(.page-contact, .contact-scope) .contact-form-panel__inner {
        max-width: 58rem;
        padding-inline: clamp(4rem, 6vw, 7rem);
    }

    :is(.page-contact, .contact-scope) .contact-info__inner {
        padding-inline: clamp(4rem, 6vw, 7rem);
    }

    :is(.page-contact, .contact-scope) .contact-info h2 {
        font-size: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.page-contact, .contact-scope) .button {
        transition: none;
    }
}

@media (max-width: 47.99rem) {
    :is(.page-contact, .contact-scope) .contact-form-panel h1 {
        font-size: clamp(2.35rem, 10.2vw, 2.7rem);
        overflow-wrap: anywhere;
    }

    :is(.page-contact, .contact-scope) .contact-info h2 {
        font-size: clamp(2.65rem, 11.4vw, 3rem);
        overflow-wrap: anywhere;
    }

    :is(.page-contact, .contact-scope) .contact-guidance h2,
    :is(.page-contact, .contact-scope) .contact-reassurance h2 {
        font-size: clamp(2.35rem, 10.2vw, 2.75rem);
        overflow-wrap: anywhere;
    }
}

@media (min-width: 48rem) and (max-width: 74.99rem) {
    :is(.page-contact, .contact-scope) .contact-form-panel h1 {
        font-size: 3.25rem;
        overflow-wrap: anywhere;
    }

    :is(.page-contact, .contact-scope) .contact-info h2 {
        font-size: 2.65rem;
        overflow-wrap: anywhere;
    }
}
