@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@400;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: #fff;
    color: #011122;
    font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.main {
    width: 100%;
    padding: 0 40px;
    position: relative;
}

/* ── NAV ── */

.topbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.25fr;
    gap: 20px;
    align-items: start;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 56px;
    color: #011122;
    position: sticky;
    top: 12px;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo h2 {
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.descriptor {
    display: flex;
    flex-direction: column;
}

.nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.nav div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nav div:last-child {
    width: fit-content;
    margin-left: auto;
}

.nav a {
    position: relative;
    width: fit-content;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}


/* ── HERO ── */
.hero {
    display: block;
    width: 100%;
    padding: 70px 0 80px;
    overflow: hidden;
}

.hero-title {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #4C1D95;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(34px, 30vw, 400px);
}

/* ── WORKS SECTION ── */
.works-section {
    padding: 0 20px;
    position: relative;
}

.section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: "IBM Plex Mono", monospace;
    color: #011122;
}

.works-list {
    list-style: none;
}

.work-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #000;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.work-num {
    font-size: 10px;
    font-weight: 400;
    color: #011122;
    min-width: 22px;
    line-height: 1;
    flex-shrink: 0;
    align-self: baseline;
    font-family: "IBM Plex Mono", monospace;
}

.work-title {
    font-size: 34px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: color 0.18s ease, border-color 0.18s ease;
    align-self: baseline;
    font-family: "Hanken Grotesk", sans-serif;
}

/* Badge */
.work-badge {
    position: absolute;
    right: 380px;
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    z-index: 10;
}

.work-badge-inner {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 18px 24px;
    min-width: 140px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

/* Photo */
.work-photo {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    z-index: 10;
    width: 340px;
    height: 220px;
    overflow: hidden;
}

.work-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover states */
.work-item:hover .work-title {
    color: #1a56ff;
    border-bottom-color: #1a56ff;
}

.work-item:hover .work-badge {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.work-item:hover .work-photo {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Badge & photo colors */
.badge-african {
    background: #8B2500;
}

.badge-liberian {
    background: #006233;
}

.badge-hair {
    background: #1a1a1a;
}

.photo-african {
    background: #c4622d;
}

.photo-liberian {
    background: #2a6e46;
}

.photo-hair {
    background: #2b2b2b;
}

/* ── ABOUT SECTION ── */
.about-section {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1.5fr;
    gap: 30px;
    padding: 80px 20px 60px;
    align-items: start;
}

.about-label {
    font-size: 10px;
    font-weight: 700;
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-name {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: "Hanken Grotesk", sans-serif;
    line-height: 1;
}

.photo-placeholder {
    width: 130px;
    height: 160px;
    background: #888;
    margin-top: 10px;
}

.photo-placeholder img {
    width: 100%;
}

.bio-col {
    font-size: 14px;
    font-family: 'LG Smart', sans-serif;
    font-weight: 500;
    line-height: 1.1;
}

.bio-col p+p {
    margin-top: 10px;
}

.col-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: "IBM Plex Mono", monospace;
}

/* ── CONTACT SECTION ── */
.contact-section {
    padding: 40px 20px 0;
}

.contact-label {
    font-size: 10px;
    font-weight: 700;
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #000;
}

.contact-list li span {
    width: 100%;
}

.contact-platform {
    font-size: 34px;
    font-weight: 600;
    font-family: "Hanken Grotesk", sans-serif;
    line-height: 1.05;
}

.contact-handle {
    font-size: 10px;
    font-family: "IBM Plex Mono", monospace;
}

.site-footer {
    padding: 16px 20px 40px;
    font-size: 10px;
    font-weight: 600;
    font-family: "Hanken Grotesk", sans-serif;
}

@media (max-width: 1025px) {
    .about-section {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .work-photo {
        width: 22vw;
        height: 14vw;
    }

    .work-badge {
        right: 24vw;
    }

    .main {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .work-photo {
        width: 20vw;
        height: 12vw;
    }

    .work-badge-inner {
        min-width: 10vw;
        min-height: 8vw;
        padding: 10px 16px;
    }

    .work-badge {
        right: 24vw;
    }

    .main {
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    .main {
        padding: 0;
    }

    .about-section {
        grid-template-columns: 1fr;
        padding-top: 50px;
        padding-bottom: 0;
    }

    .site-footer {
        padding-bottom: 20px;
    }

    .contact-platform {
        font-size: 24px;
    }

    .work-title {
        font-size: 24px;
    }

    .work-photo {
        display: none;
    }

    .work-badge {
        display: none;
    }

    .photo-placeholder {
        width: 100%;
        height: auto;
    }

    .topbar {
        font-size: 6px;
        gap: 14px;
        margin-bottom: 45px;
    }

    .logo h2 {
        font-size: 10px;
    }

    .nav div {
        gap: 4px;
    }

}