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

:root {
    --warm-white: #F0EDE8;
    --warm-gray: #E8E4DE;
    --deep-navy: #1A1A2E;
    --muted-navy: #2A2A4E;
    --medium-blue: #4A4A7E;
    --dusty-blue: #6A6A8E;
    --soft-violet: #8A7AB0;
    --light-violet: #A090C0;
    --pale-lavender: #C8B8D8;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--warm-white);
    color: var(--muted-navy);
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Noise Background */
.noise-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
}

/* Wave Background */
.wave-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: wavesFadeIn 1.8s ease-out forwards;
}

.wave-form {
    animation: waveOscillate 5s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    animation: waveOscillate 5s ease-in-out infinite;
}

.wave-2 {
    animation-delay: 0.3s;
    animation: waveOscillate 7s ease-in-out infinite;
}

.wave-3 {
    animation-delay: 0.6s;
    animation: waveOscillate 9s ease-in-out infinite;
}

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

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

/* Main Content */
.content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 40px;
}

.content-column {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

/* Header */
.page-header {
    margin-bottom: 120px;
    text-align: left;
}

.domain-title {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 48px;
    letter-spacing: -0.02em;
    color: var(--deep-navy);
    margin: 0;
    padding: 0;
    line-height: 1;
    animation: titleFadeIn 1.2s ease-out;
}

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

/* Content Blocks */
.content-block {
    margin-bottom: 80px;
    animation: blockFadeIn 0.8s ease-out;
    opacity: 0;
}

.content-block:nth-child(2) { animation-delay: 0.2s; animation-fill-mode: forwards; }
.content-block:nth-child(3) { animation-delay: 0.4s; animation-fill-mode: forwards; }
.content-block:nth-child(4) { animation-delay: 0.6s; animation-fill-mode: forwards; }
.content-block:nth-child(5) { animation-delay: 0.8s; animation-fill-mode: forwards; }

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

.content-block.offset-left .section-heading {
    transform: translateX(-8px);
}

.content-block.tight-leading p {
    line-height: 1.1;
}

.section-heading {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 36px;
    letter-spacing: -0.02em;
    color: var(--deep-navy);
    margin-bottom: 20px;
    margin-top: 40px;
    line-height: 1.1;
}

.section-heading:first-child {
    margin-top: 0;
}

.content-block p {
    color: var(--muted-navy);
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.7;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Footer */
.page-footer {
    margin-top: 120px;
    text-align: center;
    padding-top: 40px;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--pale-lavender);
    margin-bottom: 20px;
}

.footer-text {
    font-family: 'Azeret Mono', monospace;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--dusty-blue);
    text-transform: lowercase;
    margin: 0;
}

/* Links */
a {
    color: var(--soft-violet);
    text-decoration: none;
    border-bottom: 1px solid var(--soft-violet);
    transition: color 0.2s ease-out;
}

a:hover {
    color: var(--light-violet);
    border-bottom-color: var(--light-violet);
}

/* Ripple Effect */
.ripple {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 122, 176, 0.4), transparent 70%);
    animation: rippleExpand 0.6s ease-out forwards;
}

@keyframes rippleExpand {
    from {
        width: 0;
        height: 0;
        opacity: 0.15;
    }
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 60px 24px;
    }

    .content-column {
        max-width: 100%;
    }

    .domain-title {
        font-size: 36px;
    }

    .section-heading {
        font-size: 28px;
    }

    .content-block.offset-left .section-heading {
        transform: translateX(0);
    }

    .page-header {
        margin-bottom: 60px;
    }

    .content-block {
        margin-bottom: 60px;
    }

    .page-footer {
        margin-top: 60px;
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 40px 16px;
    }

    .domain-title {
        font-size: 28px;
    }

    .section-heading {
        font-size: 22px;
    }

    .content-block p {
        font-size: 16px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .content-block {
        margin-bottom: 40px;
    }
}
