@font-face {
    font-family: "Geist";
    src: url("../assets/fonts/geist-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Unbounded";
    src: url("../assets/fonts/unbounded-cyrillic-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Unbounded";
    src: url("../assets/fonts/unbounded-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lora";
    src: url("../assets/fonts/lora-italic-cyrillic-variable.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Lora";
    src: url("../assets/fonts/lora-italic-latin-variable.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --page-padding: clamp(14px, 2.4vw, 36px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--color-black);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: visible;
    color: var(--color-light);
    background: var(--color-black);
    font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img,
svg,
video {
    max-width: 100%;
}

h1,
h2,
h3,
p,
a,
b,
small {
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
    html,
    body,
    a,
    button,
    [role="button"] {
        cursor: url("../assets/images/brush-cursor-128-v2.png") 14 6, auto;
    }
}

a {
    color: inherit;
}

.mobile-break {
    display: none;
}

.site-header {
    position: relative;
    z-index: 10;
    height: 24px;
    padding: 0;
    background: #000;
}

.site-header__marquee {
    display: flex;
    align-items: center;
    width: 100%;
    height: 24px;
    margin: 0;
    overflow: hidden;
    color: rgba(239, 236, 236, 0.78);
    font-size: clamp(11px, 1.2vw, 15px);
    line-height: 1;
    white-space: nowrap;
}

.site-header__marquee-track {
    display: flex;
    width: max-content;
    animation: header-marquee 24s linear infinite;
    will-change: transform;
}

.site-header__marquee-track span {
    display: block;
    flex: 0 0 auto;
    padding-right: clamp(42px, 7vw, 110px);
}

@keyframes header-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-25%); }
}

.site-header__bar {
    position: fixed;
    top: 40px;
    right: var(--page-padding);
    left: var(--page-padding);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    pointer-events: none;
}

.site-logo,
.site-nav {
    pointer-events: auto;
}

.site-logo {
    display: block;
    width: 44px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: block;
    padding: 12px;
    border: 0;
    border-radius: 0;
    color: var(--color-black);
    font-size: clamp(14px, 1.55vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform 160ms ease, filter 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    z-index: 1;
    outline: none;
    filter: brightness(1.08);
    transform: translateY(-2px) rotate(-1deg);
}

.site-nav__link--home {
    background: var(--color-pink);
}

.site-nav__link--archive {
    background: var(--color-lilac);
    border-radius: 999px;
}

.site-nav__link--about {
    background: var(--color-blue);
    border-radius: 6px;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 112svh;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    background: #080b19;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    filter: saturate(0.98) contrast(1.05);
    transform: scale(1.01);
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(3, 4, 11, 0.05) 45%, rgba(3, 4, 11, 0.64) 100%),
        radial-gradient(circle at 50% 35%, transparent 35%, rgba(3, 4, 11, 0.2) 100%);
    pointer-events: none;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
    content: "";
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100svh;
    padding: 60px var(--page-padding);
}

.hero__title {
    position: absolute;
    top: calc(100svh - 32px);
    left: 50%;
    width: max-content;
    max-width: none;
    margin: 0;
    font-family: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
    font-size: clamp(48px, 7.2vw, 132px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.journal {
    padding: 7px;
    background: var(--color-black);
}

.journal__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 7px;
}

.story {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-dark);
}

.story--flower,
.story--flowers {
    grid-column: span 6;
}

.story--grass,
.story--mirrors {
    grid-column: span 6;
}

.story--flower,
.story--grass {
    min-height: clamp(360px, 48vw, 720px);
}

.story--flowers,
.story--mirrors {
    min-height: clamp(340px, 44vw, 660px);
}

.story__link {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--color-light);
    text-decoration: none;
}

.story__link--loading {
    cursor: wait;
}

.story__link--generating {
    cursor: wait;
}

.story__link--generating::before,
.story__link--generating::after {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.story__link--generating::before {
    top: 0;
    height: 30%;
    background: rgba(36, 32, 32, 0.08);
    -webkit-backdrop-filter: blur(5px) saturate(0.92);
    backdrop-filter: blur(5px) saturate(0.92);
}

.story__link--generating::after {
    bottom: 0;
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(216, 209, 211, 0.16),
        rgba(90, 83, 86, 0.32) 38%,
        rgba(22, 19, 19, 0.58)
    );
    -webkit-backdrop-filter: blur(30px) saturate(0.65);
    backdrop-filter: blur(30px) saturate(0.65);
}

.story__link--generating .story__meta {
    z-index: 2;
}

.story__link--loading::after {
    position: absolute;
    inset: 0;
    background: rgba(36, 32, 32, 0.38);
    content: "";
    -webkit-backdrop-filter: blur(24px) saturate(0.75);
    backdrop-filter: blur(24px) saturate(0.75);
}

.story__loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.story__loading span {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.story__loading small {
    color: var(--color-gray-200);
    font-size: clamp(11px, 1vw, 14px);
}

.story__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.story--flower .story__image {
    object-position: 54% 50%;
}

.story--mirrors .story__image {
    object-position: 50% 52%;
}

.story__meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 12px 13px 11px;
    border: 0;
    border-radius: 6px;
    background: rgba(42, 40, 40, 0.34);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    -webkit-backdrop-filter: blur(28px) saturate(0.82) brightness(0.88);
    backdrop-filter: blur(28px) saturate(0.82) brightness(0.88);
}

.story__meta--blue {
    background: rgba(30, 66, 108, 0.32);
}

.story__title,
.story__details {
    margin: 0;
}

.story__title {
    max-width: 36ch;
    font-size: clamp(16px, 1.9vw, 29px);
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.story__details {
    margin-top: 5px;
    color: #d8d1d3;
    font-size: clamp(10px, 1vw, 13px);
    line-height: 1.25;
}

.story__link:hover .story__image,
.story__link:focus-visible .story__image {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.025);
}

.story__link:focus-visible {
    outline: 2px solid var(--color-pink);
    outline-offset: -4px;
}

.journal__more {
    display: grid;
    place-items: center;
    min-height: 76px;
    margin-top: 7px;
    border-radius: 8px;
    color: var(--color-black);
    background: var(--color-light);
    font-family: "Lora", Georgia, serif;
    font-size: clamp(26px, 3vw, 46px);
    font-style: italic;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease;
}

.journal__more:hover,
.journal__more:focus-visible {
    color: var(--color-light);
    background: var(--color-pink);
    outline: none;
}

.live {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 110px) var(--page-padding) clamp(64px, 9vw, 140px);
    background:
        radial-gradient(circle at 68% 34%, rgba(90, 83, 86, 0.32), transparent 30%),
        radial-gradient(circle at 20% 78%, rgba(216, 209, 211, 0.12), transparent 24%),
        linear-gradient(rgba(20, 19, 19, 0.18), rgba(20, 19, 19, 0.34)),
        url("../assets/images/twitch-texture-original.png") center / cover,
        #222121;
    isolation: isolate;
}

.live::before,
.live::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.live::before {
    opacity: 0.16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.72'/%3E%3C/svg%3E");
    mix-blend-mode: screen;
}

.live::after {
    background:
        linear-gradient(116deg, transparent 0 25%, rgba(0, 0, 0, 0.28) 25.2% 26%, transparent 26.2%),
        linear-gradient(32deg, transparent 0 73%, rgba(255, 255, 255, 0.05) 73.2% 74%, transparent 74.2%);
}

.live__inner {
    width: min(100%, 1500px);
    margin: 0 auto;
}

.live__title {
    margin: 0 0 clamp(32px, 5vw, 76px);
    font-family: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
    font-size: clamp(62px, 10vw, 170px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.live__feature {
    width: min(54vw, 690px);
    margin: 0 auto;
}

.live-poster {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 5px solid #08080b;
    border-radius: 8px;
    color: #f4d9e3;
    background: #090b19;
    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(239, 236, 236, 0.18);
    text-decoration: none;
    transform: rotate(-0.35deg);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.live-poster:hover,
.live-poster:focus-visible {
    outline: none;
    box-shadow:
        0 34px 85px rgba(0, 0, 0, 0.58),
        0 0 0 2px var(--color-pink);
    transform: rotate(0deg) translateY(-5px);
}

.live-poster__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050509;
}

.live__caption {
    margin-top: 24px;
    text-align: center;
}

.live__caption p {
    margin: 0;
    color: #d8d1d3;
    font-size: clamp(13px, 1.4vw, 19px);
    line-height: 1.4;
}

.live__watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--color-light);
    font-size: clamp(13px, 1.35vw, 18px);
    font-weight: 600;
    text-underline-offset: 4px;
}

.live__watch span {
    font-size: 0.8em;
}

.schedule {
    padding: clamp(8px, 1.3vw, 20px);
    color: var(--color-black);
    background: var(--color-black);
}

.schedule__card {
    min-height: clamp(500px, 44vw, 590px);
    padding: clamp(28px, 4vw, 66px);
    border-radius: 8px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(22, 19, 19, 0.018) 3px 4px),
        var(--color-light);
}

