/* yongjoon.dev - Swiss precision meets watercolor warmth */

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

:root {
    --charcoal: #3a3530;
    --warm-gray: #6a5f55;
    --sage: #a8c4a0;
    --sand: #b8a898;
    --cream: #faf8f4;
    --peach: #e8b4a0;
    --gold: #d4c08a;
    --light-cream: #f5ede4;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--charcoal);
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
}

/* Watercolor wash layer */
.wash-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.wash-svg {
    width: 100%;
    height: 100%;
}

/* Page grid: asymmetric 60/40 */
.page-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Content column */
.content-column {
    padding: 80px 60px 120px 80px;
}

/* Hero section */
.hero-section {
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-name {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(60px, 10vw, 100px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.letter.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 300;
    color: var(--sage);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.8s ease 0.8s;
}

.hero-role.visible {
    opacity: 1;
}

.hero-desc {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--warm-gray);
    max-width: 400px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease 1s, transform 0.8s ease 1s;
}

.hero-desc.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section titles */
.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--charcoal);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-body {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--warm-gray);
    max-width: 520px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section-body.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight {
    color: var(--charcoal);
    font-weight: 600;
    border-bottom: 2px solid var(--peach);
}

/* About section */
.about-section {
    padding-bottom: 80px;
}

/* Marble veining lines */
.marble-line {
    margin-top: 32px;
    height: 30px;
}

.marble-line svg {
    width: 100%;
    height: 100%;
}

/* Work section */
.work-section {
    padding-bottom: 80px;
}

.work-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-card {
    background-color: var(--light-cream);
    border: 1px solid var(--sand);
    padding: 28px;
    position: relative;
    cursor: default;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.work-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-card:hover {
    box-shadow: 0 4px 16px rgba(58, 53, 48, 0.08);
    transform: translateY(-2px);
}

.card-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--sage);
    margin-bottom: 10px;
}

.card-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.card-body {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* Philosophy section */
.philosophy-section {
    padding-bottom: 80px;
}

.philosophy-quote {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--charcoal);
    border-left: 3px solid var(--sage);
    padding-left: 24px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.philosophy-quote.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Contact section */
.contact-section {
    padding-bottom: 60px;
}

/* Margin column */
.margin-column {
    padding: 160px 40px 80px 40px;
    position: relative;
}

.margin-note {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.margin-note.visible {
    opacity: 1;
    transform: translateX(0);
}

.note-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--peach);
    margin-bottom: 8px;
}

.note-text {
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--warm-gray);
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--warm-gray);
}

/* Colophon */
.colophon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 24px;
    border-top: 1px solid var(--sand);
    position: relative;
    z-index: 1;
}

.colophon-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--warm-gray);
}

.colophon-timestamp {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 300;
    color: var(--sand);
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .page-grid {
        grid-template-columns: 1fr;
    }
    .content-column {
        padding: 60px 24px 80px;
    }
    .margin-column {
        padding: 0 24px 60px;
    }
    .margin-note {
        margin-bottom: 40px;
    }
    .hero-name {
        font-size: 48px;
    }
}
