.sound-button {
    background: transparent;
    cursor: pointer;
}

.sound-button.is-muted {
    opacity: .65;
}

.letterdam-home .harbor-bar {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 50%;
    color: #fff8e8;
    border-color: rgba(255, 255, 255, .28);
    transform: translateX(-50%);
}

.letterdam-home .harbor-link {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(8, 28, 34, .32);
    backdrop-filter: blur(8px);
}

.letterdam-home .harbor-link:hover {
    background: rgba(255, 255, 255, .15);
}

.letterdam-home .harbor-brand b {
    color: #173c46;
    background: #fff8e8;
}

.letterdam-home .harbor-hero {
    width: 100%;
    min-height: 720px;
    padding: 180px max(20px, calc((100% - 1160px) / 2)) 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff8e8;
    background: #061c23;
}

.harbor-scene-image {
    position: absolute;
    z-index: 0;
    inset: -18px;
    pointer-events: none;
    background: url('../images/voc-harbor-realistic.png') 62% center / cover no-repeat;
    transform: scale(1.025);
    transform-origin: 68% 58%;
    animation: harbor-bob 7.5s ease-in-out infinite;
    will-change: transform;
}

.harbor-water-motion {
    position: absolute;
    z-index: 1;
    right: -8%;
    bottom: -4%;
    left: -8%;
    height: 34%;
    overflow: hidden;
    pointer-events: none;
    opacity: .28;
    mix-blend-mode: screen;
    mask-image: linear-gradient(transparent, #000 42%);
    -webkit-mask-image: linear-gradient(transparent, #000 42%);
}

.harbor-water-motion::before,
.harbor-water-motion::after {
    content: '';
    position: absolute;
    inset: 0 -12%;
    background:
        repeating-radial-gradient(ellipse at 50% 105%, transparent 0 26px, rgba(218, 240, 234, .34) 28px 31px, transparent 34px 62px);
    transform: rotate(-1deg);
    animation: water-current 9s linear infinite;
}

.harbor-water-motion::after {
    inset: 18% -16% -8%;
    opacity: .58;
    background-size: 145px 62px;
    animation-duration: 13s;
    animation-direction: reverse;
}

.letterdam-home .harbor-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 24, 30, .91) 0%, rgba(7, 31, 38, .72) 38%, rgba(7, 31, 38, .18) 68%, rgba(7, 31, 38, .05) 100%),
        linear-gradient(0deg, rgba(6, 28, 35, .48), transparent 45%),
        linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 28%, transparent 72%, rgba(5, 24, 30, .35));
}

.letterdam-home .harbor-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    width: auto;
    height: 2px;
    border-radius: 0;
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(239, 190, 101, .9), transparent);
}

.letterdam-home .harbor-hero h1 {
    z-index: 1;
    max-width: 760px;
    color: #fff8e8;
    text-shadow: 0 4px 25px rgba(0, 0, 0, .42);
}

.letterdam-home .harbor-hero h1 em {
    color: #efbe65;
}

.letterdam-home .harbor-hero > p,
.letterdam-home .harbor-hero > a,
.letterdam-home .harbor-hero > div {
    z-index: 3;
}

.letterdam-home .harbor-hero > .harbor-scene-image {
    z-index: 0;
}

.letterdam-home .harbor-hero > .harbor-water-motion {
    z-index: 2;
}

.letterdam-home .harbor-hero > p:not(.kicker) {
    color: rgba(255, 248, 232, .9);
    text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.letterdam-home .harbor-hero .kicker {
    color: #efbe65;
}

.letterdam-home .harbor-button {
    color: #173c46;
    background: #fff8e8;
    box-shadow: 5px 5px 0 #c78a2c;
}

.letterdam-home .history-note {
    position: relative;
    z-index: 2;
}

.letterdam-game {
    background:
        linear-gradient(rgba(255, 250, 240, .91), rgba(255, 250, 240, .96)),
        url('../images/voc-harbor-realistic.png') center / cover fixed no-repeat;
}

@media (max-width: 850px) {
    .letterdam-home .harbor-nav {
        gap: 5px;
    }

    .letterdam-home .harbor-link {
        padding: 9px;
    }

    .letterdam-home .harbor-hero {
        min-height: 680px;
        padding-top: 145px;
    }

    .harbor-scene-image {
        background-position: 66% center;
    }
}

@media (max-width: 620px) {
    .letterdam-home .harbor-bar {
        width: calc(100% - 24px);
        height: auto;
        min-height: 82px;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 0;
    }

    .letterdam-home .harbor-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .letterdam-home .harbor-hero {
        min-height: 740px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .letterdam-home .harbor-hero::before {
        background:
            linear-gradient(90deg, rgba(5, 24, 30, .88), rgba(7, 31, 38, .43)),
            linear-gradient(0deg, rgba(6, 28, 35, .5), transparent 50%);
    }

    .harbor-scene-image {
        background-position: 68% center;
    }
}

@keyframes harbor-bob {
    0%,
    100% {
        transform: scale(1.025) translate3d(0, 0, 0) rotate(0);
    }

    48% {
        transform: scale(1.03) translate3d(-3px, 7px, 0) rotate(.12deg);
    }

    72% {
        transform: scale(1.027) translate3d(2px, 3px, 0) rotate(-.08deg);
    }
}

@keyframes water-current {
    from {
        transform: translate3d(-4%, 0, 0) rotate(-1deg);
    }

    50% {
        transform: translate3d(2%, 5px, 0) rotate(-.4deg);
    }

    to {
        transform: translate3d(8%, 0, 0) rotate(-1deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .harbor-scene-image,
    .harbor-water-motion::before,
    .harbor-water-motion::after {
        animation: none;
    }
}
