/* О нас — газетная полоса по референсам: блочная сетка, без дыр */

@font-face {
    font-family: 'Buckorz';
    src: url('../../buckorz-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.about-page {
    --about-accent: #9a4a52;
    --about-accent-mid: color-mix(in srgb, var(--about-accent) 75%, var(--color-text) 25%);
    --about-rail: color-mix(in srgb, var(--about-accent) 55%, transparent);
    --np-paper: color-mix(in srgb, var(--color-bg) 94%, #faf6f0);
    --np-rule: color-mix(in srgb, var(--color-text) 18%, transparent);
    --np-max: min(1200px, 100%);
    --np-pad: clamp(1rem, 2.5vw, 1.75rem);
    --np-font: 'Newsreader', 'Georgia', serif;
    --np-display: 'Anton', 'Bebas Neue', sans-serif;
    --np-sans: 'Inter', system-ui, sans-serif;
    --np-ink: #0a0a0a;
    --np-ink-text: #f2f0ec;
    --np-salmon: color-mix(in srgb, var(--about-accent) 42%, #ffc9c9 58%);
    --np-coral: #c97a7a;
    --np-rose-line: color-mix(in srgb, var(--about-accent) 62%, #dcb0b0 38%);
    --np-editorial-bg: #000000;
    --np-editorial-text: #e8e4df;
    --np-buckorz: 'Buckorz', 'Anton', 'Bebas Neue', sans-serif;
    --np-masthead-pink: color-mix(in srgb, var(--about-accent) 52%, #c49a9e 48%);
}

html.dark-theme .about-page {
    --about-accent: #c96f78;
    --about-accent-mid: color-mix(in srgb, var(--about-accent) 82%, #fff 18%);
    --np-paper: color-mix(in srgb, var(--color-bg) 96%, #0c0c10);
    --np-ink: #050505;
    --np-ink-text: #f0ece8;
}

/* --- Лист газеты --- */
.np-main {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 2vw, 1rem) 2.25rem;
    box-sizing: border-box;
}

.np-sheet {
    width: 100%;
    max-width: var(--np-max);
    margin: 0 auto;
    padding: 0;
    background: var(--np-paper);
    border: 1px solid var(--np-rule);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--about-accent) 10%, transparent);
    box-sizing: border-box;
    overflow: hidden;
}

.np-sheet__content {
    padding: 0 var(--np-pad) var(--np-pad);
    padding-top: clamp(0.4rem, 1.2vw, 0.75rem);
}

.np-sheet__content > .np-strip:first-child {
    padding-top: 0.75rem;
}

/* Пустые блоки вместо фото и 3D */
.np-placeholder {
    box-sizing: border-box;
    background: linear-gradient(155deg, #141214 0%, #0a090a 45%, #101012 100%);
    border: 1px solid var(--np-rose-line);
}

.np-placeholder--wide {
    width: 100%;
    min-height: clamp(200px, 28vw, 300px);
}

.np-placeholder--strip {
    min-height: 200px;
    border-color: color-mix(in srgb, var(--about-accent) 48%, transparent);
}

.np-placeholder--map {
    width: 100%;
    min-height: clamp(200px, 26vw, 280px);
    border-width: 3px;
    border-color: var(--np-coral);
    background: #0a0a0c;
}

.np-placeholder--proc {
    width: 100%;
    min-height: clamp(220px, 32vw, 360px);
    align-self: stretch;
    border-color: var(--np-rose-line);
    background: linear-gradient(165deg, #0c0a0b 0%, #050505 50%, #0a0809 100%);
}

.np-placeholder--thumb {
    aspect-ratio: 1;
    min-height: 0;
    border-color: color-mix(in srgb, var(--about-accent) 40%, var(--np-rule));
}

.np-placeholder--author {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    min-height: 220px;
    background: linear-gradient(200deg, #111013 0%, #050505 60%, #0c0a0c 100%);
}

/* Правила */
.np-rules {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.np-rules__line {
    display: block;
    height: 1px;
    background: var(--np-rule);
}

.np-rules__line--thick {
    height: 3px;
    background: var(--about-accent);
}

/* --- LEGO + проблема: две колонки (слева текст+медиа, справа картинка+текст). Не сетка 2×2 по строкам — иначе высота картинки создаёт пустоту под текстом LEGO. --- */
.np-strip {
    padding: 1rem 0;
    border-bottom: 1px solid var(--np-rule);
}

.np-strip--lego-problem {
    padding: 1rem 0 1.1rem;
}

.np-strip__inner--lego-problem {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    /* Одна высота обеих колонок — иначе слева под медиа остаётся чёрная пустота */
    align-items: stretch;
    gap: 0.65rem 1rem;
    box-sizing: border-box;
}

.np-lego-problem__col {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    min-height: 0;
}

@media (min-width: 880px) {
    .np-lego-problem__col {
        height: 100%;
    }

    .np-lego-problem__col--left .np-lego__text {
        flex: 0 0 auto;
    }

    /* Полоса тянется по высоте строки (рядом правая колонка): центральный кадр — на всю высоту блока */
    .np-lego-problem__col--left {
        min-height: 0;
    }

    .np-lego-problem__col--left .np-tiktok-strip--triptych {
        flex: 1 1 auto;
        min-height: 0;
        align-self: stretch;
        width: 100%;
    }
}

@media (max-width: 879px) {
    .np-strip__inner--lego-problem {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.np-lego__text {
    margin: 0;
    padding: 1rem 1.1rem;
    border: 2px solid var(--about-accent);
    background: color-mix(in srgb, var(--color-bg) 96%, var(--about-accent) 4%);
    font-family: var(--np-font);
    font-size: 1.02rem;
    line-height: 1.68;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    color: color-mix(in srgb, var(--color-text) 95%, transparent);
}

@supports (text-wrap: pretty) {
    .np-lego__text {
        text-wrap: pretty;
    }
}

.np-lego__text::first-letter {
    float: left;
    font-family: var(--np-font);
    font-size: 2.85rem;
    line-height: 0.88;
    font-weight: 700;
    color: var(--about-accent);
    padding: 0.04em 0.08em 0 0;
}

@media (min-width: 880px) {
    .np-lego__text {
        font-size: 1.035rem;
        line-height: 1.64;
        padding: 0.95rem 1.05rem 1rem;
    }

    .np-lego__text::first-letter {
        font-size: 2.95rem;
        line-height: 0.86;
    }
}

.np-lego__art {
    margin: 0;
    border: 2px solid var(--about-accent);
    min-height: 220px;
    background: #0a090a;
    overflow: hidden;
    padding: 0;
}

.np-lego__art img {
    display: block;
    width: 100%;
    height: clamp(200px, 28vw, 300px);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 879px) {
    .np-lego__art img {
        height: auto;
        min-height: 200px;
        max-height: 320px;
        object-position: 50% 35%;
    }
}

.np-tiktok-strip {
    min-width: 0;
    width: 100%;
    flex: 0 1 auto;
    box-sizing: border-box;
}

/*
 * Три кадра 03-elliot-*.png (каждый 1376×768). В режиме chaos — flex-ряд: высота полосы больше «естественной»
 * для узкой колонки → object-fit: cover даёт тот же кроп, что и в десктопной двухколоночной вёрстке.
 * Сетка 3× + aspect-ratio на ячейку давала ту же высоту, что и у картинки → почти без обрезки.
 */
.np-tiktok-strip--triptych:not(.np-tiktok-strip--chaos) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    width: 100%;
    overflow: hidden;
    background: #070707;
    border: 1px solid color-mix(in srgb, var(--about-accent) 55%, transparent);
    box-sizing: border-box;
    line-height: 0;
}

.np-tiktok-strip--triptych:not(.np-tiktok-strip--chaos) .np-tiktok-strip__cell {
    aspect-ratio: 1376 / 768;
}

.np-tiktok-strip--triptych.np-tiktok-strip--chaos {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin: 0;
    width: 100%;
    /* Ниже min-height на мобиле — принудительная высота для cover (как растянутая колонка на десктопе) */
    min-height: max(13rem, 52vw);
    overflow: hidden;
    background: #070707;
    border: 1px solid color-mix(in srgb, var(--about-accent) 55%, transparent);
    box-sizing: border-box;
    line-height: 0;
}

.np-tiktok-strip__cell {
    position: relative;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
    border-right: 1.5px solid color-mix(in srgb, var(--about-accent) 72%, #c98a8a 28%);
}

.np-tiktok-strip__cell:last-child {
    border-right: none;
}

.np-tiktok-strip--triptych .np-tiktok-strip__photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.np-tiktok-strip--chaos .np-tiktok-strip__cell {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 100%;
}

.np-tiktok-strip--chaos .np-tiktok-strip__cell:last-child {
    border-right: none;
}

.np-tiktok-strip--chaos .np-tiktok-strip__cell--problem {
    z-index: 3;
}

.np-tiktok-strip--chaos .np-tiktok-strip__cell--consumption {
    z-index: 1;
}

.np-tiktok-strip--chaos .np-tiktok-strip__cell--consequences {
    z-index: 2;
}

/* Те же сдвиги кропа, что на широком chaos-ряду */
.np-tiktok-strip__cell--problem .np-tiktok-strip__photo {
    object-position: 50% 46%;
}

.np-tiktok-strip__cell--consumption .np-tiktok-strip__photo {
    object-position: 49% 36%;
}

.np-tiktok-strip__cell--consequences .np-tiktok-strip__photo {
    object-position: 52% 44%;
    transform: translateY(4px);
}

@media (min-width: 880px) {
    .np-tiktok-strip--triptych.np-tiktok-strip--chaos {
        min-height: 12rem;
        height: auto;
        overflow: visible;
    }
}

.np-problem__text {
    padding: 1rem 1.1rem 1.1rem;
    background: var(--np-ink);
    color: var(--np-ink-text);
    min-width: 0;
    border: 2px solid var(--about-accent);
    box-sizing: border-box;
}

@media (min-width: 880px) {
    .np-lego-problem__col--right .np-problem__text {
        flex: 1 1 auto;
        padding: 1.1rem 1.15rem 1.2rem;
        box-sizing: border-box;
    }

    .np-lego-problem__col--right .np-problem__text p {
        font-size: 0.94rem;
        line-height: 1.65;
    }
}

.np-problem__text h2 {
    margin: 0 0 0.65rem;
    font-family: var(--np-sans);
    font-size: clamp(1rem, 1.9vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--np-ink-text);
    border: none;
    padding: 0;
}

.np-problem__text p {
    margin: 0 0 0.75rem;
    font-family: var(--np-sans);
    font-size: 0.94rem;
    line-height: 1.62;
    text-align: left;
}

.np-problem__text p:last-child {
    margin-bottom: 0;
}

/* --- Статья «Карта»: слева заголовок + текст + карточки видов (SVG-звезда EIFORIA); справа цитата + медиа --- */
.np-map-article {
    margin: 1rem 0;
    padding: 1.15rem 1.1rem 1.25rem;
    background: #050505;
    color: #f5f3ef;
    border: 1px solid var(--np-rule);
    box-sizing: border-box;
}

.np-map-article__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 880px) {
    .np-map-article__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1rem 1.25rem;
        align-items: stretch;
    }
}

.np-map-article__left {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    min-height: 100%;
}

.np-map-article__left .np-map-article__body {
    margin-top: 0.12rem;
}

.np-map-article__right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    min-height: 100%;
}

.np-map-article__headline {
    margin: 0;
    font-family: var(--np-buckorz);
    /* Чуть меньше, чем при 400 — жирный 700 иначе переносится на две строки в колонке */
    font-size: clamp(1.28rem, 2.55vw, 1.88rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.045em;
    color: #fff;
}

.np-map-article__pull {
    margin: 0;
    padding: 0.85rem 1rem;
    font-family: var(--np-font);
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
    border: 3px solid var(--np-coral);
    box-sizing: border-box;
}

.np-map-article__pull-accent {
    font-style: normal;
    font-weight: 600;
    font-size: 1.22em;
    letter-spacing: 0.02em;
    color: var(--about-accent-mid);
    text-shadow: 0 0 22px color-mix(in srgb, var(--about-accent) 35%, transparent);
}

.np-map-article__body {
    font-family: var(--np-sans);
    font-size: 0.95rem;
    line-height: 1.65;
    hyphens: auto;
    color: color-mix(in srgb, #fff 88%, transparent);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1 1 auto;
    min-height: 0;
}

.np-map-article__lead {
    margin: 0;
    text-align: justify;
}

.np-map-kinds {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    text-align: left;
}

.np-map-kind-card {
    --kind-accent: var(--np-coral);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 0.85rem;
    align-items: start;
    padding: 0.72rem 0.8rem 0.78rem;
    border: 1px solid color-mix(in srgb, var(--kind-accent) 42%, transparent);
    border-radius: 2px;
    background:
        linear-gradient(
            155deg,
            color-mix(in srgb, var(--kind-accent) 11%, #0a0a0c) 0%,
            #070708 48%,
            #050506 100%
        );
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
}

.np-map-kind-card--moment {
    --kind-accent: #2563eb;
}

.np-map-kind-card--trace {
    --kind-accent: #eab308;
}

.np-map-kind-card--scenario {
    --kind-accent: #9333ea;
}

.np-map-kind-card__star-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 1px solid color-mix(in srgb, var(--kind-accent) 55%, transparent);
    background: color-mix(in srgb, var(--kind-accent) 9%, #080809);
    box-sizing: border-box;
}

.np-map-kind-card__star {
    display: block;
    width: 40px;
    height: 40px;
}

.np-map-kind-card__star-path {
    fill: var(--kind-accent);
    stroke: color-mix(in srgb, #ffffff 16%, transparent);
    stroke-width: 2.2;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--kind-accent) 35%, transparent));
}

.np-map-kind-card__body {
    min-width: 0;
    padding-top: 0.1rem;
}

.np-map-kind-card__title {
    margin: 0 0 0.28rem;
    font-family: var(--np-sans);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: color-mix(in srgb, #fff 96%, var(--kind-accent));
}

.np-map-kind-card__text {
    margin: 0;
    font-family: var(--np-sans);
    font-size: 0.84rem;
    line-height: 1.48;
    color: color-mix(in srgb, #fff 82%, transparent);
}

@media (max-width: 420px) {
    .np-map-kind-card {
        gap: 0.6rem 0.65rem;
        padding: 0.62rem 0.65rem 0.68rem;
    }

    .np-map-kind-card__star-wrap {
        width: 42px;
        height: 42px;
    }

    .np-map-kind-card__star {
        width: 34px;
        height: 34px;
    }
}

.np-map-article__fig {
    margin: 0;
    overflow: hidden;
}

.np-map-article__fig img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid var(--np-coral);
    box-sizing: border-box;
}

@media (min-width: 880px) {
    .np-map-article__fig {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .np-map-article__fig img {
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center;
    }
}

/* --- Безграничные процессы: одна колонка — текст сверху, фото снизу в общей рамке --- */
.np-strip--proc {
    padding: 1.15rem 0 1.35rem;
    border-bottom: 2px solid var(--np-editorial-bg);
}

.np-strip__inner--proc {
    display: block;
    max-width: min(var(--np-max), 100%);
    margin-inline: auto;
}

.np-proc__card {
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid var(--np-rose-line);
    background: var(--np-editorial-bg);
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 4%, transparent);
}

.np-proc__heading {
    margin: 0 0 0.75rem;
    padding-bottom: 0.55rem;
    font-family: var(--np-buckorz);
    font-size: clamp(1rem, 2.1vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--np-masthead-pink);
    border-bottom: 1px solid color-mix(in srgb, var(--about-accent) 55%, #c9a0a8 45%);
}

.np-proc__text {
    padding: 1.15rem 1.2rem 1.2rem;
    border: none;
    background: transparent;
    box-sizing: border-box;
}

.np-proc__text p {
    margin: 0 0 0.85rem;
    font-family: var(--np-font);
    font-size: 1rem;
    line-height: 1.68;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    color: var(--np-editorial-text);
}

@supports (text-wrap: pretty) {
    .np-proc__text p {
        text-wrap: pretty;
    }
}

.np-proc__text p:last-child {
    margin-bottom: 0;
}

.np-proc__text .np-highlight {
    color: color-mix(in srgb, var(--about-accent-mid) 92%, #fff 8%);
}

.np-proc__art {
    margin: 0;
    padding: 0;
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--about-accent) 35%, var(--np-rose-line) 65%);
    box-sizing: border-box;
    background: #050505;
}

.np-proc__art--photo img {
    display: block;
    width: 100%;
    height: auto;
}

.np-story__title {
    font-family: var(--np-display);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--about-accent);
    border-bottom: 2px solid color-mix(in srgb, var(--about-accent) 35%, transparent);
    padding-bottom: 0.3rem;
}

.np-highlight {
    color: var(--about-accent-mid);
    font-weight: 600;
}

/* --- В реальном мире --- */
.np-real {
    padding: 1.15rem 0 1rem;
    border-bottom: 1px solid var(--np-rule);
}

.np-real__contain {
    max-width: min(var(--np-max), 100%);
    margin-inline: auto;
    width: 100%;
    box-sizing: border-box;
}

.np-rubric {
    margin: 0 0 0.75rem;
    font-family: var(--np-buckorz);
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--about-accent);
    text-align: center;
    border-bottom: 2px solid color-mix(in srgb, var(--about-accent) 40%, transparent);
    padding-bottom: 0.35rem;
}

/* Слева ~60% — сетка слотов, справа ~40% — текст (как на референсе) */
.np-real__panel {
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--about-accent) 48%, var(--np-rose-line) 52%);
    background: color-mix(in srgb, var(--np-editorial-bg) 94%, #08080a 6%);
    box-sizing: border-box;
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 880px) {
    .np-real__panel {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 1rem 1.35rem;
        padding: 1rem 1.15rem;
    }

    .np-real__mediaCol {
        min-width: 0;
    }

    .np-real__text {
        min-width: 0;
    }
}

.np-real__text {
    margin: 0;
    min-width: 0;
}

.np-real__mediaCol {
    min-width: 0;
}

.np-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    width: 100%;
}

.np-gallery__cell--media {
    margin: 0;
    /* Шире квадрата — ниже общая высота 2×2, ближе к низу текстового блока */
    aspect-ratio: 5 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--about-accent) 45%, var(--np-rule) 55%);
    background: color-mix(in srgb, var(--np-editorial-bg) 92%, #0c0c10 8%);
}

@media (max-width: 879px) {
    .np-real__mediaCol {
        margin-bottom: 0;
    }

    .np-gallery {
        max-width: min(260px, 100%);
        margin-inline: auto;
    }
}

.np-gallery__star {
    display: block;
    width: clamp(2.25rem, 10vw, 3rem);
    height: auto;
    flex-shrink: 0;
    color: var(--about-accent-mid);
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--about-accent) 28%, transparent));
}

.np-gallery__star path {
    fill: currentcolor;
}

.np-real__text p {
    margin: 0 0 0.85rem;
    font-family: var(--np-font);
    font-size: 0.98rem;
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
    color: color-mix(in srgb, var(--color-text) 94%, transparent);
}

.np-real__text p:last-child {
    margin-bottom: 0;
}

/* Откровения автора: слева заголовок + текст, справа только QR (без подписи под кодом), одна рамка */
.np-author {
    padding: 1.25rem 0 1.15rem;
    border-bottom: 2px solid var(--np-editorial-bg);
}

.np-author__layout {
    max-width: min(var(--np-max), 100%);
    margin-inline: auto;
    width: 100%;
    box-sizing: border-box;
}

.np-author__panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.15rem;
    border: 1px solid color-mix(in srgb, var(--about-accent) 50%, var(--np-rose-line) 50%);
    background: var(--np-editorial-bg);
    box-sizing: border-box;
}

