body {
    background: #000;
}

.dg-hero-video {
    filter: saturate(0.72) brightness(0.48) contrast(1.04);
}

.dg-menu[hidden],
.dg-film[hidden] {
    display: none;
}

.dg-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
}

.dg-menu__inner {
    width: min(1200px, calc(100% - 24px));
    margin: 24px auto;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.menu-link {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-link:hover,
.menu-link:focus-visible {
    opacity: 0.75;
    transform: translateX(6px);
}

.dg-film {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.dg-film__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.dg-film__dialog {
    position: relative;
    width: min(1100px, calc(100% - 24px));
    margin: 24px auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.92);
}

.dg-film__dialog video {
    width: 100%;
    border-radius: 8px;
    background: #000;
}

.dg-script-line {
    font-size: clamp(5rem, 13vw, 13rem);
    line-height: 0.9;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0;
    font-weight: 400;
    transform: scaleX(0.9);
    transform-origin: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.08em 0 0.12em;
    scrollbar-width: none;
}

.dg-script-line::-webkit-scrollbar {
    display: none;
}

.dg-placeholder {
    width: 100%;
    height: 100%;
    background-color: #0b0d10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dg-placeholder--fog {
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.16), transparent 14%),
        radial-gradient(circle at 72% 32%, rgba(35, 83, 255, 0.22), transparent 18%),
        linear-gradient(140deg, rgba(13, 16, 24, 0.92), rgba(5, 7, 10, 0.98));
}

.dg-placeholder--house {
    background-image:
        linear-gradient(180deg, rgba(5, 8, 14, 0.28), rgba(4, 6, 10, 0.72)),
        url("media/placeholders/house-1.jpg");
    background-position: center;
}

.dg-placeholder--structure {
    background-image:
        linear-gradient(180deg, rgba(4, 7, 13, 0.32), rgba(4, 6, 10, 0.78)),
        url("media/placeholders/skyline-1.jpg");
    background-position: 50% 42%;
}

.dg-placeholder--service {
    background-image:
        linear-gradient(180deg, rgba(10, 8, 7, 0.18), rgba(6, 6, 8, 0.74)),
        url("media/placeholders/interior-4.jpg");
    background-position: center 32%;
}

.dg-placeholder--card-1,
.dg-placeholder--card-2,
.dg-placeholder--card-3,
.dg-placeholder--card-4,
.dg-placeholder--card-5,
.dg-placeholder--card-6 {
    background-color: #090b11;
}

.dg-placeholder--card-1 {
    background-image:
        linear-gradient(180deg, rgba(7, 10, 18, 0.18), rgba(6, 7, 10, 0.76)),
        url("media/placeholders/skyline-1.jpg");
    background-position: 52% 45%;
}

.dg-placeholder--card-2 {
    background-image:
        linear-gradient(180deg, rgba(9, 8, 8, 0.14), rgba(6, 7, 10, 0.74)),
        url("media/placeholders/house-2.jpg");
    background-position: center;
}

.dg-placeholder--card-3 {
    background-image:
        linear-gradient(180deg, rgba(12, 10, 9, 0.12), rgba(8, 8, 10, 0.72)),
        url("media/placeholders/interior-2.jpg");
    background-position: 52% 28%;
}

.dg-placeholder--card-4 {
    background-image:
        linear-gradient(180deg, rgba(8, 9, 12, 0.2), rgba(6, 7, 10, 0.8)),
        url("media/placeholders/skyline-2.jpg");
    background-position: 50% 44%;
}

.dg-placeholder--card-5 {
    background-image:
        linear-gradient(180deg, rgba(8, 8, 8, 0.16), rgba(5, 6, 8, 0.76)),
        url("media/placeholders/facade-1.jpg");
    background-position: center 42%;
}

.dg-placeholder--card-6 {
    background-image:
        linear-gradient(180deg, rgba(7, 8, 10, 0.22), rgba(5, 6, 8, 0.8)),
        url("media/placeholders/moody-1.jpg");
    background-position: center;
}

.dg-placeholder--bespoke {
    background-image:
        linear-gradient(180deg, rgba(11, 8, 8, 0.1), rgba(5, 6, 8, 0.66)),
        url("media/placeholders/interior-4.jpg");
    background-position: center 30%;
}

.dg-placeholder--live-1 {
    background-image:
        linear-gradient(180deg, rgba(7, 8, 11, 0.26), rgba(5, 6, 8, 0.78)),
        url("media/placeholders/facade-1.jpg");
    background-position: center 38%;
}

.dg-placeholder--live-2 {
    background-image:
        linear-gradient(180deg, rgba(9, 8, 7, 0.12), rgba(5, 6, 8, 0.72)),
        url("media/placeholders/interior-1.jpg");
    background-position: center 30%;
}

.dg-placeholder--live-3 {
    background-image:
        linear-gradient(180deg, rgba(7, 8, 11, 0.18), rgba(5, 6, 8, 0.78)),
        url("media/placeholders/skyline-2.jpg");
    background-position: center 44%;
}

@media (max-width: 768px) {
    .dg-menu__inner {
        padding: 24px;
    }

    .dg-film__dialog {
        margin-top: 12px;
        padding: 14px;
    }

    .dg-script-line {
        font-size: clamp(3rem, 14vw, 4.75rem);
        line-height: 0.92;
        white-space: normal;
        overflow: visible;
        transform: none;
        text-wrap: balance;
        padding: 0.06em 0 0.1em;
    }
}
