:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-dim: #888888;
    --ui-border: #444444;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Fixed width prevents the container from resizing as text is deleted */
    width: 600px; 
    max-width: 90vw;
    padding: 0;
}

.sub-header {
    font-size: 1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.title-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    min-height: 1.1em;
}

h1 {
    font-size: clamp(3rem, 12vw, 8rem); /* Slightly smaller to fit 600px width comfortably */
    line-height: 1;
    margin: 0;
    font-weight: 800;
    white-space: nowrap;
}

.cursor {
    color: var(--text-main);
    font-weight: 200;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.project-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.project-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.project-card:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(10px);
}

.card-image {
    width: 150px;
    height: 120px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-right: 1px solid var(--ui-border);
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-placeholder {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.4;
}