/* Welcome gate — original dual-lens / red-blue binary choice (stable layout) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --gate-void: #04070c;
    --gate-ink: #e8f4f2;
    --gate-muted: rgba(232, 244, 242, 0.68);
    --gate-blue: #3aa0ff;
    --gate-blue-deep: #0a3d6e;
    --gate-blue-glow: rgba(58, 160, 255, 0.55);
    --gate-red: #e23d4a;
    --gate-red-deep: #6b1218;
    --gate-red-glow: rgba(226, 61, 74, 0.55);
    --font-gate-display: "Syne", system-ui, sans-serif;
    --font-gate-body: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-gate-mono: "Fira Code", ui-monospace, monospace;
    --gate-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gate-lens-size: clamp(8.5rem, 22vw, 11.5rem);
}

body.gate-locked {
    overflow: hidden;
}

body.gate-unlocked {
    overflow: auto;
}

body.gate-unlocked .welcome-gate {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.55s var(--gate-ease),
        visibility 0.55s;
}

.welcome-gate {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-rows: 1fr;
    color: var(--gate-ink);
    font-family: var(--font-gate-body);
    background: var(--gate-void);
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.55s var(--gate-ease),
        visibility 0.55s;
}

.gate-rain {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.32;
}

.gate-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.gate-wash {
    position: absolute;
    top: -10%;
    bottom: -10%;
    width: 58%;
    filter: blur(2px);
}

.gate-wash--blue {
    left: -8%;
    background:
        radial-gradient(ellipse 70% 60% at 35% 45%, rgba(58, 160, 255, 0.22), transparent 62%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(10, 61, 110, 0.45), transparent 70%);
}

.gate-wash--red {
    right: -8%;
    background:
        radial-gradient(ellipse 70% 60% at 65% 50%, rgba(226, 61, 74, 0.2), transparent 62%),
        radial-gradient(ellipse 50% 40% at 80% 78%, rgba(107, 18, 24, 0.42), transparent 70%);
}

.gate-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 65% at 50% 42%, transparent 0%, rgba(4, 7, 12, 0.35) 55%, rgba(4, 7, 12, 0.88) 100%),
        linear-gradient(180deg, rgba(4, 7, 12, 0.55) 0%, transparent 22%, transparent 70%, rgba(4, 7, 12, 0.75) 100%);
}

.gate-chrome {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    pointer-events: none;
}

.gate-chrome > * {
    pointer-events: auto;
}

.gate-wordmark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    padding: 0.1rem 0.15rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gate-wordmark:hover {
    text-decoration: none;
    opacity: 0.92;
}

.gate-wordmark__logo {
    display: block;
    height: clamp(1.55rem, 3.2vw, 1.95rem);
    width: auto;
    max-width: min(42vw, 11.5rem);
    object-fit: contain;
    object-position: left center;
}

.gate-lang {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.gate-lang .lang-switcher {
    margin: 0;
}

.gate-lang #language-selector {
    background: rgba(4, 7, 12, 0.5);
    border: 1px solid rgba(232, 244, 242, 0.28);
    color: var(--gate-ink);
    font-family: var(--font-gate-body);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.gate-lang #language-selector:hover {
    border-color: rgba(232, 244, 242, 0.55);
}

.gate-lang #language-selector option {
    background: #0c1520;
    color: #e8f4f2;
}

.gate-skip {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gate-muted);
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0.35rem 0.15rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.gate-skip:hover,
.gate-skip:focus-visible {
    color: var(--gate-ink);
    text-decoration: none;
    outline: none;
}

.gate-skip:focus-visible {
    box-shadow: 0 0 0 2px rgba(232, 244, 242, 0.45);
    border-radius: 4px;
}

/* Stage: brand-first, then two circular lenses */
.gate-stage {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4.2vh, 2.65rem);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 5.25rem 1.25rem 4.75rem;
    box-sizing: border-box;
    pointer-events: none;
}

.gate-hero {
    text-align: center;
    width: min(92vw, 42rem);
    pointer-events: none;
}

.gate-kicker {
    font-family: var(--font-gate-mono);
    font-size: clamp(0.7rem, 1.45vw, 0.82rem);
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(232, 244, 242, 0.58);
    margin: 0 0 0.65rem;
}

