.page-contact {
    background: #f5f1e9;
}

.contact-page {
    width: min(1180px, calc(100% - 40px));
    margin: 5vmin auto 72px;
    display: grid;
    gap: 24px;
}

.contact-hero,
.contact-form-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(60, 49, 40, .11);
    border-radius: 32px;
    box-shadow: 0 26px 70px rgba(48, 39, 31, .08);
}

.contact-hero {
    padding: clamp(34px, 6vw, 78px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    gap: 64px;
    color: #f8f3ea;
    background: radial-gradient(circle at 12% 14%, rgba(202, 159, 102, .3), transparent 38%), linear-gradient(135deg, #202823, #344c42 58%, #1e2d28);
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -110px;
    width: 340px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .035), 0 0 0 104px rgba(255, 255, 255, .02);
}

.contact-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.contact-hero h1 {
    margin: 12px 0 24px;
    /* font-family: Georgia, "Noto Serif TC", serif; */
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.contact-hero-copy>p:last-child {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 17px;
    line-height: 1.9;
}

.contact-notes {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.contact-notes article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(10px);
}

.contact-notes article>span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d8ad74;
    color: #213029;
    font-weight: 800;
    font-size: 12px;
}

.contact-notes strong {
    font-size: 16px;
}

.contact-notes p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    line-height: 1.6;
}

.contact-form-shell {
    padding: clamp(30px, 5vw, 64px);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}

.contact-form-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 30px;
}

.contact-form-heading h2 {
    margin: 0;
    /* font-family: Georgia, "Noto Serif TC", serif; */
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    color: #28372f;
}

.contact-form-heading>p:last-child {
    margin: 0;
    color: #7b756e;
}

.contact-form-heading span,
.contact-field b {
    color: #b36f43;
}

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

.contact-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-field {
    display: grid;
    gap: 9px;
    color: #423d38;
    font-size: 14px;
    font-weight: 700;
}

.contact-field b {
    font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dcd4ca;
    border-radius: 15px;
    background: #fffdf9;
    padding: 15px 16px;
    color: #2f302e;
    font: inherit;
    font-weight: 500;
    outline: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.contact-field textarea {
    resize: vertical;
    line-height: 1.75;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #597867;
    box-shadow: 0 0 0 4px rgba(89, 120, 103, .12);
    transform: translateY(-1px);
}

.contact-field small {
    justify-self: end;
    color: #8d877f;
    font-weight: 500;
}

.contact-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 6px;
}

.contact-submit-row p {
    max-width: 520px;
    margin: 0;
    color: #817a72;
    font-size: 13px;
    line-height: 1.7;
}

.contact-submit {
    min-width: 210px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 0;
    border-radius: 999px;
    padding: 16px 18px 16px 24px;
    background: #263b32;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(38, 59, 50, .2);
    transition: transform .2s, background .2s;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: #365447;
}

.contact-submit i {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #d8ad74;
    color: #24352e;
    font-style: normal;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.contact-feedback {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    margin: 0 0 26px;
    padding: 17px 18px;
    border-radius: 16px;
}

.contact-feedback>span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 900;
}

.contact-feedback strong {
    display: block;
    margin-bottom: 4px;
}

.contact-feedback p,
.contact-feedback ul {
    margin: 0;
    line-height: 1.65;
}

.contact-feedback--success {
    background: #e9f5ed;
    color: #245e3e;
}

.contact-feedback--success>span {
    background: #2f7a50;
    color: #fff;
}

.contact-feedback--error {
    background: #fff0ec;
    color: #934835;
}

.contact-feedback--error>span {
    background: #b95b43;
    color: #fff;
}

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

@media (max-width:820px) {
    .contact-page {
        width: min(100% - 24px, 1180px);
        
    }

    .contact-hero {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .contact-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-form-shell {
        border-radius: 24px;
    }
}