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

html,
body {
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #e8e8e8;
    padding: 2rem 1rem;
}

.me-box {
    border: 2px solid #fff;
    padding: 2rem 2.2rem;
    width: 100%;
    max-width: 560px;
    background: #000;
}

.me-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.me-header h1 {
    font-size: 2.9rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #fff;
}

.back-link {
    font-size: 0.85rem;
    color: #e8e8e8;
    text-decoration: none;
    white-space: nowrap;
    padding-top: 0.25rem;
}

.back-link:hover {
    text-decoration: underline;
}

.me-subtitle {
    font-size: 1.56rem;
    color: #bbb;
    margin-top: 0.4rem;
    letter-spacing: -0.02em;
}

.me-photo-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 1.8rem 0;
}

.ascii-col {
    color: #797373;
    font-size: 0.95rem;
    line-height: 1.62;
    user-select: none;
    text-align: center;
    white-space: pre;
    letter-spacing: 0.02em;
}

.me-photo {
    filter: url(#jpeg-artifact);
    width: 185px;
    height: 260px;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
    background: #1a1a1a;
}

.me-bio {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #e0e0e0;
}

.me-bio p+p {
    margin-top: 1.2em;
}

.me-bio a {
    color: #e0e0e0;
    text-decoration: underline;
}

.me-bio a:hover {
    color: #fff;
}

.me-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.me-badges img {
    height: 31px;
    width: 88px;
    object-fit: cover;
    image-rendering: pixelated;
    border: 1px solid #333;
}

.me-badges img:hover {
    transform: scale(1.05);
    transition: transform 0.1s ease-in-out;
}

@media (max-width: 480px) {
    .me-box {
        padding: 1.4rem 1.2rem;
    }

    .me-header h1 {
        font-size: 2rem;
    }

    .ascii-col {
        font-size: 0.55rem;
    }

    .me-photo {
        width: 140px;
        height: 196px;
    }
}
