@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Sora:wght@300;400;500;600&display=swap');

:root {
    --white: #ffffff;
    --starlight: #e8eef8;
    --mist: #b8d2f0;
    --champagne: #e4c9a0;
    --stone: #9aabbf;
    --berry: #c45c6a;
    --berry-soft: #d98994;
    --night: #0b1424;
    --night-mid: #121c30;
    --night-card: #172338;
    --ink: #d7e2f2;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.2);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 20% 0%, rgba(196, 92, 106, 0.12), transparent 42%),
        radial-gradient(ellipse at 85% 15%, rgba(184, 210, 240, 0.1), transparent 38%),
        linear-gradient(180deg, #0b1424 0%, #0a101c 55%, #080d16 100%);
    min-height: 100vh;
    line-height: 1.8;
    position: relative;
}

.starfield {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 8% 12%, rgba(232, 238, 248, 0.9), transparent),
        radial-gradient(1px 1px at 22% 38%, rgba(228, 201, 160, 0.75), transparent),
        radial-gradient(1.5px 1.5px at 41% 18%, rgba(232, 238, 248, 0.7), transparent),
        radial-gradient(1px 1px at 63% 28%, rgba(184, 210, 240, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 78% 8%, rgba(232, 238, 248, 0.85), transparent),
        radial-gradient(1px 1px at 91% 42%, rgba(228, 201, 160, 0.65), transparent),
        radial-gradient(1px 1px at 14% 72%, rgba(232, 238, 248, 0.55), transparent),
        radial-gradient(1.5px 1.5px at 34% 84%, rgba(184, 210, 240, 0.7), transparent),
        radial-gradient(1px 1px at 56% 66%, rgba(232, 238, 248, 0.6), transparent),
        radial-gradient(1px 1px at 72% 88%, rgba(228, 201, 160, 0.55), transparent),
        radial-gradient(1.5px 1.5px at 88% 74%, rgba(232, 238, 248, 0.75), transparent);
    animation: starTwinkle 7s ease-in-out infinite alternate;
    opacity: 0.85;
}

@keyframes starTwinkle {
    from { opacity: 0.55; }
    to { opacity: 0.95; }
}

.site-header,
.page,
.page-footer {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(23, 35, 56, 0.82);
    border: 1px solid rgba(184, 210, 240, 0.16);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
    text-decoration: none;
    color: inherit;
}

.logo:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 4px;
}

.logo-afbeelding {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-afbeelding {
    opacity: 0.8;
}

.site-nav {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    font-weight: 400;
    align-items: center;
}

.nav-separator {
    width: 1px;
    height: 24px;
    background: rgba(184, 210, 240, 0.22);
}

.site-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
    background: rgba(184, 210, 240, 0.12);
    color: var(--mist);
    transform: translateY(-1px);
}

.site-nav a:focus-visible {
    outline: 2px solid var(--champagne);
    outline-offset: 4px;
}

.page {
    max-width: 1100px;
    margin: 48px auto 80px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: center;
    animation: fadeInHero 1s ease forwards;
    opacity: 0;
}

.hero-content h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    color: var(--starlight);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    font-weight: 500;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--starlight) 0%, var(--mist) 45%, var(--champagne) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--champagne);
    margin-bottom: 12px;
    display: inline-block;
}

.eyebrow::before,
.eyebrow::after {
    content: "✦";
    opacity: 0.7;
}

.eyebrow::before {
    margin-right: 8px;
}

.eyebrow::after {
    margin-left: 8px;
}

.lead {
    font-size: 1.08rem;
    color: rgba(215, 226, 242, 0.88);
    font-weight: 300;
    line-height: 1.85;
}

.hero-visual {
    background: rgba(23, 35, 56, 0.72);
    border: 1px solid rgba(184, 210, 240, 0.16);
    padding: 18px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-visual:hover {
    transform: translateY(-4px);
    border-color: rgba(228, 201, 160, 0.35);
}

.hero-visual img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184, 210, 240, 0.18);
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.hero-visual figcaption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(184, 210, 240, 0.72);
    text-align: center;
    font-weight: 300;
}

.story {
    background: rgba(23, 35, 56, 0.7);
    border: 1px solid rgba(184, 210, 240, 0.12);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeInStory 1s ease forwards;
    opacity: 0;
}

.story:nth-of-type(2) { animation-delay: 0.15s; }
.story:nth-of-type(3) { animation-delay: 0.3s; }
.story:nth-of-type(4) { animation-delay: 0.45s; }

.story h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    color: var(--champagne);
    letter-spacing: -0.01em;
    font-weight: 500;
    position: relative;
    padding-bottom: 12px;
}

