:root {
    --ink: #0a0a0a;
    --muted: #6e6e6e;
    --line: #e6e6e6;
    --hover: #fafafa;
    --paper: #ffffff;
    --card-bg: #ffffff;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap-project {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 120px;
}

/* Back Link */
.back-link {
    display: inline-block;
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 24px;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.back-link:hover {
    color: var(--ink);
    transform: translateX(-2px);
}

/* Hero Banner */
.project-hero {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f4f4f4;
    border: 1px solid var(--line);
    margin-bottom: 28px;
}

.project-hero img,
.project-hero video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Project Header */
.project-header {
    margin-bottom: 36px;
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 6px;
}

.project-meta {
    font-size: 13.5px;
    color: var(--muted);
}

/* Content Stream - All media in line, one per row */
.project-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project-description {
    font-size: 14.5px;
    line-height: 1.75;
    color: #2b2b2b;
}

.project-description strong {
    color: var(--ink);
}

.project-media-box {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fafafa;
    position: relative;
}

.project-media-box img,
.project-media-box video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* Ensure no collages: everything in a single column line */
.project-media-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

/* Section Headers */
.section-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.list-content {
    font-size: 14.5px;
    line-height: 1.75;
    color: #2b2b2b;
}

.list-content ul {
    list-style: none;
    padding: 0;
}

.list-content li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.list-content li:last-child {
    border-bottom: none;
}

@media (max-width: 540px) {
    .wrap-project {
        padding: 36px 18px 80px;
    }

    .project-title {
        font-size: 24px;
    }
}