@media (min-width: 880px) {
    .np-author__panel {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem 1.35rem;
        align-items: start;
    }

    .np-author__qr {
        padding-left: 1.25rem;
        border-left: 1px solid color-mix(in srgb, var(--about-accent) 45%, var(--np-rule) 55%);
        align-self: start;
    }
}

.np-author__copy {
    margin: 0;
    min-width: 0;
}

.np-author__heading {
    margin: 0 0 0.65rem;
    padding: 0;
    font-family: var(--np-buckorz);
    font-size: clamp(1rem, 2.1vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--np-masthead-pink);
    line-height: 1.2;
}

.np-author__text {
    margin: 0;
    font-family: var(--np-font);
    font-size: 1rem;
    line-height: 1.68;
    text-align: justify;
    hyphens: auto;
    font-style: normal;
    color: var(--np-editorial-text);
}

.np-author__qr {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    background: transparent;
    max-width: 15.5rem;
    width: 100%;
    margin-inline: auto;
}

@media (min-width: 880px) {
    .np-author__qr {
        margin-inline: 0;
        justify-self: end;
    }
}

.np-author__qr-link {
    display: block;
    line-height: 0;
    border: 1px solid color-mix(in srgb, var(--about-accent) 35%, transparent);
    padding: 0.4rem;
    background: #0a0a0c;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.np-author__idea-cta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 1.1rem;
    box-sizing: border-box;
    font-family: var(--np-sans);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--np-editorial-text);
    background: color-mix(in srgb, var(--about-accent) 22%, #0a0a0c 78%);
    border: 1px solid color-mix(in srgb, var(--about-accent) 45%, transparent);
}

