:root {
    --bg: #121212;
    --bg-2: #171717;
    --bg-3: #1c1c1c;
    --fg: #fff;
    --red: #e10600;
    --muted: #9a9a9a;
    --dim: #383838;
    --line: rgba(255, 255, 255, .11);
    --line-2: rgba(255, 255, 255, .22);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1560px;
    --pad: 32px;
    --hdr-h: 64px;
}

html.js .hdr,
html.js .hero-posts,
html.js .hero-info,
html.js .sec-head,
html.js .cell,
html.js .ftr {
    opacity: 0;
    transition: opacity .6s ease;
}

html.js.reveal-on .hdr,
html.js.reveal-on .hero-posts,
html.js.reveal-on .hero-info,
html.js.reveal-on .sec-head,
html.js.reveal-on .cell,
html.js.reveal-on .ftr {
    opacity: 1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--hdr-h) + 16px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, system-ui, sans-serif;
    font-feature-settings: "ss01", "tnum";
    font-variant-numeric: tabular-nums;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
}

::selection {
    background: var(--red);
    color: #000;
}

:focus-visible {
    outline: 1px solid var(--red);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {

    html.cursor-ready,
    html.cursor-ready * {
        cursor: none !important;
    }
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    margin-left: -14px;
    border: 1px solid var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    box-shadow: 0 0 12px rgba(225, 6, 0, .35), inset 0 0 8px rgba(225, 6, 0, .15);
    will-change: transform, width, height;
    transition:
        opacity .25s var(--ease),
        width .3s var(--ease),
        height .3s var(--ease),
        margin .3s var(--ease),
        background-color .3s var(--ease),
        border-color .3s var(--ease),
        box-shadow .3s var(--ease);
}

.cursor-ring::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    margin-top: -1.5px;
    margin-left: -1.5px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--red);
}

.cursor-ring.is-visible {
    opacity: 1;
}

.cursor-ring.is-hover {
    width: 54px;
    height: 54px;
    margin-top: -27px;
    margin-left: -27px;
    background-color: rgba(225, 6, 0, .12);
    border-color: rgba(225, 6, 0, .9);
    box-shadow: 0 0 22px rgba(225, 6, 0, .5), inset 0 0 14px rgba(225, 6, 0, .25);
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.hdr {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(18, 18, 18, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.hdr-in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    height: var(--hdr-h);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    transition: opacity .25s var(--ease);
}

.brand:hover {
    opacity: .75;
}

.brand img {
    height: 38px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: flex-start;
    justify-self: start;
}

.nav-a {
    font-size: .92rem;
    font-weight: 600;
    color: #c8c8c8;
    position: relative;
    padding-block: 8px;
    letter-spacing: .01em;
    transition: color .25s var(--ease);
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.nav-a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 2px;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .4s var(--ease);
}

.nav-a:hover {
    color: #fff;
}

.nav-a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav-a.is-active {
    color: #fff;
}

.nav-a.is-active::after {
    transform: scaleX(1);
}

.hdr-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 8px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.hdr-meta .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    grid-column: 3;
    position: relative;
    justify-self: end;
    margin-inline-end: -10px;
}

.menu-bars {
    position: relative;
    display: block;
    width: 22px;
    height: 14px;
}

.menu-bars span {
    position: absolute;
    inset-inline: 0;
    height: 1.5px;
    background: #fff;
    transition: transform .35s var(--ease), background .25s var(--ease);
}

.menu-bars span:nth-child(1) {
    top: 0;
}

.menu-bars span:nth-child(2) {
    bottom: 0;
}

.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(1) {
    transform: translateY(6.25px) rotate(45deg);
    background: var(--red);
}

.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(2) {
    transform: translateY(-6.25px) rotate(-45deg);
    background: var(--red);
}

.menu {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(18, 18, 18, .95);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    overflow: hidden;
}

.menu[hidden] {
    display: none;
}

.menu-in {
    display: flex;
    flex-direction: column;
    padding-block: 8px;
}

.menu-a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #d8d8d8;
    border-bottom: 1px solid var(--line);
    transition: color .25s var(--ease), padding-inline-start .3s var(--ease);
}

