:root {
    --bg-sand: #f5f4f0;
    --forest-primary: #1e3f20;
    --forest-dark: #122613;
    --forest-light: #345c36;
    --accent-gold: #d4af37;
    --text-dark: #1c281d;
    --text-muted: #6b7280;
    --glass-card: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(30, 63, 32, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-sand);
    color: var(--text-dark);
    line-height: 1.62;
    overflow-x: hidden;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 5%;
    background: rgba(245, 244, 240, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--forest-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo span {
    font-size: 0.75rem;
    background: var(--forest-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.btn-back-portfolio {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid rgba(28, 40, 29, 0.15);
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.btn-back-portfolio:hover {
    background: var(--forest-primary);
    color: white;
    border-color: var(--forest-primary);
    transform: translateX(-4px);
}

/* --- Container Layout --- */
.wrapper {
    max-width: 1200px;
    margin: 120px auto 80px auto;
    padding: 0 24px;
}

/* --- Project Overview Hero --- */
.project-hero {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-up-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-category {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--forest-primary);
    line-height: 1.15;
    margin-bottom: 16px;
}

.project-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-weight: 400;
}

/* --- Work Metadata Cards --- */
.meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(30, 63, 32, 0.02);
    margin-bottom: 80px;
}

.meta-item {
    text-align: center;
    border-right: 1px solid rgba(30, 63, 32, 0.08);
}

.meta-item:last-child {
    border-right: none;
}

.meta-lbl {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.meta-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forest-primary);
}

/* --- Section Styling --- */
section {
    margin-bottom: 100px;
}

.section-header {
    margin-bottom: 40px;
}

.section-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 4px;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--forest-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Segment 1: Museum Intro --- */
.museum-intro-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(30, 63, 32, 0.03);
}

.intro-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--forest-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-left p {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-weight: 400;
}

.intro-right-quote {
    border-left: 3px solid var(--accent-gold);
    padding-left: 24px;
}

.intro-right-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--forest-primary);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 10px;
}

.intro-right-quote cite {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-style: normal;
}

/* --- Segment 2: Outdated UX Analysis --- */
.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-mockup-wrapper {
    position: relative;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.image-mockup-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 63, 32, 0.08);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-title-text {
    margin-left: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: block;
}

/* Red Warning Markers on Mockup */
.warning-marker {
    position: absolute;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 0.8rem;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
    cursor: pointer;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.marker-1 { top: 40px; left: 48%; }
.marker-2 { top: 220px; right: 40px; }

.analysis-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.analysis-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(30, 63, 32, 0.01);
    transition: var(--transition-smooth);
}

.analysis-card:hover {
    border-color: rgba(239, 68, 68, 0.25);
    transform: translateX(4px);
}

.analysis-card i {
    color: #ef4444;
    font-size: 1.25rem;
    margin-top: 2px;
}

.analysis-card-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--forest-primary);
    margin-bottom: 4px;
}

.analysis-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --- Segment 3: Design Value & Palette --- */
.strategy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.color-palette-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(30, 63, 32, 0.02);
}

.palette-row {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.color-swatch-item {
    flex: 1;
    text-align: center;
}

.color-block {
    height: 100px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.color-block:hover {
    transform: scale(1.05);
}

.cb-primary { background: #1e3f20; }
.cb-sand { background: #f5f4f0; }
.cb-gold { background: #d4af37; }
.cb-charcoal { background: #1c281d; }

.swatch-hex {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: monospace;
}

.swatch-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.typo-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(30, 63, 32, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.typo-sample h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--forest-primary);
    margin-bottom: 6px;
    font-weight: 400;
}

.typo-sample p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.typo-desc {
    font-size: 0.88rem;
    color: var(--text-dark);
    border-top: 1px solid rgba(30, 63, 32, 0.08);
    padding-top: 16px;
}

/* --- Segment 4: Solution Show --- */
.solution-showcase-box {
    text-align: center;
}

.solution-desc-highlight {
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.solution-img-wrapper {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 25px 60px rgba(30,63,32,0.06);
    transition: var(--transition-smooth);
    position: relative;
}

.solution-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 80px rgba(30, 63, 32, 0.12);
}

.solution-hotspot {
    position: absolute;
    background: rgba(30, 63, 32, 0.9);
    color: white;
    border: 1.5px solid var(--accent-gold);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(30, 63, 32, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.solution-hotspot:hover {
    background: var(--accent-gold);
    color: var(--forest-dark);
    transform: scale(1.05);
}

.hotspot-1 { top: 60px; left: 100px; }
.hotspot-2 { bottom: 80px; left: 80px; }
.hotspot-3 { top: 60px; right: 280px; }

/* --- Segment 5: Maker's Story --- */
.story-container {
    background: var(--forest-primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(30, 63, 32, 0.15);
}

.story-left {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 50px;
}

.story-avatar-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 20px auto;
    border: 3px solid var(--accent-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--forest-primary);
}

.story-left h4 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.story-left p {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 24px;
    line-height: 1.3;
    color: #f3fdf4;
}

.story-right p {
    font-size: 1rem;
    line-height: 1.7;
    color: #d1e7d3;
    margin-bottom: 16px;
}

.story-right p:last-child {
    margin-bottom: 0;
}

/* --- Header Link Buttons --- */
.header-links {
    display: flex;
    gap: 12px;
}

.btn-header-link {
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px 16px;
    border: 1px solid rgba(28, 40, 29, 0.15);
    border-radius: 30px;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
}

.btn-header-link:hover {
    background: rgba(30, 63, 32, 0.05);
    border-color: var(--forest-primary);
}

.btn-header-accent {
    background: var(--forest-primary);
    color: white;
    border-color: var(--forest-primary);
}

.btn-header-accent:hover {
    background: var(--accent-gold);
    color: var(--forest-dark);
    border-color: var(--accent-gold);
}

/* --- Footer CTA Card Group --- */
.bottom-cta {
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--forest-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.btn-original {
    background: white;
    color: var(--forest-primary);
    border: 1px solid var(--glass-border);
}

.btn-original:hover {
    border-color: var(--forest-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 63, 32, 0.05);
}

.btn-renewal {
    background: var(--forest-primary);
    color: white;
    border: 1px solid var(--forest-primary);
}

.btn-renewal:hover {
    background: var(--accent-gold);
    color: var(--forest-dark);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .wrapper { margin-top: 100px; }
    .project-title { font-size: 2.2rem; }
    .meta-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .meta-item { border-right: none; }
    .meta-item:nth-child(odd) { border-right: 1px solid rgba(30, 63, 32, 0.08); }
    
    .museum-intro-box { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
    .analysis-grid { grid-template-columns: 1fr; gap: 40px; }
    .strategy-container { grid-template-columns: 1fr; gap: 30px; }
    .story-container { grid-template-columns: 1fr; padding: 40px; gap: 30px; }
    .story-left { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 30px; }
    
    .solution-hotspot { display: none; }
}
