:root {
    --dn-gutter: clamp(1.75rem, 6.5vw, 5.25rem);
}

html, body {
    overflow-anchor: none;
    overscroll-behavior-y: none;
}

.dn-section {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    overflow: hidden;
}

.footer {
    position: relative;
    z-index: 10;
}

.dn-hero {
    display: flex;
    justify-content: center;
}

.dn-hero-bg,
.dn-story-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.dn-hero-p1, .dn-hero-p2, .dn-hero-p3, .dn-hero-p4 { z-index: 2; }
.dn-hero-p1 { top: 2%; left: 3%; width: clamp(90px, 9vw, 160px); --dur: 11.25s; --delay: -5s; --petal-rotate: 8deg; }
.dn-hero-p2 { top: 4%; right: 4%; width: clamp(80px, 8vw, 150px); --dur: 10.63s; --delay: -9s; --petal-rotate: -12deg; }
.dn-hero-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 11.88s; --delay: -4s; --petal-rotate: -5deg; }
.dn-hero-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 10.63s; --delay: -9s; --petal-rotate: -12deg; }

.dn-hero-title {
    position: relative;
    z-index: 2;
    margin-top: clamp(3rem, 10vh, 7rem);
    color: var(--navy);
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
}

.dn-timeline {
    position: relative;
}

.dn-timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--dn-gutter);
    width: 2px;
    background: rgba(0, 21, 94, .15);
    z-index: 3;
    pointer-events: none;
}

.dn-timeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--navy-2);
}

.dn-timeline-year {
    position: absolute;
    top: 50%;
    left: var(--dn-gutter);
    z-index: 4;
    transform: translate(-50%, -50%);
    color: var(--navy);
    font-family: var(--font-titlu);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    letter-spacing: -.01em;
    line-height: 1;
    white-space: nowrap;
}

.dn-2006-p1, .dn-2006-p2, .dn-2006-p3, .dn-2006-p4,
.dn-2014-p1, .dn-2014-p2, .dn-2014-p3, .dn-2014-p4,
.dn-exp-p1,  .dn-exp-p2,  .dn-exp-p3,  .dn-exp-p4,
.dn-2016-p1, .dn-2016-p2, .dn-2016-p3, .dn-2016-p4,
.dn-2008-p1, .dn-2008-p2, .dn-2008-p3, .dn-2008-p4,
.dn-2010-p1, .dn-2010-p2, .dn-2010-p3, .dn-2010-p4,
.dn-2015-p1, .dn-2015-p2, .dn-2015-p3, .dn-2015-p4,
.dn-2017-p1, .dn-2017-p2, .dn-2017-p3, .dn-2017-p4,
.dn-2023-p1, .dn-2023-p2, .dn-2023-p3, .dn-2023-p4,
.dn-2026-p1, .dn-2026-p2, .dn-2026-p3, .dn-2026-p4 { z-index: 2; }

.dn-2006-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 11.25s; --delay: -2s; --petal-rotate: 8deg; }
.dn-2006-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 11.88s; --delay: -8s; --petal-rotate: -8deg; }
.dn-2006-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 10.63s; --delay: -3s; --petal-rotate: -18deg; }
.dn-2006-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.25s; --delay: -5s; --petal-rotate: 68deg; }

.dn-2014-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 11.88s; --delay: -12s; --petal-rotate: -20deg; }
.dn-2014-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 12.5s; --delay: -7s; --petal-rotate: -14deg; }
.dn-2014-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 11.25s; --delay: -5s; --petal-rotate: 5deg; }
.dn-2014-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 12.5s; --delay: -11s; --petal-rotate: 58deg; }

.dn-exp-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 10.63s; --delay: -7s; --petal-rotate: -10deg; }
.dn-exp-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 11.88s; --delay: -3s; --petal-rotate: 12deg; }
.dn-exp-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 12.5s; --delay: -9s; --petal-rotate: 90deg; }
.dn-exp-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.88s; --delay: -4s; --petal-rotate: -5deg; }

.dn-2016-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 10.63s; --delay: -9s; --petal-rotate: -12deg; }
.dn-2016-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 11.25s; --delay: -2s; --petal-rotate: 8deg; }
.dn-2016-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 11.88s; --delay: -8s; --petal-rotate: -8deg; }
.dn-2016-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 10.63s; --delay: -3s; --petal-rotate: -18deg; }

.dn-2008-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 11.88s; --delay: -4s; --petal-rotate: 14deg; }
.dn-2008-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 10.63s; --delay: -9s; --petal-rotate: -24deg; }
.dn-2008-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 12.5s; --delay: -2s; --petal-rotate: 30deg; }
.dn-2008-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.25s; --delay: -7s; --petal-rotate: -40deg; }

.dn-2010-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 12.5s; --delay: -6s; --petal-rotate: -6deg; }
.dn-2010-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 11.25s; --delay: -10s; --petal-rotate: 20deg; }
.dn-2010-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 10.63s; --delay: -1s; --petal-rotate: -30deg; }
.dn-2010-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.88s; --delay: -8s; --petal-rotate: 48deg; }

