.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* =========================================================
   HEADER
   ========================================================= */

.contact-header {
    min-height: 90px;

    padding:
        20px
        clamp(22px, 5vw, 80px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(7, 7, 9, 0.92);
}


.contact-brand {
    display: flex;
    align-items: end;
    gap: 3px;
}


.contact-brand-main {
    color: #f2f2f3;

    font-size: 29px;
    font-weight: 950;

    letter-spacing: -0.055em;
}


.contact-brand-dot {
    color: var(--red-bright);

    font-size: 20px;
    font-weight: 950;
}


.contact-back {
    min-height: 38px;

    padding:
        0
        14px;

    display: flex;
    align-items: center;
    gap: 9px;

    border:
        1px solid var(--border);

    border-radius: 4px;

    color: #9999a1;

    font-size: 8px;
    font-weight: 900;
}


.contact-back span {
    color: var(--red-bright);
}


/* =========================================================
   MAIN
   ========================================================= */

.contact-main {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    padding:
        36px
        clamp(22px, 5vw, 80px)
        75px;

    flex: 1;
}


.breadcrumb {
    margin-bottom: 30px;

    display: flex;
    gap: 9px;

    color: #66666e;

    font-size: 8px;
    font-weight: 800;
}


.breadcrumb span:last-child {
    color: #9999a0;
}


.contact-kicker {
    color: var(--red-bright);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.22em;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;

    margin-bottom: 28px;

    padding:
        45px
        0
        34px;

    border-bottom:
        1px solid var(--border);
}


.contact-hero::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 170px;
    height: 1px;

    background:
        var(--red-bright);
}


.contact-hero h1 {
    margin:
        5px
        0
        8px;

    color: #f2f2f4;

    font-size:
        clamp(42px, 6vw, 68px);

    font-weight: 950;

    letter-spacing: -0.055em;
}


.contact-hero p {
    margin: 0;

    max-width: 680px;

    color: #7a7a82;

    font-size: 11px;
}


/* =========================================================
   CONTACT CARDS
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}


.contact-card {
    position: relative;

    min-height: 260px;

    padding:
        26px
        24px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 20, 24, 0.9),
            rgba(9, 9, 12, 0.94)
        );

    transition:
        transform 180ms ease,
        border-color 180ms ease;
}


.contact-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(227, 38, 46, 0.35);
}


.contact-card-number {
    position: absolute;

    right: 18px;
    top: 8px;

    color:
        rgba(255, 255, 255, 0.035);

    font-size: 60px;
    font-weight: 950;
}


.contact-card-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(227, 38, 46, 0.24);

    border-radius: 4px;

    background:
        rgba(227, 38, 46, 0.055);

    color: var(--red-bright);

    font-size: 14px;
    font-weight: 900;
}


.contact-card h2 {
    margin:
        56px
        0
        9px;

    color: #e8e8eb;

    font-size: 19px;
    font-weight: 950;
}


.contact-card p {
    max-width: 520px;

    margin:
        0
        0
        20px;

    color: #777780;

    font-size: 10px;
    line-height: 1.7;
}


.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #95959d;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.07em;

    transition:
        color 180ms ease,
        gap 180ms ease;
}


.contact-link span {
    color: var(--red-bright);
}


.contact-link:hover {
    color: #fff;
    gap: 19px;
}


/* =========================================================
   DIRECT CONTACT / IRC
   ========================================================= */

.direct-contact {
    margin-top: 42px;

    padding:
        30px;

    display: grid;

    grid-template-columns:
        1fr
        minmax(360px, 0.9fr);

    gap: 45px;

    align-items: center;

    border:
        1px solid rgba(227, 38, 46, 0.16);

    border-radius: 7px;

    background:
        radial-gradient(
            circle at 15% 100%,
            rgba(227, 38, 46, 0.09),
            transparent 35%
        ),
        rgba(13, 13, 16, 0.85);
}


.direct-contact-heading h2 {
    margin:
        4px
        0
        6px;

    color: #ededf0;

    font-size: 34px;
    font-weight: 950;
}


.direct-contact-heading p {
    margin: 0;

    color: #777780;

    font-size: 10px;
}


.irc-box {
    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 5px;

    background:
        rgba(5, 5, 7, 0.45);
}


.irc-row {
    min-height: 46px;

    padding:
        0
        15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}


.irc-row:last-child {
    border-bottom: 0;
}


.irc-row span {
    color: #66666e;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 0.1em;
}


.irc-row strong {
    color: #d3d3d7;

    font-size: 10px;
}


/* =========================================================
   NOTE
   ========================================================= */

.contact-note {
    margin-top: 18px;

    padding:
        27px
        29px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    background:
        rgba(14, 14, 17, 0.7);
}


.contact-note h2 {
    margin:
        3px
        0
        5px;

    color: #dfdfe2;

    font-size: 20px;
    font-weight: 950;
}


.contact-note p {
    max-width: 650px;

    margin: 0;

    color: #707078;

    font-size: 9px;
}


.contact-note-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 7px;
}


.contact-note-links a {
    padding:
        7px
        10px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 4px;

    background:
        rgba(255, 255, 255, 0.02);

    color: #818189;

    font-size: 7px;
    font-weight: 900;

    transition:
        border-color 180ms ease,
        color 180ms ease;
}


.contact-note-links a:hover {
    color: #fff;

    border-color:
        rgba(227, 38, 46, 0.35);
}


/* =========================================================
   FOOTER
   ========================================================= */

.contact-footer {
    min-height: 80px;

    padding:
        20px
        clamp(22px, 5vw, 80px);

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    border-top:
        1px solid var(--border);

    color: #6e6e76;

    font-size: 9px;
}


.contact-footer strong {
    color: #a0a0a7;
}


.contact-footer a {
    justify-self: end;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

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

}


@media (max-width: 700px) {

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

}


@media (max-width: 650px) {

    .contact-header {
        padding:
            15px
            16px;
    }


    .contact-brand-main {
        font-size: 23px;
    }


    .contact-brand-dot {
        font-size: 16px;
    }


    .contact-main {
        padding:
            25px
            13px
            45px;
    }


    .contact-hero {
        padding-top: 25px;
    }


    .contact-card {
        min-height: 230px;

        padding:
            22px
            20px;
    }


    .contact-card h2 {
        margin-top: 45px;
    }


    .direct-contact {
        padding:
            23px
            20px;

        gap: 25px;
    }


    .contact-note {
        padding:
            23px
            20px;

        flex-direction: column;
        align-items: stretch;
    }


    .contact-note-links {
        justify-content: flex-start;
    }


    .contact-footer {
        grid-template-columns:
            1fr;

        gap: 9px;

        text-align: center;
    }


    .contact-footer a {
        justify-self: center;
    }

}
