/* ==========================================================================
   MESSAGE (contact form) — Desktop (1280px – 1920px)
   Single-screen page: nav row, big "send us a message" heading + socials
   on the left, a ready-made form platform image on the right. No hero,
   no footer. Design reference: 1920x922 (see global.css fluid scale).
   ========================================================================== */

.message-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    overflow: hidden;
}

/* Top-left nav row — same flex + gap pattern as statistics__nav / ct-nav:
   a 40px gap holds automatically in every language. */
.message-nav {
    position: absolute;
    left: 5rem;
    top: 5rem;
    display: flex;
    align-items: baseline;
    gap: 4rem;
    z-index: 2;
}

.message-nav-link {
    font-family: 'Atyp Display', sans-serif;
    font-weight: 400;
    font-size: 4rem;
    line-height: 4rem;
    letter-spacing: -0.08em;
    color: #000000;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.message-nav-link:hover {
    opacity: 0.5;
}

.message-nav-link--homepage {
    text-transform: uppercase;
}

/* Screen background, anchored to the bottom edge, centered horizontally. */
.message-fone {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 182rem;
    height: 80.2rem;
    z-index: 0;
    pointer-events: none;
}

/* Bottom-anchored (not top) so it scales together with .message-fone
   and stays glued to it — top-anchoring would drift away from the
   bottom-anchored background whenever the viewport height differs
   from the 92.2rem design reference. */
.message-heading {
    position: absolute;
    left: 15rem;
    bottom: 53.2rem;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 600;
    font-size: 11rem;
    line-height: 8.5rem;
    letter-spacing: -0.08em;
    color: #000000;
    white-space: pre-line;
    z-index: 1;
}

.message-subtitle {
    position: absolute;
    left: 15rem;
    bottom: 44.7rem;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 500;
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: -0.05em;
    color: #000000;
    opacity: 0.5;
    white-space: pre-line;
    z-index: 1;
}

/* Social icons — 3 on top, 6 below, same assets as the site footer. */
.message-socials {
    position: absolute;
    left: 15rem;
    bottom: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.message-socials-row {
    display: flex;
    gap: 1rem;
}

.message-social-icon {
    display: block;
    width: 6rem;
    height: 6rem;
    transition: transform 0.2s ease;
}

.message-social-icon:hover {
    transform: scale(0.9);
}

.message-social-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.message-social-icon--discord {
    opacity: 0.3;
    pointer-events: none;
    transition: none;
}

/* Form platform — the image already has the card, border, mail icon,
   "hello@shattics.com" and "SHATTICS FORM ENGINE" branding drawn on it.
   We only overlay the labels, inputs and send button on top of it. */
.message-form-wrapper {
    position: absolute;
    right: 20rem;
    bottom: 3.1rem;
    width: 79rem;
    height: 69.1rem;
    z-index: 1;
}

.message-form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.message-form-label {
    position: absolute;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: -0.08em;
    color: #000000;
    opacity: 1;
    z-index: 1;
}

.message-lbl-name { left: 5rem; top: 16.5rem; }
.message-lbl-email { left: 42rem; top: 16.5rem; }
.message-lbl-project { left: 5rem; top: 28.5rem; }

.message-input {
    position: absolute;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0.1rem solid rgba(0, 0, 0, 0.2);
    outline: none;
    padding: 0 1.5rem;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: -0.08em;
    color: #000000;
    z-index: 1;
}

/* Single-line inputs: flex-center the typed text vertically so it sits
   evenly between the box's top and bottom edge (padding-top alone left
   it sitting too low once real text — with descenders — was typed in). */
.message-inp-name,
.message-inp-email {
    display: flex;
    align-items: center;
    padding-bottom: 0.8rem;
}

/* The textarea stays top-anchored like a normal textarea. */
.message-textarea {
    padding-top: 1.3rem;
}

/* Placeholder hints are separate elements positioned relative to the
   whole screen (not the input's own padding box) — native ::placeholder
   text refused to shift with the input, so we draw our own instead. */
.message-placeholder {
    position: absolute;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: -0.08em;
    color: #000000;
    opacity: 0.2;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.message-placeholder.is-hidden {
    display: none;
}

.message-ph-name { left: 99.5rem; bottom: 48.9rem; }
.message-ph-email { left: 136.5rem; bottom: 48.9rem; }
.message-ph-project { left: 99.5rem; bottom: 36.9rem; }

.message-inp-name {
    left: 5rem;
    top: 20rem;
    width: 32rem;
    height: 5rem;
    border-radius: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.message-inp-email {
    left: 42rem;
    top: 20rem;
    width: 32rem;
    height: 5rem;
    border-radius: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.message-textarea {
    left: 5rem;
    top: 32rem;
    width: 69rem;
    height: 17rem;
    resize: none;
    border-radius: 0.5rem 1.5rem 1.5rem 1.5rem;
}

/* Send button — image is the button shape/background, text overlaid on
   top for translation. Sits at 20% opacity until the form is filled in. */
.message-send-btn {
    position: absolute;
    right: 24.8rem;
    bottom: 15.6rem;
    width: 22.6rem;
    height: 6rem;
    opacity: 0.2;
    cursor: not-allowed;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.message-send-btn.is-ready {
    opacity: 1;
    cursor: pointer;
}

.message-send-btn.is-sent {
    opacity: 1;
    cursor: default;
}

.message-send-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.message-send-btn-label {
    position: absolute;
    left: 2rem;
    top: 1.2rem;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: -0.08em;
    color: #ffffff;
    z-index: 1;
}
