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

:root {
    --deep-black: #050e18;
    --coral: #d4645a;
    --sky-blue: #64b4dc;
    --ice: #f0f8ff;
    --navy: #1a3a5c;
    --mist: #a3c4d9;
    --dark-navy: #0d2137;
    --light-ice: #e8f0f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    color: var(--ice);
    background: var(--light-ice);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.zone {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.zone-surface {
    background: var(--light-ice);
    color: var(--dark-navy);
}

.zone-shallows {
    background: var(--mist);
    color: var(--dark-navy);
}

.zone-mesopelagic {
    background: var(--navy);
    color: var(--ice);
}

.zone-bathypelagic {
    background: var(--dark-navy);
    color: var(--mist);
}

.zone-abyss {
    background: var(--deep-black);
    color: var(--ice);
}

.zone-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 4rem 2rem;
}

.title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease forwards 0.3s;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 1.3s;
}

.scroll-arrow {
    font-size: 2rem;
    animation: bob 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Watercolor wash elements */
.wash {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    will-change: transform;
}

.wash-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    top: -10%; left: -10%;
    opacity: 0.2;
}
.wash-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--mist), transparent);
    top: 30%; right: -5%;
    opacity: 0.25;
}
.wash-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--coral), transparent);
    bottom: 10%; left: 20%;
    opacity: 0.15;
}
.wash-4 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--ice), transparent);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.wash-5 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    top: -20%; right: -10%;
    opacity: 0.3;
}
.wash-6 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--navy), transparent);
    bottom: 10%; left: -5%;
    opacity: 0.2;
}
.wash-7 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, var(--coral), transparent);
    top: 40%; left: 60%;
    opacity: 0.15;
}

.wash-8 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--dark-navy), transparent);
    top: -15%; left: -15%;
    opacity: 0.4;
}
.wash-9 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    bottom: 20%; right: 10%;
    opacity: 0.15;
}
.wash-10 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--coral), transparent);
    top: 50%; left: 70%;
    opacity: 0.1;
}
.wash-11 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--mist), transparent);
    top: 20%; right: 30%;
    opacity: 0.2;
}

.wash-12 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--deep-black), transparent);
    top: -20%; right: -20%;
    opacity: 0.5;
}
.wash-13 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    bottom: 30%; left: 20%;
    opacity: 0.1;
}
.wash-14 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--coral), transparent);
    top: 60%; right: 25%;
    opacity: 0.08;
}

.wash-15 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--dark-navy), transparent);
    top: 10%; left: 30%;
    opacity: 0.3;
}
.wash-16 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, var(--sky-blue), transparent);
    bottom: 20%; right: 20%;
    opacity: 0.08;
}

/* Zone 2 - Cards */
.zone-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 1.5rem 0 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 180, 220, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--coral);
}

.card-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    color: var(--coral);
    letter-spacing: 0.05em;
}

.card h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Skills drift */
.skills-drift {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.skill-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--sky-blue);
    border-radius: 100px;
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

.skill-tag:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--coral);
}

/* Deep quote */
.deep-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    margin-top: 2.5rem;
    padding: 2rem;
    border-left: 3px solid var(--coral);
    text-align: left;
    opacity: 0.9;
}

/* Contact link */
.contact-link {
    display: inline-block;
    margin-top: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border: 2px solid var(--coral);
    border-radius: 100px;
    transition: background 0.4s ease, color 0.4s ease, transform 0.3s ease;
}

.contact-link:hover {
    background: var(--coral);
    color: var(--deep-black);
    transform: scale(1.05);
}

/* Lens flare */
.lens-flare {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 180, 220, 0.4), rgba(212, 100, 90, 0.1), transparent);
    filter: blur(30px);
    bottom: 15%;
    right: 15%;
    opacity: 0;
    animation: flareGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes flareGlow {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* Depth gauge */
.depth-gauge {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    z-index: 100;
}

.depth-fill {
    width: 100%;
    height: 0%;
    background: var(--coral);
    border-radius: 3px;
    transition: height 0.2s ease;
}

/* Scroll reveal */
.zone-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.zone-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.zone-surface .zone-content {
    opacity: 1;
    transform: none;
}
