/* ============================================================
   Welcome gate - the first page a fresh visitor sees.
   Full-bleed event photography with a single focused choice:
   start planning or sign in. Depends on qs-base.css tokens.
   ============================================================ */

.gate {
    position: fixed;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.gate-photo {
    position: absolute;
    inset: 0;
    background: url("/img/journey/aerial-day-clear-marquee-wedding.jpg") center 35% / cover no-repeat;
    animation: gate-drift 30s ease-in-out infinite alternate;
}

@keyframes gate-drift {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .gate-photo { animation: none; }
}

.gate-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 24, 16, 0.35) 0%, rgba(12, 24, 16, 0.55) 70%, rgba(12, 24, 16, 0.72) 100%);
}

/* Top chrome: brand left, sign-in right - keeps the card itself a single-CTA focus. */
.gate-chrome {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem clamp(1.1rem, 4vw, 2.25rem);
    color: #FFF;
}

.gate-chrome .gate-brand { margin-bottom: 0; color: #FFF; }
.gate-chrome .gate-brand-text { color: #FFF; }

.gate-signin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 160ms ease, border-color 160ms ease;
}

.gate-signin:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.8);
    color: #FFF;
}

.gate-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.gate-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3E7C3A;
    margin-bottom: 0.85rem;
}

.gate-points {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.gate-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3A4636;
}

.gate-points svg {
    flex: none;
    margin-top: 1px;
    color: #3E7C3A;
}

.gate-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 2.25rem 2.25rem 1.75rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.gate-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.gate-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3E7C3A 0%, #2E5F2B 100%);
    color: #F5EDD6;
}

.gate-brand-text {
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #2E3A2C;
}

.gate-brand-text strong { font-weight: 800; }

.gate-title {
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1F291D;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.gate-sub {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #55614F;
    margin: 0 0 1.5rem;
}

.gate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gate-btn-primary {
    background: linear-gradient(135deg, #3E7C3A 0%, #2E5F2B 100%);
    color: #FFF;
    box-shadow: 0 10px 24px rgba(46, 95, 43, 0.35);
}

.gate-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(46, 95, 43, 0.45);
    color: #FFF;
}

.gate-btn-ghost {
    background: transparent;
    border: 1.5px solid #C9D2C4;
    color: #3A4636;
}

.gate-btn-ghost:hover {
    background: #F2F5F0;
    color: #1F291D;
}

.gate-foot {
    margin: 1.25rem 0 0;
    font-size: 0.75rem;
    color: #8A947F;
}

.gate-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.gate-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 480px) {
    .gate { padding: 1rem; }
    .gate-card { padding: 1.75rem 1.35rem 1.35rem; }
    .gate-strip { flex-wrap: wrap; justify-content: center; }
}
