.intro {
    .title {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 64px;
    }
    h1 {
        font-size: 96px;
        line-height: 104px;
        letter-spacing: -1.5px;
    }
    p {
        max-width: 640px;
        font-size: 20px;
    }
}
.featured, .news {
    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        height: 60px;
        padding: 0 32px;
        border-radius: 999px;
        background: var(--bg-8);
        font-size: 20px;
        line-height: 24px;
        font-weight: 500;
        letter-spacing: 0;
        color: var(--text-5);
        transition: box-shadow 0.35s ease, transform 0.35s ease;
    }
    h2 {
        font-family: 'Oswald';
        font-size: 48px;
        font-weight: 700;
        line-height: 52px;
        letter-spacing: 0;
        text-transform: uppercase;
    }
}
.featured {
    padding-bottom: 64px;
    .card {
        display: grid;
        grid-template-columns: 1040fr 718fr;
        overflow: hidden;
        border: 1px solid var(--border-2);
        background: var(--bg-13);
        img {
            height: 620px;
        }
    }
    .content {
        display: flex;
        flex-direction: column;
        gap: 64px;
        min-width: 0;
        padding: 48px;
    }
    .info {
        display: flex;
        flex-direction: column;
        gap: 40px;
        .chip {
            margin-bottom: 24px;
        }
        p {
            font-size: 20px;
            line-height: 28px;
            font-weight: 300;
            letter-spacing: 0;
            color: var(--text-4);
        }
    }
}
.news {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-bottom: 140px;
    .banner {
        position: relative;
        display: flex;
        align-items: center;
        height: 560px;
        padding: 64px 0 64px 64px;
        overflow: hidden;
        border: 1px solid color-mix(in srgb, var(--bg-8) 30%, transparent);
        background:
            linear-gradient(90deg, color-mix(in srgb, var(--main-bg) 95%, transparent) 30%, transparent 75%),
            radial-gradient(40% 60% at 78% 100%, color-mix(in srgb, var(--bg-2) 55%, transparent), transparent),
            radial-gradient(60% 90% at 75% 100%, color-mix(in srgb, var(--bg-8) 95%, transparent), color-mix(in srgb, var(--bg-8) 50%, transparent) 45%, transparent),
            radial-gradient(90% 130% at 70% 100%, color-mix(in srgb, var(--bg-8) 35%, var(--main-bg)), transparent),
            var(--main-bg);
        .text {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 64px;
        }
        .info {
            display: flex;
            flex-direction: column;
            gap: 40px;
            p {
                max-width: 720px;
                font-size: 24px;
                line-height: 28px;
                font-weight: 300;
                letter-spacing: 0;
                color: var(--text-4);
            }
        }
    }
    .phone {
        position: absolute;
        z-index: 2;
        right: 86px;
        bottom: 0;
        width: 580px;
        img {
            height: auto;
        }
    }
    .ring {
        position: absolute;
        top: 23.6%;
        left: 34.7%;
        width: 29.3%;
        height: 10%;
        border: 3px solid var(--bg-8);
        border-radius: 50%;
        rotate: 4deg;
    }
    .note {
        position: absolute;
        z-index: 3;
        top: 69px;
        left: 698px;
        p {
            position: relative;
            z-index: 3;
            font-family: 'Caveat', cursive;
            font-size: 44px;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 0;
            white-space: nowrap;
            color: var(--text-11);
            transform-origin: top left;
            rotate: 6deg;
        }
    }
    .arrow {
        position: absolute;
        z-index: 3;
        top: -31px;
        left: 335px;
        width: 263px;
        height: 133px;
        background: var(--bg-8);
        mask: url(../images/news-arrow.svg) center / contain no-repeat;
    }
    .more {
        align-self: center;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        padding: 0 32px;
        border: 1.5px solid var(--border-4);
        border-radius: 999px;
        background: none;
        font-size: 20px;
        line-height: 24px;
        font-weight: 500;
        letter-spacing: 0;
        transition: border-color 0.3s, color 0.3s;
        &:disabled {
            opacity: 0.5;
            cursor: default;
        }
    }
}
body.reveal {
    .intro .title, .news .item, .news .banner {
        opacity: 0;
        translate: 0 40px;
        transition: opacity 0.8s ease var(--delay, 0s), translate 0.8s ease var(--delay, 0s);
        &.in {
            opacity: 1;
            translate: 0 0;
        }
    }
}
@media (prefers-reduced-motion: no-preference) {
    .featured {
        .card {
            animation: featured-card 0.8s ease 0.2s both;
        }
        img {
            animation: featured-image 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.3s both;
        }
        .info > *, .button {
            animation: featured-rise 0.8s ease both;
        }
        .info .chip {
            animation-delay: 0.7s;
        }
        .info h2 {
            animation-delay: 0.8s;
        }
        .info p {
            animation-delay: 0.9s;
        }
        .button {
            animation-delay: 1.05s;
        }
    }
}
@keyframes featured-card {
    from {
        opacity: 0;
    }
}
@keyframes featured-image {
    from {
        clip-path: inset(0 100% 0 0);
        scale: 1.08;
    }
    to {
        clip-path: inset(0);
        scale: 1;
    }
}
@keyframes featured-rise {
    from {
        opacity: 0;
        translate: 0 32px;
    }
}
@media screen and (max-width: 1759px) {
    .featured, .news {
        .button {
            height: 56px;
            padding: 0 24px;
        }
    }
    .featured {
        padding-bottom: 48px;
        .card {
            grid-template-columns: 622fr 702fr;
        }
        .content {
            gap: 48px;
            padding: 40px;
        }
        .info {
            gap: 32px;
            .chip {
                margin-bottom: 16px;
            }
        }
    }
    .news {
        gap: 48px;
        padding-bottom: 120px;
        .banner {
            padding: 48px 0 48px 48px;
            .text {
                gap: 48px;
            }
        }
        .note {
            position: static;
            p {
                position: absolute;
                top: 366px;
                left: max(240px, 100% - 998px);
            }
        }
        .arrow {
            top: 235px;
            right: 466px;
            left: calc(max(240px, 100% - 998px) + 261px);
            width: auto;
            height: 147px;
            mask: url(../images/news-arrow-up.svg) center / 100% 100% no-repeat;
        }
        .more {
            height: 56px;
            padding: 0 24px;
        }
    }
}
@media screen and (max-width: 1279px) {
    .intro {
        p {
            font-size: 18px;
        }
        .title {
            flex-direction: column;
            align-items: flex-start;
            gap: 24px;
        }
        h1 {
            font-size: 64px;
            line-height: 68px;
        }
    }
    .featured, .news {
        h2 {
            font-size: 40px;
            line-height: 44px;
        }
        .button, .more {
            font-size: 16px;
            line-height: 20px;
        }
    }
    .featured .info p, .news .banner .info p {
        font-size: 18px;
    }
    .featured {
        .card {
            grid-template-columns: 1fr 1fr;
            img {
                height: 100%;
                min-height: 480px;
            }
        }
    }
    .news {
        .banner .text {
            max-width: calc(100% - 448px);
        }
        .phone {
            right: 40px;
            width: 360px;
        }
        .note {
            display: none;
        }
    }
}
@media screen and (max-width: 767px) {
    .intro {
        h1 {
            font-size: 44px;
            line-height: 48px;
            letter-spacing: -0.5px;
        }
        p {
            font-size: 14px;
        }
    }
    .featured, .news {
        h2 {
            font-size: 32px;
            line-height: 36px;
        }
        .button {
            width: 100%;
            height: 48px;
            padding: 0 20px;
        }
    }
    .featured {
        padding-bottom: 32px;
        .card {
            grid-template-columns: 1fr;
            img {
                height: 340px;
                min-height: 0;
            }
        }
        .content {
            gap: 32px;
            padding: 24px;
        }
        .info {
            gap: 20px;
            .chip {
                margin-bottom: 12px;
            }
            p {
                font-size: 16px;
                line-height: 20px;
            }
        }
    }
    .news {
        gap: 32px;
        padding-bottom: 56px;
        .banner {
            flex-direction: column;
            align-items: stretch;
            gap: 32px;
            padding: 32px;
            .text {
                gap: 32px;
                align-items: stretch;
                max-width: none;
            }
            .info {
                gap: 16px;
                p {
                    font-size: 16px;
                    line-height: 20px;
                }
            }
        }
        .phone {
            position: relative;
            right: auto;
            align-self: center;
            width: 272px;
            margin-top: auto;
            margin-bottom: -32px;
        }
        .more {
            align-self: stretch;
            height: 48px;
        }
    }
}
@media (hover: hover) {
    .featured .button:hover, .news .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 34px rgba(255, 107, 0, 0.35);
    }
    .news .more:hover:not(:disabled) {
        border-color: var(--bg-2);
        color: var(--text-2);
    }
}
