:root {
    --copper: #b87333;
    --linen: #f4efe6;
    --stone: #8a8578;
    --ink: #1c2b3a;
    --gold: #d4a54a;
    --teal: #4a7c72;
    --charcoal: #2a2a2a;
    --terracotta: #c4603c;
}

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

body {
    background: var(--linen);
    color: var(--charcoal);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Water surface texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background: repeating-linear-gradient(
        2deg,
        transparent,
        transparent 40px,
        rgba(74, 124, 114, 0.3) 40px,
        rgba(74, 124, 114, 0.3) 41px
    );
}

.river {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero section */
.section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.lure-specimen {
    width: 60vw;
    max-width: 400px;
    margin-bottom: 40px;
}

.lure-svg {
    width: 100%;
    height: auto;
}

/* Path-draw animation */
.lure-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: path-draw 3s ease forwards;
}

@keyframes path-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(2rem, 8vw, 4rem);
    color: var(--charcoal);
    letter-spacing: 0.03em;
    opacity: 0;
    animation: title-fade 2s ease 2s forwards;
}

@keyframes title-fade {
    to { opacity: 1; }
}

/* Cast line extending down */
.cast-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 0;
    background: var(--copper);
    animation: line-extend 1.5s ease 4s forwards;
}

@keyframes line-extend {
    to { height: 15vh; }
}

/* Breathing spaces */
.breath {
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breath-mark {
    color: var(--copper);
    font-size: 12px;
    opacity: 0.5;
}

.breath-fish {
    opacity: 0.4;
}

/* Sections with drift */
.section {
    padding: 60px 0;
}

.drift-left {
    padding-right: 12%;
}

.drift-right {
    padding-left: 12%;
}

/* Section entry */
.section[data-section] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s ease, transform 1s ease;
}

.section[data-section].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Specimen frames */
.specimen-frame {
    border: 1px solid var(--copper);
    padding: 36px 32px;
    position: relative;
    background: rgba(244, 239, 230, 0.8);
}

.specimen-frame::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid var(--copper);
    pointer-events: none;
    opacity: 0.4;
}

/* Section titles */
.section-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--ink);
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

/* Section body */
.section-body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.section-body.italic {
    font-style: italic;
    color: var(--stone);
}

/* Data rows */
.data-row {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(184, 115, 51, 0.3);
}

.data-label {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--stone);
    text-transform: uppercase;
}

.data-value {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 12px;
    color: var(--copper);
}

/* Colophon */
.colophon-breath {
    height: 30vh;
    padding-bottom: 60px;
}

.colophon-domain {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--copper);
}

/* Mobile */
@media (max-width: 768px) {
    .drift-left,
    .drift-right {
        padding-left: 0;
        padding-right: 0;
    }

    .lure-specimen {
        width: 80vw;
    }
}
