/* ============================================================
   1001 Sales — заглушка
   Тёплая «бумажная» редакционная тема: кремовый фон, чернильный
   текст, медно-янтарный акцент. Prata (дисплей) + Onest (текст).
   ============================================================ */

:root {
    --paper: #f6f1e7;
    --paper-deep: #efe7d8;
    --ink: #1d1a15;
    --ink-soft: #5f574a;
    --copper: #b0521d;
    --copper-deep: #8c3f14;
    --gold: #c89b3c;
    --line: rgba(29, 26, 21, 0.14);

    --font-display: "Prata", "Georgia", "Times New Roman", serif;
    --font-body: "Onest", "Segoe UI", "Arial", sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 6vw, 64px) clamp(16px, 5vw, 40px);
    background:
        radial-gradient(120% 90% at 85% -10%, rgba(200, 155, 60, 0.16) 0%, rgba(200, 155, 60, 0) 55%),
        radial-gradient(100% 80% at 0% 110%, rgba(176, 82, 29, 0.10) 0%, rgba(176, 82, 29, 0) 50%),
        var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Атмосфера: зерно и гигантская цифра фона ---------- */

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.backdrop-num {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%) rotate(-4deg);
    z-index: 0;
    font-family: var(--font-display);
    font-size: clamp(180px, 46vw, 460px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(29, 26, 21, 0.07);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

/* ---------- Карточка ---------- */

.card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    background: rgba(255, 252, 245, 0.86);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(28px, 6vw, 56px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 24px 60px -24px rgba(29, 26, 21, 0.28);
}

/* Тонкая золотая линия сверху карточки */
.card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Заголовок ---------- */

.title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: clamp(16px, 3vw, 24px);
    text-wrap: balance;
}

/* ---------- Статус «в разработке» ---------- */

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--copper-deep);
    background: rgba(176, 82, 29, 0.08);
    border: 1px solid rgba(176, 82, 29, 0.25);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: clamp(18px, 3.5vw, 26px);
}

.status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(176, 82, 29, 0.35); }
    50%      { box-shadow: 0 0 0 6px rgba(176, 82, 29, 0); }
}

/* ---------- Оффер и почта ---------- */

.lead {
    font-size: clamp(17px, 4vw, 20px);
    margin-bottom: clamp(24px, 5vw, 36px);
}

.mail {
    color: var(--copper);
    font-weight: 600;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    padding-bottom: 2px;
    transition: color 0.25s ease, background-size 0.25s ease;
    word-break: break-word;
}

.mail:hover,
.mail:focus-visible {
    color: var(--copper-deep);
    background-size: 38% 2px;
    outline: none;
}

/* ---------- Разделитель ---------- */

/* ---------- Персона ---------- */

.person {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 28px);
    padding-top: clamp(24px, 5vw, 36px);
    border-top: 1px solid var(--line);
    border-image: linear-gradient(90deg, var(--gold), var(--line)) 1;
    margin-bottom: clamp(22px, 4vw, 32px);
}

.person__photo {
    flex: 0 0 auto;
    width: clamp(96px, 26vw, 140px);
    height: clamp(96px, 26vw, 140px);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--paper);
    outline: 1px solid var(--gold);
    box-shadow: 0 12px 28px -12px rgba(29, 26, 21, 0.4);
}

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

.person__name {
    font-family: var(--font-display);
    font-size: clamp(18px, 4.4vw, 23px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 8px;
}

.person__role {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ---------- Подвал ---------- */

.foot {
    border-top: 1px solid var(--line);
    padding-top: clamp(18px, 3.5vw, 24px);
}

.foot p {
    font-size: 14px;
    color: var(--ink-soft);
    max-width: 52ch;
}

/* ---------- Появление при загрузке ---------- */

.reveal {
    animation: reveal 0.7s cubic-bezier(0.22, 0.8, 0.32, 1) both;
    animation-delay: var(--d, 0ms);
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ---------- Узкие экраны ---------- */

@media (max-width: 400px) {
    .person {
        flex-direction: column;
        align-items: flex-start;
    }
}