/* ============================================
   JJUGGL.com - Blobitecture Fluid Layout
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Palette */
    --deep-immersion: #0b1e2c;
    --blob-primary: #b8a9e8;
    --blob-secondary: #f4845f;
    --blob-tertiary: #7ecec1;
    --blob-accent: #f0c75e;
    --text-primary: #e8e4df;
    --text-secondary: #8fa3b0;
    --highlight: #6c63ff;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-accent: 'Inconsolata', monospace;

    /* Blob defaults */
    --blob-r1: 40%;
    --blob-r2: 60%;
    --blob-r3: 55%;
    --blob-r4: 45%;
    --blob-r5: 50%;
    --blob-r6: 65%;
    --blob-r7: 35%;
    --blob-r8: 55%;
}

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

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

body {
    background-color: var(--deep-immersion);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
.section-headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 5.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 0.6em;
}

.subsection-headline {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.4em;
}

.body-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: 0.8em;
}

.label-text {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.6em;
}

.hero-tagline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-top: 0.8em;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

/* ---------- Logotype ---------- */
.logotype {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: -0.03em;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    gap: 0.02em;
}

.logotype__letter {
    display: inline-block;
    opacity: 0;
    transform: scale(0.8);
}

.logotype__letter.revealed {
    animation: letterReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes letterReveal {
    0% { opacity: 0; transform: scale(0.8); }
    60% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

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

/* ---------- Depth Fog Layers ---------- */
.depth-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.depth-fog--far {
    background: radial-gradient(ellipse at 50% 100%, rgba(11, 30, 44, 0.0) 0%, rgba(20, 10, 50, 0.15) 100%);
    z-index: 1;
}

.depth-fog--mid {
    background: linear-gradient(180deg, transparent 0%, rgba(11, 30, 44, 0.08) 40%, rgba(11, 30, 44, 0.08) 60%, transparent 100%);
    z-index: 2;
}

.depth-fog--near {
    background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(11, 30, 44, 0.5) 100%);
    z-index: 3;
}

/* ---------- Bubble Field ---------- */
#bubble-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 60%, transparent 100%);
    pointer-events: none;
    will-change: transform;
}

.bubble::after {
    content: '';
    position: absolute;
    top: 22%;
    left: 28%;
    width: 25%;
    height: 25%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- Tension Lines SVG ---------- */
.tension-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.tension-line {
    fill: none;
    stroke: var(--text-secondary);
    stroke-opacity: 0.3;
    stroke-width: 0.7;
}

/* ---------- Navigation Blob ---------- */
.nav-blob {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: var(--blob-r1) var(--blob-r2) var(--blob-r3) var(--blob-r4);
    background: radial-gradient(circle at 40% 40%, rgba(184, 169, 232, 0.6), rgba(184, 169, 232, 0.25));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    animation: navPulse 3s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(184, 169, 232, 0.15);
}

.nav-blob:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(184, 169, 232, 0.25);
}

.nav-blob.expanded {
    animation: none;
    transform: scale(1.15);
    background: radial-gradient(circle at 40% 40%, rgba(184, 169, 232, 0.7), rgba(184, 169, 232, 0.35));
}

