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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lora', serif;
    color: #2C2416;
    background-color: #F4EDE1;
    overflow-x: hidden;
}

/* Hero Section */
.title-section {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4EDE1;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 90vw;
}

.title-wash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 120vmax;
    height: 120vmax;
    background: radial-gradient(circle at center, rgba(27, 42, 74, 0.15) 0%, transparent 70%);
    animation: bloomWash 1.8s ease-out forwards;
    z-index: 1;
}

@keyframes bloomWash {
    from {
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 700;
    color: #1B2A4A;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 1rem;
    animation: titleReveal 0.8s ease-out 0.5s both;
    clip-path: inset(0 100% 0 0);
}

@keyframes titleReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: #7A6B5D;
    letter-spacing: 0.02em;
    animation: subtitleFade 0.6s ease-out 2.2s both;
}

@keyframes subtitleFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mandarin-hero {
    position: absolute;
    bottom: 20vh;
    right: 10%;
    width: 200px;
    height: 120px;
    opacity: 0.6;
    animation: swim 20s linear infinite;
    z-index: 5;
}

@keyframes swim {
    from {
        transform: translateX(110vw) translateY(0);
    }
    to {
        transform: translateX(-20vw) translateY(0);
    }
}

/* Sections */
.section {
    width: 100vw;
    min-height: 80vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section-content {
    max-width: 720px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.step-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #1B2A4A;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.step-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #C4973B;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.body-text {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.75;
    color: #2C2416;
    margin-bottom: 1.5em;
}

/* Callout Blocks */
.callout {
    border-left: 4px solid #C4973B;
    background: rgba(196, 151, 59, 0.06);
    padding: 1.2em 1.5em;
    border-radius: 0 4px 4px 0;
    margin: 2em 0;
    font-family: 'Lora', serif;
    font-size: 0.95em;
    line-height: 1.7;
    color: #2C2416;
}

.callout-label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #C4973B;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

.callout.ordeal-callout {
    border-left-color: #8B3A3A;
    background: rgba(139, 58, 58, 0.08);
}

.callout.ordeal-callout .callout-label {
    color: #8B3A3A;
}

/* Fish Annotations */
.annotation-fish {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 3rem 0;
    position: relative;
}

.annotation-fish svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.annotation-fish:hover svg {
    opacity: 0.9;
    transform: scale(1.05);
}

.annotation-text {
    font-family: 'Caveat', cursive;
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    color: #7A6B5D;
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
}

/* Section-specific backgrounds */
.accusation-section {
    background:
        radial-gradient(ellipse at 15% 30%, rgba(27, 42, 74, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 70%, rgba(196, 151, 59, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 90%, rgba(27, 42, 74, 0.05) 0%, transparent 70%),
        #F4EDE1;
}

.examination-section {
    background:
        radial-gradient(ellipse at 85% 20%, rgba(196, 151, 59, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 75%, rgba(27, 42, 74, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 10%, rgba(196, 151, 59, 0.05) 0%, transparent 70%),
        #F4EDE1;
}

.ordeal-section {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(139, 58, 58, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(27, 42, 74, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 30%, rgba(139, 58, 58, 0.06) 0%, transparent 70%),
        #F4EDE1;
}

.verdict-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(46, 125, 123, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 60%, rgba(196, 151, 59, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(27, 42, 74, 0.05) 0%, transparent 70%),
        #F4EDE1;
}

.aftermath-section {
    background:
        radial-gradient(ellipse at 40% 20%, rgba(27, 42, 74, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 80%, rgba(196, 151, 59, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(46, 125, 123, 0.06) 0%, transparent 70%),
        #F4EDE1;
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
    mix-blend-mode: multiply;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border: 2px solid #1B2A4A;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.progress-dot:hover {
    border-color: #C4973B;
    transform: scale(1.2);
}

.progress-dot.active {
    background-color: #2E7D7B;
    border-color: #2E7D7B;
}

/* Fish drift animation */
@keyframes drift {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(10px) rotate(2deg);
    }
}

.mandarin,
.moorish,
.lionfish,
.clownfish {
    animation: drift 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-indicator {
        display: none;
    }

    .annotation-fish {
        flex-direction: column;
        align-items: center;
    }

    .annotation-text {
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .step-number {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .progress-indicator {
        display: none;
    }

    body {
        background: white;
    }
}
