/* ═══════════════════════════════════════════════════════════════
   STUB.CSS — full-viewport utility pages (404 stubs + contacts)
═══════════════════════════════════════════════════════════════ */

.page-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #1a2226;
}

.page-shell .hdr {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.97);
}

.page-shell .site-legal {
    flex-shrink: 0;
    margin-top: auto;
}

/* ── Stage fills the remaining viewport ── */
.stub-stage {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 0;
    background:
        radial-gradient(
            120% 80% at 100% 0%,
            rgba(229, 57, 53, 0.22) 0%,
            transparent 55%
        ),
        radial-gradient(
            90% 70% at 0% 100%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        ),
        linear-gradient(165deg, #1f2a2e 0%, #141b1e 48%, #1a2226 100%);
}

.stub-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -18deg,
        transparent 0,
        transparent 11px,
        rgba(255, 255, 255, 0.015) 11px,
        rgba(255, 255, 255, 0.015) 12px
    );
    pointer-events: none;
}

.stub-stage::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e53935;
}

.stub-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 56px 0 64px;
}

/* ── 404 / coming-soon ── */
.stub-code {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(88px, 16vw, 168px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
    margin-bottom: 18px;
    animation: stubIn 0.55s ease both;
}

.stub-kicker {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e53935;
    margin-bottom: 14px;
    animation: stubIn 0.55s ease 0.06s both;
}

.stub-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 3.6vw, 42px);
    color: #fff;
    line-height: 1.15;
    max-width: 16ch;
    margin-bottom: 14px;
    animation: stubIn 0.55s ease 0.1s both;
}

.stub-text {
    font-size: 15px;
    line-height: 1.6;
    color: #9aa3a8;
    max-width: 42ch;
    margin-bottom: 32px;
    animation: stubIn 0.55s ease 0.14s both;
}

.stub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: stubIn 0.55s ease 0.18s both;
}

/* ── Contacts ── */
.contact-stage .stub-inner {
    max-width: 760px;
}

.contact-brand {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 6vw, 72px);
    color: #fff;
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    animation: stubIn 0.55s ease both;
}

.contact-brand span {
    color: #e53935;
}

.contact-lead {
    font-size: 15px;
    line-height: 1.6;
    color: #9aa3a8;
    max-width: 38ch;
    margin-bottom: 40px;
    animation: stubIn 0.55s ease 0.08s both;
}

.contact-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: stubIn 0.55s ease 0.12s both;
}

.contact-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

a.contact-row:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 10px;
}

.contact-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e53935;
}

.contact-value {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.3;
    color: #fff;
}

.contact-value small {
    display: block;
    margin-top: 5px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #8b959a;
}

@keyframes stubIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    .stub-inner {
        padding: 40px 0 48px;
    }
    .contact-lead {
        margin-bottom: 28px;
    }
    .contact-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 0;
    }
    .stub-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .stub-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stub-code,
    .stub-kicker,
    .stub-title,
    .stub-text,
    .stub-actions,
    .contact-brand,
    .contact-lead,
    .contact-list {
        animation: none;
    }
}
