/* June Moore contact page — compact, quiet, and accessible. */
.jm-contact-page {
    background: #f3f1ec;
    color: #1c1e1b;
}

.jm-contact-shell {
    width: min(980px, calc(100% - 40px));
    margin-inline: auto;
}

.jm-contact-hero {
    padding: clamp(48px, 5vw, 68px) 0 clamp(36px, 4vw, 48px);
    border-bottom: 1px solid rgba(20, 37, 31, 0.16);
}

.jm-contact-eyebrow {
    margin: 0 0 14px;
    color: #a67c2f;
    font: 600 0.7rem/1.2 Inter, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.jm-contact-hero h1 {
    max-width: 640px;
    margin: 0;
    font: 400 clamp(2.5rem, 4.4vw, 4rem)/1.04 "Playfair Display", serif;
    letter-spacing: -0.03em;
}

.jm-contact-hero > .jm-contact-shell > p:last-child {
    max-width: 640px;
    margin: 18px 0 0;
    color: #5e615c;
    font: 400 clamp(0.98rem, 1.1vw, 1.05rem)/1.6 Inter, sans-serif;
}

.jm-contact-section {
    padding: clamp(40px, 5vw, 56px) 0;
}

.jm-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: clamp(28px, 3vw, 40px);
    align-items: start;
}

.jm-contact-form-card {
    padding: clamp(26px, 2.5vw, 34px);
    background: #fff;
    border: 1px solid rgba(166, 124, 47, 0.35);
}

.jm-contact-form-card > h2,
.jm-contact-aside h2 {
    margin: 0 0 20px;
    font: 400 clamp(1.65rem, 2.1vw, 2rem)/1.12 "Playfair Display", serif;
}

.jm-contact-form {
    display: grid;
    gap: 6px;
}

.jm-contact-form label {
    margin-top: 12px;
    color: #454943;
    font: 600 0.7rem/1.3 Inter, sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.jm-contact-form input,
.jm-contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #c9c1b5;
    border-radius: 0;
    background: #faf8f4;
    color: #1c1e1b;
    font: 400 1rem/1.5 Inter, sans-serif;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.jm-contact-form input {
    min-height: 52px;
    padding: 0 14px;
}

.jm-contact-form textarea {
    min-height: 144px;
    padding: 12px 14px;
    resize: vertical;
}

.jm-contact-form input:focus,
.jm-contact-form textarea:focus {
    outline: none;
    border-color: #a67c2f;
    box-shadow: 0 0 0 3px rgba(205, 170, 99, 0.2);
}

.jm-contact-form input::placeholder {
    color: #858981;
}

.jm-contact-required {
    margin: 6px 0 10px;
    color: #6d706a;
    font: 400 0.78rem/1.5 Inter, sans-serif;
}

.jm-contact-form button {
    justify-self: start;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid #cdaa63;
    border-radius: 0;
    background: #cdaa63;
    color: #14251f;
    cursor: pointer;
    font: 700 0.78rem/1 Inter, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.jm-contact-form button:hover,
.jm-contact-form button:focus-visible {
    border-color: #14251f;
    background: #14251f;
    color: #f3f1ec;
}

.jm-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.jm-contact-aside {
    padding: 28px;
    background: #243a32;
    color: #f3f1ec;
}

.jm-contact-aside .jm-contact-eyebrow {
    color: #d2aa58;
}

.jm-contact-aside h2 {
    color: #f3f1ec;
}

.jm-contact-email {
    display: inline-block;
    overflow-wrap: anywhere;
    color: #f3f1ec;
    font: 400 clamp(1.05rem, 1.35vw, 1.2rem)/1.4 "Playfair Display", serif;
    text-decoration-color: #d2aa58;
    text-underline-offset: 5px;
}

.jm-contact-care {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(210, 170, 88, 0.5);
}

.jm-contact-care h3,
.jm-contact-status h3 {
    margin: 0 0 10px;
    font: 400 1.2rem/1.2 "Playfair Display", serif;
}

.jm-contact-care p {
    margin: 0 0 12px;
    color: #dedbd3;
    font: 400 0.875rem/1.65 Inter, sans-serif;
}

.jm-contact-care a {
    color: #f3f1ec;
}

.jm-contact-status,
.jm-contact-error {
    padding: 18px;
    border-left: 3px solid #cdaa63;
    background: #f7f2e8;
}

.jm-contact-status p,
.jm-contact-error {
    margin: 0;
    color: #454943;
    font: 400 0.95rem/1.6 Inter, sans-serif;
}

@media (max-width: 820px) {
    .jm-contact-shell {
        width: min(100% - 32px, 640px);
    }

    .jm-contact-hero {
        padding-top: 44px;
    }

    .jm-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jm-contact-form input,
    .jm-contact-form textarea,
    .jm-contact-form button {
        transition: none;
    }
}
