/* alth.ing - Watercolor Sketchbook Design */
/* Palette:
   Paper White:        #FFF8F0
   Washed Cream:       #F5EDE0
   Dried Lavender:     #7B6B8A
   Faded Rose:         #C4898A
   Dusty Sage:         #8A9E8A
   Diluted Peach:      #E8C4A8
   Watercolor Blue:    #9BB5C9
   Sketchbook Charcoal:#4A4453
   Deep Plum:          #3D2E4A
   Rinse Water Pink:   #E8D5D8
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Lora', Georgia, serif;
    background-color: #FFF8F0;
    color: #4A4453;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.75;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
}

/* Paper texture overlay on body */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* SVG filter container - hidden */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ========== TYPOGRAPHY ========== */
.hero-title, .closing-title {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(4rem, 14vw, 10rem);
    color: #3D2E4A;
    line-height: 1.2;
    letter-spacing: normal;
    text-shadow: 2px 2px 8px rgba(123,107,138,0.3);
}

.hero-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8A9E8A;
    margin-top: 0.5rem;
}

.section-heading {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: #7B6B8A;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.canvas-heading {
    color: #C4898A;
}

.body-text {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.75;
    color: #4A4453;
    margin-bottom: 1.2rem;
}

.body-text:last-child {
    margin-bottom: 0;
}

.pull-quote {
    font-family: 'Caveat', cursive;
    font-weight: 500;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #C4898A;
    line-height: 1.4;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(196,137,138,0.3);
    font-style: normal;
}

.study-title {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: #7B6B8A;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.swatch-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4A4453;
    display: block;
    margin-top: 0.8rem;
}

.swatch-desc {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: #7B6B8A;
    line-height: 1.6;
    margin-top: 0.4rem;
}

a {
    color: #9BB5C9;
    text-decoration: underline wavy;
    text-decoration-color: #C4898A;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease, color 0.3s ease;
}

a:hover {
    color: #7B6B8A;
    text-decoration-color: #9BB5C9;
}

/* ========== MODULE BASE ========== */
.module {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 32px;
    background: rgba(245,237,224,0.6);
    box-shadow:
        0 0 0 2px rgba(183,156,201,0.15),
        0 8px 32px rgba(183,156,201,0.08),
        inset 0 0 40px rgba(255,250,245,0.5);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    filter: url(#watercolor-edge);
    pointer-events: none;
    opacity: 0.5;
}

.module:hover {
    box-shadow:
        0 12px 48px rgba(123,107,138,0.15),
        inset 0 0 60px rgba(255,248,240,0.6);
    transform: translateY(-2px);
}

.module-watercolor {
    background: linear-gradient(
        135deg,
        rgba(245,237,224,0.7) 0%,
        rgba(255,248,240,0.8) 40%,
        rgba(232,213,216,0.3) 100%
    );
}

/* ========== SECTION 1: OPENING WASH ========== */
#opening-wash {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wash-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 500px at 20% 30%, rgba(123,107,138,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 600px at 75% 60%, rgba(196,137,138,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 550px 450px at 50% 20%, rgba(155,181,201,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 480px 520px at 30% 80%, rgba(232,196,168,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 520px 480px at 80% 25%, rgba(138,158,138,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 600px 600px at 60% 50%, rgba(232,213,216,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 10% 60%, rgba(196,137,138,0.08) 0%, transparent 70%);
    background-color: #FFF8F0;
    animation: washDrift 50s ease-in-out infinite alternate;
}

.wash-grain {
    position: absolute;
    inset: 0;
    filter: url(#watercolor-grain);
    opacity: 0.15;
    background: #FFF8F0;
}

@keyframes washDrift {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%, 100% 0%, 50% 50%, 0% 50%;
    }
    50% {
        background-position: 10% 5%, 90% 95%, 55% 10%, 5% 90%, 95% 5%, 45% 55%, 10% 45%;
    }
    100% {
        background-position: 5% 10%, 95% 90%, 45% 5%, 10% 95%, 90% 10%, 55% 45%, 5% 55%;
    }
}