.menu-a:last-child {
    border-bottom: 0;
}

.menu-a:hover,
.menu-a:active {
    color: var(--red);
    padding-inline-start: 6px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr);
    }
}

/* ── Hero posts (پربازدیدترین مطالب کنار هیرو) ── */
.hero-posts {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    order: 2;
}

@media (min-width: 900px) {
    .hero-posts {
        order: 1;
    }
}

.hero-post {
    position: relative;
    isolation: isolate;
    background: var(--bg);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-height: 220px;
    overflow: hidden;
    cursor: pointer;
    transition: background .3s var(--ease);
}

.hero-post-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(.55) saturate(.9);
    transition: transform .8s var(--ease), filter .5s var(--ease);
}

.hero-post:hover .hero-post-cover {
    transform: scale(1.04);
    filter: brightness(.4) saturate(1.05);
}

.hero-post::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, .1) 0%,
            rgba(0, 0, 0, .3) 45%,
            rgba(0, 0, 0, .85) 100%);
}

.hero-post-no {
    position: absolute;
    top: 20px;
    inset-inline-end: 22px;
    z-index: 2;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: var(--red);
    transition: color .3s var(--ease);
}

.hero-post-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.hero-post-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.3;
    color: #fff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .25s var(--ease);
}

.hero-post:hover .hero-post-title {
    color: var(--red);
}

.hero-post-desc {
    font-size: .78rem;
    line-height: 1.7;
    color: #b8b8b8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-post-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42%;
    max-width: 90px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .16);
    pointer-events: none;
    z-index: -1;
    transition: color .35s var(--ease);
}

.hero-post-glyph svg {
    width: 100%;
    height: 100%;
}

.hero-post:hover .hero-post-glyph {
    color: rgba(225, 6, 0, .35);
}

.hero-post.is-empty {
    cursor: default;
}

.hero-post.is-empty::after {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, .4) 100%);
}

.hero-post.is-empty .hero-post-title {
    color: var(--dim);
}

.hero-post.is-empty:hover .hero-post-title {
    color: var(--dim);
}

.hero-post.is-empty:hover .hero-post-glyph {
    color: rgba(255, 255, 255, .16);
}

.hero-info {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--bg);
    order: 1;
    padding: 64px var(--pad);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 420px;
    justify-content: center;
    --mx: 50%;
    --my: 50%;
}

.hero-info::before {
    content: "";
    position: absolute;
    inset: -3%;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(180deg,
            rgba(0, 0, 0, .35) 0%,
            rgba(0, 0, 0, .1) 40%,
            rgba(0, 0, 0, .55) 100%),
        radial-gradient(circle 55vmax at var(--mx) var(--my), rgba(225, 6, 0, .12), transparent 60%),
        radial-gradient(circle 40vmax at calc(100% - var(--mx)) calc(100% - var(--my)), rgba(190, 190, 200, .06), transparent 65%),
        url('../images/team.png');
    background-size: cover, cover, cover, cover;
    background-position: center, center, center, top center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    filter: grayscale(0) brightness(1.1) contrast(1.05);
    animation: heroBreathe 30s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: top center;
}

.hero-info::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .15) 1.1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 85% 100% at 50% 50%, #000 20%, transparent 90%);
    mask-image: radial-gradient(ellipse 85% 100% at 50% 50%, #000 20%, transparent 90%);
    animation: dotDrift 40s linear infinite;
    will-change: background-position;
}

.hero-info > * {
    position: relative;
    z-index: 1;
}

@keyframes heroBreathe {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes dotDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 44px 44px;
    }
}

@media (min-width: 900px) {
    .hero-info {
        order: 2;
        padding: 72px 64px;
    }
}

.meta,
.lede,
.body,
.hero-foot {
    position: relative;
    transition: color .3s var(--ease);
}

.meta::before,
.meta::after,
.lede::before,
.lede::after,
.body::before,
.body::after,
.hero-foot::before,
.hero-foot::after,
.hero-h1::before,
.hero-h1::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .5s var(--ease);
}

