/* =========================================
   CONTACT PAGE (Moss LED)
   Loaded on the Contact page only. Every rule is scoped to .ge-contact,
   so other pages are unaffected.
========================================= */

/* Newsreader, SIL Open Font License 1.1 (see assets/fonts/newsreader/OFL.txt).
   Same files and declaration as home.css, which loads on the front page only. */
@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/newsreader/newsreader-latin-400-normal.woff2") format("woff2");
}

.ge-contact {
    --ge-moss: #0e1612;
    --ge-layer: #131e18;
    --ge-pine: #1e2b24;
    --ge-sunset: #c9774a;
    --ge-sunset-light: #dd946a;
    --ge-stone: #d8c9b2;
    --ge-muted: #b4ab9a;
    --ge-line: rgba(216, 201, 178, 0.12);
    --ge-line-strong: rgba(216, 201, 178, 0.26);
    --ge-display: "Newsreader", Georgia, "Times New Roman", serif;

    display: block;
    padding-bottom: 72px;
    background: var(--ge-moss);
    color: var(--ge-stone);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:where(.ge-contact) h1,
:where(.ge-contact) h2,
:where(.ge-contact) p {
    margin: 0;
}

:where(.ge-contact) h1,
:where(.ge-contact) h2 {
    font-family: var(--ge-display);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.ge-contact__wrap {
    width: min(100% - 48px, 1248px);
    margin: 0 auto;
}

/* Introduction */
.ge-contact__intro {
    padding: 64px 0 48px;
}

.ge-contact__kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ge-muted);
}

.ge-contact__kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ge-sunset);
}

.ge-contact__title {
    margin-top: 16px;
    font-size: clamp(2.05rem, 1.5rem + 2.2vw, 3.7rem);
    line-height: 1.04;
}

.ge-contact__lead {
    max-width: 44ch;
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ge-muted);
}

/* Contact methods */
.ge-contact__methods {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 16px;
    align-items: start;
}

.ge-contact__method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 24px;
    background: var(--ge-layer);
    border: 1px solid var(--ge-line);
    border-radius: 16px;
}

.ge-contact__method--primary {
    background: var(--ge-pine);
    border-color: var(--ge-line-strong);
}

.ge-contact__label {
    font-size: 28px;
    line-height: 1.1;
}

.ge-contact__method--primary .ge-contact__label {
    font-size: 34px;
}

.ge-contact__text {
    max-width: 46ch;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ge-muted);
}

.ge-contact__detail {
    max-width: 100%;
    font-size: 14.5px;
    color: var(--ge-muted);
    overflow-wrap: anywhere;
}

/* Buttons: same shape as the homepage buttons */
.ge-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 4px;
    padding: 0 20px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}

.ge-contact__btn--primary {
    background: var(--ge-sunset);
    color: var(--ge-moss);
}

.ge-contact__btn--primary:hover {
    background: var(--ge-sunset-light);
}

.ge-contact__btn--secondary {
    border-color: var(--ge-line-strong);
    color: var(--ge-stone);
}

.ge-contact__btn--secondary:hover {
    border-color: var(--ge-stone);
}

.ge-contact a:focus-visible {
    outline: 2px solid var(--ge-sunset-light);
    outline-offset: 3px;
}

/* Optional page content added in the editor */
.ge-contact__content {
    margin-top: 40px;
    max-width: 760px;
    overflow-wrap: break-word;
}

.ge-contact__content a {
    color: var(--ge-stone);
    text-decoration-color: var(--ge-sunset);
}

@media (max-width: 767px) {

    .ge-contact__wrap {
        width: min(100% - 32px, 1248px);
    }

    .ge-contact__intro {
        padding: 44px 0 32px;
    }

    .ge-contact__methods {
        grid-template-columns: 1fr;
    }

    .ge-contact__method {
        padding: 20px;
    }

    .ge-contact__method--primary .ge-contact__label {
        font-size: 30px;
    }

    .ge-contact__btn {
        align-self: stretch;
    }
}
