.dg-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #001e16;
}

.dg-home-hero-image {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.dg-home-hero .dg-hero-layout {
    min-height: clamp(500px, 36.65vw, 580px);
}

.dg-home-hero .dg-hero-copy {
    padding-block: 20px;
}

.dg-home-hero .dg-hero-note {
    margin-top: 20px;
    padding-top: 12px;
}

.dg-home-hero .dg-hero-copy > .dg-home-hero-intro:not(.dg-label):not(.dg-hero-note) {
    margin-top: 16px;
    font-size: clamp(11px, 3.45vw, 19px);
}

.dg-home-hero .dg-actions {
    margin-top: 17px;
}

.dg-home-hero-caption-area {
    position: relative;
}

.dg-home-hero-caption {
    position: absolute;
    right: 10px;
    bottom: 34px;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid #a5ddc162;
    border-radius: 6px;
    background: #00281eea;
    color: #fff;
    box-shadow: 0 4px 14px #00140b44;
    backdrop-filter: blur(9px);
    font: 400 13px/16px Arial, sans-serif;
}

.dg-home-hero-caption span {
    display: block;
}

.dg-home-hero-caption-name strong {
    font-size: 14px;
}

.dg-home-hero-caption-welcome {
    color: #d9efe4;
    font-size: 12px;
}

@media (min-width: 801px) and (max-width: 1150px) {
    .dg-home-hero .dg-hero-copy > .dg-home-hero-intro:not(.dg-label):not(.dg-hero-note) {
        font-size: clamp(13px, 1.6vw, 19px);
    }

    .dg-home-hero-image {
        object-position: 76% top;
        mask-image: linear-gradient(to right, transparent, #000 64%);
    }
}

@media (max-width: 800px) {
    .dg-home-hero {
        --home-hero-photo-height: clamp(325px, 78vw, 420px);
    }

    .dg-home-hero-image {
        inset: auto 0 0;
        height: var(--home-hero-photo-height);
        object-position: 88% top;
        mask-image: linear-gradient(to bottom, transparent, #000 17%);
    }

    .dg-home-hero .dg-hero-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .dg-home-hero .dg-hero-copy {
        align-self: stretch;
        padding: 32px 0 10px;
    }

    .dg-home-hero-caption-area {
        min-height: var(--home-hero-photo-height);
    }

    .dg-home-hero-caption {
        right: 0;
        bottom: 20px;
    }
}

@media (max-width: 360px) {
    .dg-home-hero-caption {
        padding-inline: 9px;
        font-size: 12px;
    }

    .dg-home-hero-caption-name strong {
        font-size: 13px;
    }
}

main {
    --home-secondary-column-inset: 65px;
}

.dg-home-about .dg-about-copy,
.dg-stories .dg-heading > :last-child {
    padding-inline-start: var(--home-secondary-column-inset);
}

.dg-home-about {
    position: relative;
    background: #001e16;
}

.dg-home-about .dg-about-photo {
    position: static;
    background: none;
}

.dg-home-about .dg-home-about-image {
    content: normal;
    inset: 0 auto 0 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: none;
    mask-image: linear-gradient(to right, #000 75%, transparent);
}

@media (max-width: 650px) {
    .dg-home-about .dg-about-copy {
        align-self: stretch;
    }

    .dg-home-about .dg-about-photo {
        position: relative;
        height: clamp(260px, 78vw, 390px);
    }

    .dg-home-about .dg-home-about-image {
        width: 100%;
        mask-image: linear-gradient(to bottom, #000 80%, transparent);
    }
}

.dg-home-about-experience {
    display: grid;
    gap: 11px;
    max-width: 510px;
    margin: 22px 0 0;
    padding-left: 1.15em;
    color: #e3ece7;
    font: 400 17px/1.42 Arial, sans-serif;
}

.dg-home-about-experience li::marker {
    color: #00bf74;
}

.dg-home-about-experience strong {
    color: #fff;
}

@media (hover: hover) {
    #approach .dg-pillars article:hover {
        transform: scale(1.025);
    }
}

.dg-stories {
    padding-block: 23px;
}

.dg-stories .dg-heading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    align-items: center;
}

.dg-stories .dg-outline,
.dg-home-about .dg-outline {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.dg-stories .dg-outline:hover,
.dg-stories .dg-outline:focus-visible,
.dg-home-about .dg-outline:hover,
.dg-home-about .dg-outline:focus-visible {
    border-color: #00784b;
    background-color: #00784b;
    color: #fff;
}

.dg-razborki-controls button {
    display: grid;
    place-items: center;
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {
    .dg-stories .dg-outline,
    .dg-home-about .dg-outline {
        transition: none;
    }
}

@media (max-width: 1000px) {
    main {
        --home-secondary-column-inset: 35px;
    }
}

@media (max-width: 650px) {
    main {
        --home-secondary-column-inset: 0px;
    }

    .dg-stories {
        padding-block: 20px;
    }

    .dg-stories .dg-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .dg-stories h2 {
        font-size: clamp(31px, 9.2vw, 38px);
    }

    .dg-stories .dg-outline {
        margin-top: 12px;
    }
}
