/* --- Base Reset & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #111111; 
    --text-main: #999999; /* Muted the body text so headlines pop */
    --text-muted: #666666;
    --text-bright: #ffffff;
    --accent-color: #b084ff; 
    --font-sans: 'Manrope', -apple-system, sans-serif;
    --font-serif: 'Instrument Serif', 'Playfair Display', serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 300; /* Thinner body weight feels more premium */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* Crisper rendering on Mac */
}

a {
    color: var(--text-bright);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Typography Classes */
.serif-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 3rem; /* Larger, softer serif */
    font-weight: 400;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase; /* Uppercase mono looks like an engineered terminal */
    letter-spacing: 0.08em; /* Wider tracking on small text */
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
    z-index: 100;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    font-size: 2rem;
    color: var(--text-bright);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Centered Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-archetype {
    width: 250px; 
    height: 250px; 
    margin-bottom: 2rem;
    border: none; 
    background-color: transparent; 
}

.archetype-container {
    width: 100%;
    height: 100%;
}

.profile-crop {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center 15%; 
    filter: grayscale(15%) contrast(105%); /* Adds a slight studio polish */
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    text-align: center;
    color: var(--text-muted);
}

.mouse {
    width: 18px;
    height: 28px;
    border: 1px solid var(--text-muted);
    border-radius: 10px;
    margin: 10px auto 0;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 15px; opacity: 0; }
}

/* --- Timeline Section --- */
.timeline-section {
    padding: 8rem 5%;
    max-width: 850px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 7rem;
}

.main-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em; /* Tight tracking on big sans-serif = instant premium */
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}

.sub-headline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* The Timeline Grid */
.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
    border-top: 1px solid #222; /* Subtler border */
    padding-top: 2.5rem;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
}

.timeline-meta .number {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timeline-meta .date {
    color: var(--text-muted);
}

.timeline-content p {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    max-width: 650px;
}

/* The Action/Receipt Highlight */
.execution-block {
    color: var(--accent-color);
    line-height: 1.8;
    border-left: 1px solid #333;
    padding-left: 1.5rem;
}

/* --- Media Container --- */
.media-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1; 
    background-color: #111111; 
    border: 1px solid #222222;
    overflow: hidden;
    margin-top: 2.5rem;
}

.timeline-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Connect Section --- */
.connect-section {
    padding: 8rem 5% 6rem;
    max-width: 850px;
    margin: 0 auto;
    border-top: 1px solid #222;
}

.connect-box {
    margin-bottom: 5rem;
}

.connect-box p {
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 450px;
}

/* --- Subscribe Form --- */
.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    color: var(--text-bright);
    border: 1px solid #333;
    padding: 1rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: lowercase;
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-form input::placeholder {
    color: var(--text-muted);
}

.subscribe-form input:focus {
    border-color: var(--accent-color); /* Highlights purple when typing */
}

.subscribe-form button {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid #444;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-form button:hover {
    background: var(--text-bright);
    color: #000000;
    border-color: var(--text-bright);
}

.social-links {
    display: flex;
    gap: 3rem;
    color: var(--text-bright);
}

.social-links span {
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-links span:hover {
    color: var(--accent-color);
}

/* --- Scroll Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); /* Smoother, higher-end easing curve */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
footer {
    padding: 3rem 5%;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto;
}

/* =========================================
   RESPONSIVE ARCHITECTURE
   ========================================= */

/* --- Tablet (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    .timeline-section, .connect-section {
        padding: 6rem 5% 4rem; /* Tightens up massive desktop gaps */
    }
    .section-header {
        margin-bottom: 5rem;
    }
    .timeline-item {
        gap: 2rem;
    }
}

/* --- Mobile (Max Width: 768px) --- */
@media (max-width: 768px) {
    /* Typography Scaling */
    .serif-title {
        font-size: 2.2rem;
    }
    .main-headline {
        font-size: 2.2rem; /* Overrides clamp for tighter mobile control */
        line-height: 1.15;
    }
    .sub-headline {
        font-size: 1.05rem;
    }

    /* Navigation */
    .navbar {
        padding: 1.5rem 5%;
    }
    .logo {
        font-size: 1.6rem;
    }
    .nav-links a {
        margin-left: 1.5rem; /* Brings links closer together */
    }

    /* Layout & Spacing */
    .timeline-section, .connect-section {
        padding: 5rem 5% 3rem;
    }
    .section-header {
        margin-bottom: 3.5rem;
    }

    /* Timeline Stack */
    .timeline-item {
        grid-template-columns: 1fr; /* Stacks the content under the numbers */
        gap: 1rem;
        margin-bottom: 4rem;
        padding-top: 1.5rem;
    }
    .timeline-meta {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.5rem;
    }
    .timeline-meta .number {
        margin-bottom: 0;
    }
    
    /* Media */
    .media-container {
        max-width: 100%; /* Allows the Void Busts video to fill the screen on mobile */
        margin-top: 2rem;
    }

    /* Form Stacking */
    .subscribe-form {
        flex-direction: column;
        gap: 0.5rem; /* Tight gap between input and button */
    }
    .subscribe-form button {
        width: 100%; /* Full width button for easy tapping */
    }

    .social-links {
        gap: 1.5rem;
        flex-wrap: wrap; 
    }
}

/* --- Small Mobile (Max Width: 480px) --- */
@media (max-width: 480px) {
    /* Centers the navigation on very small screens */
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        background: rgba(17,17,17,0.95); /* Solidifies nav background so it doesn't blur text */
        padding-bottom: 1rem;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    .nav-links a {
        margin: 0 0.8rem;
    }
    
    /* Scales down the profile image slightly so it doesn't dominate small screens */
    .hero-archetype {
        width: 210px;
        height: 210px;
    }
}