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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Bebas Neue', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #F4ECD8;
    background-image:
        radial-gradient(ellipse at 70% 30%, rgba(184,168,120,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 25% 75%, rgba(184,168,120,0.06) 0%, transparent 70%),
        radial-gradient(ellipse at center, transparent 60%, rgba(42,42,42,0.04) 100%);
    background-attachment: fixed;
    color: #2A2A2A;
    overflow-x: hidden;
}

/* Page-wide SVG grain texture via CSS filter simulation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' result='noise' /%3E%3CfeColorMatrix in='noise' type='saturate' values='0' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03' /%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Zone Structure */
.zone {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.zone-1 {
    min-height: 100vh;
    background-color: #F4ECD8;
}

.zone-2 {
    min-height: 250vh;
    background-color: #F4ECD8;
    position: relative;
}

.zone-3 {
    min-height: 100vh;
    background-color: #D8C8A8;
    position: relative;
}

.zone-4 {
    min-height: 100vh;
    background-color: #F4ECD8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Zone 1: The Hero */
#domain-hero {
    position: absolute;
    left: -2vw;
    top: 60vh;
    font-size: clamp(4rem, 15vw, 14rem);
    color: #C45A32;
    line-height: 0.85;
    letter-spacing: 0.04em;
    font-weight: 400;
    white-space: nowrap;
    z-index: 10;
}

/* Zone 2: Clusters */
.cluster {
    position: relative;
    margin-bottom: 70vh;
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.cluster.visible {
    opacity: 1;
}

.cluster-1 {
    margin-left: 5%;
    max-width: 75vw;
}

.cluster-2 {
    margin-left: 40%;
    max-width: 75vw;
}

.cluster-3 {
    margin-left: 0;
    max-width: 75vw;
    margin-right: 5%;
}

.cluster-3.rotated {
    transform: rotate(2deg);
}

.cluster-4 {
    margin-left: 60%;
    max-width: 75vw;
}

.cluster-5 {
    margin-left: auto;
    margin-right: auto;
    max-width: 75vw;
    text-align: center;
}

.cluster-card {
    position: relative;
    background-color: #E8D8C0;
    border: 1px solid #B8A878;
    padding: 1.5rem;
    min-height: 120px;
}

.cluster-text {
    font-size: clamp(1rem, 2.5vw, 3rem);
    color: #2A2A2A;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
}

/* Fish highlight color accent */
.cluster-fish.highlight {
    color: #C8A848;
}

.cluster-fish {
    position: absolute;
    width: 80px;
    height: auto;
    top: -20px;
    right: -30px;
    opacity: 0;
    animation: fishFadeIn 0.4s ease-out forwards;
}

.cluster:nth-child(1) .cluster-fish { animation-delay: 0.12s; }
.cluster:nth-child(2) .cluster-fish { animation-delay: 0.24s; }
.cluster:nth-child(3) .cluster-fish { animation-delay: 0.36s; }
.cluster:nth-child(4) .cluster-fish { animation-delay: 0.48s; }
.cluster:nth-child(5) .cluster-fish { animation-delay: 0.60s; }

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

/* Zone 3: The Surface */
.background-fish {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: auto;
    opacity: 0.08;
    pointer-events: none;
    z-index: 5;
}

.text-fragment {
    position: absolute;
    font-family: 'Bebas Neue', monospace;
    text-transform: uppercase;
    opacity: 0;
    animation: fragmentFadeIn 0.5s ease-out forwards;
}

.fragment-1 {
    font-size: 1rem;
    color: #C45A32;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.fragment-2 {
    font-size: 2.5rem;
    color: #2A2A2A;
    top: 20%;
    right: 8%;
    animation-delay: 0.5s;
}

.fragment-3 {
    font-size: 1.2rem;
    color: #C45A32;
    top: 35%;
    left: 15%;
    animation-delay: 1s;
}

.fragment-4 {
    font-size: 3rem;
    color: #8A7A5A;
    bottom: 30%;
    left: 10%;
    animation-delay: 1.5s;
}

.fragment-5 {
    font-size: 1.5rem;
    color: #2A2A2A;
    bottom: 20%;
    right: 12%;
    animation-delay: 2s;
}

.fragment-6 {
    font-size: 0.9rem;
    color: #C45A32;
    top: 50%;
    right: 5%;
    animation-delay: 2.5s;
}

.fragment-7 {
    font-size: 2rem;
    color: #8A7A5A;
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
}

.fragment-8 {
    font-size: 1.3rem;
    color: #2A8A7A;
    top: 15%;
    left: 50%;
    animation-delay: 3.5s;
}

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

/* Zone 4: The Release */
.release-content {
    text-align: center;
    padding-top: 30vh;
}

.release-text {
    font-size: 1.2rem;
    color: #8A7A5A;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.tiny-fish {
    width: 16px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Responsiveness */
@media (max-width: 768px) {
    #domain-hero {
        font-size: clamp(2rem, 12vw, 8rem);
        left: -5vw;
    }

    .cluster-1,
    .cluster-2,
    .cluster-4 {
        margin-left: 5% !important;
    }

    .cluster-3 {
        margin-left: 5% !important;
        margin-right: auto;
    }

    .cluster-5 {
        margin-left: 5%;
        margin-right: 5%;
    }

    .cluster-fish {
        width: 60px;
        top: -15px;
        right: -20px;
    }

    .text-fragment {
        font-size: 0.9rem !important;
    }

    .fragment-2 {
        font-size: 1.8rem !important;
    }

    .fragment-4 {
        font-size: 2rem !important;
    }
}

/* Utility Classes */
.rotated {
    transform: rotate(2deg);
}

/* Remove default link styling */
a {
    color: inherit;
    text-decoration: none;
}