.np-author__qr-img {
    display: block;
    width: min(200px, 100%);
    height: auto;
    aspect-ratio: 1;
}

@media (max-width: 879px) {
    .np-author__qr {
        max-width: none;
    }

    .np-author__qr-link {
        line-height: normal;
        padding: 0;
        border: none;
        background: transparent;
    }

    .np-author__qr-img {
        display: none;
    }

    .np-author__idea-cta {
        display: inline-flex;
    }
}

@media (hover: hover) and (pointer: fine) {
    .np-author__qr-link:hover {
        border-color: color-mix(in srgb, var(--about-accent) 65%, var(--np-rose-line) 35%);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--about-accent) 25%, transparent);
    }

    .np-author__qr-link:hover .np-author__idea-cta {
        border-color: color-mix(in srgb, var(--about-accent) 65%, var(--np-rose-line) 35%);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--about-accent) 22%, transparent);
    }
}

.np-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0 0;
    margin-top: 0.5rem;
    border-top: 2px solid var(--np-rule);
}

.np-foot {
    flex: 1 1 12rem;
    margin: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--color-text) 52%, transparent);
}

.np-cta {
    display: inline-block;
    padding: 0.55rem 1.15rem;
    font-family: var(--np-buckorz);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--about-accent);
    border: 1px solid color-mix(in srgb, var(--color-text) 35%, transparent);
    box-shadow: 4px 4px 0 color-mix(in srgb, var(--color-text) 65%, transparent);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