.schedule__title {
    margin: 0;
    font-family: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
    font-size: clamp(62px, 10vw, 164px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.schedule__table-wrap {
    margin-top: clamp(70px, 8vw, 120px);
    overflow-x: auto;
}

.schedule__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.schedule__table th,
.schedule__table td {
    width: 25%;
    padding: 13px 14px 13px 0;
    border-bottom: 1px dotted #8e868a;
    text-align: left;
    vertical-align: top;
}

.schedule__table th {
    color: #5a5356;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 450;
}

.schedule__table td {
    font-size: clamp(14px, 1.6vw, 22px);
    font-weight: 620;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.telegram {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 12vw, 190px) var(--page-padding) clamp(76px, 10vw, 150px);
    color: var(--color-black);
    background:
        linear-gradient(rgba(15, 14, 14, 0.08), rgba(15, 14, 14, 0.24)),
        url("../assets/images/ChatGPT Image 12 серп. 2026 р., 03_55_57.png") center / cover,
        var(--color-black);
}

.telegram::before {
    position: absolute;
    inset: 0;
    opacity: 0.17;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)' opacity='.5'/%3E%3C/svg%3E");
    content: "";
    mix-blend-mode: screen;
    pointer-events: none;
}

.telegram__paper {
    position: absolute;
    top: -36px;
    right: -3%;
    left: -3%;
    height: 82px;
    background: var(--color-black);
    clip-path: polygon(0 0, 100% 0, 100% 44%, 96% 55%, 92% 44%, 87% 61%, 82% 48%, 76% 65%, 70% 45%, 64% 60%, 58% 48%, 51% 64%, 45% 47%, 39% 62%, 32% 46%, 25% 66%, 18% 44%, 12% 62%, 6% 48%, 0 61%);
}

.telegram__card {
    position: relative;
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(42px, 6vw, 88px) clamp(24px, 7vw, 105px);
    border: 2px solid var(--color-black);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.18), transparent 18%),
        linear-gradient(135deg, #d97a97, #e5a0b4 52%, #cf718d);
    box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.42);
    text-align: center;
    transform: rotate(-0.4deg);
}

