:root {
    color-scheme: dark;
    --bg: #272718;
    --panel: #101620;
    --panel-soft: #19130c;
    --text: #fffcee;
    --muted: #bdab9a;
    --line: #382e20;
    --brand: #ffc477;
    --brand-2: #f1dca1;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 196, 119, 0.16), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(231, 226, 158, 0.1), transparent 28rem),
        linear-gradient(180deg, #080b10, #0a0f17 45%, #07090e);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1100px, calc(100% - 32px));
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.soft {
    background: rgba(255, 255, 255, 0.025);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(16, 15, 8, 0.88);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 1.2rem;
}

.brand img {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 999px;
}

.nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    padding-top: 90px;
}

.hero-grid,
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
    align-items: start;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand-2);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.lead {
    max-width: 680px;
    color: #e5dac7;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions,
.join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 18px;
    color: var(--text);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.04);
}

.button:hover {
    color: var(--text);
    border-color: rgba(255, 169, 119, 0.5);
    background: rgba(253, 255, 119, 0.1);
}

.button.primary {
    background: var(--text);
    color: #1d1207;
    border-color: var(--text);
}

.button.primary:hover {
    background: #f7ffdc;
    color: #1d1807;
}

.status-card,
.project-card,
.person-card,
.join-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 22, 32, 0.82);
    box-shadow: var(--shadow);
}

.status-card {
    padding: 28px;
}

.card-label {
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-card p,
.text-block p,
.section-heading p,
.project-card p,
.person-card p,
.join-card p,
.site-footer p {
    color: var(--muted);
}

.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.inline-list li,
.tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #e5e8cb;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 10px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 28px;
}

.text-block {
    max-width: 690px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.8fr;
    gap: 16px;
}

.project-card {
    padding: 24px;
}

.project-card.featured {
    background: linear-gradient(145deg, rgba(119, 167, 255, 0.16), rgba(16, 22, 32, 0.88));
}

.project-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag.active {
    color: #ffe9c9;
    border-color: rgba(231, 218, 158, 0.35);
    background: rgba(205, 231, 158, 0.08);
}

.tag.planned {
    color: #d7e4ff;
    border-color: rgba(255, 201, 119, 0.35);
    background: rgba(119, 167, 255, 0.08);
}

.project-card ul {
    padding-left: 18px;
    color: #efebd7;
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--brand-2);
    font-weight: 900;
}

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

.person-card {
    padding: 20px;
}

.avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.person-card h3 {
    margin-bottom: 6px;
}

.person-card span {
    color: #e8dfcb;
    font-size: 0.92rem;
}

.join-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px;
    background: linear-gradient(145deg, rgba(119, 167, 255, 0.16), rgba(158, 231, 200, 0.08));
}

.join-card > div:first-child {
    max-width: 700px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-inner p {
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .section {
        padding: 54px 0;
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        justify-content: flex-start;
    }

    .nav a {
        padding-left: 0;
        padding-right: 12px;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-grid,
    .two-column,
    .project-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .join-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1100px);
    }

    .section {
        padding: 44px 0;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    h1 {
        font-size: 2.55rem;
    }

    .status-card,
    .project-card,
    .person-card,
    .join-card {
        padding: 18px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}