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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent: #e8d5b5;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Archivo', sans-serif;
    background: var(--primary-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 213, 181, 0.1);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-light);
    text-decoration: none;
}

.logo:hover {
    color: var(--accent);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

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

.back-link::before {
    content: '←';
    font-size: 1.2rem;
}

/* HERO */
.project-hero {
    padding: 150px 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.project-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.project-subtitle {
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(232, 213, 181, 0.1);
    border-bottom: 1px solid rgba(232, 213, 181, 0.1);
}

.meta-item h4 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.meta-item p {
    color: var(--text-light);
    font-size: 1.2rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(232, 213, 181, 0.1);
    border: 1px solid rgba(232, 213, 181, 0.2);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

/* CONTENT */
.project-content {
    padding: 4rem 4rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 5rem;
}

.content-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.content-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-light);
    margin: 2.5rem 0 1.5rem;
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.content-section p strong {
    color: var(--accent);
    font-weight: 600;
}

.content-section ul {
    list-style: none;
    margin: 2rem 0;
}

.content-section li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.2rem;
}

.content-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

/* HIGHLIGHT BOX */
.highlight-box {
    background: rgba(232, 213, 181, 0.05);
    border-left: 3px solid var(--accent);
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* PROBLEM LAYOUT */
.problem-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.problem-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.problem-visual {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.problem-visual .image-placeholder {
    aspect-ratio: auto;
    min-height: 0;
}

.problem-visual .image-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* SECTION DIVIDER */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 6rem 0 4rem;
}

.section-divider span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(232, 213, 181, 0.15);
}

/* STATS ROW */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--secondary-bg);
    border: 1px solid rgba(232, 213, 181, 0.1);
    transition: all 0.4s var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 213, 181, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

/* IMAGES & MEDIA */
.image-section {
    margin: 3rem 0 4rem;
}

.image-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: var(--secondary-bg);
    border: 1px solid rgba(232, 213, 181, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--accent);
    transition: all 0.4s var(--transition);
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-placeholder:hover {
    background: rgba(232, 213, 181, 0.05);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 1rem;
}

.image-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.image-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-grid.single-wide {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.image-grid.single {
    grid-template-columns: 1fr;
}

.image-grid.single .image-placeholder {
    aspect-ratio: auto;
    min-height: 0;
}

.image-grid.single .image-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.image-figure {
    margin: 0;
}

.image-placeholder {
    background: var(--secondary-bg);
    border: 1px solid rgba(232, 213, 181, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s var(--transition);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder:hover {
    border-color: rgba(232, 213, 181, 0.3);
    transform: translateY(-4px);
}

.image-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-top: 0.75rem;
    line-height: 1.5;
    text-align: center;
}

/* HORIZONTAL STRIP */
.image-strip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin: 3rem 0 1rem;
}

.image-strip::-webkit-scrollbar {
    height: 6px;
}

.image-strip::-webkit-scrollbar-thumb {
    background: rgba(232, 213, 181, 0.35);
}

.image-strip-item {
    min-width: 260px;
    max-width: 320px;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .problem-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* PROTOTYPE BUTTON */
.prototype-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 2.4rem;
    background: var(--accent);
    color: var(--primary-bg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s var(--transition);
    border: 2px solid var(--accent);
}

.prototype-btn:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
}

.prototype-btn span:last-child {
    font-size: 1.3rem;
    transition: transform 0.3s var(--transition);
}

.prototype-btn:hover span:last-child {
    transform: translateX(5px);
}

/* PROJECT NAV & FOOTER */
.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 4rem 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(232, 213, 181, 0.1);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(232, 213, 181, 0.3);
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: var(--accent);
    color: var(--primary-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.nav-btn.prev::before {
    content: '←';
}

.nav-btn.next::after {
    content: '→';
}

footer {
    padding: 3rem 4rem;
    border-top: 1px solid rgba(232, 213, 181, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav,
    .project-hero,
    .project-content,
    .project-nav {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .project-title {
        font-size: 2.5rem;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .image-grid.two {
        grid-template-columns: 1fr;
    }

    .image-grid.three {
        grid-template-columns: 1fr;
    }
}