.telegram__pin {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16px;
    height: auto;
    background:
        radial-gradient(circle at 50% 9%, var(--color-black) 0 7px, transparent 7.5px),
        radial-gradient(circle at 50% 50%, var(--color-black) 0 7px, transparent 7.5px),
        radial-gradient(circle at 50% 91%, var(--color-black) 0 7px, transparent 7.5px);
}

.telegram__pin--left {
    left: 22px;
}

.telegram__pin--right {
    right: 22px;
}

.telegram__perforation {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 64px;
    border-inline: 1.5px dashed var(--color-black);
    pointer-events: none;
}

.telegram__perforation--left { left: 0; }
.telegram__perforation--right { right: 0; }

.telegram__title {
    margin: 0;
    font-family: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
    font-size: clamp(38px, 6.8vw, 94px);
    font-weight: 760;
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.telegram__title em {
    font-family: "Lora", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.telegram__text {
    width: min(100%, 570px);
    margin: 26px auto 0;
    font-size: clamp(13px, 1.5vw, 18px);
    line-height: 1.4;
}

.telegram__button {
    display: inline-block;
    margin-top: 28px;
    padding: 13px 26px;
    border: 1px solid var(--color-black);
    border-radius: 8px;
    color: var(--color-light);
    background: var(--color-black);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.telegram__button:hover,
.telegram__button:focus-visible {
    color: var(--color-black);
    background: var(--color-light);
    outline: none;
    transform: translateY(-3px) rotate(1deg);
}

.site-footer {
    color: var(--color-light);
    background: var(--color-black);
}

.site-footer__body {
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(270px, 0.85fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: end;
    padding: clamp(56px, 8vw, 110px) max(var(--page-padding), 28px) 24px;
}

.site-footer__brand {
    align-self: end;
    font-family: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
    font-size: clamp(52px, 5.2vw, 76px);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.site-footer__aside {
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    column-gap: clamp(24px, 4vw, 70px);
    text-align: right;
}

.site-footer__nav,
.site-footer__socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    padding-top: 3px;
}

.site-footer__label {
    margin: 0 0 5px;
    color: var(--color-gray-300);
    font-size: 9px;
    line-height: 1;
    text-transform: uppercase;
}

.site-footer__nav a,
.site-footer__socials a {
    width: fit-content;
    color: var(--color-gray-300);
    font-size: clamp(14px, 1.35vw, 18px);
    line-height: 1.05;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.site-footer__nav a:hover,
.site-footer__socials a:hover,
.site-footer__nav a:focus-visible,
.site-footer__socials a:focus-visible {
    color: var(--color-pink);
    outline: none;
}

.site-footer__credits {
    grid-column: 1 / -1;
    align-self: end;
    color: var(--color-gray-300);
    font-size: 12px;
    line-height: 1.15;
}

.site-footer__credits p {
    margin: 0;
}

.about-page {
    color: #f6f8fb;
    background: var(--color-black);
}

.about-header {
    position: relative;
    z-index: 20;
    height: 62px;
    margin: 0 20px;
}

.about-header .site-header__bar {
    top: 10px;
}

.about-hero {
    display: flex;
    align-items: center;
    min-height: 326px;
    padding: 120px 10px 40px;
}

.about-hero h1 {
    width: 100%;
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.035em;
    text-align: center;
}

.about-objects {
    overflow: hidden;
    height: 390px;
    padding-block: 20px;
    background: var(--color-black);
}

.about-objects__track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    width: max-content;
    min-width: 100%;
    transform: translateX(-140px);
}

.about-object {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: rgba(15, 14, 14, 0.72);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.34);
}

.about-object--record {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    color: #d8d1d3;
    background: radial-gradient(circle, #e9e0d7 0 9%, #24733f 10% 13%, #009337 14% 52%, #006c2e 53% 100%);
}

.about-object--vhs {
    width: 313px;
    height: 180px;
    color: #bcb4b8;
    background: linear-gradient(#252525 0 20%, #555 21% 23%, #1d1d1d 24% 100%);
}

.about-object--ticket {
    width: 350px;
    height: 190px;
    background: #cbb765;
    transform: rotate(-5deg);
}

.about-object--cassette {
    width: 255px;
    height: 160px;
    color: #d8d1d3;
    background: linear-gradient(#ece4d8 0 28%, #3c3c3c 29% 33%, #121212 34% 100%);
}

.about-object--paper {
    width: 210px;
    height: 350px;
    background: #d8d1d3;
    transform: rotate(4deg);
}

.about-copy {
    display: grid;
    grid-template-columns: 200px minmax(0, 940px);
    gap: 40px;
    justify-content: center;
    padding: 120px 50px;
    color: #f6f8fb;
}

.about-copy h2,
.about-contact h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.about-copy p {
    margin: 0;
    font-family: "Geist", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.about-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 10px 120px;
}

.about-contact__image,
.about-contact__content {
    width: 100%;
    min-height: 700px;
    border-radius: 8px;
}

.about-contact__image {
    background: url("../assets/images/Desktop.png") 0 44.5% / 200% auto no-repeat;
}

.about-contact__content {
    display: grid;
    place-items: center;
    padding: 50px;
    color: var(--color-light);
    background: transparent;
}

.about-contact__content > div {
    width: min(100%, 400px);
}

.about-contact__content p {
    font-size: 20px;
    line-height: 1.4;
}

.about-contact__links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.about-contact__links a {
    padding: 12px 16px;
    border-radius: 6px;
    color: var(--color-black);
    background: var(--color-pink);
    font-family: "Geist", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.about-subscribe {
    display: grid;
    place-items: center;
    min-height: 724px;
    padding: 180px 40px 80px;
    background: url("../assets/images/ChatGPT Image 12 серп. 2026 р., 03_55_57.png") center / cover;
}

.about-subscribe__card {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 1200px);
    min-height: 464px;
    padding: 60px 100px;
    color: var(--color-black);
    background: #f3d6df;
    text-align: center;
}

.about-subscribe__card::before,
.about-subscribe__card::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 64px;
    border-inline: 1.5px dashed var(--color-black);
    content: "";
}

.about-subscribe__card::before { left: 0; }
.about-subscribe__card::after { right: 0; }

.about-subscribe__dots {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 16px;
    height: auto;
    background:
        radial-gradient(circle at 50% 9%, var(--color-black) 0 7px, transparent 7.5px),
        radial-gradient(circle at 50% 50%, var(--color-black) 0 7px, transparent 7.5px),
        radial-gradient(circle at 50% 91%, var(--color-black) 0 7px, transparent 7.5px);
}

.about-subscribe__dots--left { left: 24px; }
.about-subscribe__dots--right { right: 24px; }

.about-subscribe h2 {
    margin: 0;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.about-subscribe p {
    margin: 16px 0 32px;
    font-size: 20px;
}

.about-subscribe a {
    display: inline-block;
    padding: 20px 24px;
    color: #f6f8fb;
    background: var(--color-black);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.about-site-footer .site-footer__body {
    min-height: 420px;
    padding-top: 120px;
}

/* Archive */
.archive-page {
    background: var(--color-black);
}

.archive-hero {
    display: grid;
    place-items: center;
    min-height: 490px;
    padding: 130px 20px 60px;
}

.archive-hero h1 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(60px, 8vw, 104px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
}

.archive-card {
    position: relative;
    min-height: clamp(360px, 48vw, 720px);
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-dark);
}

.archive-card a {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--color-light);
    text-decoration: none;
}

.archive-card__generating,
.archive-card__loading {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--color-light);
    cursor: wait;
}

.archive-card__generating::before,
.archive-card__generating::after,
.archive-card__loading::after {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.archive-card__generating::before {
    top: 0;
    height: 30%;
    background: rgba(36, 32, 32, 0.08);
    -webkit-backdrop-filter: blur(5px) saturate(0.92);
    backdrop-filter: blur(5px) saturate(0.92);
}

.archive-card__generating::after {
    bottom: 0;
    height: 70%;
    background: linear-gradient(to bottom, rgba(216, 209, 211, 0.16), rgba(90, 83, 86, 0.32) 38%, rgba(22, 19, 19, 0.58));
    -webkit-backdrop-filter: blur(30px) saturate(0.65);
    backdrop-filter: blur(30px) saturate(0.65);
}

.archive-card__loading::after {
    inset: 0;
    background: rgba(36, 32, 32, 0.38);
    -webkit-backdrop-filter: blur(24px) saturate(0.75);
    backdrop-filter: blur(24px) saturate(0.75);
}

.archive-card__generating > span {
    z-index: 2;
}

.archive-card__loading .story__loading strong {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(18px, 2vw, 30px);
    letter-spacing: -0.035em;
}

.archive-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.archive-card:first-child img {
    object-position: 52% 50%;
}

.archive-card span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    padding: 12px 13px 11px;
    border-radius: 6px;
    border: 0;
    background: rgba(42, 40, 40, 0.34);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    -webkit-backdrop-filter: blur(28px) saturate(0.82) brightness(0.88);
    backdrop-filter: blur(28px) saturate(0.82) brightness(0.88);
}

.archive-card b {
    max-width: 36ch;
    font-size: clamp(16px, 1.9vw, 29px);
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.archive-card small {
    margin-top: 5px;
    color: var(--color-gray-200);
    font-size: clamp(10px, 1vw, 13px);
    line-height: 1.25;
}

.archive-card a:hover img,
.archive-card a:focus-visible img {
    transform: scale(1.025);
}

.archive-ending {
    margin: 0;
    padding: 130px 20px 160px;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(44px, 6vw, 78px);
    font-style: italic;
    text-align: center;
}

.archive-subscribe {
    min-height: 724px;
}

.archive-site-footer .site-footer__body {
    min-height: 420px;
    padding-top: 120px;
}

/* Article */
.article-page {
    background: var(--color-black);
}

.article-heading {
    padding: 130px 20px 90px;
    text-align: center;
}

.article-heading h1 {
    max-width: 1180px;
    margin: 0 auto;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(48px, 6.7vw, 96px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.article-heading p {
    margin: 28px 0 0;
    color: var(--color-gray-200);
    font-family: "Lora", Georgia, serif;
    font-size: clamp(30px, 4vw, 56px);
    font-style: italic;
}

.article-cover {
    display: grid;
    place-items: center;
    min-height: 700px;
    margin: 0 10px;
    border-radius: 8px;
    color: #d9ddd5;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.75), transparent 20%),
        linear-gradient(135deg, #ff9f00, #ffc13c 52%, #f7a000);
}

.article-cover span {
    display: block;
    width: 360px;
    padding: 14px;
    color: #e4e5de;
    background: linear-gradient(90deg, #083b24, #09512d 52%, #07341e);
    font-family: "Lora", Georgia, serif;
    font-size: 74px;
    font-style: italic;
    line-height: .9;
    text-align: center;
    transform: rotate(.4deg);
}

.article-cover i {
    margin-left: 90px;
}

.article-cover--origin span {
    width: min(82vw, 560px);
    font-size: clamp(42px, 5.5vw, 70px);
}

.article-cover--origin i {
    margin-left: 0;
}

.article-cover--training {
    background:
        linear-gradient(rgba(22, 19, 19, 0.12), rgba(22, 19, 19, 0.34)),
        url("../assets/images/story-mirror-original.png") center 58% / cover no-repeat;
}

.article-cover--training span {
    color: var(--color-light);
    background: rgba(22, 19, 19, 0.42);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.article-intro {
    display: grid;
    grid-template-columns: 200px minmax(0, 940px);
    gap: 40px;
    justify-content: center;
    padding: 120px 50px;
}

.article-intro h2,
.article-intro p {
    margin: 0;
}

.article-intro h2 {
    font-size: 18px;
}

.article-intro p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.article-body {
    max-width: 1260px;
    margin: 0 auto;
    padding: 130px clamp(40px, 17vw, 280px);
    border-radius: 8px;
    color: var(--color-black);
    background: var(--color-light);
}

.article-body section + section {
    margin-top: 70px;
}

.article-body h2 {
    margin: 0 0 20px;
    font-size: 20px;
}

.article-body p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
}

.article-body p + p {
    margin-top: 1em;
}

.article-body section:last-child p {
    font-family: "Lora", Georgia, serif;
    font-size: clamp(24px, 3vw, 38px);
    font-style: italic;
    line-height: 1.25;
}

.article-more {
    max-width: 1260px;
    margin: 0 auto;
    padding: 90px 40px 110px;
    background: var(--color-dark);
}

.article-more h2 {
    margin: 0 0 40px;
    font-size: 20px;
}

.article-more > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-more a {
    color: var(--color-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.article-more__current {
    color: var(--color-light);
    font-size: 14px;
    font-weight: 600;
}

.article-more__generating,
.article-more__loading {
    position: relative;
    overflow: hidden;
    color: var(--color-light);
    font-size: 14px;
    font-weight: 600;
    cursor: wait;
}

.article-more__generating::after,
.article-more__loading::after {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.article-more__generating::after {
    top: 30%;
    bottom: 28px;
    background: rgba(36, 32, 32, 0.32);
    -webkit-backdrop-filter: blur(16px) saturate(0.7);
    backdrop-filter: blur(16px) saturate(0.7);
}

.article-more__loading::after {
    top: 0;
    bottom: 28px;
    background: rgba(36, 32, 32, 0.38);
    -webkit-backdrop-filter: blur(18px) saturate(0.7);
    backdrop-filter: blur(18px) saturate(0.7);
}

.article-more img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 14px;
    border-radius: 6px;
    object-fit: cover;
}

.article-more__generating span,
.article-more__loading span {
    position: relative;
    z-index: 2;
}

/* The home-page ticket follows the cleaner Figma treatment. */
.telegram__card {
    width: min(100%, 1200px);
    border: 0;
    border-radius: 0;
    background: #f3d6df;
    box-shadow: none;
    transform: none;
}

.telegram__title {
    font-family: "Lora", Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.telegram__title em {
    font-family: inherit;
}

.telegram__button {
    border-radius: 0;
}

@media (max-width: 799px) {
    .site-header {
        height: 26px;
        padding: 0;
    }

    .site-header__marquee {
        height: 26px;
        margin: 0;
        font-size: 11px;
    }

    .site-logo {
        width: 36px;
    }

    .site-header__bar {
        top: 42px;
        right: 10px;
        left: 10px;
        min-height: 30px;
    }

    .site-nav__list {
        gap: 4px;
    }

    .site-nav__link {
        padding: 9px;
        font-size: 12px;
    }

    .hero {
        width: 100%;
        min-height: 112svh;
        margin: 0;
    }

    .hero__image {
        object-position: 50% 50%;
    }

    .hero__content {
        min-height: 100svh;
        padding: 100px 10px;
    }

    .hero__title {
        width: calc(100% - 20px);
        max-width: 680px;
        margin-bottom: 0;
        font-size: clamp(48px, 16vw, 72px);
        line-height: 0.98;
        letter-spacing: -0.045em;
        overflow-wrap: normal;
        text-align: center;
        white-space: normal;
        top: calc(100svh - 26px);
        transform: translate(-50%, -50%);
    }

    .mobile-break {
        display: inline;
    }

    .journal {
        padding: 5px;
    }

    .journal__grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .story--flower,
    .story--flowers,
    .story--grass,
    .story--mirrors {
        grid-column: 1;
        min-height: auto;
        aspect-ratio: 4 / 5;
    }

    .story--grass,
    .story--flowers {
        aspect-ratio: 1 / 1;
    }

    .story__meta {
        right: 7px;
        bottom: 7px;
        left: 7px;
        padding: 10px;
    }

    .story__title {
        font-size: 17px;
    }

    .journal__more {
        min-height: 58px;
        margin-top: 5px;
        font-size: 28px;
    }

    .live {
        padding: 46px 10px 70px;
    }

    .live__title {
        margin-bottom: 34px;
        font-size: clamp(48px, 13vw, 68px);
        line-height: 0.94;
        letter-spacing: -0.04em;
    }

    .live__feature {
        width: min(88vw, 470px);
    }

    .live-poster {
        border-width: 5px;
    }

    .live__caption {
        margin-top: 16px;
    }

    .schedule {
        padding: 5px;
    }

    .schedule__card {
        min-height: auto;
        padding: 34px 16px 24px;
    }

    .schedule__title {
        font-size: clamp(48px, 13vw, 68px);
        line-height: 0.94;
        letter-spacing: -0.04em;
    }

    .schedule__table-wrap {
        margin-top: 64px;
        overflow: visible;
    }

    .schedule__table,
    .schedule__table tbody,
    .schedule__table tr,
    .schedule__table td {
        display: block;
        width: 100%;
    }

    .schedule__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .schedule__table tr {
        border-top: 1px dotted #8e868a;
    }

    .schedule__table td {
        display: grid;
        grid-template-columns: 115px 1fr;
        gap: 12px;
        padding: 13px 0;
        font-size: 15px;
    }

    .schedule__table td::before {
        color: #5a5356;
        content: attr(data-label);
        font-size: 11px;
        font-weight: 450;
    }

    .telegram {
        padding: 92px 12px 72px;
    }

    .telegram__card {
        padding: 46px 18px 42px;
        box-shadow: 8px 8px 0 rgba(22, 19, 19, 0.13);
    }

    .telegram__pin {
        top: 0;
        bottom: 0;
        width: 10px;
        height: auto;
        background:
            radial-gradient(circle at 50% 9%, var(--color-black) 0 5px, transparent 5.5px),
            radial-gradient(circle at 50% 50%, var(--color-black) 0 5px, transparent 5.5px),
            radial-gradient(circle at 50% 91%, var(--color-black) 0 5px, transparent 5.5px);
    }

    .telegram__pin--left { left: 12px; }
    .telegram__pin--right { right: 12px; }

    .telegram__perforation {
        width: 32px;
    }

    .telegram__title {
        font-size: clamp(22px, 6.7vw, 36px);
    }

    .telegram__text {
        margin-top: 20px;
        font-size: 13px;
    }

    .site-footer__body {
        min-height: 510px;
        grid-template-columns: 1fr;
        gap: 68px;
        padding: 46px 14px 18px;
    }

    .site-footer__brand {
        align-self: start;
        font-size: clamp(48px, 15vw, 74px);
        line-height: 0.94;
        letter-spacing: -0.045em;
    }

    .site-footer__aside {
        min-height: 220px;
        column-gap: 24px;
    }

    .site-footer__nav,
    .site-footer__socials {
        align-items: flex-start;
        text-align: left;
    }

    .site-footer__socials {
        align-items: flex-end;
        text-align: right;
    }

    .site-footer__credits {
        font-size: 11px;
    }

    .about-header {
        height: 51px;
        margin-inline: 10px;
    }

    .about-header .site-header__bar {
        top: 7px;
        right: 10px;
        left: 10px;
    }

    .about-hero {
        min-height: 409px;
        padding: 89px 10px 40px;
    }

    .about-hero h1 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: 1;
    }

    .about-objects {
        height: 215px;
        padding-block: 10px;
    }

    .about-objects__track {
        gap: 14px;
        justify-content: flex-start;
        transform: translateX(-105px);
    }

    .about-object--record {
        width: 175px;
        height: 175px;
    }

    .about-object--vhs {
        width: 172px;
        height: 99px;
    }

    .about-object--ticket {
        width: 192px;
        height: 104px;
    }

    .about-object--cassette {
        width: 140px;
        height: 88px;
    }

    .about-object--paper {
        width: 116px;
        height: 192px;
    }

    .about-copy {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 50px;
    }

    .about-copy p {
        font-size: 17px;
    }

    .about-contact {
        grid-template-columns: 1fr;
        padding: 0 10px 80px;
    }

    .about-contact__image {
        min-height: 440px;
        background-position: 0 44.5%;
        background-size: 200% auto;
    }

    .about-contact__content {
        min-height: 320px;
        padding: 40px;
    }

    .about-contact__content p {
        font-size: 17px;
    }

    .about-subscribe {
        min-height: 600px;
        padding: 120px 12px 60px;
    }

    .about-subscribe__card {
        width: 100%;
        min-width: 0;
        min-height: 380px;
        padding: 54px 42px;
    }

    .about-subscribe__card::before,
    .about-subscribe__card::after {
        width: 30px;
    }

    .about-subscribe__dots {
        top: 0;
        bottom: 0;
        width: 12px;
        height: auto;
        background:
            radial-gradient(circle at 50% 9%, var(--color-black) 0 5px, transparent 5.5px),
            radial-gradient(circle at 50% 50%, var(--color-black) 0 5px, transparent 5.5px),
            radial-gradient(circle at 50% 91%, var(--color-black) 0 5px, transparent 5.5px);
    }

    .about-subscribe__dots--left { left: 9px; }
    .about-subscribe__dots--right { right: 9px; }

    .about-subscribe h2 {
        max-width: 100%;
        font-size: clamp(30px, 8vw, 44px);
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .about-subscribe p {
        font-size: 14px;
    }

    .about-subscribe a {
        padding: 15px 18px;
        font-size: 15px;
    }

    .about-site-footer .site-footer__body {
        min-height: 401px;
        padding-top: 70px;
    }

    .archive-hero {
        min-height: 330px;
        padding-top: 110px;
    }

    .archive-hero h1 {
        font-size: clamp(48px, 16vw, 72px);
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 6px;
    }

    .archive-card {
        min-height: 0;
        aspect-ratio: 625 / 700;
    }

    .archive-card b {
        font-size: 14px;
    }

    .archive-card small {
        font-size: 12px;
    }

    .archive-ending {
        padding: 90px 12px 110px;
        font-size: clamp(34px, 10vw, 52px);
    }

    .archive-subscribe {
        min-height: 600px;
    }

    .archive-site-footer .site-footer__body {
        min-height: 401px;
        padding-top: 70px;
    }

    .article-heading {
        padding: 120px 18px 64px;
    }

    .article-heading h1 {
        font-size: clamp(30px, 8.2vw, 46px);
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .article-heading p {
        margin-top: 20px;
        font-size: 28px;
        line-height: 1.2;
    }

    .article-cover {
        min-height: 440px;
    }

    .article-cover span {
        width: min(62vw, 260px);
        font-size: clamp(34px, 11vw, 48px);
    }

    .article-intro {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 70px 30px;
    }

    .article-intro p,
    .article-body p {
        font-size: clamp(16px, 4.2vw, 18px);
    }

    .article-body {
        margin: 0 6px;
        padding: 70px 30px;
    }

    .article-body section + section {
        margin-top: 52px;
    }

    .article-body h2 {
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .article-body p {
        line-height: 1.6;
    }

    .article-more {
        margin: 0 6px;
        padding: 60px 24px;
    }

    .article-more h2 {
        line-height: 1.2;
    }

    .article-more > div {
        grid-template-columns: 1fr;
    }
}

/* Stable typography between mobile and wide desktop layouts. */
@media (min-width: 800px) and (max-width: 1100px) {
    .hero__title {
        font-size: clamp(64px, 8.5vw, 94px);
    }

    .live__title,
    .schedule__title {
        font-size: clamp(68px, 9vw, 104px);
    }

    .site-footer__brand {
        font-size: clamp(54px, 6vw, 68px);
    }

    .about-hero h1,
    .archive-hero h1 {
        font-size: clamp(58px, 8vw, 84px);
    }

    .article-heading h1 {
        font-size: clamp(48px, 6.5vw, 72px);
    }

    .about-subscribe__card {
        min-width: 0;
        padding-inline: clamp(56px, 8vw, 88px);
    }

    .about-subscribe h2 {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .site-nav__link {
        padding: 8px 7px;
        font-size: clamp(10px, 3vw, 12px);
    }

    .hero__title {
        font-size: clamp(46px, 15.5vw, 66px);
    }

    .live__title,
    .schedule__title {
        font-size: clamp(42px, 12vw, 58px);
    }

    .telegram__title {
        font-size: clamp(25px, 7.5vw, 34px);
    }

    .site-footer__brand {
        font-size: clamp(42px, 13vw, 62px);
        overflow-wrap: anywhere;
    }

    .about-copy,
    .about-contact__content {
        padding-inline: 24px;
    }

    .about-copy p,
    .about-contact__content p {
        font-size: 16px;
        line-height: 1.55;
    }

    .about-subscribe__card {
        padding-inline: 34px;
    }

    .about-subscribe h2 {
        font-size: clamp(27px, 7.8vw, 36px);
    }

    .archive-ending {
        font-size: clamp(30px, 9vw, 44px);
        overflow-wrap: anywhere;
    }

    .article-heading h1 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .article-heading p {
        font-size: clamp(22px, 6.5vw, 28px);
    }

    .article-body {
        padding-inline: 24px;
    }

    .article-body section:last-child p {
        font-size: clamp(24px, 7vw, 32px);
    }
}

/* Responsive type and intrinsic sizing safeguards. */
.site-nav {
    max-width: calc(100vw - (2 * var(--page-padding)) - 56px);
}

.site-nav__list,
.site-nav__link,
.telegram__card,
.telegram__card > *,
.about-subscribe__card,
.about-subscribe__card > div,
.site-footer__body,
.site-footer__aside,
.archive-card,
.article-heading,
.article-intro,
.article-body,
.article-more {
    min-width: 0;
}

.story__title,
.live__title,
.schedule__title,
.telegram__title,
.about-hero h1,
.about-subscribe h2,
.archive-hero h1,
.archive-card b,
.article-heading h1,
.article-more span,
.site-footer__brand {
    overflow-wrap: break-word;
    word-break: normal;
}

.site-nav__link {
    font-size: clamp(12px, 1.35vw, 19px);
}

.story__title {
    font-size: clamp(17px, 1.8vw, 28px);
    line-height: 1.08;
}

.story__details,
.archive-card small {
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.35;
}

.telegram__card {
    max-width: 100%;
}

.telegram__title {
    max-width: 100%;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.05;
}

.telegram__text {
    font-size: clamp(15px, 1.35vw, 18px);
}

.telegram__button,
.about-subscribe a {
    max-width: 100%;
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
}

.site-footer__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.site-footer__aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer__label,
.site-footer__credits {
    font-size: clamp(11px, 0.9vw, 13px);
}

.site-footer__nav a,
.site-footer__socials a {
    font-size: clamp(14px, 1.25vw, 18px);
}

.about-copy {
    padding-inline: clamp(24px, 7vw, 110px);
}

.about-copy p,
.about-contact__content p {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.58;
}

.about-subscribe h2 {
    font-size: clamp(30px, 5vw, 64px);
    white-space: normal;
}

.about-subscribe p {
    font-size: clamp(15px, 1.35vw, 18px);
}

.archive-card b {
    font-size: clamp(16px, 1.55vw, 24px);
    line-height: 1.12;
}

.article-heading {
    padding-inline: var(--page-padding);
}

.article-heading h1 {
    max-width: 14ch;
    font-size: clamp(38px, 6.7vw, 96px);
    line-height: 1.04;
}

.article-heading p {
    font-size: clamp(17px, 2.1vw, 30px);
    line-height: 1.25;
}

.article-intro {
    grid-template-columns: minmax(90px, 200px) minmax(0, 760px);
}

.article-intro h2,
.article-intro p,
.article-body p {
    font-size: clamp(17px, 1.25vw, 20px);
}

.article-body {
    width: min(calc(100% - (2 * var(--page-padding))), 1260px);
    padding-inline: clamp(24px, 12vw, 220px);
}

.article-body p {
    line-height: 1.65;
}

.article-more {
    width: min(calc(100% - (2 * var(--page-padding))), 1260px);
}

.article-more h2 {
    font-size: clamp(20px, 1.7vw, 26px);
}

.article-more__current,
.article-more__generating,
.article-more__loading {
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.35;
}

@media (max-width: 799px) {
    .site-nav {
        position: static;
        max-width: calc(100vw - 66px);
        margin-left: auto;
        transform: none;
    }

    .site-nav__list {
        justify-content: flex-end;
    }

    .site-nav__link {
        padding: clamp(7px, 2vw, 9px);
        font-size: clamp(11px, 3vw, 13px);
        white-space: nowrap;
    }

    .telegram {
        padding-inline: clamp(12px, 4vw, 24px);
    }

    .telegram__card {
        width: 100%;
        padding-inline: clamp(52px, 13vw, 72px);
    }

    .telegram__title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .telegram__text {
        width: 100%;
        font-size: clamp(15px, 4vw, 17px);
        overflow-wrap: break-word;
    }

    .hero__title {
        width: calc(100% - 28px);
        font-size: clamp(40px, 12.5vw, 54px);
        line-height: 1;
    }

    .site-footer__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__brand {
        font-size: clamp(40px, 13vw, 72px);
    }

    .site-footer__aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 36px;
    }

    .site-footer__credits {
        grid-column: 1 / -1;
    }

    .article-heading h1 {
        max-width: 16ch;
        font-size: clamp(34px, 9.5vw, 58px);
        overflow-wrap: break-word;
    }

    .article-heading p {
        font-size: clamp(16px, 4.5vw, 20px);
    }

    .article-intro {
        padding-inline: clamp(24px, 7vw, 48px);
    }

    .article-body {
        margin-inline: auto;
        padding: clamp(64px, 14vw, 90px) clamp(24px, 7vw, 52px);
    }

    .article-more {
        margin-inline: auto;
    }
}

@media (max-width: 390px) {
    .site-logo {
        width: 34px;
    }

    .site-nav {
        max-width: calc(100vw - 54px);
    }

    .site-nav__list {
        gap: 2px;
    }

    .site-nav__link {
        padding-inline: 6px;
        font-size: clamp(10.5px, 2.9vw, 11.5px);
    }

    .telegram__card {
        padding-inline: 48px;
    }

    .about-subscribe__card {
        padding-inline: 38px;
    }

    .article-heading h1 {
        font-size: clamp(32px, 9.2vw, 40px);
    }

    .article-body {
        padding-inline: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .site-header__marquee-track {
        animation-play-state: paused;
    }
}

/* Minimal smartwatch version */
@media (max-width: 450px) and (max-height: 450px) {
    html {
        min-width: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: #000;
    }

    body {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        background:
            radial-gradient(circle, rgba(217, 122, 151, 0.08), transparent 48%),
            #000;
    }

    body > * {
        display: none !important;
    }

    body::before {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--color-light);
        box-shadow: 0 0 18px rgba(217, 122, 151, 0.7);
        content: "";
        transform: translate(-50%, -50%);
    }

    body::after {
        position: absolute;
        top: calc(50% - 7px);
        left: calc(50% - 7px);
        width: min(42vw, 42vh);
        height: min(42vw, 42vh);
        background: url("../assets/images/brush-cursor-128-v2.png") center / contain no-repeat;
        content: "";
        transform-origin: 7px 7px;
        animation: brush-clock-hand 60s steps(60, end) infinite;
    }
}

@keyframes brush-clock-hand {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