.nav-blob__label {
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-blob.expanded .nav-blob__label {
    opacity: 0;
}

.nav-blob__children {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-blob.expanded .nav-blob__children {
    pointer-events: all;
    opacity: 1;
}

.nav-child-blob {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%;
    background: radial-gradient(circle at 40% 40%, rgba(184, 169, 232, 0.55), rgba(184, 169, 232, 0.2));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 10px 30px rgba(184, 169, 232, 0.12);
}

.nav-blob.expanded .nav-child-blob {
    transform: translate(-50%, -50%) scale(1);
}

.nav-child-blob:hover {
    transform: translate(-50%, -50%) scale(1.08) translateY(-4px);
    box-shadow: 0 15px 40px rgba(184, 169, 232, 0.25);
    background: radial-gradient(circle at 40% 40%, rgba(184, 169, 232, 0.7), rgba(184, 169, 232, 0.35));
}

/* Nav child positions (orbital) */
.nav-blob.expanded .nav-child-blob[data-index="0"] {
    transition-delay: 0s;
    top: -60px;
    left: -80px;
}
.nav-blob.expanded .nav-child-blob[data-index="1"] {
    transition-delay: 0.05s;
    top: -90px;
    left: 20px;
}
.nav-blob.expanded .nav-child-blob[data-index="2"] {
    transition-delay: 0.1s;
    top: -30px;
    left: -120px;
}
.nav-blob.expanded .nav-child-blob[data-index="3"] {
    transition-delay: 0.15s;
    top: 40px;
    left: -100px;
}
.nav-blob.expanded .nav-child-blob[data-index="4"] {
    transition-delay: 0.2s;
    top: 70px;
    left: -20px;
}

@keyframes navPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 80px 40px;
}

.section--hero {
    min-height: 100vh;
    overflow: visible;
}

/* ---------- Hero Blob ---------- */
.hero-blob {
    width: 85vmin;
    height: 85vmin;
    max-width: 750px;
    max-height: 750px;
    border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%;
    background: radial-gradient(circle at 40% 35%, rgba(184, 169, 232, 0.5), rgba(184, 169, 232, 0.15) 70%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: heroMorph 12s ease-in-out infinite;
    transform: scale(0);
    box-shadow:
        0 15px 40px rgba(184, 169, 232, 0.1),
        inset 0 -5px 30px rgba(184, 169, 232, 0.08);
    mix-blend-mode: screen;
    will-change: transform, border-radius;
}

.hero-blob.expanded {
    animation: heroExpand 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               heroMorph 12s ease-in-out 1.5s infinite;
}

@keyframes heroExpand {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.08); opacity: 1; }
    80% { transform: scale(0.97); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes heroMorph {
    0%   { border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; }
    25%  { border-radius: 55% 45% 48% 52% / 42% 55% 45% 58%; }
    50%  { border-radius: 48% 52% 60% 40% / 58% 48% 52% 42%; }
    75%  { border-radius: 60% 40% 42% 58% / 45% 60% 40% 55%; }
    100% { border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; }
}

.hero-blob__inner {
    padding: 40px;
}

/* ---------- Satellite Blobs ---------- */
.satellite-blob {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50% 42% 58% 45% / 55% 50% 45% 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    opacity: 0;
    transform: scale(0);
    mix-blend-mode: screen;
    will-change: transform;
    z-index: 9;
}

.satellite-blob.visible {
    animation: satelliteEmerge 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.satellite-blob--1 {
    background: radial-gradient(circle at 40% 40%, rgba(244, 132, 95, 0.55), rgba(244, 132, 95, 0.15));
    top: 15%;
    left: 12%;
    animation-delay: 0s;
    box-shadow: 0 15px 40px rgba(244, 132, 95, 0.12);
}

.satellite-blob--2 {
    background: radial-gradient(circle at 40% 40%, rgba(126, 206, 193, 0.55), rgba(126, 206, 193, 0.15));
    top: 20%;
    right: 10%;
    animation-delay: 0.2s;
    box-shadow: 0 15px 40px rgba(126, 206, 193, 0.12);
}

.satellite-blob--3 {
    background: radial-gradient(circle at 40% 40%, rgba(240, 199, 94, 0.55), rgba(240, 199, 94, 0.15));
    bottom: 18%;
    left: 18%;
    animation-delay: 0.4s;
    box-shadow: 0 15px 40px rgba(240, 199, 94, 0.12);
}

.satellite-blob.visible.satellite-blob--1 {
    animation: satelliteEmerge 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               satelliteOrbit1 20s ease-in-out 1s infinite;
}
.satellite-blob.visible.satellite-blob--2 {
    animation: satelliteEmerge 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards,
               satelliteOrbit2 24s ease-in-out 1.2s infinite;
}
.satellite-blob.visible.satellite-blob--3 {
    animation: satelliteEmerge 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards,
               satelliteOrbit3 22s ease-in-out 1.4s infinite;
}

@keyframes satelliteEmerge {
    0% { opacity: 0; transform: scale(0); }
    60% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes satelliteOrbit1 {
    0%, 100% { transform: translate(0, 0) scale(1); border-radius: 50% 42% 58% 45% / 55% 50% 45% 48%; }
    25% { transform: translate(20px, -15px) scale(1.05); border-radius: 45% 55% 50% 50% / 48% 52% 50% 50%; }
    50% { transform: translate(-10px, -25px) scale(0.95); border-radius: 52% 48% 45% 55% / 50% 45% 55% 50%; }
    75% { transform: translate(-20px, 10px) scale(1.02); border-radius: 48% 52% 58% 42% / 55% 48% 42% 58%; }
}

@keyframes satelliteOrbit2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-15px, 20px) scale(1.03); }
    50% { transform: translate(25px, 10px) scale(0.97); }
    75% { transform: translate(10px, -20px) scale(1.05); }
}

@keyframes satelliteOrbit3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(18px, 12px) scale(0.98); }
    50% { transform: translate(-12px, 22px) scale(1.04); }
    75% { transform: translate(-20px, -8px) scale(0.96); }
}