/* Organic blobs */
.blob {
    position: absolute;
    mix-blend-mode: multiply;
    opacity: 0;
    will-change: transform, border-radius;
}

.blob-a {
    width: 320px;
    height: 280px;
    background: radial-gradient(ellipse at 40% 40%, rgba(123,107,138,0.22) 0%, rgba(123,107,138,0.05) 70%, transparent 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 15%;
    left: 8%;
    animation: blobDriftA 25s ease-in-out infinite alternate, blobMorphA 20s ease-in-out infinite alternate;
}

.blob-b {
    width: 260px;
    height: 300px;
    background: radial-gradient(ellipse at 60% 50%, rgba(196,137,138,0.20) 0%, rgba(196,137,138,0.04) 70%, transparent 100%);
    border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
    top: 20%;
    right: 10%;
    animation: blobDriftB 18s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate, blobMorphB 28s ease-in-out infinite alternate;
}

.blob-c {
    width: 240px;
    height: 240px;
    background: radial-gradient(ellipse at 50% 50%, rgba(155,181,201,0.18) 0%, rgba(155,181,201,0.03) 70%, transparent 100%);
    border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
    bottom: 20%;
    left: 15%;
    animation: blobDriftC 30s ease-in-out infinite alternate, blobMorphC 22s ease-in-out infinite alternate;
}

.blob-d {
    width: 200px;
    height: 220px;
    background: radial-gradient(ellipse at 45% 55%, rgba(232,196,168,0.20) 0%, rgba(232,196,168,0.04) 70%, transparent 100%);
    border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
    bottom: 25%;
    right: 12%;
    animation: blobDriftD 22s ease-in-out infinite alternate, blobMorphD 32s ease-in-out infinite alternate;
}

.blob-e {
    width: 180px;
    height: 180px;
    background: radial-gradient(ellipse at 50% 40%, rgba(138,158,138,0.16) 0%, rgba(138,158,138,0.03) 70%, transparent 100%);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    animation: blobDriftE 27s ease-in-out infinite alternate, blobMorphE 18s ease-in-out infinite alternate;
}

/* Counter-animate blob drifts */
@keyframes blobDriftA {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, -20px); }
}

@keyframes blobDriftB {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, 25px); }
}

@keyframes blobDriftC {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -35px); }
}

@keyframes blobDriftD {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-25px, -15px); }
}

@keyframes blobDriftE {
    0% { transform: translateX(-50%) translate(0, 0); }
    100% { transform: translateX(-50%) translate(15px, 20px); }
}

/* Blob shape morphing */
@keyframes blobMorphA {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

@keyframes blobMorphB {
    0% { border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%; }
    100% { border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%; }
}

@keyframes blobMorphC {
    0% { border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; }
    100% { border-radius: 30% 70% 60% 40% / 40% 60% 40% 60%; }
}

@keyframes blobMorphD {
    0% { border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 40% 60% 50% 50%; }
}

@keyframes blobMorphE {
    0% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    100% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0.6;
    animation: scrollHintPulse 3s ease-in-out infinite;
}

.scroll-hint-text {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8A9E8A;
}

.scroll-hint-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #8A9E8A, transparent);
}

@keyframes scrollHintPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* ========== SECTION 2: SKETCHBOOK SPREAD ========== */
#sketchbook-spread {
    position: relative;
    min-height: 80vh;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        #FFF8F0 0%,
        rgba(232,213,216,0.15) 50%,
        #FFF8F0 100%
    );
}

.spread-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1rem, 3vw, 2.5rem);
    max-width: 1100px;
    width: 100%;
    align-items: start;
}

.spread-left {
    min-height: 360px;
    border-radius: 36px 28px 44px 24px;
    background: linear-gradient(
        155deg,
        rgba(245,237,224,0.75) 0%,
        rgba(255,248,240,0.85) 35%,
        rgba(232,196,168,0.15) 100%
    );
}

