/* Contact page — only page-specific rules. Shared menu, typography and footer
   remain governed by css/style.css. */
.contact-page {
    flex: 1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: max(650px, calc(100svh - 166px));
    background: linear-gradient(103deg,
        #1e1c1d 0%,
        #242223 38%,
        #333030 67%,
        #474343 100%);
}

.contact-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding-top: clamp(68px, 9vh, 112px);
    padding-bottom: 135px;
}

/* Title and the fine gold rules match the design of Artist Statement. */
.contact-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 34px);
    max-width: 700px;
    margin: 0 auto;
}
.contact-title-row h1 {
    margin: 0;
    color: var(--cream, #f1eadc);
    font-size: clamp(32px, 3vw, 44px);
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}
.contact-title-rule {
    display: block;
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: #a68b67;
}

/* A modest left-aligned message, giving the photographic motif ample space. */
.contact-details {
    width: min(100%, 530px);
    margin-top: clamp(76px, 9vh, 114px);
}
.contact-details p {
    margin: 0;
    color: #e9e1d5;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.55;
}
.contact-email {
    margin-top: 26px !important;
}
.contact-email a {
    display: inline-block;
    color: #d6b384;
    text-decoration: none;
    border-bottom: 1px solid #a58a66;
    padding-bottom: 5px;
    overflow-wrap: anywhere;
    transition: color 0.2s, border-color 0.2s;
}
.contact-email a:hover,
.contact-email a:focus-visible {
    color: #f1d8b5;
    border-bottom-color: #f1d8b5;
}

/* The same film as the generic page, at bottom right; softly absorbed by the
   charcoal-to-grey background, never obscuring the contact information. */
.contact-film {
    position: absolute;
    z-index: 1;
    display: block;
    width: min(850px, 64vw);
    max-width: none;
    height: auto;
    right: -190px;
    bottom: 17px;
    opacity: 0.27;
    filter: sepia(0.9) saturate(0.5) brightness(0.63) contrast(0.82);
    pointer-events: none;
    user-select: none;
}

@media (max-width: 900px) {
    .contact-page { min-height: 630px; }
    .contact-inner { padding-top: 65px; }
    .contact-film { width: min(730px, 78vw); right: -220px; bottom: 17px; opacity: 0.22; }
}
@media (max-width: 720px) {
    .contact-page { min-height: max(520px, calc(100svh - 170px)); }
    .contact-inner { width: min(100% - 38px, 570px); padding-top: 55px; padding-bottom: 210px; }
    .contact-title-row { gap: 13px; }
    .contact-title-row h1 { font-size: clamp(28px, 7vw, 36px); }
    .contact-title-rule { max-width: 60px; }
    .contact-details { margin-top: 56px; width: min(100%, 510px); }
    .contact-details p { font-size: 16px; line-height: 1.55; }
    .contact-film { width: min(680px, 115vw); right: -180px; bottom: 18px; opacity: 0.19; }
}
@media (max-width: 440px) {
    .contact-title-rule { max-width: 34px; }
    .contact-film { width: 540px; right: -255px; bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-email a { transition: none; }
}
