/* ── Contact / Request modal ─────────────────────────────────────── */

.hhh-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.hhh-modal.is-open {
    opacity: 1;
    pointer-events: all;
}

.hhh-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hhh-modal__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    max-height: 90dvh;
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.93);
    backdrop-filter: blur(48px) saturate(130%);
    -webkit-backdrop-filter: blur(48px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    box-sizing: border-box;
    transform: translateY(14px);
    transition: transform 0.25s ease;
}
.hhh-modal.is-open .hhh-modal__card {
    transform: translateY(0);
}

.hhh-modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font: 300 22px/1 var(--sans, 'Inter Tight', sans-serif);
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.15s;
    line-height: 1;
}
.hhh-modal__close:hover { color: #fff; }

.hhh-modal__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 600 10px/1 var(--mono, monospace);
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 14px;
}
.hhh-modal__eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber, #F0A500);
    flex-shrink: 0;
}

.hhh-modal__title {
    font: 400 30px/1.1 var(--serif, 'Instrument Serif', serif);
    font-style: italic;
    color: #fff;
    margin: 0 0 20px;
}

.hhh-modal__rule {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 0 28px;
}

/* ── Form fields ─────────────────────────────────────────────────── */

.hhh-modal__field { margin-bottom: 18px; }

.hhh-modal__label {
    display: block;
    font: 600 9px/1 var(--mono, monospace);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.hhh-modal__input,
.hhh-modal__textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font: 400 14px/1.4 var(--sans, 'Inter Tight', sans-serif);
    padding: 11px 14px;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    transition: border-color 0.18s;
}
.hhh-modal__input:focus,
.hhh-modal__textarea:focus {
    border-color: rgba(240, 165, 0, 0.55);
}
.hhh-modal__input::placeholder,
.hhh-modal__textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}
.hhh-modal__textarea {
    resize: vertical;
    min-height: 96px;
}

.hhh-modal__submit {
    width: 100%;
    margin-top: 8px;
    background: var(--amber, #F0A500);
    border: none;
    color: #000;
    font: 600 11px/1 var(--mono, monospace);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 24px;
    cursor: pointer;
    transition: opacity 0.18s;
}
.hhh-modal__submit:hover:not(:disabled) { opacity: 0.85; }
.hhh-modal__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hhh-modal__feedback {
    margin: 14px 0 0;
    font: 400 12px/1.5 var(--sans, sans-serif);
    min-height: 1em;
}
.hhh-modal__feedback.is-success { color: #6abf69; }
.hhh-modal__feedback.is-error   { color: #e05252; }

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hhh-modal__card { max-width: 100%; padding: 32px 24px; }
}

@media (max-width: 520px) {
    .hhh-modal__card { padding: 28px 22px; }
    .hhh-modal__title { font-size: 26px; }
}
