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

:root {
    --bg: #0f0d0c;
    --bg-soft: #171311;
    --card: #1d1815;
    --text: #f5efe7;
    --muted: #c7b7a6;
    --accent: #c98a4b;
    --accent-soft: #e1b07b;
    --border: rgba(255,255,255,0.08);
    --max-width: 1100px;
    --shadow: 0 10px 30px rgba(0,0,0,0.25);
}
html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.scrolly-wrapper,
.intro-section,
.quote-section,
.animation-section,
.outro-section,
footer {
    scroll-snap-align: none;
}

.story-section.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.2;
}

img, video {
    display: block;
    width: 100%;
}

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

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

/* INTRO SCROLLY VIDEO */
.scrolly-wrapper {
    height: 400vh;
    position: relative;
    background: #000;
    scroll-snap-align: none;
}

.sticky-video-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.22),
            rgba(0,0,0,0.34),
            rgba(0,0,0,0.58)
    );
    z-index: 1;
}

.overlay-text {
    position: absolute;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

.overlay-text .eyebrow,
.intro-box .eyebrow,
.animation-box .eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-soft);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.overlay-text h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.overlay-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
}

.continue-btn {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 3;
    background: var(--accent);
    color: #16110e;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.continue-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* INTRO TEXT */
.intro-section {
    padding: 100px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    scroll-snap-align: none;
}

.intro-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.intro-box h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.2rem;
}

.intro-box p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* FOTO SNAP */
.story-section.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.story-grid.reverse .story-text {
    order: 2;
}

.story-grid.reverse .story-media {
    order: 1;
}

.story-text {
    padding: 1rem;
}

.story-text .small {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-soft);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.story-text h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.story-text p {
    color: var(--muted);
    max-width: 500px;
    font-size: 1.03rem;
}

.story-media {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-media img {
    height: 75vh;
    object-fit: cover;
    filter: brightness(0.9);
}

/* QUOTE */
.quote-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("images/quote-bg.jpg") center/cover no-repeat;
    scroll-snap-align: none;
}

.quote-section blockquote {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(1.7rem, 4vw, 3.2rem);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.3;
}

/* FINAL ANIMATION */
.animation-section {
    padding: 100px 0;
    scroll-snap-align: none;
}

.animation-box {
    text-align: center;
    margin-bottom: 2rem;
}

.animation-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.animation-box p {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: var(--muted);
}

.animation-video {
    width: min(100%, 900px);
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.animation-video video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

/* OUTRO */
.outro-section {
    padding: 80px 20px 110px;
    text-align: center;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    scroll-snap-align: none;
}

.outro-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin-bottom: 1rem;
}

.outro-section p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
}

footer {
    text-align: center;
    padding: 28px 16px 40px;
    color: var(--muted);
    font-size: 0.95rem;
    scroll-snap-align: none;
}

/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 900px) {
    .scrolly-wrapper {
        height: 300vh;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-grid.reverse .story-text,
    .story-grid.reverse .story-media {
        order: initial;
    }

    .story-media img {
        height: 52vh;
    }

    .continue-btn {
        bottom: 35px;
    }

    .quote-section {
        min-height: auto;
        padding: 80px 20px;
    }
}