/* HeBi Contact v1.0 — terminal treatment for the Contact page.
   Scoped to .page-id-53 throughout. */

/* ====================================== */
/* 1. WPForms colour variables            */
/* ====================================== */

/* The form block writes its own vars in an inline <style> with an
   ID+class selector (#wpforms-3290.wpforms-block-...), which outranks
   anything reasonable we could write. !important on a custom property
   is valid and beats it without having to hardcode the form ID. */
.page-id-53 .wpforms-container {
    --wpforms-label-color: #00ff41 !important;              /* was #8f0606, 2.1:1 */
    --wpforms-label-sublabel-color: rgba(224, 224, 224, 0.55) !important;
    --wpforms-label-error-color: #ff0033 !important;
    --wpforms-field-background-color: #050505 !important;
    --wpforms-field-border-color: rgba(255, 0, 51, 0.4) !important;
    --wpforms-field-border-color-spare: rgba(255, 0, 51, 0.4) !important;
    --wpforms-field-text-color: #e0e0e0 !important;
    --wpforms-field-menu-color: #0a0a0a !important;
    --wpforms-button-background-color: #ff0033 !important;  /* was #066aab, the blue */
    --wpforms-button-border-color: #ff0033 !important;
    --wpforms-button-text-color: #0a0a0a !important;
}

/* ====================================== */
/* 2. Console frame                       */
/* ====================================== */
.page-id-53 .hebi-contact-bar {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    padding: 14px 18px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-bottom: none;
    font-family: 'Geist Mono', 'Courier New', monospace;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.5);
}

