:root {
    --bg: #000000;
    --surface: #000000;
    --surface-muted: #000000;
    --border: rgba(255, 255, 255, 0.25);
    --text-primary: #ffffff;
    --text-muted: #f5f5f5;
    --accent: #1ca350;
    --accent-hover: #29b675;
    --shadow: 0 25px 75px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 35px 100px rgba(0, 0, 0, 0.7);
    font-family: 'Lato', sans-serif;
    --font-heading: 'Instrument Sans', sans-serif;
    --font-body: 'Lato', sans-serif;
    line-height: 1.6;
    color-scheme: dark;
}

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

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text-primary);
}

nav {
    position: sticky;
    top: 1rem;
    z-index: 50;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem clamp(1.5rem, 4vw, 3.5rem);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img.nav-logo {
    height: 22px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

nav a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.methodology-footer {
    padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
    border-top: 1px solid var(--border);
    background: var(--surface-muted);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    margin-top: 10px;
}

.footer-methodology {
    text-align: left;
}

.footer-methodology h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-methodology p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.7;
}

.methodology-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.methodology-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.storyboard-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.storyboard-wrapper {
    width: 70%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 25px 75px rgba(2, 6, 23, 0.55);
}

.storyboard-img {
    width: 100%;
    height: auto;
}
