/* ===========================================
   vtubermanager.com
   Avant-garde VTuber portfolio
   Broken-grid, sepia-nostalgic, parallax
   =========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: #6A5040;
    background-color: #F5ECD8;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Palette Variables --- */
:root {
    --aged-cream: #F5ECD8;
    --deep-sepia: #2A2018;
    --warm-brown: #6A5040;
    --faded-rose: #C8988A;
    --sepia-gold: #B8A070;
    --soft-ivory: #FFF8EC;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #2A2018;
}

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

.parallax-bg {
    z-index: 1;
}

.parallax-mid {
    z-index: 2;
}

.content-layer {
    position: relative;
    z-index: 3;
}

/* --- Background Shapes (0.3x parallax) --- */
.bg-shape {
    position: absolute;
    opacity: 0.08;
}

.bg-shape-1 {
    width: 320px;
    height: 320px;
    border-radius: 72% 28% 63% 37% / 45% 62% 38% 55%;
    background: #C8988A;
    top: 5%;
    left: -5%;
    transform: rotate(15deg);
}

.bg-shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #B8A070;
    top: 25%;
    right: 10%;
    transform: rotate(-8deg);
}

.bg-shape-3 {
    width: 150px;
    height: 400px;
    border-radius: 12px;
    background: #6A5040;
    top: 45%;
    left: 15%;
    transform: rotate(25deg);
}

.bg-shape-4 {
    width: 250px;
    height: 250px;
    border-radius: 38% 62% 52% 48% / 60% 35% 65% 40%;
    background: #C8988A;
    top: 70%;
    right: -3%;
    transform: rotate(-12deg);
}

.bg-shape-5 {
    width: 180px;
    height: 180px;
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    background: #B8A070;
    top: 110%;
    left: 40%;
    transform: rotate(30deg);
}

.bg-shape-6 {
    width: 280px;
    height: 160px;
    border-radius: 20px;
    background: #6A5040;
    top: 150%;
    right: 20%;
    transform: rotate(-5deg);
}

.bg-shape-7 {
    width: 220px;
    height: 220px;
    border-radius: 62% 38% 45% 55% / 50% 65% 35% 50%;
    background: #C8988A;
    top: 200%;
    left: 5%;
    transform: rotate(18deg);
}

/* --- Midground Shapes (0.6x parallax) --- */
.mid-shape {
    position: absolute;
    opacity: 0.05;
}

.mid-shape-1 {
    width: 100px;
    height: 100px;
    border: 2px solid #B8A070;
    border-radius: 50%;
    top: 15%;
    right: 25%;
    background: transparent;
    opacity: 0.12;
}

.mid-shape-2 {
    width: 60px;
    height: 200px;
    border-left: 2px solid #C8988A;
    top: 40%;
    left: 30%;
    opacity: 0.1;
}

.mid-shape-3 {
    width: 140px;
    height: 140px;
    border: 2px solid #6A5040;
    border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
    top: 65%;
    right: 15%;
    opacity: 0.08;
    transform: rotate(12deg);
}

.mid-shape-4 {
    width: 80px;
    height: 80px;
    border: 2px solid #B8A070;
    top: 120%;
    left: 55%;
    transform: rotate(45deg);
    opacity: 0.1;
}

.mid-shape-5 {
    width: 120px;
    height: 3px;
    background: #C8988A;
    top: 160%;
    left: 20%;
    transform: rotate(-8deg);
    opacity: 0.15;
}

/* --- Section Base --- */
.section {
    position: relative;
    min-height: 100vh;
    padding: 80px 40px;
    overflow: visible;
}

/* ===========================================
   SECTION 1: HERO
   =========================================== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    position: relative;
}

.hero-silhouette {
    position: absolute;
    width: 340px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%) rotate(-3deg);
    border-radius: 45% 55% 62% 38% / 52% 38% 62% 48%;
    background: linear-gradient(135deg, #C8988A 0%, #B8A070 50%, #6A5040 100%);
    opacity: 0.15;
    z-index: 1;
}

.hero-text-block {
    position: relative;
    z-index: 2;
    transform: rotate(2deg) translateX(-8%);
}

.hero-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: #2A2018;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #B8A070;
    margin-top: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: translateX(10%);
}

/* Hero Floating Elements */
.hero-floating {
    position: absolute;
    z-index: 0;
}

