/* ============================================
   VERBALCOM — PREMIUM SPLASH
   ============================================ */

:root {
    --white: #fafaf7;
    --black: #0a0a0a;
    --paper: #f4f1ea;
    --accent: #c8472b;

    /* Чернила и линейки — используются в classic.css и privacy.html */
    --ink: #111;
    --ink-soft: rgba(17, 17, 17, 0.92);
    --ink-mid: rgba(17, 17, 17, 0.7);
    --rule: rgba(17, 17, 17, 0.15);
    --rule-strong: rgba(17, 17, 17, 0.22);

    /* Easing для общих transitions */
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'Unbounded', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-display);
    background: var(--paper);
    overflow-x: hidden;
}

/* ============================================
   STAGE
   ============================================ */

.splash-stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ============================================
   BACKGROUND
   ============================================ */

.diag-bg-light {
    position: absolute;
    inset: 0;
    background: var(--paper);
    z-index: 1;
}

.diag-bg-dark {
    position: absolute;
    inset: 0;
    background: var(--black);
    z-index: 2;

    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}

/* тонкая диагональная линия */
.diag-bg-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);

    clip-path: polygon(
        100% 0%,
        calc(100% + 1px) 0%,
        1px 100%,
        0% 100%,
        0% calc(100% - 1px),
        calc(100% - 1px) 0%
    );

    opacity: 0.25;
}

/* ============================================
   CLICK ZONES
   ============================================ */

.diag-hit {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.diag-hit--light {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.diag-hit--dark {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ============================================
   CHOICE (главный элемент)
   Светлая зона — левый-верхний треугольник.
   Тёмная — правый-нижний.
   Слова разнесены по диагонали так, чтобы каждое
   полностью лежало на своей стороне.
   ============================================ */

.diag-choice {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.diag-choice__item {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.diag-choice__item--light {
    /* В светлой зоне — слева сверху, ближе к центру */
    color: #111;
    text-align: left;
    top: 36%;
    left: clamp(2rem, 8vw, 6rem);
}

.diag-choice__item--dark {
    /* В тёмной зоне — справа снизу */
    color: #fff;
    text-align: right;
    bottom: 30%;
    right: clamp(2rem, 8vw, 6rem);
}

.diag-choice__label {
    font-weight: 500;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.diag-choice__hint {
    font-family: var(--font-serif);
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    opacity: 0.55;
    letter-spacing: 0.02em;
}

/* hover — очень аккуратный */

.diag-hit--light:hover ~ .diag-choice .diag-choice__item--light,
.diag-hit--dark:hover ~ .diag-choice .diag-choice__item--dark {
    opacity: 1;
}

/* ============================================
   HEADER
   ============================================ */

.splash-head {
    position: absolute;
    top: 5vh;
    left: clamp(2rem, 8vw, 6rem);
    text-align: left;
    z-index: 10;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.brand__name {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #111;
    font-weight: 500;
}

.brand__sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: #666;
}

.splash-prompt {
    margin-top: 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #888;
}

/* ============================================
   FOOTER (лежит в тёмной зоне справа-снизу)
   ============================================ */

.splash-foot {
    position: absolute;
    bottom: 2.5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    z-index: 10;
}

.splash-foot a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.splash-foot a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.splash-foot .dot { margin: 0 0.5em; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 720px) {
    .splash-head {
        top: 4vh;
        left: 1.5rem;
    }

    .brand__name {
        font-size: 1.2rem;
        letter-spacing: 0.28em;
    }

    .brand__sub { font-size: 0.9rem; }

    .splash-prompt {
        font-size: 0.65rem;
        letter-spacing: 0.22em;
        margin-top: 1rem;
    }

    .diag-choice__item {
        opacity: 1;
    }

    .diag-choice__label {
        font-size: 0.95rem;
        letter-spacing: 0.16em;
    }

    .diag-choice__hint {
        font-size: 0.65rem;
        letter-spacing: 0.03em;
        max-width: 60vw;
    }

    .diag-choice__item--light {
        top: 24%;
        left: 1.2rem;
    }

    .diag-choice__item--dark {
        bottom: 16%;
        right: 1.2rem;
    }

    .splash-foot {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        bottom: 2vh;
    }

    .splash-foot .dot { display: none; }

    .splash-foot {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* === FIX: кликабельность === */

.diag-hit {
    z-index: 20;
}

.diag-choice,
.splash-head,
.splash-foot {
    pointer-events: none;
}

.splash-foot a {
    pointer-events: auto;
}