/* ggaji.com - Pastel Cyberpunk Tutorial Zine
   Compliance tokens from DESIGN.md: (Google They're positioned `#1a1b2e` floating faint effect here: (60px Interaction IntersectionObserver` `threshold: 0.15` `rootMargin: '-40px'`.
*/

:root {
    /* Color Palette - Pastel Cyberpunk */
    --color-lavender: #eee5f8;
    --color-purple: #c8b6ff;
    --color-cyan: #a8dadc;
    --color-sky: #bde0fe;
    --color-light-gray: #e8e8f0;
    --color-cream: #fdf6f0;
    --color-blush-pink: #ffafcc;
    --color-navy: #2b2d42;
    --color-charcoal: #1a1b2e;
    --color-bubblegum-pink: #ffc8dd;

    /* Typography */
    --font-display: 'Baloo 2', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Spacing */
    --spacing-unit: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-lavender);
    color: var(--color-navy);
    line-height: 1.72;
    overflow-x: hidden;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.nav-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.6;
    animation: navPulse 3s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translate(8px, -50%);
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    background: rgba(26, 27, 46, 0.9);
    color: var(--color-light-gray);
    font-family: var(--font-body);
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid currentColor;
}

.nav-dot:hover::before {
    opacity: 1;
    transform: translate(0, -50%);
}

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

.nav-dot[data-section="act-1"] {
    background-color: var(--color-bubblegum-pink);
}

.nav-dot[data-section="act-2"] {
    background-color: var(--color-sky);
}

.nav-dot[data-section="act-3"] {
    background-color: var(--color-purple);
}

.nav-dot[data-section="act-4"] {
    background-color: var(--color-blush-pink);
}

.nav-dot[data-section="act-5"] {
    background-color: var(--color-bubblegum-pink);
}

.nav-dot.active {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 16px currentColor;
}

.nav-dot:hover {
    opacity: 1;
}

/* Acts - Narrative Sections */
.act {
    min-height: 100vh;
    position: relative;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Act 1: Boot Sequence */
#act-1 {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-navy) 100%);
    height: 120vh;
    color: var(--color-bubblegum-pink);
}

#act-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 200, 221, 0.02) 0px,
        rgba(255, 200, 221, 0.02) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.cursor-follow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 80px at var(--mx, 50%) var(--my, 50%), rgba(200, 182, 255, 0.12), transparent);
    pointer-events: none;
    z-index: 0;
}

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

.rain {
    position: absolute;
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(189, 224, 254, 0.6), transparent);
    animation: rainFall var(--duration, 10s) linear var(--delay, 0s) infinite;
    left: var(--left, 50%);
    top: -100px;
}

.rain-streaks.intensified .rain {
    height: 80px;
    opacity: 0.8;
}

@keyframes rainFall {
    to {
        transform: translateY(150vh);
    }
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 200px;
    background:
        radial-gradient(circle at 18% 48%, #ffc8dd 0 2px, transparent 3px),
        radial-gradient(circle at 42% 62%, #ffc8dd 0 2px, transparent 3px),
        radial-gradient(circle at 72% 50%, #ffc8dd 0 2px, transparent 3px),
        linear-gradient(to top, rgba(43, 45, 66, 0.28) 0 38%, transparent 38%),
        repeating-linear-gradient(90deg, transparent 0 20px, rgba(43, 45, 66, 0.38) 20px 58px, transparent 58px 72px);
    clip-path: polygon(0 100%, 0 65%, 6% 65%, 6% 46%, 10% 46%, 10% 68%, 16% 68%, 16% 35%, 22% 35%, 22% 64%, 29% 64%, 29% 50%, 34% 50%, 34% 72%, 43% 72%, 43% 30%, 49% 30%, 49% 62%, 56% 62%, 56% 42%, 64% 42%, 64% 70%, 71% 70%, 71% 28%, 76% 28%, 76% 58%, 84% 58%, 84% 44%, 91% 44%, 91% 70%, 100% 70%, 100% 100%);
    z-index: 3;
}

.ggaji-wordmark {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2em;
}

.char {
    display: inline-block;
    animation: charFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.char:nth-child(1) {
    animation-delay: 0s;
    color: var(--color-bubblegum-pink);
}

.char:nth-child(2) {
    animation-delay: 0.1s;
    color: var(--color-sky);
}

.char:nth-child(3) {
    animation-delay: 0.2s;
    color: var(--color-purple);
}

.char:nth-child(4) {
    animation-delay: 0.3s;
    color: var(--color-blush-pink);
}

.char:nth-child(5) {
    animation-delay: 0.4s;
    color: var(--color-cyan);
}

@keyframes charFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--color-cyan);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    animation: fadeIn 1s ease-out 0.6s both;
    text-shadow: 0 0 10px rgba(168, 218, 220, 0.3);
}

.cursor-blink {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--color-cyan);
    animation: blink 1s infinite;
    margin-left: 4px;
    text-shadow: 0 0 10px rgba(168, 218, 220, 0.5);
}

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

.terminal-message {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--color-cyan);
    animation: fadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(168, 218, 220, 0.2);
}

