
.contact-page {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.contact-header {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.contact-eyebrow {
    margin: 0 0 .35rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #766653;
}

.contact-header h1 {
    margin: 0 0 .75rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
    color: #332b23;
}

.contact-header > p:last-child {
    margin: 0;
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #665d54;
}


/* Layout */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}


/* Form */

.contact-form {
    min-width: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    margin-bottom: .4rem;
    font-size: .9rem;
    font-weight: 600;
    color: #40372e;
}

.form-field .optional {
    font-weight: 400;
    color: #887f76;
}

.form-field input,
.form-field select,
.form-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: .75rem .85rem;

    font: inherit;
    color: #332f2a;

    background: #fff;
    border: 1px solid #cfc8c0;
    border-radius: 6px;

    transition:
            border-color .15s ease,
            box-shadow .15s ease;
}

.form-field input,
.form-field select {
    min-height: 46px;
}

.form-field textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #766653;
    box-shadow: 0 0 0 3px rgb(118 102 83 / 12%);
}


/* Submit */

.contact-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: .5rem;
}

.contact-submit-button {
    min-width: 160px;
    padding: .8rem 1.4rem;

    font: inherit;
    font-weight: 600;

    color: #fff;
    background: #554736;

    border: 0;
    border-radius: 6px;
    cursor: pointer;

    transition:
            background-color .15s ease,
            transform .1s ease;
}

.contact-submit-button:hover {
    background: #40352a;
}

.contact-submit-button:active {
    transform: translateY(1px);
}


/* Contact information */

.contact-info {
    padding-left: 2rem;
    border-left: 1px solid #ddd7d0;
}

.contact-info-section {
    margin-bottom: 2rem;
}

.contact-info h2 {
    margin: 0 0 .55rem;
    font-size: 1rem;
    color: #40372e;
}

.contact-info p,
.contact-info address {
    margin: 0 0 .75rem;
    font-size: .9rem;
    line-height: 1.55;
    color: #71685f;
}

.contact-info address {
    font-style: normal;
}

.contact-info a {
    color: #554736;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-phone {
    display: inline-block;
    margin: .25rem 0 .75rem;
    font-size: 1.2rem;
}

.contact-hours {
    font-size: .85rem !important;
}


/* Molding match callout */

.contact-match {
    margin-top: 2.25rem;
    padding: 1.25rem;

    background: #f5f2ed;
    border-radius: 8px;
}

.contact-match h2 {
    font-size: 1.05rem;
}

.contact-match p {
    font-size: .88rem;
}

.contact-match-link {
    display: inline-block;
    margin-top: .25rem;
}


/* Added by Claude */
.field        { margin-bottom: 1rem; max-width: 32rem; }
.field label  { display: block; margin-bottom: .25rem; font-weight: 600; }
.field input,
.field textarea { width: 100%; padding: .5rem; box-sizing: border-box; }
.error        { display: block; color: #b00020; font-size: .875rem; min-height: 1em; }
.form-status            { max-width: 32rem; padding: .5rem 0; font-weight: 600; }
.form-status.success    { color: #0a7d28; }
.form-status.error      { color: #b00020; }
button[disabled]        { opacity: .6; cursor: progress; }


/* Mobile */

@media (max-width: 760px) {

    .contact-page {
        padding-top: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding-left: 0;
        padding-top: 2rem;
        border-left: 0;
        border-top: 1px solid #ddd7d0;
    }
}

@media (max-width: 520px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-submit-button {
        width: 100%;
    }
}