.daycom-series-page {
    background: #080808;
    color: #ffffff;
    overflow-x: clip;
}

.daycom-series-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #080808;
}

.daycom-series-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 76% 26%,
            rgba(181, 194, 202, 0.14) 0%,
            rgba(181, 194, 202, 0.04) 20%,
            transparent 42%
        ),
        radial-gradient(
            ellipse at 50% 48%,
            transparent 0%,
            transparent 38%,
            rgba(0, 0, 0, 0.14) 68%,
            rgba(0, 0, 0, 0.62) 100%
        );
}

.daycom-series-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 1px;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.10) 18%,
            rgba(255, 255, 255, 0.34) 50%,
            rgba(255, 255, 255, 0.10) 82%,
            transparent 100%
        );
}

.daycom-series-hero__media {
    position: absolute;
    inset: 0;
    z-index: -4;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.daycom-series-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.daycom-series-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.38) 0%,
            rgba(0, 0, 0, 0.07) 27%,
            rgba(0, 0, 0, 0.16) 48%,
            rgba(0, 0, 0, 0.62) 76%,
            rgba(0, 0, 0, 0.97) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.20) 36%,
            rgba(0, 0, 0, 0.02) 67%,
            rgba(0, 0, 0, 0.20) 100%
        );
}

.daycom-series-hero__back {
    position: absolute;
    top: clamp(22px, 3vw, 42px);
    left: clamp(20px, 4vw, 64px);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-decoration: none;
    text-transform: uppercase;
}

.daycom-series-hero__back > span:first-child {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.20);
    font-size: 14px;
    transition:
        border-color 180ms ease,
        background 180ms ease;
}

.daycom-series-hero__back:hover {
    color: #ffffff;
}

.daycom-series-hero__back:hover
    > span:first-child {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.42);
}

.daycom-series-hero__content {
    position: absolute;
    right: clamp(72px, 8vw, 130px);
    bottom: clamp(54px, 8vh, 98px);
    left: clamp(24px, 6vw, 92px);
    z-index: 2;
    max-width: 1240px;
}

.daycom-series-hero__content::before {
    content: "";
    display: block;
    width: 68px;
    height: 1px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.64);
}

.daycom-series-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

.daycom-series-hero__eyebrow i {
    display: block;
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, 0.30);
}

.daycom-series-hero h1 {
    max-width: 1180px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(58px, 8.8vw, 140px);
    font-weight: 500;
    line-height: 0.84;
    letter-spacing: -0.068em;
    text-wrap: balance;
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.24),
        0 10px 50px rgba(0, 0, 0, 0.30);
}

.daycom-series-hero__credits {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 26px;
}

.daycom-series-hero__author-label {
    color: rgba(255, 255, 255, 0.38);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.daycom-series-hero__author-name {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.daycom-series-hero__scroll {
    position: absolute;
    right: clamp(22px, 4vw, 60px);
    bottom: clamp(42px, 7vh, 80px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.34);
}

.daycom-series-hero__scroll span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.daycom-series-hero__scroll i {
    display: block;
    width: 1px;
    height: 56px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.62)
        );
}

.daycom-series-story {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.035),
            transparent 28%
        ),
        #080808;
    color: #ebe7df;
    padding:
        clamp(110px, 14vw, 210px)
        24px;
}

.daycom-series-story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1120px, calc(100% - 48px));
    height: 1px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.20),
            transparent
        );
}

.daycom-series-story__inner {
    display: grid;
    grid-template-columns:
        170px
        minmax(0, 1fr);
    gap: clamp(46px, 7vw, 96px);
    width: min(1120px, 100%);
    margin: 0 auto;
}

.daycom-series-story__eyebrow {
    padding-top: 8px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

.daycom-series-story__text {
    position: relative;
    max-width: 820px;
    color: rgba(239, 235, 227, 0.92);
    font-size: clamp(21px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: -0.020em;
}

.daycom-series-story__text::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: -34px;
    width: 1px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.46),
            rgba(255, 255, 255, 0.05)
        );
}

.daycom-series-books.daycom-books {
    min-height: 0;
    background: #f7f5f0;
}

.daycom-series-books__inner {
    width: min(1240px, calc(100% - 72px));
    margin: 0 auto;
    padding:
        clamp(86px, 10vw, 138px)
        0
        clamp(100px, 12vw, 160px);
}

.daycom-series-books__heading {
    margin-bottom: 52px;
}

.daycom-series-books__heading span {
    display: block;
    margin-bottom: 12px;
    color: var(--books-faint);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.daycom-series-books__heading h2 {
    margin: 0;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.daycom-series-books__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 54px 28px;
}

@media (max-width: 900px) {
    .daycom-series-hero__content {
        right: 58px;
        bottom: 52px;
        left: 34px;
    }

    .daycom-series-hero__scroll {
        right: 22px;
        bottom: 48px;
    }

    .daycom-series-story {
        padding-top: 104px;
        padding-bottom: 118px;
    }

    .daycom-series-story__inner {
        grid-template-columns:
            120px
            minmax(0, 1fr);
        gap: 44px;
    }

    .daycom-series-story__text::before {
        left: -22px;
    }

    .daycom-series-books__inner {
        width: min(100% - 40px, 760px);
    }

    .daycom-series-books__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 42px 20px;
    }
}

@media (max-width: 640px) {
    .daycom-series-hero__back {
        top: 18px;
        left: 16px;
    }

    .daycom-series-hero__back
        > span:first-child {
        width: 34px;
        height: 34px;
    }

    .daycom-series-hero__content {
        right: 18px;
        bottom: 36px;
        left: 18px;
    }

    .daycom-series-hero__content::before {
        width: 46px;
        margin-bottom: 18px;
    }

    .daycom-series-hero__eyebrow {
        gap: 10px;
        margin-bottom: 14px;
        letter-spacing: 0.22em;
    }

    .daycom-series-hero__eyebrow i {
        width: 28px;
    }

    .daycom-series-hero h1 {
        font-size: clamp(48px, 16vw, 80px);
        line-height: 0.88;
    }

    .daycom-series-hero__credits {
        margin-top: 20px;
    }

    .daycom-series-hero__scroll {
        display: none;
    }

    .daycom-series-story {
        padding:
            88px
            20px
            102px;
    }

    .daycom-series-story__inner {
        display: block;
    }

    .daycom-series-story__eyebrow {
        margin-bottom: 28px;
        padding-top: 0;
    }

    .daycom-series-story__text {
        font-size: 19px;
        line-height: 1.70;
    }

    .daycom-series-story__text::before {
        display: none;
    }

    .daycom-series-books__inner {
        width: calc(100% - 28px);
        padding-top: 72px;
    }

    .daycom-series-books__heading {
        margin-bottom: 32px;
    }

    .daycom-series-books__grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 18px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .daycom-series-books__grid::-webkit-scrollbar {
        display: none;
    }

    .daycom-series-books__grid
        .daycom-book-card {
        flex: 0 0 min(70vw, 240px);
        scroll-snap-align: start;
    }
}