.hero-float-1 {
    width: 60px;
    height: 60px;
    border: 2px solid #C8988A;
    border-radius: 50%;
    top: 18%;
    right: 15%;
    opacity: 0.25;
}

.hero-float-2 {
    width: 30px;
    height: 120px;
    border-left: 2px solid #B8A070;
    bottom: 20%;
    left: 12%;
    opacity: 0.2;
    transform: rotate(8deg);
}

.hero-float-3 {
    width: 80px;
    height: 80px;
    background: #FFF8EC;
    border-radius: 35% 65% 50% 50% / 55% 45% 55% 45%;
    bottom: 25%;
    right: 22%;
    opacity: 0.3;
    transform: rotate(-6deg);
}

.hero-accent-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: #C8988A;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    opacity: 0.3;
}

/* ===========================================
   SECTION 2: BROKEN OVERLAP
   =========================================== */
.overlap-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px;
}

.overlap-shape {
    position: absolute;
    width: 55%;
    height: 70%;
    top: 15%;
    right: 0;
    background: linear-gradient(160deg, #C8988A 0%, #B8A070 60%, transparent 100%);
    opacity: 0.1;
    border-radius: 50% 0 0 30% / 40% 0 0 60%;
    z-index: 0;
}

.overlap-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    margin-left: 8%;
    transform: rotate(-1deg);
    /* Content overlaps the shape by ~25% */
    margin-right: -25%;
}

.overlap-heading {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #2A2018;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.overlap-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6A5040;
    max-width: 480px;
}

.overlap-float-1 {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #B8A070;
    transform: rotate(45deg);
    top: 20%;
    left: 60%;
    opacity: 0.2;
    z-index: 1;
}

.overlap-float-2 {
    position: absolute;
    width: 100px;
    height: 4px;
    background: #C8988A;
    bottom: 18%;
    right: 10%;
    opacity: 0.25;
    transform: rotate(5deg);
    z-index: 1;
}

.overlap-accent {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #C8988A;
    border-radius: 50%;
    top: 30%;
    right: 30%;
    opacity: 0.15;
    z-index: 1;
}

/* ===========================================
   SECTION 3: ABSTRACT COMPOSITION
   =========================================== */
.abstract-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 40px;
    overflow: visible;
}

.abstract-composition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.abstract-form {
    position: absolute;
}

.abstract-form-1 {
    width: 300px;
    height: 300px;
    border-radius: 58% 42% 65% 35% / 40% 55% 45% 60%;
    background: #C8988A;
    opacity: 0.08;
    top: 5%;
    right: -5%;
    transform: rotate(20deg);
}

.abstract-form-2 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #B8A070;
    opacity: 0.12;
    top: 30%;
    left: 5%;
    background: transparent;
}

.abstract-form-3 {
    width: 100px;
    height: 250px;
    border-radius: 10px;
    background: #6A5040;
    opacity: 0.05;
    bottom: 10%;
    right: 15%;
    transform: rotate(-15deg);
}

.abstract-form-4 {
    width: 200px;
    height: 200px;
    border-radius: 35% 65% 45% 55% / 60% 40% 60% 40%;
    background: #B8A070;
    opacity: 0.06;
    bottom: 20%;
    left: -3%;
}

.abstract-form-5 {
    width: 150px;
    height: 3px;
    background: #C8988A;
    opacity: 0.2;
    top: 55%;
    left: 50%;
    transform: rotate(-5deg);
}

.abstract-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    transform: translateX(5%);
}

.abstract-heading {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #2A2018;
    margin-bottom: 60px;
    transform: rotate(1deg);
    display: inline-block;
}

.abstract-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #C8988A;
    margin-top: 12px;
    transform: translateX(10px);
}

.abstract-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    max-width: 700px;
}