@keyframes typeOut {
    from {
        width: 0;
        overflow: hidden;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.city-fragments {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.city-fragment {
    position: absolute;
    background: linear-gradient(135deg, var(--color-blush-pink), var(--color-cyan));
    opacity: 0.08;
    transform: skewX(-8deg);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 73% 92%, 45% 87%, 18% 95%, 0 88%);
}

.city-fragment span {
    position: absolute;
    bottom: 0;
    width: 22%;
    background: rgba(43, 45, 66, 0.32);
}

.city-fragment span:nth-child(1) { left: 10%; height: 45%; }
.city-fragment span:nth-child(2) { left: 42%; height: 70%; }
.city-fragment span:nth-child(3) { right: 8%; height: 55%; }

.city-1 {
    width: 200px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.city-2 {
    width: 150px;
    height: 250px;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite 1s;
}

.city-3 {
    width: 180px;
    height: 280px;
    bottom: 10%;
    left: 50%;
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: skewX(-8deg) translateY(0px);
    }
    50% {
        transform: skewX(-8deg) translateY(-30px);
    }
}

/* Divider Strips */
.divider-strip {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.divider-pattern {
    width: 100%;
    height: 100%;
    display: block;
    animation: scrollPattern 20s linear infinite;
}

@keyframes scrollPattern {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

/* Act 2: Signal Found */
#act-2 {
    background: linear-gradient(180deg, var(--color-light-gray) 0%, var(--color-sky) 100%);
    min-height: 100vh;
}

#act-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #c8b6ff 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.halftone-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #c8b6ff 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin: 3rem auto;
    max-width: 700px;
    z-index: 10;
    position: relative;
    animation: slideInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.color-swatch::after {
    content: var(--hex);
    position: absolute;
    left: 50%;
    bottom: -1.65rem;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--color-navy);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.color-swatch:hover::after { opacity: 1; }

.color-swatch:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Act 3: Decode */
#act-3 {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-navy) 100%);
    height: 120vh;
    color: var(--color-bubblegum-pink);
}

#act-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 200, 221, 0.02) 0px,
        rgba(255, 200, 221, 0.02) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

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

.circuit-trace {
    position: absolute;
    border: 1px solid rgba(168, 218, 220, 0.3);
    opacity: 0.3;
    transition: opacity 0.6s ease, box-shadow 0.6s ease;
}

.trace-1 {
    width: 200px;
    height: 300px;
    border-right: 2px solid rgba(168, 218, 220, 0.4);
    border-bottom: 2px solid rgba(168, 218, 220, 0.4);
    top: 10%;
    left: 8%;
}

.trace-2 {
    width: 150px;
    height: 200px;
    border-left: 2px solid rgba(168, 218, 220, 0.4);
    border-bottom: 2px solid rgba(168, 218, 220, 0.4);
    top: 30%;
    right: 10%;
}

.trace-3 {
    width: 180px;
    height: 250px;
    border-right: 2px solid rgba(168, 218, 220, 0.4);
    border-top: 2px solid rgba(168, 218, 220, 0.4);
    bottom: 15%;
    left: 15%;
}

.circuit-trace.active {
    opacity: 1;
    box-shadow: 0 0 12px rgba(168, 218, 220, 0.6);
}

.city-fragments-dark {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.city-fragment-dark {
    position: absolute;
    opacity: 0.1;
}

.frag-1 {
    width: 250px;
    height: 350px;
    top: 5%;
    left: 3%;
    background: linear-gradient(135deg, var(--color-purple), var(--color-sky));
}

.frag-2 {
    width: 200px;
    height: 300px;
    bottom: 8%;
    right: 5%;
    background: linear-gradient(45deg, var(--color-blush-pink), var(--color-cyan));
}

.code-block {
    background: rgba(26, 27, 46, 0.95);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    z-index: 10;
    position: relative;
    animation: slideInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger);
}

.code-block pre {
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-cyan);
    display: block;
}

.code-keyword {
    color: var(--color-blush-pink);
}

.code-variable {
    color: var(--color-cyan);
}

.code-string {
    color: var(--color-sky);
}

/* Act 4: Transmit */
#act-4 {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-lavender) 100%);
    min-height: 100vh;
}

