:root {
    --color-bg: #ffffff;
    --color-text: #111111;
    --color-overlay-top: rgba(0, 0, 0, 0.10);
    --color-overlay-bottom: rgba(0, 0, 0, 0.34);
    --color-dot-border: rgba(255, 255, 255, 0.72);
    --color-dot-active: rgba(255, 255, 255, 0.96);
    --color-button-bg: rgba(255, 255, 255, 0.90);
    --color-button-text: #111111;
    --color-button-border: rgba(255, 255, 255, 0.96);
    --color-button-hover-bg: #111111;
    --color-button-hover-text: #ffffff;
    --color-button-hover-border: #111111;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.10);
    --safe-side: clamp(1rem, 3vw, 2.5rem);
    --safe-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: var(--color-bg);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
}

main {
    display: block;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: #f5f5f5;
}

@supports (height: 100svh) {
    .hero-slider {
        height: 100svh;
        min-height: 100svh;
    }
}

@supports (height: 100dvh) {
    .hero-slider {
        height: 100dvh;
        min-height: 100dvh;
    }
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        var(--color-overlay-top) 0%,
        var(--color-overlay-bottom) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    padding: clamp(2rem, 6vw, 5rem);
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    opacity: 0.88;
}

h1,
h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 0.96;
    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
    font-size: clamp(2.3rem, 5.2vw, 4.8rem);
}

.hero-cta {
    position: absolute;
    left: 50%;
    bottom: clamp(4.5rem, 10vh, 6.5rem);
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 2rem);
    pointer-events: none;
}

.hero-cta .cta-button {
    pointer-events: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 52px;
    padding: 0.95rem 1.9rem;
    border: 1px solid var(--color-button-border);
    border-radius: 999px;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cta-button:hover {
    background: var(--color-button-hover-bg);
    color: var(--color-button-hover-text);
    border-color: var(--color-button-hover-border);
    transform: translateY(-1px);
}

.slider-controls {
    position: absolute;
    left: 50%;
    bottom: var(--safe-bottom);
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: calc(100% - 2rem);
}

.dot {
    width: 11px;
    height: 11px;
    border: 1px solid var(--color-dot-border);
    border-radius: 50%;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.dot.active,
.dot:hover {
    background: var(--color-dot-active);
    border-color: var(--color-dot-active);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
        min-height: 100vh;
    }

    @supports (height: 100svh) {
        .hero-slider {
            height: 100svh;
            min-height: 100svh;
        }
    }

    @supports (height: 100dvh) {
        .hero-slider {
            height: 100dvh;
            min-height: 100dvh;
        }
    }

    .slide {
        background-position: center center;
    }

    .slide-content {
        padding: 1.5rem 1.25rem 8rem;
    }

    .hero-cta {
        bottom: 5.25rem;
        width: calc(100% - 2rem);
    }

    .cta-button {
        min-width: 190px;
        min-height: 50px;
        padding: 0.9rem 1.5rem;
        font-size: 0.92rem;
    }

    .slider-controls {
        bottom: 1.35rem;
        gap: 0.6rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        bottom: 5rem;
    }

    .cta-button {
        width: 100%;
        max-width: 260px;
    }

    .slider-controls {
        bottom: 1.1rem;
    }
}

/* VIERING */

.page-viering {
    background: #ffffff;
    color: #111111;
}

.viering-page {
    min-height: 100vh;
}

.viering-hero {
    padding: 4.5rem 1.5rem 2rem;
    text-align: center;
}

.viering-hero-inner {
    max-width: 840px;
    margin: 0 auto;
}

.viering-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
}

.viering-hero h1 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1;
    color: #111111;
}

.viering-grid {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.tribute-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.tribute-image-wrap {
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
    overflow: hidden;
}

.tribute-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tribute-body {
    padding: 1.4rem 1.25rem 1.3rem;
}

.tribute-body h2 {
    margin: 0 0 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1.05;
    color: #111111;
}

.sub-links {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sub-person h3 {
    margin: 0 0 0.55rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
}

.tribute-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    text-decoration: none;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-link:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 17, 17, 0.26);
    background: #fafafa;
}

.icon {
    position: relative;
    display: block;
}

.spotify-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #111111;
    border-radius: 50%;
}

.spotify-icon::before,
.spotify-icon::after {
    content: '';
    position: absolute;
    left: 3px;
    right: 3px;
    border-top: 2px solid #111111;
    border-radius: 50%;
}

.spotify-icon::before {
    top: 5px;
    height: 4px;
}

.spotify-icon::after {
    top: 10px;
    height: 3px;
}

.youtube-icon {
    width: 22px;
    height: 16px;
    border: 2px solid #111111;
    border-radius: 5px;
}

.youtube-icon::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 0;
    height: 0;
    border-left: 7px solid #111111;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.read-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 46px;
    padding: 0.85rem 1.4rem;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.read-button:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    overflow: auto;
    background: #ffffff;
    border-radius: 24px;
    /*padding: 1.5rem 1.25rem 1.25rem; */
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f5f5f5;
    color: #111111;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.modal-title {
    margin: 0 0 1rem;
    padding-right: 3rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #111111;
}

.modal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.86);
    white-space: pre-line;
}

@media (max-width: 900px) {
    .viering-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .viering-hero {
        padding: 3rem 1rem 1.5rem;
    }

    .viering-grid {
        width: calc(100% - 1rem);
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .tribute-body {
        padding: 1rem;
    }

    .tribute-body h2 {
        font-size: 1.7rem;
    }

    .icon-link {
        width: 44px;
        height: 44px;
    }

    .modal-dialog {
        border-radius: 18px;
        padding: 1.25rem 1rem 1rem;
    }

    .modal-title {
        font-size: 1.7rem;
    }

    .modal-content {
        font-size: 0.96rem;
        line-height: 1.7;
    }
}

.back-link {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 50;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #111111;
    text-decoration: none;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.back-link:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

.back-link-icon {
    font-size: 1.45rem;
    line-height: 1;
}

.video-section {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 4rem;
}

.video-open-button {
    width: 100%;
    min-height: 68px;
    border: 0;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-open-button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.video-modal-dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.video-modal-title {
    margin: 0 0 1rem;
    padding-right: 3rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #111111;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 18px;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

@media (max-width: 640px) {
    .back-link {
        top: 0.85rem;
        left: 0.85rem;
        width: 44px;
        height: 44px;
    }

    .video-section {
        width: calc(100% - 1rem);
        padding-bottom: 2rem;
    }

    .video-open-button {
        min-height: 60px;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .video-modal-dialog {
        border-radius: 18px;
        padding: 1rem 1rem 0.9rem;
    }

    .video-modal-title {
        font-size: 1.7rem;
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.modal-scroll-area {
    max-height: min(86vh, 900px);
    overflow-y: auto;
    padding: 1.5rem 1.25rem 1.25rem;
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f5f5f5;
    color: #111111;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.modal-title {
    margin: 0 0 1rem;
    padding-right: 3rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #111111;
}

.modal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.86);
    white-space: pre-line;
}

.hero-brand {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    width: calc(100% - 2rem);
    text-align: center;
    pointer-events: none;
}

.hero-brand-kicker {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 640px) {
    .hero-brand {
        top: 1.25rem;
        width: calc(100% - 1rem);
    }

    .hero-brand-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.18em;
    }
}