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

:root {
    --bg-dark: #0f1212;
    --bg-panel: #17201e;
    --bg-soft: #22302d;
    --text-main: #f3f2ea;
    --text-muted: #b8beaf;
    --accent: #d7a84a;
    --line: #31423d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at 12% 8%, #1f2b29 0%, var(--bg-dark) 42%, #090b0b 100%);
    line-height: 1.5;
    overflow-x: hidden;
}

.board-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.11;
    background-image:
        linear-gradient(45deg, #ffffff 25%, transparent 25%),
        linear-gradient(-45deg, #ffffff 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ffffff 75%),
        linear-gradient(-45deg, transparent 75%, #ffffff 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0;
    animation: drift 20s linear infinite;
}

@keyframes drift {
    from { transform: translateY(0); }
    to { transform: translateY(-80px); }
}

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

.top-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: rgba(15, 18, 18, 0.72);
    border-bottom: 1px solid rgba(243, 242, 234, 0.12);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.84rem;
    color: #111;
    background: var(--accent);
}

.brand-name {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.08em;
    font-size: 1.7rem;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

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

.menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
}

.section {
    padding: 5.3rem 0;
}

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    align-items: center;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr 0.8fr;
}

.kicker {
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

h1, h2, h3 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
}

h1 {
    font-size: clamp(3.3rem, 8vw, 5.8rem);
    line-height: 0.95;
}

.subtitle {
    margin-top: 0.55rem;
    font-size: 1.08rem;
    color: var(--text-muted);
}

.hero-text {
    margin-top: 1.3rem;
    max-width: 60ch;
    color: #d9ddd2;
}

.hero-actions {
    margin-top: 1.8rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-main {
    background: var(--accent);
    color: #1d1a15;
    box-shadow: 0 10px 30px rgba(215, 168, 74, 0.25);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.hero-card,
.stat-card,
.profile-card,
.contact-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(34, 48, 45, 0.9), rgba(18, 24, 23, 0.9));
}

.hero-card {
    padding: 1.6rem;
    align-self: center;
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.piece {
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent);
}

.card-title {
    margin-top: 0.55rem;
    font-weight: 800;
}

.card-text {
    margin-top: 0.3rem;
    color: var(--text-muted);
}

.section-head h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.stats {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    padding: 1.2rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-value {
    margin-top: 0.45rem;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-family: "Bebas Neue", sans-serif;
}

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

.profile-card {
    text-decoration: none;
    color: var(--text-main);
    padding: 1.35rem;
    transition: 0.25s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.profile-tag {
    font-size: 0.76rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.profile-card h3 {
    margin-top: 0.4rem;
    font-size: 2rem;
}

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

.contact-box {
    padding: 1.5rem;
}

.contact-box h2 {
    font-size: clamp(2rem, 4.4vw, 2.7rem);
}

.contact-box p {
    margin-top: 0.5rem;
    color: var(--text-muted);
}

.contact-box a {
    color: var(--accent);
    font-weight: 700;
}

footer {
    border-top: 1px solid rgba(243, 242, 234, 0.14);
    padding: 1.1rem 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: #a8ad9f;
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 860px) {
    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 1rem;
        right: 1rem;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #101615;
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.7rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero-grid,
    .stats,
    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4.2rem 0;
    }

    .footer-row {
        flex-direction: column;
    }
}