.gate-brand {
    margin: 0 0 1.05rem;
    line-height: 0;
}

.gate-brand__plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gate-brand__logo {
    display: block;
    width: min(84vw, 30rem);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.4));
}

.gate-question {
    font-family: var(--font-gate-body);
    font-weight: 500;
    font-size: clamp(1.05rem, 2.3vw, 1.32rem);
    line-height: 1.35;
    color: rgba(232, 244, 242, 0.82);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
    max-width: 26rem;
    margin: 0 auto;
}

/* Choice row: FIXED widths — hover never resizes layout */
.gate-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 5vw, 3.5rem);
    width: min(92vw, 52rem);
    align-items: stretch;
    pointer-events: auto;
}

.gate-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem;
    min-height: 100%;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.gate-pill:hover,
.gate-pill:focus-visible {
    text-decoration: none;
    color: inherit;
}

.gate-pill:focus-visible .gate-pill__ring {
    box-shadow:
        0 0 0 3px rgba(232, 244, 242, 0.85),
        0 0 36px rgba(232, 244, 242, 0.2);
}

/* Circular dual lenses */
.gate-pill__lens {
    position: relative;
    width: var(--gate-lens-size);
    height: var(--gate-lens-size);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.gate-pill__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(232, 244, 242, 0.22);
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 50% 55%, rgba(4, 7, 12, 0.15), rgba(4, 7, 12, 0.72) 72%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.45);
    transition:
        box-shadow 0.35s var(--gate-ease),
        border-color 0.35s var(--gate-ease);
}

.gate-pill--blue .gate-pill__ring {
    border-color: rgba(58, 160, 255, 0.55);
    box-shadow:
        inset 0 0 28px rgba(58, 160, 255, 0.18),
        0 0 28px rgba(58, 160, 255, 0.28),
        0 16px 40px rgba(0, 0, 0, 0.45);
}

.gate-pill--red .gate-pill__ring {
    border-color: rgba(226, 61, 74, 0.55);
    box-shadow:
        inset 0 0 28px rgba(226, 61, 74, 0.16),
        0 0 28px rgba(226, 61, 74, 0.28),
        0 16px 40px rgba(0, 0, 0, 0.45);
}

