:root {
    --bg-color: #040404;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-alt: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.16);
    --divider-color: rgba(255, 255, 255, 0.08);
    --accent: #f5d13d;
    --accent-alt: #ffef9f;
    --accent-contrast: #050505;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.74);
    --font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

.section {
    padding: 6rem 1.5rem;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -60%);
    width: min(240px, 70%);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 209, 61, 0.55), transparent);
    pointer-events: none;
    z-index: 1;
}

.section-heading {
    max-width: 640px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(2rem, 6vh, 10vh);
    padding: 2.5rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(120deg, rgba(4, 4, 4, 0.94), rgba(4, 4, 4, 0.6)), url('background3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 20% -30% -40% 35%;
    background: radial-gradient(circle at center, rgba(245, 209, 61, 0.22), transparent 62%);
    filter: blur(12px);
    z-index: -1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}

.cta {
    border: 2px solid rgba(245, 209, 61, 0.75);
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
    background: rgba(245, 209, 61, 0.06);
    transition: all 0.2s ease;
}

.cta:hover {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
}

.hero-content {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding-top: 5vh;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0;
}

.hero p {
    max-width: 540px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: var(--accent-contrast);
}

.btn.primary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--accent-alt);
}

.btn.secondary {
    border-color: var(--divider-color);
}

.btn.secondary:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.about {
    background: linear-gradient(180deg, rgba(245, 209, 61, 0.04), transparent);
}

.about-grid,
.card-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.panel {
    position: relative;
    background: linear-gradient(160deg, var(--surface-color), rgba(255, 255, 255, 0.01));
    padding: 2.25rem 2rem 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(245, 209, 61, 0));
}

.panel header {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.panel p {
    color: var(--text-muted);
    line-height: 1.7;
}

.panel-link {
    font-weight: 600;
    width: fit-content;
    border-bottom: 1px solid rgba(245, 209, 61, 0.4);
    padding-bottom: 0.2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
}

.panel-link:hover {
    border-bottom-color: var(--accent);
}

.project {
    gap: 1.25rem;
}

.project-points {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    list-style: disc;
    line-height: 1.6;
}

.project-points li + li {
    margin-top: 0.35rem;
}

.team {
    background: linear-gradient(0deg, rgba(245, 209, 61, 0.04), transparent);
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.team-card {
    gap: 1.5rem;
    padding: 2.5rem 2.25rem;
}

.team-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.open-role {
    justify-content: center;
    text-align: left;
}

.open-role::before {
    background: linear-gradient(90deg, rgba(245, 209, 61, 0.6), rgba(245, 209, 61, 0));
}

.contact {
    border-bottom: 1px solid var(--divider-color);
}

.contact-links {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.2rem;
}

.contact-link:hover {
    border-bottom-color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    background: var(--surface-alt);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .hero-content {
        padding-top: 4vh;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav .cta {
        display: none;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

