:root {
    --bg-dark: #0a0a0c;
    --bg-card: #141416;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --gold: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.1);
    --border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

/* BACKGROUND IMAGE RESTORED */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero_background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    /* Visible mountain */
    z-index: -2;
}

/* Dark Overlay for Readability */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger gradient to ensure text pops against white snow */
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.7), rgba(10, 10, 12, 0.9));
    z-index: -1;
    pointer-events: none;
}

.noise-overlay {
    opacity: 0.05;
    /* Just subtle grain on top */
}

/* HERO NAV */
.hero-nav {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
}

/* TYPOGRAPHY */
h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 2rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--gold);
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

p,
li {
    font-size: 1.1rem;
    color: var(--text-muted);
}

strong {
    color: var(--text-main);
    font-weight: 500;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

.note {
    font-style: italic;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 1rem;
    display: inline-block;
    border-radius: 4px;
}

.highlight-text {
    color: var(--gold);
    font-weight: 500;
    margin-top: 1rem;
    display: block;
}

/* SECTIONS */
section {
    padding: 6rem 15%;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* CONTENT BLOCKS (Brief) */
.content-block {
    margin-bottom: 4rem;
}

.content-block:last-child {
    margin-bottom: 0;
}


/* VERTICAL JOURNEY */
.timeline-vertical {
    border-left: 1px solid var(--border);
    margin-left: 1rem;
    padding-left: 3rem;
    position: relative;
}

.step {
    margin-bottom: 5rem;
    position: relative;
}

.step-marker {
    position: absolute;
    left: -4.3rem;
    /* 3rem padding + 1.25rem half width */
    top: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gold);
    font-family: var(--font-heading);
    z-index: 10;
}

.step-content h3 {
    margin-top: 0;
    border: none;
    padding: 0;
    font-size: 2rem;
}


/* TASK LIST */
.task-list {
    max-width: 800px;
}

.task {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.task.done {
    color: var(--text-main);
}

.task.active {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

.checkbox {
    min-width: 1.5rem;
    height: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.task.done .checkbox {
    background: var(--gold);
    border-color: var(--gold);
}

.task.active .spinner {
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.task-title {
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
}

.task-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }

    .timeline-vertical {
        margin-left: 0;
        padding-left: 2rem;
        border-left: 1px solid var(--border);
    }

    .step-marker {
        left: -3.3rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}