:root {
    color-scheme: dark;
    color: #F5F2EC;
    background: #1A1A1A;
    font-family: "Cormorant Garamond", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    background-color: #1A1A1A;
    color: #F5F2EC;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    gap: 3rem;
    width: min(100%, 1200px);
    align-items: center;
}

.hero-copy {
    max-width: 40rem;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.eyebrow {
    margin: 0 0 1.4rem;
    font-size: 0.95rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #D0C8BE;
}

.subtitle {
    margin: 1.8rem 0 0;
    max-width: 44rem;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
    color: rgba(245, 242, 236, 0.88);
    letter-spacing: 0.02em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.4rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    background: #6B1615;
    color: #F5F2EC;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(107, 22, 21, 0.22);
}

.hero-photo {
    display: grid;
    place-items: center;
}

.photo-frame {
    width: 100%;
    height: 420px;
    border: 1px solid rgba(245, 242, 236, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border-radius: 32px;
    display: block;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transform: scale(1.12);
    transform-origin: center center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        margin-top: 2rem;
    }
}

.projects-board {
    padding: 4rem 2rem 6rem;
    background: #1A1A1A;
    color: #F5F2EC;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.section-head {
    max-width: 58rem;
    margin: 0 0 2.5rem;
}

.section-head h2 {
    margin: 0.4rem 0 0;
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.projects-copy {
    margin: 1.2rem 0 0;
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(245, 242, 236, 0.82);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 2.5rem;
    max-width: 58rem;
}

.filter-pill {
    appearance: none;
    border: 1px solid rgba(245, 242, 236, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #F5F2EC;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: #6B1615;
    border-color: #6B1615;
}

.board-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1200px;
    margin: 0;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.board-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 242, 236, 0.12);
    border-radius: 28px;
    padding: 2rem;
    min-height: 260px;
    display: grid;
    gap: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.18);
}

.card-tag {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(245, 242, 236, 0.55);
}

.board-card h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.board-card p {
    margin: 0;
    color: rgba(245, 242, 236, 0.78);
    line-height: 1.75;
    font-size: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    width: fit-content;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(107, 22, 21, 0.18);
    color: #F5F2EC;
    font-size: 0.9rem;
}

@media (max-width: 1080px) {
    .board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .projects-board {
        padding: 3rem 1.5rem 4rem;
    }

    .section-head,
    .filter-bar,
    .board-grid {
        max-width: 100%;
    }

    .filter-pill {
        flex: 1 1 auto;
        text-align: center;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    border-top: 1px solid rgba(245, 242, 236, 0.14);
    padding: 3rem 2rem 4rem;
    color: #F5F2EC;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}

.footer-name {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: none;
    color: rgba(208, 200, 190, 0.88);
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    color: rgba(245, 242, 236, 0.82);
    font-size: 0.88rem;
}

.footer-links a {
    color: rgba(245, 242, 236, 0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #6B1615;
}

.link-separator {
    color: rgba(245, 242, 236, 0.44);
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(245, 242, 236, 0.72);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 700px) {
    .site-footer {
        padding: 2.5rem 1.5rem 3rem;
    }

    .footer-links {
        width: 100%;
    }

    .footer-bottom {
        justify-content: flex-start;
    }
}