.meta::before,
.lede::before,
.body::before,
.hero-foot::before,
.hero-h1::before {
    top: -6px;
    inset-inline-end: -8px;
    border-top: 1px solid var(--red);
    border-inline-end: 1px solid var(--red);
    transform: translate(-6px, 6px);
}

.meta::after,
.lede::after,
.body::after,
.hero-foot::after,
.hero-h1::after {
    bottom: -6px;
    inset-inline-start: -8px;
    border-bottom: 1px solid var(--red);
    border-inline-start: 1px solid var(--red);
    transform: translate(6px, -6px);
}

.meta:hover::before,
.meta:hover::after,
.lede:hover::before,
.lede:hover::after,
.body:hover::before,
.body:hover::after,
.hero-foot:hover::before,
.hero-foot:hover::after,
.hero-h1:hover::before,
.hero-h1:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.hero-h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 900;
    width: max-content;
    line-height: 1;
    letter-spacing: -.03em;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: .1em;
    flex-wrap: nowrap;
    padding-block: .05em .1em;
}

.hero-h1 span {
    background: linear-gradient(180deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-block: .05em;
}

.hero-h1 em {
    font-style: normal;
    background: linear-gradient(180deg, #ff3d4d 0%, #a00400 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    white-space: nowrap;
    padding-block: .05em;
}

.meta {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: var(--red);
    text-transform: uppercase;
    align-self: flex-start;
}

.body {
    font-size: 1.02rem;
    line-height: 2;
    color: #c8c8c8;
    max-width: 70ch;
    width: max-content;
}

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
    .duo {
        grid-template-columns: 1fr;
    }
}

.duo-col {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.duo-col .sec-head {
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.duo-col .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
}

.sec-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px var(--pad);
    border-bottom: 1px solid var(--line);
}

.sec-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
}

.sec-rule {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.sec-count {
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: .06em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.cell {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--bg);
    overflow: hidden;
    cursor: pointer;
    transition: background .35s var(--ease);
}

.cell::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .45s var(--ease);
    z-index: 4;
}

.cell:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.cell-no {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 3;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: #9a9a9a;
    transition: color .3s var(--ease);
}

.cell:hover .cell-no {
    color: var(--red);
}

.cell-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .8s var(--ease), filter .5s var(--ease);
}

.cell:hover .cell-cover {
    transform: scale(1.05);
    filter: brightness(.5) saturate(1);
}

.cell-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 20px 22px 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    z-index: 2;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .95) 100%);
}

.cell-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
    min-width: 0;
}

.cell-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.15;
    color: #fff;
}

.cell-genre {
    margin: 0;
    font-size: .76rem;
    letter-spacing: 1.8px;
    color: #9a9a9a;
    text-transform: uppercase;
}

.cell-plats {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 4px;
}

.plat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #9a9a9a;
    transition: color .25s var(--ease);
}

.plat svg {
    width: 100%;
    height: 100%;
}

.cell:hover .plat {
    color: #e5e5e5;
}

.cell.is-empty {
    cursor: default;
}

.cell-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .15);
    pointer-events: none;
    z-index: 1;
    transition: color .35s var(--ease);
}

.cell-glyph svg {
    width: 100%;
    height: 100%;
}

.cell.is-empty:hover .cell-glyph {
    color: rgba(225, 6, 0, .28);
}

.posts {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--bg);
}

.post {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: stretch;
    gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: background .3s var(--ease);
    min-width: 0;
}

.post:last-child {
    border-bottom: 0;
}

.post::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform .4s var(--ease);
}

.post:hover {
    background: var(--bg-3);
}

.post:hover::before {
    transform: scaleY(1);
}

.post-no {
    position: absolute;
    top: 12px;
    inset-inline-start: 22px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #9a9a9a;
    transition: color .3s var(--ease);
    z-index: 2;
}

.post:hover .post-no {
    color: var(--red);
}

.post-thumb {
    position: relative;
    width: 96px;
    height: 96px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .3s var(--ease);
}

.post:hover .post-thumb {
    border-color: rgba(225, 6, 0, .5);
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.9) saturate(.95);
    transition: transform .6s var(--ease), filter .4s var(--ease);
}