@media (hover: hover) and (pointer: fine) {
    .np-cta:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 color-mix(in srgb, var(--color-text) 60%, transparent);
        color: #fff;
    }
}

[data-np-reveal] {
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-np-reveal].is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    [data-np-reveal] {
        opacity: 1;
        transition: none;
    }
}

/* --- Только мобильные устройства: без изменения десктопа (≥880px по умолчанию как раньше) --- */
@media (max-width: 879px) {
    .np-strip__inner--lego-problem {
        display: grid;
        gap: 0.65rem;
    }

    .np-lego-problem__col {
        display: contents;
    }

    .np-lego__text {
        order: 1;
        padding: 0.95rem 0.95rem 1rem;
        text-align: left;
    }

    .np-lego__art {
        order: 2;
    }

    .np-problem__text {
        order: 3;
        padding: 0.95rem 0.95rem 1rem;
    }

    .np-tiktok-strip--triptych {
        order: 4;
        border-width: 2px;
    }

    .np-sheet__content {
        padding-left: clamp(0.65rem, 3vw, 1rem);
        padding-right: clamp(0.65rem, 3vw, 1rem);
    }

    .np-map-article {
        padding: 0.95rem 0.8rem 1rem;
    }

    .np-map-article__grid {
        gap: 0.8rem;
    }

    .np-map-article__left,
    .np-map-article__right,
    .np-map-article__body {
        display: contents;
    }

    .np-map-article__headline {
        order: 1;
        font-size: clamp(1.18rem, 7vw, 1.5rem);
        line-height: 1.06;
    }

    .np-map-article__lead {
        order: 2;
        text-align: left;
        font-size: 0.93rem;
        line-height: 1.58;
    }

    .np-map-article__fig {
        order: 3;
    }

    .np-map-article__pull {
        order: 4;
        padding: 0.75rem 0.8rem;
        font-size: 0.95rem;
    }

    .np-map-kinds {
        order: 5;
        gap: 0.6rem;
    }

    .np-map-kind-card {
        padding: 0.7rem 0.75rem;
    }

    .np-proc__text p {
        text-align: left;
    }

    .np-proc__text {
        padding: 0.95rem 0.95rem 1rem;
    }

    .np-proc__art--photo img {
        height: clamp(235px, 72vw, 340px);
        object-fit: cover;
        object-position: center;
    }

    .np-real__panel {
        padding: 0.85rem 0.85rem 1rem;
        gap: 0.9rem;
    }

    .np-gallery {
        max-width: none;
        margin-inline: 0;
        gap: 0.5rem;
    }

    .np-gallery__cell--media {
        aspect-ratio: 1 / 1;
        padding: 0.65rem;
    }

    .np-real__text {
        padding-top: 0.15rem;
    }

    .np-real__text p {
        text-align: left;
    }

    .np-author__panel {
        padding: 0.95rem 0.9rem 1rem;
        gap: 0.9rem;
    }

    .np-author__heading {
        font-size: clamp(1rem, 6.3vw, 1.24rem);
    }

    .np-author__text {
        text-align: left;
    }

    .np-author__qr {
        width: 100%;
    }

    .np-author__idea-cta {
        min-height: 3rem;
        padding: 0.8rem 1rem;
        font-size: 0.84rem;
        letter-spacing: 0.08em;
    }

    /* На мобиле страница заканчивается блоком «Откровения автора» — без подвала с CTA */
    .np-bottom {
        display: none;
    }
}