.story h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--champagne), transparent);
    border-radius: 2px;
}

.timeline {
    list-style: none;
    display: grid;
    gap: 32px;
    margin-top: 12px;
}

.timeline li {
    position: relative;
    padding-left: 40px;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
}

.timeline li:nth-child(1) { animation-delay: 0.25s; }
.timeline li:nth-child(2) { animation-delay: 0.4s; }
.timeline li:nth-child(3) { animation-delay: 0.55s; }

.timeline li::before {
    content: "✦";
    position: absolute;
    left: -2px;
    top: 0;
    font-size: 1.35rem;
    color: var(--champagne);
}

.timeline h2 {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.accent {
    background:
        linear-gradient(135deg, rgba(196, 92, 106, 0.12), rgba(23, 35, 56, 0.75)),
        rgba(23, 35, 56, 0.7);
    border-color: rgba(196, 92, 106, 0.22);
    position: relative;
}

.accent::before {
    content: "✧";
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 1.4rem;
    color: rgba(228, 201, 160, 0.35);
}

.gallery {
    background: rgba(23, 35, 56, 0.7);
    border: 1px solid rgba(184, 210, 240, 0.12);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    animation: fadeInStory 1s ease forwards;
    animation-delay: 0.55s;
    opacity: 0;
}

.gallery h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    color: var(--champagne);
    margin-bottom: 8px;
    font-weight: 500;
}

.gallery-intro {
    color: rgba(215, 226, 242, 0.75);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 32px;
}

.photo-timeline {
    list-style: none;
    padding-left: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.photo-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(228, 201, 160, 0.45) 0%,
        rgba(184, 210, 240, 0.25) 50%,
        rgba(196, 92, 106, 0.4) 100%
    );
}

.photo-timeline li {
    position: relative;
}

.photo-timeline li::before {
    content: "✦";
    position: absolute;
    left: -48px;
    top: 2px;
    color: var(--champagne);
    font-size: 1.1rem;
}

.photo-timeline h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.3rem;
    color: var(--mist);
    font-weight: 500;
    margin-bottom: 12px;
}

.photo-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.photo-row img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid rgba(184, 210, 240, 0.16);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.photo-row img:hover {
    transform: scale(1.08) translateY(-3px);
    border-color: rgba(228, 201, 160, 0.45);
    z-index: 2;
}

.photo-row img:focus-visible {
    outline: 2px solid var(--champagne);
    outline-offset: 3px;
}

.closing {
    background: linear-gradient(135deg, rgba(184, 210, 240, 0.1), rgba(196, 92, 106, 0.1));
    color: var(--starlight);
    border: 1px solid rgba(184, 210, 240, 0.18);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.55rem;
    text-align: center;
    line-height: 1.9;
    font-weight: 400;
    animation: fadeInClosing 1.1s ease forwards;
    opacity: 0;
    animation-delay: 0.7s;
}

.page-footer {
    text-align: center;
    padding-bottom: 48px;
    color: rgba(184, 210, 240, 0.55);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInStory {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInClosing {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    .site-header {
        flex-direction: column;
        gap: 12px;
        border-radius: var(--radius-xl);
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-visual img {
        aspect-ratio: 3 / 4;
        max-height: 420px;
        margin-inline: auto;
    }

    .story,
    .gallery {
        padding: 32px;
    }

    .photo-timeline {
        padding-left: 32px;
    }

    .photo-timeline li::before {
        left: -40px;
    }

    .photo-row img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 600px) {
    .site-header {
        margin: 16px 16px 0;
        padding: 12px 16px;
    }

    .page {
        margin: 28px auto 50px;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .story,
    .gallery {
        padding: 24px;
        gap: 16px;
    }

    .story h2,
    .gallery h2 {
        font-size: 1.55rem;
    }

    .photo-timeline {
        padding-left: 24px;
        gap: 28px;
    }

    .photo-timeline li::before {
        left: -32px;
        font-size: 1rem;
    }

    .photo-timeline h3 {
        font-size: 1.15rem;
    }

    .photo-row img {
        width: calc(50% - 6px);
        height: auto;
        aspect-ratio: 1;
    }

    .closing {
        font-size: 1.25rem;
        padding: 32px 24px;
    }

    .timeline li {
        padding-left: 32px;
    }

    .timeline li::before {
        left: -4px;
        font-size: 1.15rem;
    }

    .accent::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .starfield {
        opacity: 0.7;
    }

    .hero,
    .story,
    .gallery,
    .closing,
    .timeline li {
        opacity: 1;
    }
}