/* ---------- Blob Clusters ---------- */
.blob-cluster {
    position: relative;
    width: 100%;
    max-width: 900px;
    min-height: 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.blob-cluster--left {
    justify-content: flex-start;
    padding-left: 5%;
}

.blob-cluster--right {
    justify-content: flex-end;
    padding-right: 5%;
}

.blob-cluster--center {
    justify-content: center;
}

.blob-cluster--diagonal {
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.blob-cluster--settled {
    justify-content: center;
    align-items: flex-end;
}

/* ---------- Content Blobs ---------- */
.content-blob {
    position: relative;
    padding: 50px;
    border-radius: var(--blob-r1) var(--blob-r2) var(--blob-r3) var(--blob-r4) / var(--blob-r5) var(--blob-r6) var(--blob-r7) var(--blob-r8);
    mix-blend-mode: screen;
    will-change: transform, border-radius;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    cursor: default;
    overflow: hidden;
}

.content-blob:hover {
    transform: scale(1.05);
}

.content-blob::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* Ripple effect container */
.content-blob .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.3);
    transform: scale(0);
    animation: rippleExpand 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleExpand {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Blob color variants */
.content-blob[data-blob-color="lavender"] {
    background: radial-gradient(circle at 40% 35%, rgba(184, 169, 232, 0.5), rgba(184, 169, 232, 0.12) 80%);
    box-shadow: 8px 15px 40px rgba(74, 56, 130, 0.2);
}

.content-blob[data-blob-color="coral"] {
    background: radial-gradient(circle at 40% 35%, rgba(244, 132, 95, 0.5), rgba(244, 132, 95, 0.12) 80%);
    box-shadow: 8px 15px 40px rgba(145, 55, 25, 0.2);
}

.content-blob[data-blob-color="mint"] {
    background: radial-gradient(circle at 40% 35%, rgba(126, 206, 193, 0.5), rgba(126, 206, 193, 0.12) 80%);
    box-shadow: 8px 15px 40px rgba(42, 112, 100, 0.2);
}

.content-blob[data-blob-color="amber"] {
    background: radial-gradient(circle at 40% 35%, rgba(240, 199, 94, 0.5), rgba(240, 199, 94, 0.12) 80%);
    box-shadow: 8px 15px 40px rgba(150, 115, 20, 0.2);
}

/* Blob hover shadow deepening */
.content-blob[data-blob-color="lavender"]:hover {
    box-shadow: 8px 20px 50px rgba(74, 56, 130, 0.35);
}
.content-blob[data-blob-color="coral"]:hover {
    box-shadow: 8px 20px 50px rgba(145, 55, 25, 0.35);
}
.content-blob[data-blob-color="mint"]:hover {
    box-shadow: 8px 20px 50px rgba(42, 112, 100, 0.35);
}
.content-blob[data-blob-color="amber"]:hover {
    box-shadow: 8px 20px 50px rgba(150, 115, 20, 0.35);
}

/* Blob sizes and positioning */
.content-blob--primary {
    --blob-r1: 42%;
    --blob-r2: 58%;
    --blob-r3: 52%;
    --blob-r4: 48%;
    --blob-r5: 55%;
    --blob-r6: 45%;
    --blob-r7: 50%;
    --blob-r8: 50%;
    width: min(600px, 80vw);
    min-height: 300px;
    z-index: 2;
    animation: blobMorph1 14s ease-in-out infinite;
}

.content-blob--secondary {
    --blob-r1: 55%;
    --blob-r2: 45%;
    --blob-r3: 48%;
    --blob-r4: 52%;
    --blob-r5: 42%;
    --blob-r6: 58%;
    --blob-r7: 55%;
    --blob-r8: 45%;
    width: min(550px, 75vw);
    min-height: 280px;
    z-index: 2;
    animation: blobMorph2 16s ease-in-out infinite;
}

.content-blob--accent {
    --blob-r1: 48%;
    --blob-r2: 52%;
    --blob-r3: 60%;
    --blob-r4: 40%;
    --blob-r5: 50%;
    --blob-r6: 50%;
    --blob-r7: 42%;
    --blob-r8: 58%;
    width: min(350px, 60vw);
    min-height: 180px;
    margin-top: -40px;
    margin-left: 60px;
    z-index: 3;
    animation: blobMorph3 11s ease-in-out infinite;
}

.content-blob--highlight {
    --blob-r1: 52%;
    --blob-r2: 48%;
    --blob-r3: 45%;
    --blob-r4: 55%;
    --blob-r5: 58%;
    --blob-r6: 42%;
    --blob-r7: 48%;
    --blob-r8: 52%;
    width: min(320px, 55vw);
    min-height: 160px;
    margin-top: -30px;
    margin-right: 40px;
    z-index: 3;
    animation: blobMorph1 13s ease-in-out infinite;
}

.content-blob--small {
    --blob-r1: 45%;
    --blob-r2: 55%;
    --blob-r3: 50%;
    --blob-r4: 50%;
    --blob-r5: 48%;
    --blob-r6: 52%;
    --blob-r7: 55%;
    --blob-r8: 45%;
    width: min(150px, 30vw);
    min-height: 100px;
    padding: 25px;
    margin-top: -20px;
    z-index: 4;
    animation: blobMorph2 10s ease-in-out infinite;
}

/* Work blobs */
.content-blob--work-1 {
    --blob-r1: 45%;
    --blob-r2: 55%;
    --blob-r3: 50%;
    --blob-r4: 50%;
    --blob-r5: 55%;
    --blob-r6: 45%;
    --blob-r7: 48%;
    --blob-r8: 52%;
    width: min(600px, 80vw);
    min-height: 200px;
    z-index: 2;
    animation: blobMorph1 15s ease-in-out infinite;
}

.content-blob--work-2 {
    --blob-r1: 52%;
    --blob-r2: 48%;
    --blob-r3: 55%;
    --blob-r4: 45%;
    --blob-r5: 42%;
    --blob-r6: 58%;
    --blob-r7: 52%;
    --blob-r8: 48%;
    width: min(480px, 70vw);
    min-height: 220px;
    margin-top: -30px;
    align-self: flex-start;
    margin-left: 5%;
    z-index: 3;
    animation: blobMorph2 13s ease-in-out infinite;
}

.content-blob--work-3 {
    --blob-r1: 48%;
    --blob-r2: 52%;
    --blob-r3: 42%;
    --blob-r4: 58%;
    --blob-r5: 52%;
    --blob-r6: 48%;
    --blob-r7: 58%;
    --blob-r8: 42%;
    width: min(480px, 70vw);
    min-height: 220px;
    margin-top: -20px;
    align-self: flex-end;
    margin-right: 5%;
    z-index: 3;
    animation: blobMorph3 14s ease-in-out infinite;
}

.content-blob--work-4 {
    --blob-r1: 55%;
    --blob-r2: 45%;
    --blob-r3: 52%;
    --blob-r4: 48%;
    --blob-r5: 45%;
    --blob-r6: 55%;
    --blob-r7: 42%;
    --blob-r8: 58%;
    width: min(450px, 68vw);
    min-height: 220px;
    margin-top: -25px;
    align-self: flex-start;
    margin-left: 10%;
    z-index: 3;
    animation: blobMorph1 12s ease-in-out infinite;
}

/* Footer blobs - settled, wider */
.content-blob--footer {
    --blob-r1: 35%;
    --blob-r2: 65%;
    --blob-r3: 60%;
    --blob-r4: 40%;
    --blob-r5: 30%;
    --blob-r6: 70%;
    --blob-r7: 65%;
    --blob-r8: 35%;
    width: min(650px, 85vw);
    min-height: 250px;
    z-index: 2;
    animation: blobMorphSettled 18s ease-in-out infinite;
}

.content-blob--footer-small {
    --blob-r1: 40%;
    --blob-r2: 60%;
    --blob-r3: 55%;
    --blob-r4: 45%;
    --blob-r5: 35%;
    --blob-r6: 65%;
    --blob-r7: 60%;
    --blob-r8: 40%;
    width: min(200px, 40vw);
    min-height: 80px;
    padding: 25px;
    margin-top: -20px;
    z-index: 3;
    animation: blobMorphSettled 15s ease-in-out infinite;
}

@keyframes blobMorphSettled {
    0%   { border-radius: 35% 65% 60% 40% / 30% 70% 65% 35%; }
    50%  { border-radius: 38% 62% 58% 42% / 33% 67% 62% 38%; }
    100% { border-radius: 35% 65% 60% 40% / 30% 70% 65% 35%; }
}

/* ---------- Blob Morph Animations ---------- */
@keyframes blobMorph1 {
    0%   { border-radius: 42% 58% 52% 48% / 55% 45% 50% 50%; }
    25%  { border-radius: 50% 50% 45% 55% / 48% 52% 55% 45%; }
    50%  { border-radius: 55% 45% 58% 42% / 42% 58% 48% 52%; }
    75%  { border-radius: 48% 52% 42% 58% / 55% 45% 52% 48%; }
    100% { border-radius: 42% 58% 52% 48% / 55% 45% 50% 50%; }
}

@keyframes blobMorph2 {
    0%   { border-radius: 55% 45% 48% 52% / 42% 58% 55% 45%; }
    25%  { border-radius: 48% 52% 55% 45% / 50% 50% 42% 58%; }
    50%  { border-radius: 42% 58% 42% 58% / 58% 42% 50% 50%; }
    75%  { border-radius: 52% 48% 58% 42% / 45% 55% 48% 52%; }
    100% { border-radius: 55% 45% 48% 52% / 42% 58% 55% 45%; }
}

@keyframes blobMorph3 {
    0%   { border-radius: 48% 52% 60% 40% / 50% 50% 42% 58%; }
    25%  { border-radius: 42% 58% 50% 50% / 55% 45% 50% 50%; }
    50%  { border-radius: 55% 45% 45% 55% / 42% 58% 55% 45%; }
    75%  { border-radius: 50% 50% 55% 45% / 48% 52% 42% 58%; }
    100% { border-radius: 48% 52% 60% 40% / 50% 50% 42% 58%; }
}

/* ---------- Content Blob Inner ---------- */
.content-blob__inner {
    position: relative;
    z-index: 1;
}

/* ---------- Fade Reveal ---------- */
.fade-reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Contact Links ---------- */
.contact-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 1.2em;
}

.contact-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--blob-primary);
    transform: translateY(-2px);
}

.contact-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.5;
}

/* ---------- Scroll Reorganization Classes ---------- */
.blob-cluster.scattered .content-blob {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.blob-cluster.converging .content-blob {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

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

    .hero-blob {
        width: 90vmin;
        height: 90vmin;
    }

    .satellite-blob {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }

    .content-blob {
        padding: 30px;
    }

    .content-blob--accent {
        margin-left: 20px;
    }

    .content-blob--highlight {
        margin-right: 20px;
    }

    .blob-cluster--left {
        padding-left: 2%;
    }

    .blob-cluster--right {
        padding-right: 2%;
    }

    .content-blob--work-2 {
        margin-left: 2%;
    }

    .content-blob--work-3 {
        margin-right: 2%;
    }

    .content-blob--work-4 {
        margin-left: 2%;
    }

    .nav-blob {
        width: 55px;
        height: 55px;
        top: 20px;
        right: 20px;
    }

    .nav-child-blob {
        width: 65px;
        height: 65px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .logotype {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

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

    .content-blob {
        padding: 25px;
        width: 90vw !important;
    }

    .content-blob--accent,
    .content-blob--highlight,
    .content-blob--small {
        margin-left: 0;
        margin-right: 0;
    }
}