.spread-right {
    min-height: 280px;
    margin-top: 3rem;
    border-radius: 28px 40px 24px 36px;
    background: linear-gradient(
        200deg,
        rgba(245,237,224,0.7) 0%,
        rgba(255,248,240,0.8) 40%,
        rgba(155,181,201,0.12) 100%
    );
}

/* ========== SECTION 3: PALETTE ROW ========== */
#palette-row {
    position: relative;
    min-height: 80vh;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        #FFF8F0 0%,
        rgba(245,237,224,0.4) 50%,
        #FFF8F0 100%
    );
}

.palette-container {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.palette-swatch {
    flex: 1 1 160px;
    max-width: 200px;
    padding: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    border-radius: 24px;
    background: rgba(255,248,240,0.7);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.palette-swatch:hover {
    transform: translateY(-4px) rotate(-1deg);
}

.swatch-color {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
    position: relative;
    filter: blur(0.5px);
}

.swatch-color::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    background: inherit;
    opacity: 0.2;
    filter: blur(12px);
}

.swatch-lavender .swatch-color {
    background: radial-gradient(ellipse at 40% 40%, rgba(123,107,138,0.85) 0%, rgba(123,107,138,0.4) 70%);
}

.swatch-rose .swatch-color {
    background: radial-gradient(ellipse at 40% 40%, rgba(196,137,138,0.85) 0%, rgba(196,137,138,0.4) 70%);
}

.swatch-sage .swatch-color {
    background: radial-gradient(ellipse at 40% 40%, rgba(138,158,138,0.85) 0%, rgba(138,158,138,0.4) 70%);
}

.swatch-peach .swatch-color {
    background: radial-gradient(ellipse at 40% 40%, rgba(232,196,168,0.85) 0%, rgba(232,196,168,0.4) 70%);
}

.swatch-blue .swatch-color {
    background: radial-gradient(ellipse at 40% 40%, rgba(155,181,201,0.85) 0%, rgba(155,181,201,0.4) 70%);
}

/* ========== SECTION 4: CANVAS PANEL ========== */
#canvas-panel {
    position: relative;
    min-height: 80vh;
    padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 25% 40%, rgba(123,107,138,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 600px 600px at 70% 60%, rgba(196,137,138,0.14) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 50% 30%, rgba(232,196,168,0.12) 0%, transparent 70%);
    background-color: rgba(245,237,224,0.5);
}

.canvas-blob {
    position: absolute;
    mix-blend-mode: multiply;
    filter: blur(60px);
}

.canvas-blob-1 {
    width: 400px;
    height: 350px;
    background: rgba(123,107,138,0.15);
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
    top: 10%;
    left: -5%;
    animation: canvasBlobDrift1 35s ease-in-out infinite alternate;
}

.canvas-blob-2 {
    width: 350px;
    height: 400px;
    background: rgba(196,137,138,0.12);
    border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
    bottom: 5%;
    right: -3%;
    animation: canvasBlobDrift2 28s ease-in-out infinite alternate;
}

.canvas-blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(155,181,201,0.10);
    border-radius: 45% 55% 60% 40% / 50% 50% 50% 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: canvasBlobDrift3 40s ease-in-out infinite alternate;
}

.canvas-grain {
    position: absolute;
    inset: 0;
    filter: url(#watercolor-grain);
    opacity: 0.1;
    background: #F5EDE0;
}

@keyframes canvasBlobDrift1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -20px); }
}

@keyframes canvasBlobDrift2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-20px, 15px); }
}

@keyframes canvasBlobDrift3 {
    0% { transform: translate(-50%, -50%) translate(0, 0); }
    100% { transform: translate(-50%, -50%) translate(20px, -25px); }
}

.canvas-content {
    position: relative;
    z-index: 5;
    max-width: 760px;
    width: 100%;
    border-radius: 40px;
    background: rgba(255,248,240,0.65);
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
}

.canvas-text {
    color: #3D2E4A;
}

