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

:root {
    --bg: #000;
    --accent: #f6b000;
    /* golden yellow */
    --card-bg: #080808;
    --text: #fff;
    --muted: #dcdcdc;
}

/* header height removed to avoid conflicts with .site-header centering */

html,
body {
    height: 100%
}

body {
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px
}

.site-header {
    height: 85vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header .container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand {
    font-size: clamp(80px, 20vw, 256px);
    line-height: 0.9;
    font-weight: 800;
    margin: 0;
    text-align: center;
    display: block;
}

/* Responsive scaling for the brand */
@media (max-width: 1200px) {
    .brand {
        font-size: 160px;
    }
}

@media (max-width: 720px) {
    .brand {
        font-size: 80px;
    }
}

.hero {
    background: var(--accent);
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    margin-top: 20px;
    padding: 40px 0 80px;
}

.hero-inner {
    padding-top: 20px
}

.subtitle {
    font-size: 40px;
    text-align: center;
    color: #111;
    font-weight: 700;
    margin-bottom: 24px
}


.hero-inner {
    padding-top: 20px
}

.subtitle {
    font-size: 40px;
    text-align: center;
    color: #111;
    font-weight: 700;
    margin-bottom: 28px
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 22px
}

.project-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.6);
    border: 6px solid #111
}

.card-left {
    flex: 1;
    padding-right: 20px
}

.project-title {
    font-size: 34px;
    margin-bottom: 10px
}

.project-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35
}

.card-right {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center
}

.img-box {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    display: block
}

img {
    max-width: 100%;
    height: auto
}

/* small subtle hover */
.project-card:hover {
    transform: translateY(-6px);
    transition: transform .18s ease
}

/* expanded state for small screens */
.project-card.expanded {
    background: #141414
}

/* Responsive layout for mobile */
@media (max-width:520px) {
    /* Keep header visible but reserve 30vh; make hero fill the rest so yellow reaches the bottom */
    .site-header {
        height: 30vh;
        min-height: auto;
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 16px;
        flex: 0 0 auto;
    }

    .container {
        padding: 18px
    }

    .brand {
        font-size: 36px
    }

    .hero {
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        padding: 22px 0 40px;
        padding-top: 28px;
        min-height: calc(100vh - 30vh);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .subtitle {
        font-size: 28px
    }

    .projects { width: 100%; margin-top: 18px }


    .project-card {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        border-width: 5px
    }

    .card-right {
        width: 88px
    }

    .img-box {
        width: 64px;
        height: 64px
    }

    .project-title {
        font-size: 24px
    }

    .project-desc {
        font-size: 13px
    }
}

@media (max-width:380px) {
    .project-card {
        flex-direction: column;
        align-items: flex-start
    }

    .card-right {
        width: 100%;
        display: flex;
        justify-content: flex-end
    }

    .img-box {
        width: 84px;
        height: 84px
    }
}