.collage-fragment {
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 300px;
    margin: 3rem auto;
    z-index: 10;
    animation: slideInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger);
}

.gradient-shape {
    position: absolute;
    border-radius: 8px;
    opacity: 0.8;
}

.shape-1 {
    width: 60%;
    height: 80%;
    background: linear-gradient(45deg, var(--color-blush-pink), var(--color-sky));
    top: 10%;
    left: 5%;
    transform: skewX(-12deg);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 70% 92%, 40% 88%, 15% 95%, 0 90%);
}

.shape-2 {
    width: 50%;
    height: 70%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    bottom: 5%;
    right: 10%;
    transform: skewX(8deg);
    clip-path: polygon(0 15%, 100% 10%, 100% 100%, 75% 95%, 45% 100%, 20% 92%, 0 100%);
}

.annotation-sticker {
    position: absolute;
    background: var(--color-blush-pink);
    color: var(--color-navy);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 2px solid var(--color-navy);
    transform: rotate(-3deg);
    right: -60px;
    top: 20px;
}

.note-left { left: -54px; right: auto; top: 26px; transform: rotate(2deg); }
.tip-right { right: -52px; top: auto; bottom: 18px; transform: rotate(3deg); }
.sticker-blue { background: var(--color-sky); transform: rotate(2deg); }
.sticker-violet { background: var(--color-purple); transform: rotate(-2deg); }

.mini-collage {
    position: absolute;
    width: 150px;
    height: 96px;
    right: -74px;
    bottom: -38px;
    background: linear-gradient(135deg, var(--color-bubblegum-pink), var(--color-cyan));
    opacity: 0.9;
    transform: rotate(5deg) skewX(-8deg);
    clip-path: polygon(0 0, 100% 7%, 91% 100%, 65% 92%, 39% 100%, 18% 88%, 0 96%);
    border: 2px solid rgba(43, 45, 66, 0.25);
}

.feature-article {
    max-width: 420px;
}

.feature-mid {
    align-self: center;
    margin-left: 22%;
}

.feature-low {
    align-self: flex-end;
    margin-right: 12%;
}

/* Act 5: End Transmission */
#act-5 {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 100%);
    min-height: 80vh;
    color: var(--color-bubblegum-pink);
}

#act-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 200, 221, 0.01) 0px,
        rgba(255, 200, 221, 0.01) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.final-message {
    z-index: 10;
    position: relative;
    animation: slideInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger);
    text-align: center;
}

.final-title {
    color: var(--color-bubblegum-pink);
    text-shadow: 0 0 30px rgba(255, 200, 221, 0.3);
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    z-index: 10;
    position: relative;
    animation: slideInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger);
}