/* ========== SECTION 5: SCATTERED STUDIES ========== */
#scattered-studies {
    position: relative;
    min-height: 80vh;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(
        180deg,
        #FFF8F0 0%,
        rgba(232,213,216,0.1) 30%,
        rgba(232,196,168,0.08) 70%,
        #FFF8F0 100%
    );
}

.scattered-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2.5rem);
    max-width: 1100px;
    margin: 0 auto;
}

.study {
    position: relative;
}

.study-1 {
    border-radius: 36px 24px 40px 28px;
    background: linear-gradient(
        140deg,
        rgba(245,237,224,0.7) 0%,
        rgba(255,248,240,0.8) 40%,
        rgba(123,107,138,0.1) 100%
    );
    grid-column: 1;
    align-self: start;
}

.study-2 {
    border-radius: 28px 40px 24px 44px;
    background: linear-gradient(
        200deg,
        rgba(245,237,224,0.7) 0%,
        rgba(255,248,240,0.8) 40%,
        rgba(196,137,138,0.1) 100%
    );
    margin-top: 2rem;
    align-self: start;
}

.study-3 {
    border-radius: 44px 28px 32px 40px;
    background: linear-gradient(
        160deg,
        rgba(245,237,224,0.7) 0%,
        rgba(255,248,240,0.8) 40%,
        rgba(138,158,138,0.12) 100%
    );
    align-self: end;
}

.study-4 {
    border-radius: 24px 44px 40px 28px;
    background: linear-gradient(
        220deg,
        rgba(245,237,224,0.7) 0%,
        rgba(255,248,240,0.8) 40%,
        rgba(155,181,201,0.12) 100%
    );
    margin-top: -1rem;
    align-self: start;
}

/* ========== CLOSING WASH ========== */
#closing-wash {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 500px 400px at 30% 50%, rgba(123,107,138,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 400px 500px at 70% 50%, rgba(196,137,138,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 450px 450px at 50% 50%, rgba(232,196,168,0.12) 0%, transparent 70%);
    background-color: #FFF8F0;
}

.closing-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.closing-blob {
    position: absolute;
    mix-blend-mode: multiply;
    filter: blur(50px);
}

.closing-blob-1 {
    width: 300px;
    height: 250px;
    background: rgba(123,107,138,0.12);
    border-radius: 50% 50% 40% 60% / 40% 60% 40% 60%;
    top: 20%;
    left: 10%;
    animation: blobDriftA 30s ease-in-out infinite alternate;
}

.closing-blob-2 {
    width: 250px;
    height: 280px;
    background: rgba(196,137,138,0.10);
    border-radius: 40% 60% 50% 50% / 50% 50% 50% 50%;
    bottom: 15%;
    right: 15%;
    animation: blobDriftB 24s ease-in-out infinite alternate;
}

.closing-blob-3 {
    width: 220px;
    height: 220px;
    background: rgba(232,196,168,0.14);
    border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobDriftC 35s ease-in-out infinite alternate;
}

.closing-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.closing-text {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #7B6B8A;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.closing-title {
    font-size: clamp(3rem, 10vw, 7rem);
    opacity: 0.4;
}

/* ========== SPLATTER DIVIDERS ========== */
.splatter {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    z-index: 20;
    pointer-events: none;
}

.splatter span {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}

/* Splatter 1 - Lavender */
.splatter-1 span:nth-child(1) { width: 8px; height: 8px; background: rgba(123,107,138,0.5); top: 20px; left: 50px; }
.splatter-1 span:nth-child(2) { width: 5px; height: 5px; background: rgba(123,107,138,0.4); top: 10px; left: 65px; }
.splatter-1 span:nth-child(3) { width: 12px; height: 12px; background: rgba(123,107,138,0.3); top: 30px; left: 40px; }
.splatter-1 span:nth-child(4) { width: 6px; height: 6px; background: rgba(123,107,138,0.45); top: 15px; left: 75px; }
.splatter-1 span:nth-child(5) { width: 4px; height: 4px; background: rgba(123,107,138,0.35); top: 35px; left: 55px; }
.splatter-1 span:nth-child(6) { width: 10px; height: 10px; background: rgba(123,107,138,0.25); top: 25px; left: 30px; }
.splatter-1 span:nth-child(7) { width: 7px; height: 7px; background: rgba(123,107,138,0.4); top: 8px; left: 45px; }
.splatter-1 span:nth-child(8) { width: 5px; height: 5px; background: rgba(123,107,138,0.3); top: 28px; left: 70px; }

