:root {
    color-scheme: dark;
    --bg: #0a0a0a;
    --bg-elevated: #121212;
    --text: #f2f0eb;
    --text-muted: #a8a6a1;
    --border: #262626;
    --border-hover: #666666;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

a:hover {
    opacity: 0.78;
}

img, video {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

/* --- Header & Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6%;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 11px;
    letter-spacing: 0.16em;
}

.social-links {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-left: 6px;
}

.social-links img {
    height: 16px;
    width: auto;
    filter: invert(1) brightness(0.9);
}

/* --- Landing Page (SpotLighted) --- */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8% 6%;
    position: relative;
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.45) 45%,
        rgba(10, 10, 10, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero h1 {
    font-weight: 300;
    font-size: clamp(38px, 6.5vw, 84px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}

.hero p {
    font-size: 16px;
    color: #dcdad5;
    margin: 0 0 22px;
}

.action-link {
    display: inline-block;
    border-bottom: 1px solid var(--text);
    padding-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-section {
    padding: 80px 6%;
    border-top: 1px solid var(--border);
}

.landing-section h2 {
    font-weight: 300;
    font-size: clamp(26px, 3.8vw, 46px);
    letter-spacing: -0.02em;
    margin: 0 0 36px;
}

/* 4-Work Grid on SpotLighted */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.work-card {
    display: block;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.work-card:hover {
    border-top-color: var(--border-hover);
    opacity: 1;
}

.work-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-elevated);
    margin-bottom: 14px;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.work-card:hover .work-thumb img {
    transform: scale(1.03);
}

.work-card h3 {
    font-weight: 400;
    font-size: 20px;
    margin: 0 0 4px;
}

.work-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.more-works-bar {
    margin-top: 48px;
}

.text-column {
    max-width: 740px;
}

.text-column p {
    color: #d4d2cd;
}

/* --- Individual Project Pages (ImagePage) --- */
.central {
    width: min(92%, 900px);
    margin: 56px auto 90px;
}

.central h1 {
    font-weight: 300;
    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.15;
    margin: 0 0 12px;
}

.central h2 {
    font-weight: 400;
    font-size: 20px;
    margin: 36px 0 12px;
    color: var(--text);
}

.central .txt {
    margin: 36px 0 48px;
    color: #dad8d3;
}

.central .txt a {
    border-bottom: 1px solid #555;
}

.central .txt a:hover {
    border-bottom-color: var(--text);
}

.media-item {
    margin: 0 0 42px;
}

.media-item img,
.media-item video {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    margin: 0 auto;
    background: #050505;
}

/* --- Standard Pages & Legacy SelectedWorks Compatibility --- */
.standard-wrap {
    width: min(92%, 1160px);
    margin: 56px auto 90px;
}

.previewarea {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 32px 24px;
    position: static;
}

.previewicon {
    float: none;
    width: 100%;
    height: auto;
    text-align: left;
}

.previewicon img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    padding: 0;
    margin-bottom: 10px;
    background: var(--bg-elevated);
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.previewicon a {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.previewicon a:hover img {
    transform: scale(1.02);
}

/* --- Footer --- */
.site-footer {
    padding: 40px 6%;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 650px) {
    .site-header {
        padding: 14px 5%;
    }
    .site-nav {
        gap: 14px;
    }
    .hero {
        min-height: 70vh;
    }
    .landing-section {
        padding: 56px 5%;
    }
    .previewarea {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 22px 14px;
    }
}