.contact-page {
    background: var(--ivory);
}

.contact-main {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 32%, rgba(232, 173, 0, 0.11), transparent 25rem),
        linear-gradient(180deg, rgba(251, 248, 241, 0.94), var(--ivory) 48%, #f6efe4);
    color: var(--ink);
}

.contact-wrap {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
}

.contact-wrap h1 em {
    color: var(--gold);
    font-family: "Playfair Display Italic", Georgia, serif;
}

.contact-hero {
    position: relative;
    min-height: 100vh;
    padding: 154px 0 92px;
}

.contact-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 76%);
    content: "";
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.92fr);
    gap: clamp(34px, 5vw, 82px);
    align-items: center;
}

.contact-copy {
    position: relative;
    z-index: 2;
}

.contact-eyebrow,
.contact-form-kicker {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-copy h1 {
    max-width: 620px;
    margin: 0 0 28px;
    color: var(--black);
    font-family: "Playfair Display", Georgia, serif;

    font-size: 48px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0;
}

.contact-lead {
    max-width: 590px;
    margin: 0;
    color: var(--graphite);

    font-size: 18px;
    line-height: 1.1;
}

.contact-routing {
    display: grid;
    gap: 0;
    width: min(560px, 100%);
    margin-top: 54px;
    border-top: 1px solid rgba(232, 173, 0, 0.36);
    border-bottom: 1px solid rgba(232, 173, 0, 0.36);
}

.contact-route {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin: 0;
    padding: 24px 0;
}

.contact-route+.contact-route {
    border-top: 1px solid rgba(232, 173, 0, 0.3);
}

.contact-route-icon {
    position: relative;
    display: inline-grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border: 1px solid rgba(232, 173, 0, 0.72);
    border-radius: 50%;
    background: var(--black);
    color: var(--gold);
    box-shadow: 0 16px 34px rgba(38, 27, 6, 0.18);
}

.contact-route-icon svg,
.contact-submit svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-route h2 {
    margin: 0 0 8px;
    color: #9a6d00;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-route p {
    margin: 0;
    color: var(--graphite);
    font-size: 16px;
}

.contact-visual {
    position: absolute;

    left: -15%;

    bottom: 10%;
    z-index: 0;

    width: 200px;

    pointer-events: none;
}

.contact-visual img {
    display: block;
    width: 100%;
    height: auto;

    -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.25) 22%, #000 58%);
    mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.25) 50%, #000 100%);
}

.contact-form {
    position: relative;
    display: grid;
    gap: 24px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(232, 173, 0, 0.58);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0, rgba(232, 173, 0, 0.15), transparent 30%),
        linear-gradient(135deg, #171612, #050505 56%, #11100d);
    color: var(--ivory);
    box-shadow: 0 28px 86px rgba(34, 24, 6, 0.28);
}

.contact-form::before {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(232, 173, 0, 0.12);
    border-radius: 6px;
    pointer-events: none;
    content: "";
}

.contact-form-head {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-form-head h2 {
    color: var(--gold) !important;
}

.contact-form-kicker {
    margin-bottom: 12px;
}

.contact-form h2 {
    margin: 0;
    color: var(--white);
    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0;
}

.contact-reason {
    position: relative;
    z-index: 1;
}

.contact-field label {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-field {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.contact-select {
    position: relative;
}

.contact-select::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    pointer-events: none;
    transform: translateY(-62%) rotate(45deg);
    content: "";
}

.contact-select select {
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 16px;
    border: 1px solid rgba(232, 173, 0, 0.48);
    border-radius: 6px;
    appearance: none;
    background:
        linear-gradient(135deg, rgba(232, 173, 0, 0.16), rgba(255, 255, 255, 0.04)),
        #11100d;
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-select select:focus {
    border-color: var(--gold);
    background:
        linear-gradient(135deg, rgba(232, 173, 0, 0.22), rgba(255, 255, 255, 0.06)),
        #14130f;
    box-shadow: 0 0 0 3px rgba(232, 173, 0, 0.14);
    outline: 0;
}

.contact-select select option {
    background: #11100d;
    color: var(--white);
    font-size: 13px;
    line-height: 1;
}

.contact-select select optgroup {
    background: #11100d;
    color: var(--gold);
    font-size: 13px;
    font-style: normal;
    line-height: 1;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(232, 173, 0, 0.36);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-field input {
    min-height: 52px;
    padding: 0 16px;
}

.contact-field textarea {
    min-height: 132px;
    padding: 15px 16px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(232, 173, 0, 0.14);
    outline: 0;
}

.contact-submit {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    border: 0;
    border-radius: 6px;
    background: var(--gold);
    color: var(--black);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 180ms ease, transform 180ms ease;
}

.contact-submit:hover {
    background: var(--champagne);
    transform: translateY(-2px);
}

.contact-submit svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.contact-layout,
.contact-wrap,
.contact-copy,
.contact-routing,
.contact-route,
.contact-form,
.contact-field,
.contact-reason {
    min-width: 0;
}

@media (max-width: 1180px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .contact-copy h1,
    .contact-lead,
    .contact-routing {
        max-width: 760px;
    }

    .contact-form {
        width: min(760px, 100%);
    }

    .contact-visual {
        display: none;
    }
}

@media (max-width: 760px) {
    .contact-wrap {
        width: min(100% - 28px, 640px);
    }

    .contact-hero {
        min-height: auto;
        padding: 126px 0 66px;
    }

    .contact-copy h1 {
        font-size: 24px;
        margin: 0 0 10px;
    }

    .contact-lead {
        font-size: 12px;
    }

    .contact-routing {
        margin-top: 20px;
        grid-auto-flow: column;
        justify-content: start;
        align-items: start;
        gap: 10px;
    }

    .contact-route h2 {
        font-size: 10px;
        letter-spacing: unset;
        line-height: 1.2;
    }

    .contact-route {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
        padding: 20px 0;
        justify-items: center;
        text-align: center;
    }

    .contact-route-icon {
        width: 54px;
        height: 54px;
    }

    .contact-route-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-route p {
        font-size: 12px;
    }

    .contact-route+.contact-route {
        border-top: unset;
    }

    .contact-form {
        gap: 20px;
        padding: 24px 18px;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-visual {
        right: -48px;
        bottom: auto;
        top: 96px;
        width: 210px;
        opacity: 0.1;
    }

    .contact-page .contact-routing>article.contact-route {
        position: relative;
    }

    .contact-page .contact-routing>article.contact-route:not(:last-child)::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 50%;
        background-color: var(--gold);
        opacity: 0.3;
    }

    .contact-route {
        grid-template-columns: 1fr;
    }

    .contact-route-icon {
        margin-bottom: 2px;
    }

    .contact-hero {
        padding-top: clamp(116px, 30vw, 140px);
    }

    .contact-copy h1 {
        max-width: 100%;
        line-height: 1;
        overflow-wrap: anywhere;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .contact-submit {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .contact-select select {
        padding-right: 34px;
        padding-left: 12px;
        font-size: 12px;
    }

    .contact-select::after {
        right: 13px;
        width: 8px;
        height: 8px;
    }
}
.contact-form-feedback {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
}

.contact-form-feedback p {
    margin: 0;
}

.contact-form-feedback-success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.contact-form-feedback-error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.contact-field-error {
    display: block;
    margin-top: 0.35rem;
    color: #b91c1c;
    font-size: 0.82rem;
}

.contact-form-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