.gate-pill__portrait {
    position: relative;
    z-index: 1;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(232, 244, 242, 0.18);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.gate-pill__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gate-pill--blue .gate-pill__portrait img {
    object-position: center 18%;
    filter: saturate(0.92) contrast(1.05);
}

.gate-pill--red .gate-pill__portrait img {
    object-position: center 28%;
    filter: saturate(1.08) contrast(1.04);
}

/* Signal pill nested in the lens (fixed size — no layout thrash) */
.gate-pill__capsule {
    position: absolute;
    z-index: 2;
    bottom: 8%;
    left: 50%;
    width: 3.4rem;
    height: 1.45rem;
    margin-left: -1.7rem;
    border-radius: 999px;
    transform: translateZ(0);
    transition:
        transform 0.35s var(--gate-ease),
        box-shadow 0.35s var(--gate-ease),
        filter 0.35s var(--gate-ease);
    will-change: transform;
}

.gate-pill--blue .gate-pill__capsule {
    background:
        linear-gradient(145deg, #7ec4ff 0%, var(--gate-blue) 38%, var(--gate-blue-deep) 100%);
    box-shadow:
        0 6px 20px var(--gate-blue-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -4px 8px rgba(0, 30, 60, 0.35);
}

.gate-pill--red .gate-pill__capsule {
    background:
        linear-gradient(145deg, #ff7a84 0%, var(--gate-red) 40%, var(--gate-red-deep) 100%);
    box-shadow:
        0 6px 20px var(--gate-red-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -4px 8px rgba(60, 0, 10, 0.35);
}

.gate-pill__shine {
    position: absolute;
    top: 18%;
    left: 14%;
    right: 28%;
    height: 38%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .gate-pill:hover .gate-pill__capsule,
    .gate-pill:focus-visible .gate-pill__capsule {
        transform: scale(1.1);
    }

    .gate-pill--blue:hover .gate-pill__ring,
    .gate-pill--blue:focus-visible .gate-pill__ring {
        border-color: rgba(126, 196, 255, 0.85);
        box-shadow:
            inset 0 0 36px rgba(58, 160, 255, 0.28),
            0 0 42px rgba(58, 160, 255, 0.45),
            0 16px 40px rgba(0, 0, 0, 0.45);
    }

    .gate-pill--red:hover .gate-pill__ring,
    .gate-pill--red:focus-visible .gate-pill__ring {
        border-color: rgba(255, 154, 163, 0.85);
        box-shadow:
            inset 0 0 36px rgba(226, 61, 74, 0.26),
            0 0 42px rgba(226, 61, 74, 0.45),
            0 16px 40px rgba(0, 0, 0, 0.45);
    }

    .gate-pill--blue:hover .gate-pill__capsule,
    .gate-pill--blue:focus-visible .gate-pill__capsule {
        box-shadow:
            0 10px 28px rgba(58, 160, 255, 0.75),
            0 0 22px rgba(58, 160, 255, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
        filter: brightness(1.08);
    }

    .gate-pill--red:hover .gate-pill__capsule,
    .gate-pill--red:focus-visible .gate-pill__capsule {
        box-shadow:
            0 10px 28px rgba(226, 61, 74, 0.75),
            0 0 22px rgba(226, 61, 74, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
        filter: brightness(1.08);
    }

    .gate-pill:hover .gate-pill__cta,
    .gate-pill:focus-visible .gate-pill__cta {
        opacity: 1;
        letter-spacing: 0.04em;
    }
}

.gate-pill__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    max-width: 16.5rem;
    flex: 1;
    width: 100%;
}

.gate-pill__path {
    font-family: var(--font-gate-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.75;
}

.gate-pill--blue .gate-pill__path {
    color: #9ecfff;
}

.gate-pill--red .gate-pill__path {
    color: #ff9aa3;
}

.gate-pill__label {
    font-family: var(--font-gate-display);
    font-weight: 800;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.gate-pill__hint {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--gate-muted);
    min-height: 2.6em;
    flex: 1;
}

.gate-pill__cta {
    margin-top: auto;
    padding-top: 0.55rem;
    font-family: var(--font-gate-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    opacity: 0.92;
    transition: opacity 0.3s var(--gate-ease), letter-spacing 0.3s var(--gate-ease);
}

.gate-pill--blue .gate-pill__cta {
    color: #9ecfff;
}

.gate-pill--red .gate-pill__cta {
    color: #ff9aa3;
}

.gate-skip-mobile {
    display: none;
    text-decoration: none;
}

.gate-skip-mobile:hover {
    text-decoration: none;
    color: var(--gate-ink);
}

/* Entrance — brand / question / lenses only (no layout morph) */
.welcome-gate.is-ready .gate-kicker {
    animation: gateRise 0.8s var(--gate-ease) both;
}

.welcome-gate.is-ready .gate-brand {
    animation: gateRise 0.9s var(--gate-ease) 0.08s both;
}

.welcome-gate.is-ready .gate-question {
    animation: gateRise 0.9s var(--gate-ease) 0.16s both;
}

.welcome-gate.is-ready .gate-pill--blue {
    animation: gateRise 0.85s var(--gate-ease) 0.28s both;
}

.welcome-gate.is-ready .gate-pill--red {
    animation: gateRise 0.85s var(--gate-ease) 0.38s both;
}

.welcome-gate.is-ready .gate-chrome {
    animation: gateFade 0.7s var(--gate-ease) 0.2s both;
}

.welcome-gate.is-ready .gate-wash--blue {
    animation: gateWashIn 1.2s var(--gate-ease) both;
}

.welcome-gate.is-ready .gate-wash--red {
    animation: gateWashIn 1.2s var(--gate-ease) 0.1s both;
}

@keyframes gateRise {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gateFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gateWashIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Path intro — dual circular lenses + brand bridge ===== */
.path-intro {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    background: #03060a;
    color: var(--gate-ink);
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.5s var(--gate-ease),
        visibility 0.5s;
}

.path-intro.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.path-intro.is-exiting {
    opacity: 0;
    pointer-events: none;
}

.path-intro__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.path-intro__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, rgba(3, 6, 10, 0.45) 68%, rgba(3, 6, 10, 0.92) 100%);
}

.path-intro__lenses {
    position: absolute;
    z-index: 1;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.35rem, 2vw, 1rem);
    width: min(92vw, 36rem);
    pointer-events: none;
}

.path-intro__lens {
    position: relative;
    width: min(34vw, 11.5rem);
    height: min(34vw, 11.5rem);
    border-radius: 50%;
    border: 2px solid rgba(232, 244, 242, 0.2);
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.1), transparent 40%),
        radial-gradient(circle at 50% 55%, rgba(8, 14, 22, 0.35), rgba(3, 6, 10, 0.85) 70%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 18px 48px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: scale(0.72);
    overflow: hidden;
}

.path-intro__lens--blue {
    border-color: rgba(58, 160, 255, 0.55);
    box-shadow:
        inset 0 0 32px rgba(58, 160, 255, 0.22),
        0 0 36px rgba(58, 160, 255, 0.28),
        0 18px 48px rgba(0, 0, 0, 0.55);
}

.path-intro__lens--red {
    border-color: rgba(226, 61, 74, 0.55);
    box-shadow:
        inset 0 0 32px rgba(226, 61, 74, 0.2),
        0 0 36px rgba(226, 61, 74, 0.28),
        0 18px 48px rgba(0, 0, 0, 0.55);
}

.path-intro__lens-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    opacity: 0.85;
}

.path-intro__lens--blue .path-intro__lens-glow {
    background: radial-gradient(circle, rgba(58, 160, 255, 0.45), transparent 68%);
}

.path-intro__lens--red .path-intro__lens-glow {
    background: radial-gradient(circle, rgba(226, 61, 74, 0.42), transparent 68%);
}

.path-intro__pill {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 2.6rem;
    height: 1.1rem;
    margin-left: -1.3rem;
    margin-top: -0.55rem;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.path-intro__pill--blue {
    background: linear-gradient(145deg, #7ec4ff, var(--gate-blue) 45%, var(--gate-blue-deep));
}

.path-intro__pill--red {
    background: linear-gradient(145deg, #ff7a84, var(--gate-red) 45%, var(--gate-red-deep));
}

.path-intro__bridge {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(4.5rem, 16vw, 7.5rem);
    padding: 0 0.25rem;
    opacity: 0;
}

.path-intro__bridge-logo {
    display: block;
    width: clamp(4.8rem, 16vw, 7.25rem);
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.path-intro.is-playing .path-intro__lens--blue {
    animation: introLensIn 1.1s var(--gate-ease) 0.2s both;
}

.path-intro.is-playing .path-intro__lens--red {
    animation: introLensIn 1.1s var(--gate-ease) 0.35s both;
}

.path-intro.is-playing .path-intro__bridge {
    animation: introBridgeIn 1s var(--gate-ease) 0.55s both;
}

.path-intro.is-playing .path-intro__pill--blue,
.path-intro.is-playing .path-intro__pill--red {
    animation: introPillPulse 2.2s var(--gate-ease) 0.9s both;
}

.path-intro__copy {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(92vw, 34rem);
    padding: 1rem;
    margin-top: min(42vw, 14rem);
}

.path-intro__line {
    font-family: var(--font-gate-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 0.85rem;
    opacity: 0;
}

.path-intro__line--1 {
    font-size: clamp(1.55rem, 5vw, 2.4rem);
}

.path-intro__line--2 {
    font-family: var(--font-gate-mono);
    font-weight: 400;
    font-size: clamp(0.78rem, 1.8vw, 0.95rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gate-muted);
}

.path-intro__line--3 {
    font-family: var(--font-gate-body);
    font-weight: 500;
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    color: rgba(232, 244, 242, 0.82);
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
}

.path-intro.is-playing .path-intro__line--1 {
    animation: introLineIn 0.9s var(--gate-ease) 0.85s both;
}

.path-intro.is-playing .path-intro__line--2 {
    animation: introLineIn 0.9s var(--gate-ease) 1.45s both;
}

.path-intro.is-playing .path-intro__line--3 {
    animation: introLineIn 0.9s var(--gate-ease) 2.05s both;
}

.path-intro__skip {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    z-index: 5;
    font-family: var(--font-gate-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gate-muted);
    background: rgba(4, 7, 12, 0.45);
    border: 1px solid rgba(232, 244, 242, 0.22);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.path-intro__skip:hover,
.path-intro__skip:focus-visible {
    color: var(--gate-ink);
    border-color: rgba(232, 244, 242, 0.45);
    outline: none;
}

@keyframes introLensIn {
    from {
        opacity: 0;
        transform: scale(0.72);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes introBridgeIn {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes introPillPulse {
    0% {
        transform: scale(0.85);
        filter: brightness(0.9);
    }
    40% {
        transform: scale(1.08);
        filter: brightness(1.15);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes introLineIn {
    from {
        opacity: 0;
        transform: translateY(0.85rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.intro-playing .welcome-gate {
    opacity: 0;
}

body.intro-done .welcome-gate,
body.gate-page:not(.intro-playing) .welcome-gate {
    opacity: 1;
}

/* Mobile */
@media (max-width: 720px) {
    .gate-chrome {
        padding: 0.9rem 1rem;
    }

    .gate-stage {
        justify-content: flex-start;
        padding-top: 4.5rem;
        padding-bottom: 5.25rem;
        gap: 1.35rem;
    }

    .gate-brand__logo {
        width: min(86vw, 20rem);
    }

    .gate-brand__plate {
        padding: 0;
    }

    .gate-kicker {
        margin-bottom: 0.5rem;
    }

    .gate-brand {
        margin-bottom: 0.85rem;
    }

    .gate-question {
        font-size: 1rem;
        max-width: 22rem;
    }

    .gate-choice {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        width: min(92vw, 22rem);
    }

    .gate-pill {
        min-height: 0;
        gap: 0.8rem;
        padding: 0.35rem 0.25rem 0.55rem;
        background: transparent;
        border: 0;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .gate-pill__lens {
        --gate-lens-size: 6.5rem;
    }

    .gate-pill__capsule {
        width: 2.9rem;
        height: 1.25rem;
        margin-left: -1.45rem;
    }

    .gate-pill__copy {
        width: auto;
        max-width: none;
        align-items: flex-start;
        flex: 1;
        gap: 0.28rem;
    }

    .gate-pill__hint {
        min-height: 0;
        font-size: 0.84rem;
    }

    .gate-pill__cta {
        padding-top: 0.2rem;
        font-size: 0.88rem;
    }

    .gate-pill__label {
        font-size: 1.15rem;
    }

    .gate-skip {
        display: none;
    }

    .gate-skip-mobile {
        display: block;
        position: absolute;
        bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        font-size: 0.74rem;
        font-weight: 600;
        color: rgba(232, 244, 242, 0.78);
        background: rgba(4, 7, 12, 0.55);
        border: 1px solid rgba(232, 244, 242, 0.28);
        border-radius: 999px;
        padding: 0.42rem 0.95rem;
        backdrop-filter: blur(8px);
        cursor: pointer;
        pointer-events: auto;
    }

    .gate-skip-mobile:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(232, 244, 242, 0.5);
        color: var(--gate-ink);
    }

    .path-intro__lenses {
        top: 36%;
        gap: 0.2rem;
    }

    .path-intro__lens {
        width: min(30vw, 7.5rem);
        height: min(30vw, 7.5rem);
    }

    .path-intro__copy {
        margin-top: min(48vw, 12rem);
    }

    .path-intro__bridge-logo {
        width: clamp(3.8rem, 22vw, 5.5rem);
    }
}

@media (min-width: 721px) {
    .gate-skip-mobile {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-gate,
    .welcome-gate *,
    .path-intro,
    .path-intro * {
        animation: none !important;
        transition: none !important;
    }

    .path-intro__line,
    .path-intro__lens,
    .path-intro__bridge {
        opacity: 1;
        transform: none;
    }

    .path-intro {
        display: none;
    }

    .gate-pill__capsule {
        transform: none !important;
        filter: none !important;
    }

    .gate-rain {
        display: none;
    }
}
