:root {
    --deep-canopy: #1a3a0a;
    --forest-floor: #2d5016;
    --fern-light: #4a7c2e;
    --lichen-paper: #f0f2e8;
    --moss-stone: #d4dfc8;
    --deep-water: #0e1f08;
    --clownfish-orange: #e8762a;
    --parrotfish-blue: #2a8fb5;
    --bleached-coral: #e8e5dd;
    --text-dark: #2a2a25;
    --moss-label: #5a7247;
    --moss-label-light: #9bb78a;
    --pale-lichen: #d4e7c5;
    --ease-underwater: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', serif;
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.72;
    color: var(--text-dark);
    background: var(--lichen-paper);
    overflow-x: hidden;
}

/* Watermark */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-style: italic;
    font-size: 15vw;
    color: var(--deep-canopy);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

/* Zones */
.zone {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.zone-content {
    width: 100%;
    max-width: 1200px;
    padding: 4rem 2rem;
}

.zone-content-narrow {
    max-width: 640px;
    margin: 0 auto;
}

.zone-content-centered {
    text-align: center;
}

/* Zone 1: Surface */
.zone-surface {
    background: var(--lichen-paper);
    background-image: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 0%, transparent 70%);
}

.intro-quote {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    text-align: center;
    color: var(--forest-floor);
    margin-bottom: 4rem;
}

.icon-clusters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.cluster {
    text-align: center;
    cursor: pointer;
    max-width: 320px;
}

.cluster-icon {
    width: 64px;
    height: 64px;
    color: var(--fern-light);
    margin-bottom: 1rem;
}

.cluster-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--forest-floor);
    margin-bottom: 0.5rem;
}

.cluster-caption {
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--moss-label);
    margin-bottom: 1rem;
}

.cluster-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms var(--ease-underwater), opacity 400ms var(--ease-underwater);
    opacity: 0;
}

.cluster-detail p {
    padding-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.cluster.expanded .cluster-detail {
    max-height: 200px;
    opacity: 1;
}

/* Zone 2: Canopy */
.zone-canopy {
    background: linear-gradient(to bottom, var(--lichen-paper), var(--moss-stone));
}

.feature-icon {
    width: 96px;
    height: 96px;
    color: var(--fern-light);
    display: block;
    margin: 0 auto 2rem;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    color: var(--forest-floor);
    margin-bottom: 1.5rem;
}

.body-text {
    font-family: 'EB Garamond', serif;
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.72;
    margin-bottom: 1.5rem;
}

.canopy-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.canopy-text {
    max-width: 38ch;
}

.canopy-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 400ms var(--ease-underwater), transform 400ms var(--ease-underwater);
}

.icon-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.item-icon {
    width: 32px;
    height: 32px;
    color: var(--fern-light);
    flex-shrink: 0;
}

.item-label {
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--moss-label);
}

/* Zone 3: Deep */
.zone-deep {
    background: var(--deep-canopy);
    color: var(--bleached-coral);
}

.zone-deep .section-heading {
    color: var(--pale-lichen);
}

.zone-deep .body-text {
    color: var(--bleached-coral);
}

.zone-deep a {
    color: var(--parrotfish-blue);
}

.zone-deep a:hover {
    color: var(--clownfish-orange);
}

.fish-list {
    list-style: none;
    margin: 2rem 0;
}

.fish-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--bleached-coral);
}

.list-fish {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fish-list li em {
    font-style: italic;
}

/* Marine Snow */
.marine-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.snow-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--bleached-coral);
    border-radius: 50%;
    opacity: 0.15;
    animation: float-up linear infinite;
}

@keyframes float-up {
    from {
        transform: translateY(100vh);
    }
    to {
        transform: translateY(-10px);
    }
}

/* Zone 4: Abyss */
.zone-abyss {
    background: var(--deep-water);
    color: var(--bleached-coral);
    min-height: 80vh;
}

.abyss-icon {
    width: 48px;
    height: 48px;
    color: var(--bleached-coral);
    margin-bottom: 2rem;
}

.abyss-statement {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--bleached-coral);
    line-height: 1.4;
    margin-bottom: 3rem;
}

.abyss-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.abyss-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--bleached-coral);
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 300ms var(--ease-underwater);
}

.abyss-link:hover {
    color: var(--clownfish-orange);
}

.link-fish {
    width: 18px;
    height: 18px;
}

/* Fish Schools */
.fish-school {
    position: absolute;
    width: 100%;
    height: 20%;
    pointer-events: none;
    overflow: hidden;
}

.fish-school-top {
    top: 0;
}

.fish-school-bottom {
    bottom: 10%;
    opacity: 0.4;
}

.swimming-fish {
    position: absolute;
    width: 28px;
    height: 28px;
    animation: swim 14s infinite var(--ease-underwater);
}

.fish-reverse {
    animation-name: swim-reverse;
    transform: scaleX(-1);
}

.fish-1 { top: 20%; animation-delay: 0s; animation-duration: 16s; }
.fish-2 { top: 45%; animation-delay: -3s; animation-duration: 13s; }
.fish-3 { top: 30%; animation-delay: -6s; animation-duration: 18s; }
.fish-4 { top: 60%; animation-delay: -9s; animation-duration: 15s; }
.fish-5 { top: 50%; animation-delay: -12s; animation-duration: 20s; }

@keyframes swim {
    0% { left: -5%; transform: translateY(0); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(5px); }
    75% { transform: translateY(-3px); }
    100% { left: 105%; transform: translateY(0); }
}

@keyframes swim-reverse {
    0% { right: -5%; left: auto; transform: scaleX(-1) translateY(0); }
    25% { transform: scaleX(-1) translateY(-8px); }
    50% { transform: scaleX(-1) translateY(5px); }
    75% { transform: scaleX(-1) translateY(-3px); }
    100% { right: 105%; left: auto; transform: scaleX(-1) translateY(0); }
}

/* Progressive disclosure */
.zone-content,
.canopy-grid,
.fish-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms var(--ease-underwater), transform 600ms var(--ease-underwater);
}

.surfacing .zone-content,
.surfacing .canopy-grid,
.surfacing .fish-list li,
.revealed .zone-content,
.revealed .canopy-grid,
.revealed .fish-list li {
    opacity: 1;
    transform: translateY(0);
}

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

    .canopy-icons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .abyss-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}
