/* Projects page - Invincible Concepts portfolio index.
   Neutral, company-level, understated. Dark IC palette; dark glass cards (no cream).
   Each brand logo sits on a uniform compact neutral chip for legibility + balance. */
@font-face {
    font-family: 'Trajan Pro';
    src: url('/Trajan Pro Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

html, body {
    width: 100%;
}

body {
    min-height: 100vh;
    background: #1f1f1f;
    background: radial-gradient(circle at center top, #495269 0%, #3a3f4d 24%, #2d3139 42%, #252729 60%, #1f1f1f 82%);
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 24px 80px;
}

/* Header */
.home-link {
    display: inline-block;
    line-height: 0;
    margin-bottom: 30px;
}

.home-link img {
    width: 104px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.page-title {
    font-family: 'Trajan Pro', serif;
    font-size: 34px;
    letter-spacing: 0.08em;
    color: #b6e0f9;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-subtitle {
    margin: 16px 0 56px;
    max-width: 540px;
    text-align: center;
    color: #aeb8c4;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

/* Project grid - equal columns, equal-height cards */
.projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 920px;
}

.project {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 36px 34px 34px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.project:hover {
    border-color: rgba(182, 224, 249, 0.32);
    background: rgba(255, 255, 255, 0.05);
}

/* Uniform compact logo chip - same height -> titles align; centered in the card */
.logo-chip {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 132px;
    min-width: 204px;
    padding: 0 30px;
    background: #eef1f6;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}

.ylc-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-chip .handyman {
    height: 54px;
    width: auto;
    display: block;
}

.logo-chip .ylc-text {
    width: 142px;
    height: auto;
    display: block;
}

.logo-chip .omx {
    height: 112px;
    width: auto;
    display: block;
}

/* Title + description - left aligned, locked baselines for cross-card alignment */
.project h2 {
    font-family: 'Trajan Pro', serif;
    font-size: 19px;
    letter-spacing: 0.04em;
    color: #b6e0f9;
    text-align: left;
    margin: 30px 0 0;
    min-height: 24px;
}

.project p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
    color: #c7d0db;
    text-align: left;
    letter-spacing: 0.01em;
}

.footer {
    margin-top: 60px;
    font-size: 13px;
    color: #828c99;
    letter-spacing: 0.04em;
}

@media (max-width: 760px) {
    body { padding: 48px 22px 64px; }
    .page-title { font-size: 28px; }
    .page-subtitle { margin-bottom: 40px; }
    .projects {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 460px;
    }
}