/* Splatter 2 - Rose */
.splatter-2 span:nth-child(1) { width: 10px; height: 10px; background: rgba(196,137,138,0.4); top: 18px; left: 55px; }
.splatter-2 span:nth-child(2) { width: 6px; height: 6px; background: rgba(196,137,138,0.35); top: 28px; left: 42px; }
.splatter-2 span:nth-child(3) { width: 8px; height: 8px; background: rgba(196,137,138,0.45); top: 12px; left: 60px; }
.splatter-2 span:nth-child(4) { width: 4px; height: 4px; background: rgba(196,137,138,0.3); top: 32px; left: 70px; }
.splatter-2 span:nth-child(5) { width: 11px; height: 11px; background: rgba(196,137,138,0.25); top: 22px; left: 35px; }
.splatter-2 span:nth-child(6) { width: 5px; height: 5px; background: rgba(196,137,138,0.4); top: 10px; left: 50px; }
.splatter-2 span:nth-child(7) { width: 7px; height: 7px; background: rgba(196,137,138,0.35); top: 26px; left: 65px; }
.splatter-2 span:nth-child(8) { width: 9px; height: 9px; background: rgba(196,137,138,0.3); top: 15px; left: 38px; }

/* Splatter 3 - Sage */
.splatter-3 span:nth-child(1) { width: 7px; height: 7px; background: rgba(138,158,138,0.45); top: 22px; left: 48px; }
.splatter-3 span:nth-child(2) { width: 9px; height: 9px; background: rgba(138,158,138,0.35); top: 14px; left: 58px; }
.splatter-3 span:nth-child(3) { width: 5px; height: 5px; background: rgba(138,158,138,0.4); top: 30px; left: 40px; }
.splatter-3 span:nth-child(4) { width: 11px; height: 11px; background: rgba(138,158,138,0.3); top: 18px; left: 68px; }
.splatter-3 span:nth-child(5) { width: 6px; height: 6px; background: rgba(138,158,138,0.4); top: 26px; left: 52px; }
.splatter-3 span:nth-child(6) { width: 8px; height: 8px; background: rgba(138,158,138,0.25); top: 10px; left: 75px; }
.splatter-3 span:nth-child(7) { width: 4px; height: 4px; background: rgba(138,158,138,0.45); top: 34px; left: 62px; }
.splatter-3 span:nth-child(8) { width: 10px; height: 10px; background: rgba(138,158,138,0.3); top: 20px; left: 32px; }

/* ========== SCROLL ANIMATIONS ========== */
.module[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.module[data-animate="left"] {
    transform: translateX(-30px);
}

.module[data-animate="right"] {
    transform: translateX(30px);
}

.module[data-animate="fade"] {
    transform: translateY(20px);
}

.module.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

/* Splatter animation */
.splatter.animate-in span {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.splatter span {
    transition: opacity 0.5s ease;
}

/* Blob visibility - controlled by JS */
.blob.visible {
    opacity: 1;
    transition: opacity 1.5s ease;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .spread-container {
        grid-template-columns: 1fr;
    }

    .spread-right {
        margin-top: 0;
    }

    .palette-container {
        flex-direction: column;
        align-items: center;
    }

    .palette-swatch {
        max-width: 280px;
        width: 100%;
    }

    .scattered-container {
        grid-template-columns: 1fr;
    }

    .study-2 {
        margin-top: 0;
    }

    .study-4 {
        margin-top: 0;
    }

    .blob {
        display: none;
    }

    .canvas-blob {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .hero-title, .closing-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .section-heading {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }
}
