:root {
    --bg-color: #0a0a0a;
    --text-main: #e5e5e5;
    --text-muted: #888888;
    --accent: #45fd2d;
    --border-color: #333333;
    --panel-color: #151515;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--border-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid var(--border-color);
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-content: space-between;
}

.sidebar>div:first-child {
    padding: 2rem;
}

.sidebar h1,
.project-title,
.phase-title,
.hero h2 {
    font-family: 'Playfair Display', serif;
}

.sidebar h1 {
    font-size: 2rem;
    line-height: 1;
    margin: 4rem 0 .5rem;
    letter-spacing: -.02em;
}

.subtitle {
    font-size: .85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.back-link,
.project-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .3s ease, padding-left .3s ease;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
}

.back-link:hover,
.project-nav a:hover {
    color: var(--text-main);
}

.project-nav {
    display: grid;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.project-nav a {
    font-size: .9rem;
}

.project-nav a:hover {
    padding-left: 10px;
    border-left: 2px solid var(--accent);
}

.sidebar-footer {
    padding: 2rem;
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 7px;
}

.project-content {
    background-color: var(--bg-color);
    overflow-y: auto;
}

.hero {
    height: 40vh;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background: #101010;
}

.eyebrow,
.section-index {
    color: var(--accent);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: .95;
    margin: 1.5rem 0;
    font-weight: 700;
    letter-spacing: -.04em;
}

.hero h2 em {
    color: var(--accent);
    font-style: italic;
}

.hero-intro,
.lead {
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-intro {
    max-width: 330px;
    font-size: 1rem;
}

.scroll-cue {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    margin-top: 2rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.scroll-cue span {
    color: var(--accent);
    font-size: 1.3rem;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: .9;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, .5), transparent 55%);
    pointer-events: none;
}

.hero-stamp {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 1;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: .7rem;
    font-size: 1rem;
    line-height: .8;
}

.hero-stamp span {
    font-size: .48rem;
    letter-spacing: .1em;
}

.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3rem;
}

.project-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.05;
    margin: 1rem 0 0;
    font-weight: 700;
}

.lead {
    font-size: 1.1rem;
    align-self: end;
    margin: 0;
}

.project-meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: .85rem;
}

.meta-label {
    display: block;
    color: var(--text-main);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.phase-section {
    margin: 6rem 0;
}

.phase-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.08;
    margin: 1rem 0 1.5rem;
    font-weight: 700;
}

.text-body {
    max-width: 680px;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
}

.quote {
    max-width: 700px;
    border-left: 2px solid var(--accent);
    padding: .8rem 1.25rem;
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.4;
}

.charte-grid,
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.charte-card {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.charte-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
}

.charte-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: .85rem;
}

.swatches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.swatch {
    height: 110px;
    display: flex;
    align-items: end;
    padding: 8px;
    font-size: .7rem;
}

.swatch-black {
    background: #1d1d1b;
    border: 1px solid #444;
}

.swatch-green {
    background: var(--accent);
    color: #101010;
}

.swatch-white {
    background: var(--text-main);
    color: #101010;
}

.type-sample {
    border-bottom: 1px solid var(--border-color);
    padding: .7rem 0;
    margin-top: .5rem;
}

.logo-type {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.accent-type {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .05em;
}

.body-type {
    font-size: 1.25rem;
}

.logo-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.logo-display {
    background: var(--text-main);
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 2rem;
    position: relative;
}

.logo-display img {
    width: 90%;
    max-width: 500px;
}

.logo-display span {
    position: absolute;
    left: 1rem;
    bottom: .8rem;
    color: #444;
    font-size: .6rem;
    letter-spacing: .08em;
}

.support-card {
    min-height: 300px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.support-card b {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-top: auto;
}

.support-card p {
    max-width: 280px;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: .9rem;
}

.support-number {
    color: var(--accent);
    font-size: .7rem;
    letter-spacing: .1em;
}

.support-dark {
    background: #050505;
    border: 1px solid var(--border-color);
}

.support-green {
    background: var(--accent);
    color: #111;
}

.support-green p {
    color: #263325;
}

.poster-lines {
    margin-top: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: .95;
}

.poster-img {
    width: 100%;
    max-width: 50vw;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.mini-logo {
    background: #111;
    padding: 1rem;
    margin-top: 1.5rem;
}

.mini-logo img {
    width: 100%;
}

.universe-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
}

.universe-img{
    width: 100%;
    max-width: 50vw;
    border: 1px solid var(--border-color);
}

.project-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-footer img {
    width: 180px;
}

.project-footer a {
    color: var(--accent);
    text-decoration: none;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 1024px) {
    body {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .sidebar {
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar-footer {
        padding-top: 0;
    }
}

@media (max-width: 700px) {
    .content-wrapper {
        padding: 4rem 2rem;
    }

    .project-header,
    .logo-section,
    .universe-heading,
    .charte-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .phase-section {
        margin: 4rem 0;
    }

    .pattern-board {
        grid-template-columns: repeat(4, 1fr);
    }

    .project-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem;
    }
}