/* yongjoon.xyz - Fairycore split-screen portfolio */

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

:root {
    --glade-bg: #1a2040;
    --grid-bg: #101830;
    --deep-bg: #141830;
    --lavender: #c0a8e0;
    --soft-blue: #a0b0c8;
    --cream: #e0d4c0;
    --sage: #8aaa7a;
    --ice-blue: #c0d8f0;
    --steel: #a0b8d0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-bg);
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

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

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(192, 216, 240, 0.3), transparent 70%);
    border: 1px solid rgba(192, 216, 240, 0.15);
    pointer-events: none;
}

/* Central membrane */
.membrane {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

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

/* Split screen */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Panels */
.panel {
    min-height: 100vh;
    position: relative;
}

.glade-panel {
    background-color: var(--glade-bg);
}

.grid-panel {
    background-color: var(--grid-bg);
}

.panel-content {
    padding: 80px 60px;
    position: relative;
    z-index: 2;
}

/* Botanical decorations */
.botanical {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.botanical-1 {
    bottom: 10%;
    left: 10%;
}

.botanical-2 {
    top: 15%;
    right: 10%;
}

/* Glade sections */
.glade-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.glade-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glade-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    color: var(--lavender);
    line-height: 1.1;
    margin-bottom: 12px;
}

.glade-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 300;
    color: var(--sage);
    letter-spacing: 0.08em;
}

.glade-heading {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 16px;
}

.glade-text {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--soft-blue);
    max-width: 400px;
}

.glade-quote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--lavender);
    border-left: 2px solid var(--sage);
    padding-left: 20px;
    max-width: 380px;
}

/* Grid sections */
.grid-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.grid-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-name {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ice-blue);
    line-height: 1.1;
    margin-bottom: 8px;
}

.grid-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 300;
    color: var(--steel);
    letter-spacing: 0.05em;
}

.grid-heading {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ice-blue);
    margin-bottom: 24px;
}

.grid-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(160, 184, 208, 0.15);
}

.grid-index {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    color: var(--lavender);
    letter-spacing: 0.05em;
    min-width: 24px;
    padding-top: 4px;
}

.grid-item-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
}

.grid-item-desc {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--steel);
    line-height: 1.6;
}

.grid-mono {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 300;
    color: var(--steel);
    letter-spacing: 0.03em;
    line-height: 1.8;
}

/* Colophon */
.colophon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 24px;
    background-color: var(--grid-bg);
    border-top: 1px solid rgba(160, 184, 208, 0.1);
    position: relative;
    z-index: 1;
}

.colophon-domain {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--steel);
}

.colophon-timestamp {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 300;
    color: rgba(160, 184, 208, 0.3);
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .split-screen {
        grid-template-columns: 1fr;
    }
    .membrane {
        display: none;
    }
    .panel-content {
        padding: 60px 24px;
    }
    .glade-hero,
    .grid-hero {
        min-height: 40vh;
    }
}