.collage-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-lavender), var(--color-light-gray));
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid rgba(255, 200, 221, 0.3);
}

.collage-item:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-bubblegum-pink);
}

.final-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 190px;
    background: linear-gradient(to top, rgba(200, 182, 255, 0.16), rgba(200, 182, 255, 0.02));
    clip-path: polygon(0 100%, 0 55%, 7% 55%, 7% 34%, 13% 34%, 13% 62%, 21% 62%, 21% 24%, 29% 24%, 29% 68%, 37% 68%, 37% 45%, 44% 45%, 44% 60%, 52% 60%, 52% 28%, 59% 28%, 59% 66%, 68% 66%, 68% 38%, 74% 38%, 74% 70%, 83% 70%, 83% 30%, 90% 30%, 90% 59%, 100% 59%, 100% 100%);
    animation: skylineRise 3.4s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
    z-index: 2;
}

@keyframes skylineRise {
    from { transform: translateY(48px); opacity: 0.2; }
    to { transform: translateY(0); opacity: 1; }
}

.inner-shape {
    position: absolute;
    width: 70%;
    height: 70%;
    background: linear-gradient(45deg, var(--color-blush-pink), var(--color-cyan));
    top: 15%;
    left: 15%;
    border-radius: 4px;
    opacity: 0.9;
}

.torn-edge {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 85% 94%, 70% 89%, 50% 95%, 30% 90%, 15% 96%, 0 91%);
    border: 1px solid rgba(255, 200, 221, 0.2);
}

.transmission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 42ch;
}

.transmission-complete {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-bubblegum-pink);
    opacity: 0;
    animation: fadeInDelayed 2s ease-out 1s both;
    text-shadow: 0 0 10px rgba(255, 200, 221, 0.4);
    letter-spacing: 0.1em;
}

@keyframes fadeInDelayed {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.7;
    }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
}

@keyframes ripple {
    to { transform: scale(18); opacity: 0; }
}

/* Editorial Blocks */
.editorial-block {
    margin: 2rem auto;
    padding: 2rem;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 10;
    position: relative;
    animation: slideInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger);
    backdrop-filter: blur(10px);
}

#act-3 .editorial-block,
#act-5 .editorial-block {
    background: rgba(26, 27, 46, 0.72);
    border: 1px solid rgba(255, 200, 221, 0.22);
    box-shadow: 0 0 32px rgba(200, 182, 255, 0.12);
}

.block-left {
    margin-left: 3rem;
    align-self: flex-start;
    max-width: 500px;
}

.block-right {
    margin-right: 3rem;
    align-self: flex-end;
    max-width: 500px;
}

.block-centered {
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

#act-1 .section-title,
#act-3 .section-title,
#act-5 .section-title {
    color: var(--color-bubblegum-pink);
}

.subsection-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

#act-3 .subsection-title {
    color: var(--color-bubblegum-pink);
}

.body-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1.72;
    margin-bottom: 1rem;
    max-width: 42ch;
    letter-spacing: 0.005em;
}

#act-3 .body-text {
    color: var(--color-light-gray);
}

#act-5 .body-text {
    color: var(--color-light-gray);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-navy);
    color: var(--color-lavender);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--color-navy);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: 1.5rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.cta-button:hover {
    background: var(--color-bubblegum-pink);
    color: var(--color-navy);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--color-bubblegum-pink);
}

.cta-button:active {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-nav {
        right: 12px;
        gap: 10px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .act {
        padding: 3rem 1rem;
    }

    .editorial-block {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 90%;
    }

    .block-left,
    .block-right {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .color-palette {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }

    .collage-grid {
        grid-template-columns: 1fr;
    }

    #act-1 {
        height: auto;
    }

    #act-3 {
        height: auto;
    }

    #act-5 {
        height: auto;
    }

    .annotation-sticker {
        position: static;
        margin-top: 1rem;
    }

    .transmission-complete {
        display: none;
    }
}
