.contact-page {
    --contact-ink: #211914;
    --contact-muted: #756a63;
    --contact-brown: #854027;
    --contact-deep: #6f2b19;
    --contact-line: #eadbd1;
    color: var(--contact-ink);
    background-color: #fcfaf8;
    background-image:
        url("../img/batik-pattern.svg"),
        radial-gradient(ellipse at 14% 24%, rgba(170, 105, 77, .17), transparent 38rem),
        radial-gradient(ellipse at 88% 70%, rgba(196, 155, 126, .12), transparent 34rem);
    background-repeat: repeat, no-repeat, no-repeat;
    background-size: 140px 140px, auto, auto;
    background-attachment: fixed, fixed, fixed;
}

.contact-page #navbar { background-color: rgba(252, 250, 248, .32); }
.contact-page #navbar.shadow-md { background-color: rgba(252, 250, 248, .86); }
.contact-main { overflow: hidden; }
.contact-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    align-items: end;
    padding: 72px max(7vw, 28px) 50px;
    isolation: isolate;
}
.contact-hero-inner { width: min(760px, 100%); margin: 0 auto; text-align: center; }
.contact-eyebrow, .contact-section-kicker {
    margin: 0;
    color: #985a2b;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .16em;
}
.contact-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.contact-eyebrow span { width: 23px; height: 1px; background: #a66338; }
.contact-hero h1 {
    margin: 18px 0 14px;
    color: #211914;
    font-size: clamp(2.7rem, 5.2vw, 4.8rem);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: .99;
}
.contact-hero h1 em { color: var(--contact-brown); font-style: normal; }
.contact-hero-description { max-width: 620px; margin: 0 auto; color: var(--contact-muted); font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.75; }
.contact-hero-mark { position: absolute; z-index: -1; top: 25px; right: 11%; color: rgba(132, 64, 39, .055); font-size: clamp(9rem, 22vw, 19rem); transform: rotate(-14deg); }
.contact-section { padding: 18px max(7vw, 28px) 100px; }
.contact-layout { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.35fr); gap: 24px; width: min(1160px, 100%); margin: 0 auto; align-items: stretch; }
.contact-intro-card, .contact-form-card { border: 1px solid rgba(234, 219, 209, .92); border-radius: 26px; box-shadow: 0 18px 55px rgba(58, 35, 23, .075); }
.contact-intro-card { position: relative; display: flex; min-height: 100%; flex-direction: column; overflow: hidden; padding: clamp(28px, 4vw, 46px); color: #fffaf6; background: linear-gradient(145deg, #874329 0%, #672718 100%); }
.contact-intro-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.1); font-size: 1.2rem; }
.contact-intro-card .contact-section-kicker { margin-top: 34px; color: #f0c69f; }
.contact-intro-card h2 { max-width: 350px; margin: 12px 0 14px; font-size: clamp(1.65rem, 2.5vw, 2.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.contact-intro-card > p:not(.contact-section-kicker) { max-width: 390px; margin: 0; color: rgba(255,250,246,.78); font-size: 1rem; line-height: 1.75; }
.contact-note { display: flex; gap: 12px; align-items: flex-start; margin-top: auto; padding-top: 40px; color: rgba(255,250,246,.83); font-size: .9rem; line-height: 1.6; }
.contact-note i { margin-top: 3px; color: #edc398; }
.contact-decoration { position: absolute; right: -10px; bottom: -30px; color: rgba(255,255,255,.045); font-size: 3rem; font-weight: 800; letter-spacing: -.06em; }
.contact-form-card { padding: clamp(26px, 4vw, 44px); background: rgba(255,255,255,.88); }
.contact-form-heading { margin-bottom: 26px; }
.contact-form-heading h2 { margin: 9px 0 7px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 720; letter-spacing: -.035em; }
.contact-form-heading > p:last-child { margin: 0; color: var(--contact-muted); font-size: .92rem; }
.contact-form-heading > p:last-child span, .contact-field label span { color: #a02f20; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.contact-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.contact-field-full { grid-column: 1 / -1; }
.contact-field label { color: #41342d; font-size: .9rem; font-weight: 650; }
.contact-field input, .contact-field textarea { width: 100%; border: 1px solid #e7dcd4; border-radius: 12px; outline: none; background: #fffdfb; color: var(--contact-ink); font: inherit; font-size: .96rem; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.contact-field input { min-height: 50px; padding: 0 15px; }
.contact-field textarea { min-height: 142px; padding: 13px 15px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #a59a92; }
.contact-field input:focus, .contact-field textarea:focus { border-color: #a96943; background: #fff; box-shadow: 0 0 0 4px rgba(169,105,67,.13); }
.contact-submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; border: 0; border-radius: 13px; background: linear-gradient(110deg, #874329, #741d12); color: white; cursor: pointer; font: inherit; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.contact-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(116,29,18,.2); }
.contact-submit:focus-visible { outline: 3px solid rgba(169,105,67,.35); outline-offset: 3px; }
.contact-submit:disabled { cursor: wait; opacity: .72; }
.contact-privacy { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; color: #8a7d74; font-size: .8rem; text-align: center; }
.contact-privacy i { color: #9c6948; }
.contact-result { margin: 0 0 16px; padding: 13px 15px; border: 1px solid; border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.contact-result[hidden] { display: none; }
.contact-result.is-success { border-color: #b8ddc5; background: #f0faf3; color: #22663a; }
.contact-result.is-error { border-color: #efc5bf; background: #fff5f3; color: #9a2f24; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 760px) {
    .contact-hero { min-height: auto; padding: 54px 22px 30px; }
    .contact-hero h1 { font-size: clamp(2.55rem, 11vw, 4rem); }
    .contact-hero-description { line-height: 1.65; }
    .contact-hero-mark { top: 8px; right: -12px; font-size: 10rem; }
    .contact-section { padding: 16px 18px 64px; }
    .contact-layout { grid-template-columns: 1fr; gap: 16px; max-width: 560px; }
    .contact-intro-card { display: none; }
    .contact-form-card { padding: 25px 21px; }
}
@media (max-width: 440px) {
    .contact-hero { padding-inline: 18px; }
    .contact-eyebrow { font-size: .68rem; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-field-full { grid-column: auto; }
    .contact-form-heading { margin-bottom: 22px; }
    .contact-field textarea { min-height: 128px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-page *, .contact-page *::before, .contact-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