.talent-card {
    position: relative;
    padding: 30px 20px;
    background: #FFF8EC;
    transform: rotate(-0.5deg);
    transition: transform 0.4s ease;
}

.talent-card:nth-child(2) {
    transform: rotate(1deg) translateY(20px);
}

.talent-card:nth-child(3) {
    transform: rotate(0.5deg) translateX(-10px);
}

.talent-card:nth-child(4) {
    transform: rotate(-1.5deg) translateY(-10px);
}

.talent-silhouette {
    width: 80px;
    height: 100px;
    margin-bottom: 16px;
}

.talent-sil-1 {
    border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
    background: linear-gradient(135deg, #C8988A, #B8A070);
    opacity: 0.35;
}

.talent-sil-2 {
    border-radius: 40% 60% 55% 45% / 50% 60% 40% 50%;
    background: linear-gradient(135deg, #B8A070, #6A5040);
    opacity: 0.3;
}

.talent-sil-3 {
    border-radius: 55% 45% 48% 52% / 45% 55% 45% 55%;
    background: linear-gradient(135deg, #6A5040, #C8988A);
    opacity: 0.3;
}

.talent-sil-4 {
    border-radius: 45% 55% 60% 40% / 60% 40% 60% 40%;
    background: linear-gradient(135deg, #C8988A, #6A5040);
    opacity: 0.35;
}

.talent-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #2A2018;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.talent-genre {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #B8A070;
    text-transform: lowercase;
    letter-spacing: 0.08em;
}

.abstract-float-1 {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #C8988A;
    border-radius: 50%;
    top: 15%;
    right: 8%;
    opacity: 0.15;
    z-index: 1;
}

.abstract-float-2 {
    position: absolute;
    width: 25px;
    height: 80px;
    border-right: 2px solid #B8A070;
    bottom: 10%;
    left: 8%;
    opacity: 0.15;
    transform: rotate(-5deg);
    z-index: 1;
}

/* ===========================================
   SECTION 4: CLOSING
   =========================================== */
.closing-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.closing-composition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.closing-shape-1 {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 55% 45% 50% 50% / 48% 52% 48% 52%;
    background: #C8988A;
    opacity: 0.07;
    top: 10%;
    left: 10%;
    transform: rotate(10deg);
}

.closing-shape-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #B8A070;
    opacity: 0.1;
    bottom: 20%;
    right: 15%;
}

.closing-shape-3 {
    position: absolute;
    width: 120px;
    height: 300px;
    border-radius: 15px;
    background: #6A5040;
    opacity: 0.04;
    top: 25%;
    right: 30%;
    transform: rotate(-12deg);
}

.closing-content {
    position: relative;
    z-index: 2;
    text-align: left;
    transform: translateX(-10%);
}

.closing-domain {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2A2018;
    letter-spacing: -0.01em;
    transform: rotate(-1deg);
    display: inline-block;
}

.closing-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #B8A070;
    margin-top: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: translateX(8%) rotate(0.5deg);
}

.closing-float-1 {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 2px solid #C8988A;
    border-radius: 50%;
    top: 25%;
    right: 20%;
    opacity: 0.2;
    z-index: 1;
}

.closing-float-2 {
    position: absolute;
    width: 70px;
    height: 3px;
    background: #B8A070;
    bottom: 30%;
    left: 15%;
    opacity: 0.2;
    transform: rotate(3deg);
    z-index: 1;
}

.closing-float-3 {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #FFF8EC;
    border-radius: 50%;
    top: 40%;
    left: 25%;
    opacity: 0.4;
    z-index: 1;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .hero-silhouette {
        width: 220px;
        height: 280px;
    }

    .hero-text-block {
        transform: rotate(2deg) translateX(-4%);
    }

    .overlap-content {
        margin-left: 5%;
        margin-right: 0;
        max-width: 90%;
    }

    .abstract-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .abstract-content {
        transform: translateX(0);
    }

    .closing-content {
        transform: translateX(0);
        text-align: center;
    }

    .bg-shape,
    .mid-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }

    .overlap-heading {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .abstract-heading {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .talent-card {
        padding: 20px 16px;
    }
}