.post:hover .post-thumb img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1);
}

.post-thumb svg {
    width: 32px;
    height: 32px;
    color: var(--dim);
    transition: color .3s var(--ease);
}

.post:hover .post-thumb svg {
    color: var(--red);
}

.post-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding-top: 4px;
}

.post-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.35;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color .25s var(--ease);
}

.post:hover .post-title {
    color: var(--red);
}

.post-desc {
    font-size: .8rem;
    line-height: 1.7;
    color: #9a9a9a;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    font-size: .72rem;
    color: #9a9a9a;
}

.post-meta svg {
    width: 14px;
    height: 14px;
    opacity: .75;
}

.post-views {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.posts-empty {
    padding: 60px 22px;
    text-align: center;
    color: #9a9a9a;
    font-size: .86rem;
}

.ftr {
    margin-top: auto;
    border-top: 1px solid var(--line);
}

.ftr-in {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 56px;
    font-size: .72rem;
    color: #9a9a9a;
}

.ftr-logo {
    height: 14px;
    width: auto;
    opacity: .55;
    transition: opacity .25s var(--ease);
}

.ftr-in:hover .ftr-logo {
    opacity: 1;
}

.ftr-txt {
    letter-spacing: .4px;
}

.ftr-rule {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.ftr-link {
    color: #9a9a9a;
    transition: color .2s var(--ease);
}

.ftr-link:hover {
    color: #fff;
}

@media (max-width: 900px) {
    :root {
        --pad: 20px;
        --hdr-h: 56px;
    }

    .hdr-in {
        gap: 12px;
        grid-template-columns: auto 1fr auto;
        height: var(--hdr-h);
    }

    .brand {
        justify-self: start;
    }

    .brand img {
        height: 30px;
    }

    .nav {
        display: none;
    }

    .hdr-meta {
        display: none;
    }

    .menu-btn {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    .menu {
        display: block;
    }

    .hero-info {
        padding: 48px var(--pad);
        min-height: auto;
    }

    .hero-info::after {
        background-size: 18px 18px;
    }

    .hero-h1 {
        font-size: clamp(1.6rem, 7.5vw, 2.6rem);
        gap: .28em;
        width: auto;
        flex-wrap: wrap;
        white-space: normal;
    }

    .body {
        max-width: 45ch;
        width: auto;
    }

    .lede {
        width: auto;
    }

    .meta::before,
    .meta::after,
    .lede::before,
    .lede::after,
    .body::before,
    .body::after,
    .hero-foot::before,
    .hero-foot::after,
    .hero-h1::before,
    .hero-h1::after {
        display: none;
    }

    .sec-head {
        padding: 16px var(--pad);
        font-size: .62rem;
    }

    .cursor-ring {
        display: none;
    }

    .hero-post {
        padding: 18px 20px;
        min-height: 180px;
    }

    .hero-post-title {
        font-size: 1rem;
    }

    .hero-post-desc {
        font-size: .74rem;
    }

    .hero-post-no {
        top: 14px;
        inset-inline-end: 18px;
    }

    .cell-body {
        padding: 16px;
        gap: 10px;
    }

    .cell-title {
        font-size: 1.1rem;
    }

    .cell-genre {
        font-size: .68rem;
    }

    .cell-plats {
        gap: 8px;
    }

    .plat {
        width: 18px;
        height: 18px;
    }

    .duo-col .sec-head {
        padding: 14px 18px;
    }

    .post {
        grid-template-columns: 80px 1fr;
        gap: 14px;
        padding: 14px 18px;
    }

    .post-thumb {
        width: 80px;
        height: 80px;
    }

    .post-no {
        inset-inline-start: 18px;
        top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .hero-info::before,
    .hero-info::after {
        animation: none !important;
    }

    .cursor-ring {
        display: none !important;
    }

    html.cursor-ready,
    html.cursor-ready * {
        cursor: auto !important;
    }

    html.js .hdr,
    html.js .hero-posts,
    html.js .hero-info,
    html.js .sec-head,
    html.js .cell,
    html.js .ftr {
        opacity: 1 !important;
        transition: none !important;
    }
}