.dn-2015-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 11.25s; --delay: -11s; --petal-rotate: 22deg; }
.dn-2015-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 12.5s; --delay: -5s; --petal-rotate: -10deg; }
.dn-2015-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 11.88s; --delay: -3s; --petal-rotate: 12deg; }
.dn-2015-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 10.63s; --delay: -9s; --petal-rotate: -62deg; }

.dn-2017-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 11.25s; --delay: -8s; --petal-rotate: 18deg; }
.dn-2017-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 12.5s; --delay: -1s; --petal-rotate: -28deg; }
.dn-2017-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 10.63s; --delay: -10s; --petal-rotate: 34deg; }
.dn-2017-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.88s; --delay: -5s; --petal-rotate: -52deg; }

.dn-2023-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 12.5s; --delay: -3s; --petal-rotate: -16deg; }
.dn-2023-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 10.63s; --delay: -11s; --petal-rotate: 26deg; }
.dn-2023-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 11.25s; --delay: -6s; --petal-rotate: -36deg; }
.dn-2023-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.88s; --delay: -2s; --petal-rotate: 44deg; }

.dn-2026-p1 { top: 3%; left: 2%; width: clamp(70px, 7vw, 130px); --dur: 11.25s; --delay: -5s; --petal-rotate: 68deg; }
.dn-2026-p2 { top: 4%; right: 3%; width: clamp(80px, 8vw, 150px); --dur: 11.88s; --delay: -12s; --petal-rotate: -20deg; }
.dn-2026-p3 { bottom: 6%; left: 3%; width: clamp(90px, 9vw, 165px); --dur: 12.5s; --delay: -7s; --petal-rotate: -14deg; }
.dn-2026-p4 { bottom: 4%; right: 2%; width: clamp(75px, 7.5vw, 140px); --dur: 11.25s; --delay: -5s; --petal-rotate: 5deg; }

.dn-story-copy {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: min(44rem, 92vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(1.5rem, 6vw, 4rem) 0 calc(var(--dn-gutter) + 6rem);
}

.dn-story-eyebrow {
    display: block;
    margin-bottom: .75rem;
    color: var(--cyan);
    font-weight: 700;
    font-size: clamp(.75rem, 1vw, .875rem);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dn-story-title {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: clamp(1.625rem, 2.9vw, 2.5rem);
    line-height: 1.15;
    text-transform: uppercase;
}

.dn-story-text {
    max-width: 30ch;
    color: var(--navy);
    opacity: .8;
    font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
    line-height: 1.65;
}

.dn-story--center .dn-story-copy {
    max-width: 44rem;
    margin: 0 auto;
    padding: clamp(2.5rem, 9vh, 5.5rem) clamp(1.5rem, 6vw, 4rem) 0;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
.dn-story--center .dn-story-text { max-width: 48ch; }

@media (max-width: 900px) {
    .dn-timeline-track { display: none; }
    .dn-section .petal { display: none; }

    .dn-timeline-year {
        position: relative;
        display: block;
        left: auto;
        top: auto;
        transform: none;
        margin: clamp(1.25rem, 6vh, 2rem) 0 .3125rem;
        padding: 0 1.5rem;
        font-size: clamp(1.75rem, 9vw, 2.25rem);
        text-align: center;
    }

    .dn-story-copy,
    .dn-story--center .dn-story-copy {
        height: auto;
        max-width: 100%;
        margin: 0;
        padding: clamp(1.25rem, 6vh, 2rem) 1.25rem 0;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }

    .dn-timeline-year + .dn-story-copy { padding-top: 0; }

    .dn-story-eyebrow { margin-bottom: .375rem; }

    .dn-story-title {
        font-size: clamp(1.375rem, 6.8vw, 1.75rem);
        line-height: 1.15;
        margin-bottom: .5rem;
    }

    .dn-story-text,
    .dn-story--center .dn-story-text {
        max-width: 44ch;
        font-size: .8125rem;
        line-height: 1.45;
    }

    .dn-hero-title {
        margin-top: clamp(3rem, 13.2vh, 4.8rem);
        font-size: clamp(1.5rem, 7.5vw, 2.25rem);
    }

    .dn-story:not(.dn-story--center) .dn-timeline-year,
    #expansiune .dn-timeline-year {
        position: absolute;
        top: clamp(1.25rem, 6vh, 2rem);
        left: 0;
        right: 0;
        margin: 0;
        z-index: 2;
    }

    .dn-story:not(.dn-story--center) .dn-story-copy {
        height: calc(100vh - var(--nav-h));
        padding-top: clamp(4.5rem, 20vh, 6.5rem);
        justify-content: flex-start;
    }

    .dn-story:not(.dn-story--center) .dn-story-text {
        margin-top: auto;
        padding-bottom: clamp(1.5rem, 6vh, 2.5rem);
    }

    #expansiune .dn-story-copy {
        height: calc(100vh - var(--nav-h));
        padding-top: calc(clamp(1.25rem, 6vh, 2rem) + 3.25rem);
        justify-content: flex-start;
    }

    #expansiune .dn-story-text {
        margin-top: auto;
        padding-bottom: clamp(1.5rem, 6vh, 2.5rem);
    }
}
