:root {
    color-scheme: dark;
    --background: #111827;
    --background-deep: #0b1020;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.09);
    --border: rgba(148, 163, 184, 0.2);
    --text: #f8fafc;
    --muted: #a9b6c8;
    --accent: #60a5fa;
    --accent-strong: #3b82f6;
}

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

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.16), transparent 34rem),
        linear-gradient(145deg, var(--background-deep), var(--background));
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

a {
    color: inherit;
}

.shell {
    width: min(100% - 2rem, 980px);
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    color: var(--text);
}

.hero {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 5rem 0 3.5rem;
}

.project-logo {
    width: 112px;
    height: 112px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.35rem, 7vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.lede {
    max-width: 720px;
    margin-top: 1.35rem;
    color: #cbd5e1;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    text-decoration: none;
    font-weight: 700;
}

.button.primary {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
}

.button:hover {
    background: var(--surface-strong);
}

.button.primary:hover {
    background: #2563eb;
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.fact {
    min-height: 118px;
    padding: 1.35rem;
    border-right: 1px solid var(--border);
}

.fact:last-child {
    border-right: 0;
}

.fact-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #7f91a9;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fact-value {
    color: #e2e8f0;
    font-size: 0.94rem;
    line-height: 1.5;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.story-card {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.story-card h2 {
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
}

.story-card p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: #718096;
    font-size: 0.86rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
}

.footer a:hover {
    color: var(--text);
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 1.25rem;
        padding: 3.5rem 0 2.5rem;
    }

    .project-logo {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fact:nth-child(2) {
        border-right: 0;
    }

    .fact:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

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

@media (max-width: 480px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .facts {
        grid-template-columns: 1fr;
    }

    .fact,
    .fact:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .fact:last-child {
        border-bottom: 0;
    }

    .footer {
        flex-direction: column;
    }
}