.page-id-53 .hebi-contact-prompt {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.page-id-53 .hebi-contact-user   { color: #00ff41; font-weight: 700; }
.page-id-53 .hebi-contact-sep    { color: rgba(224, 224, 224, 0.5); }
.page-id-53 .hebi-contact-path   { color: #ff0033; font-weight: 700; }
.page-id-53 .hebi-contact-dollar { color: rgba(224, 224, 224, 0.6); margin: 0 8px 0 2px; }
.page-id-53 .hebi-contact-cmd    { color: rgba(224, 224, 224, 0.8); }

.page-id-53 .hebi-contact-status {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 0, 51, 0.12);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: rgba(224, 224, 224, 0.55);
}

.page-id-53 .hebi-ok { color: #00ff41; font-weight: 700; margin-right: 6px; }

.page-id-53 .hebi-contact-cursor {
    margin-left: 6px;
    color: #00ff41;
    animation: hebi-contact-blink 1s steps(1, end) infinite;
}

@keyframes hebi-contact-blink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ====================================== */
/* 3. Form shell                          */
/* ====================================== */
.page-id-53 .wpforms-container {
    max-width: 900px;
    margin: 0 auto 2rem !important;
    padding: 22px 20px 8px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 0, 51, 0.3);
    font-family: 'Geist Mono', 'Courier New', monospace;
}

/* ====================================== */
/* 4. Labels                              */
/* ====================================== */
.page-id-53 .wpforms-field-label,
.page-id-53 legend.wpforms-field-label {
    font-family: 'Geist Mono', 'Courier New', monospace !important;
    font-size: 0.90rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00ff41 !important;
}

.page-id-53 .wpforms-field-label::before {
    content: "> ";
    color: rgba(255, 0, 51, 0.8);
}

.page-id-53 .wpforms-required-label {
    color: #ff0033 !important;
    margin-left: 2px;
}

.page-id-53 .wpforms-field-sublabel {
    font-family: 'Geist Mono', 'Courier New', monospace !important;
    font-size: 0.79rem !important;
    letter-spacing: 0.08em;
    color: rgba(224, 224, 224, 0.5) !important;
    text-transform: none;
}

/* ====================================== */
/* 5. Inputs                              */
/* ====================================== */
.page-id-53 .wpforms-container input[type="text"],
.page-id-53 .wpforms-container input[type="email"],
.page-id-53 .wpforms-container input[type="url"],
.page-id-53 .wpforms-container input[type="tel"],
.page-id-53 .wpforms-container input[type="number"],
.page-id-53 .wpforms-container select,
.page-id-53 .wpforms-container textarea {
    background: #050505 !important;
    border: 1px solid rgba(255, 0, 51, 0.4) !important;
    border-radius: 0 !important;
    color: #e0e0e0 !important;
    font-family: 'Geist Mono', 'Courier New', monospace !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-id-53 .wpforms-container input::placeholder,
.page-id-53 .wpforms-container textarea::placeholder {
    color: rgba(224, 224, 224, 0.25) !important;
}

.page-id-53 .wpforms-container input:focus,
.page-id-53 .wpforms-container select:focus,
.page-id-53 .wpforms-container textarea:focus {
    outline: none !important;
    border-color: #00ff41 !important;
    background: #000 !important;
    box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.35), 0 0 18px rgba(0, 255, 65, 0.2) !important;
}

.page-id-53 .wpforms-container textarea {
    min-height: 150px;
    resize: vertical;
}

/* character counter under the message box */
.page-id-53 .wpforms-field-limit-text {
    font-family: 'Geist Mono', 'Courier New', monospace !important;
    font-size: 0.79rem !important;
    letter-spacing: 0.06em;
    color: rgba(224, 224, 224, 0.4) !important;
}

/* ====================================== */
/* 6. Submit button                       */
/* ====================================== */
.page-id-53 .wpforms-container .wpforms-submit {
    background: linear-gradient(135deg, #ff0033, #941212) !important;
    border: 1px solid #ff0033 !important;
    border-radius: 0 !important;
    color: #fafafa !important;
    font-family: 'Orbitron', 'Geist Mono', monospace !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 28px !important;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-id-53 .wpforms-container .wpforms-submit:hover,
.page-id-53 .wpforms-container .wpforms-submit:focus-visible {
    background: linear-gradient(135deg, #00ff41, #0a5e1a) !important;
    border-color: #00ff41 !important;
    color: #0a0a0a !important;
    box-shadow: 0 0 22px rgba(0, 255, 65, 0.3) !important;
}

.page-id-53 .wpforms-container .wpforms-submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

/* ====================================== */
/* 7. Errors + confirmation               */
/* ====================================== */
.page-id-53 .wpforms-container label.wpforms-error,
.page-id-53 .wpforms-container em.wpforms-error {
    font-family: 'Geist Mono', 'Courier New', monospace !important;
    font-size: 0.82rem !important;
    font-style: normal !important;
    letter-spacing: 0.06em;
    color: #ff0033 !important;
}

.page-id-53 .wpforms-container label.wpforms-error::before,
.page-id-53 .wpforms-container em.wpforms-error::before {
    content: "[!] ";
    font-weight: 700;
}

.page-id-53 .wpforms-container input.wpforms-error,
.page-id-53 .wpforms-container textarea.wpforms-error {
    border-color: #ff0033 !important;
    box-shadow: 0 0 0 1px rgba(255, 0, 51, 0.35) !important;
}

.page-id-53 .wpforms-confirmation-container-full,
.page-id-53 div[submit-success] > .wpforms-confirmation-container-full {
    background: #0a0a0a !important;
    border: 1px solid #00ff41 !important;
    border-radius: 0 !important;
    color: #00ff41 !important;
    font-family: 'Geist Mono', 'Courier New', monospace !important;
    box-shadow: 0 0 26px rgba(0, 255, 65, 0.18);
}

.page-id-53 .wpforms-confirmation-container-full p {
    color: #00ff41 !important;
    margin: 0;
}

.page-id-53 .wpforms-confirmation-container-full p::before {
    content: "[+] ";
    font-weight: 700;
}

/* ====================================== */
/* 8. Contact image                       */
/* ====================================== */

/* was border-color:#e41c38 (off-palette) with border-radius:45px */
.page-id-53 .entry-content .wp-block-image img {
    border-color: rgba(255, 0, 51, 0.45) !important;
    border-radius: 0 !important;
    max-width: 100%;
    height: auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-id-53 .entry-content .wp-block-image img:hover {
    border-color: #ff0033 !important;
    box-shadow: 0 0 28px rgba(255, 0, 51, 0.18);
}

/* ====================================== */
/* 9. Responsive                          */
/* ====================================== */
@media (max-width: 600px) {
    .page-id-53 .hebi-contact-bar { padding: 12px 14px; }
    .page-id-53 .hebi-contact-prompt { font-size: 0.88rem; }
    .page-id-53 .wpforms-container { padding: 18px 14px 6px; }
}

/* ====================================== */
/* 10. Reduced motion                     */
/* ====================================== */
@media (prefers-reduced-motion: reduce) {
    .page-id-53 .hebi-contact-cursor { animation: none; }
    .page-id-53 .wpforms-container input,
    .page-id-53 .wpforms-container textarea,
    .page-id-53 .wpforms-container .wpforms-submit,
    .page-id-53 .entry-content .wp-block-image img {
        transition: none !important;
    }
}

/* ====================================== */
/* 11. PGP panel                          */
/* ====================================== */
.page-id-53 .hebi-pgp {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    background: #0a0a0a;
    border: 1px solid rgba(0, 255, 65, 0.3);
    font-family: 'Geist Mono', 'Courier New', monospace;
    font-size: 0.88rem;
    overflow: hidden;
}

.page-id-53 .hebi-pgp-prompt {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    padding: 12px 18px;
    background: rgba(0, 255, 65, 0.04);
    border-bottom: 1px solid rgba(0, 255, 65, 0.18);
    font-size: 0.92rem;
}

.page-id-53 .hebi-pgp-user   { color: #00ff41; font-weight: 700; }
.page-id-53 .hebi-pgp-sep    { color: rgba(224, 224, 224, 0.5); }
.page-id-53 .hebi-pgp-path   { color: #ff0033; font-weight: 700; }
.page-id-53 .hebi-pgp-dollar { color: rgba(224, 224, 224, 0.6); margin: 0 8px 0 2px; }
.page-id-53 .hebi-pgp-cmd    { color: rgba(224, 224, 224, 0.8); word-break: break-all; }

.page-id-53 .hebi-pgp-body { padding: 16px 18px 18px; }

.page-id-53 .hebi-pgp-line {
    color: rgba(224, 224, 224, 0.65);
    line-height: 1.9;
    word-break: break-word;
}

.page-id-53 .hebi-pgp-k {
    display: inline-block;
    min-width: 34px;
    color: #ff0033;
    font-weight: 700;
}

.page-id-53 .hebi-pgp-fp {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 12px;
    padding: 10px 12px;
    background: #050505;
    border: 1px solid rgba(0, 255, 65, 0.25);
}

.page-id-53 .hebi-pgp-fp-value {
    color: #00ff41 !important;
    background: none !important;
    padding: 0 !important;
    font-size: 0.90rem;
    letter-spacing: 0.04em;
    word-break: break-all;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.25);
}

.page-id-53 .hebi-pgp-copy,
.page-id-53 .hebi-pgp-btn {
    display: inline-block;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid rgba(255, 0, 51, 0.4);
    border-radius: 0;
    color: #ff0033 !important;
    font-family: inherit;
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-id-53 .hebi-pgp-copy:hover,
.page-id-53 .hebi-pgp-copy:focus-visible,
.page-id-53 .hebi-pgp-btn:hover,
.page-id-53 .hebi-pgp-btn:focus-visible {
    color: #00ff41 !important;
    border-color: rgba(0, 255, 65, 0.6);
    background: rgba(0, 255, 65, 0.06);
    box-shadow: 0 0 14px rgba(0, 255, 65, 0.18);
}

.page-id-53 .hebi-pgp-copy.is-copied {
    color: #00ff41 !important;
    border-color: #00ff41;
}

.page-id-53 .hebi-pgp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.page-id-53 .hebi-pgp-note {
    margin: 14px 0 0 !important;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 0, 51, 0.12);
    color: rgba(224, 224, 224, 0.5) !important;
    font-size: 0.82rem !important;
    line-height: 1.7;
}

.page-id-53 .hebi-pgp-note strong { color: #ff0033; }

@media (max-width: 600px) {
    .page-id-53 .hebi-pgp-prompt { font-size: 0.82rem; }
    .page-id-53 .hebi-pgp-fp-value { font-size: 0.80rem; }
}
