/* ==========================================================================
   VECTOR WORDMARK — cursor-revealed dotted lettering
   Landing-page signature for the "Arquivo Olímpico" identity
   ========================================================================== */

.wordmark-stage {
    --wm-bg: #0B1420;
    --wm-text: #FFF8EC;
    --wm-shade: #708699;
    --wm-accent: #FF7A55;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 50% -20%, rgba(255, 122, 85, 0.10), transparent 60%),
        var(--wm-bg);
    color: var(--wm-text);
    border-block-end: 1px solid rgba(242, 236, 224, 0.14);
}

.wordmark-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(242, 236, 224, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
}

.wordmark-stage__meta {
    position: absolute;
    inset-block-start: 18px;
    inset-inline: clamp(16px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(242, 236, 224, 0.55);
    z-index: 2;
    pointer-events: none;
}

.wordmark {
    position: relative;
    z-index: 1;
    height: clamp(210px, 27vw, 360px);
}

.wordmark__canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: pan-y;
}

.wordmark__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-inline: 4vw;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 9vw, 7.5rem);
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: center;
    background: linear-gradient(180deg, var(--wm-text), var(--wm-shade));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wordmark.is-live .wordmark__fallback {
    display: none;
}

.wordmark__readout {
    position: absolute;
    inset-block-end: 14px;
    inset-inline-end: clamp(16px, 4vw, 40px);
    display: flex;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--wm-accent);
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.wordmark-stage__hint {
    position: absolute;
    inset-block-end: 12px;
    inset-inline-start: clamp(16px, 4vw, 40px);
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(242, 236, 224, 0.45);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 640px) {
    .wordmark-stage__meta span:last-child,
    .wordmark-stage__hint {
        display: none;
    }

    .wordmark {
        height: clamp(180px, 34vw, 240px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wordmark__canvas {
        cursor: default;
    }
}
