/* ============================================================
   Pre-launch password gate — branded full-screen lock page
   ============================================================ */

.gate-body {
    min-height: 100svh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ambient brand glow + cinematic vignette */
.gate-body::before {
    content: "";
    position: fixed;
    inset: -30vmax;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(38vmax 38vmax at 16% 10%, rgba(226, 59, 65, .20), transparent 60%),
        radial-gradient(46vmax 46vmax at 86% 92%, rgba(125, 20, 24, .26), transparent 62%);
}
.gate-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(125% 120% at 50% -10%, transparent 52%, rgba(0, 0, 0, .6) 100%);
}

.gate {
    position: relative;
    z-index: 1;
    width: min(92vw, 460px);
    padding: 24px;
    animation: gate-rise .6s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes gate-rise {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to   { opacity: 1; transform: none; }
}

.gate__card {
    position: relative;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 42px 34px 30px;
    box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255, 255, 255, .02);
    text-align: center;
}
.gate__card::before {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-bright), transparent);
    opacity: .85;
}

.gate__mark {
    font-family: 'Anton', var(--font-display, sans-serif);
    letter-spacing: .16em;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.gate__eyebrow {
    margin: 20px 0 0;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-bright);
}

.gate__title {
    font-family: 'Anton', var(--font-display, sans-serif);
    font-weight: 400;
    font-size: clamp(27px, 6.4vw, 40px);
    line-height: 1.02;
    letter-spacing: .005em;
    margin: .32em 0 .24em;
}

.gate__sub {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 auto 22px;
    max-width: 36ch;
}

.gate__error {
    background: rgba(226, 59, 65, .12);
    border: 1px solid rgba(226, 59, 65, .42);
    color: #ffb4b7;
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    font-size: 13.5px;
    margin: 0 0 16px;
}

.gate__form { margin-top: 4px; }

.gate__label {
    display: block;
    text-align: left;
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 8px 2px;
}

.gate__inputrow { display: flex; gap: 10px; }

.gate__input {
    flex: 1;
    min-width: 0;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gate__input::placeholder { color: var(--text-mute); }
.gate__input:focus {
    border-color: var(--brand-bright);
    box-shadow: 0 0 0 3px rgba(226, 59, 65, .18);
}

.gate__btn {
    flex: 0 0 auto;
    background: linear-gradient(180deg, var(--brand-bright), var(--brand));
    color: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 0 22px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(192, 39, 45, .35);
    transition: filter .15s ease, transform .05s ease;
}
.gate__btn:hover { filter: brightness(1.08); }
.gate__btn:active { transform: translateY(1px); }

.gate__foot {
    margin: 24px 0 0;
    font-family: 'Fraunces', var(--font-accent, serif);
    font-style: italic;
    font-size: 13px;
    color: var(--text-mute);
}

@media (max-width: 420px) {
    .gate__inputrow { flex-direction: column; }
    .gate__btn { padding: 13px; }
}
