/* monopole.studio - Pop-Art Brutalist Studio */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #1a1a1a;
    font-family: 'Work Sans', sans-serif;
    color: #f0f0f0;
    overflow-x: hidden;
}

/* Navigation */
#topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
    border-bottom: 2px solid #333333;
}

.monogram {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #ff3366;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #c8c0b8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ff3366;
}

/* Section 1: Entrance */
.section-entrance {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 48px;
}

.stripe-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #1a1a1a 0,
        #1a1a1a 20px,
        #222222 20px,
        #222222 40px
    );
    z-index: 0;
}

#studio-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 12vw, 10rem);
    color: #ff3366;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 0.9;
    transform: rotate(-5deg);
    position: relative;
    z-index: 1;
    text-align: center;
    white-space: nowrap;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section 2: Pinboard */
.section-pinboard {
    position: relative;
    min-height: 250vh;
    padding: 80px 5vw;
    background: #222222;
}

.pinboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.card {
    padding: 30px;
    border: 4px solid #1a1a1a;
    box-shadow: 6px 6px 0px #000;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.slide-left {
    transform: translateX(-60px) rotate(var(--rot, 0deg));
}

.card.slide-right {
    transform: translateX(60px) rotate(var(--rot, 0deg));
}

.card.revealed {
    opacity: 1;
    transform: rotate(var(--rot, 0deg));
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 12px;
}

.card p {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    line-height: 1.6;
    color: inherit;
}

/* Light text on dark backgrounds */
.card-6 p,
.card-3 p {
    color: #e8e8e8;
}

/* Card Colors */
.card-1 {
    background: #ffcc00;
    color: #1a1a1a;
}

.card-2 {
    background: #f0f0f0;
    color: #1a1a1a;
    margin-top: 60px;
}

.card-3 {
    background: #ff3366;
    color: #f0f0f0;
    margin-top: -30px;
}

.card-4 {
    background: #00ccff;
    color: #1a1a1a;
    margin-top: 40px;
}

.card-5 {
    background: #c8c0b8;
    color: #333333;
    margin-top: -20px;
}

.card-6 {
    background: #1a1a1a;
    color: #00ff88;
    border-color: #00ff88;
    margin-top: 50px;
}

/* Section 3: Workshop */
.section-workshop {
    position: relative;
    min-height: 100vh;
    background: #1a1a1a;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
    padding: 120px 10vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshop-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(#333333 1px, transparent 1px),
        linear-gradient(90deg, #333333 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.3;
    pointer-events: none;
}

.workshop-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.tech-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    color: #00ff88;
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
}

.tech-line .cursor {
    animation: cursorBlink 0.8s step-end infinite;
    display: none;
}

.tech-line.typing .cursor {
    display: inline;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Section 4: Studio Wall */
.section-wall {
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

.concrete-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(51, 51, 51, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(51, 51, 51, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(34, 34, 34, 0.6) 0%, transparent 60%),
        linear-gradient(180deg, #222222, #1a1a1a);
    z-index: 0;
}

.manifesto-text {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #ff3366;
    position: relative;
    z-index: 1;
    text-shadow:
        2px 2px 4px rgba(255, 51, 102, 0.4),
        -1px -1px 3px rgba(255, 51, 102, 0.2),
        3px 0 8px rgba(255, 51, 102, 0.3),
        0 3px 6px rgba(255, 51, 102, 0.2);
    margin-bottom: 30px;
    text-align: center;
}

.studio-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 8vw, 6rem);
    color: #333333;
    position: relative;
    z-index: 1;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .pinboard-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-2, .card-3, .card-4, .card-5, .card-6 {
        margin-top: 0;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    .section-workshop {
        padding: 100px 5vw;
    }

    .tech-line {
        font-size: 0.65rem;
        white-space: normal;
    }
}
