/* ronri.xyz - Holographic Logic Garden */
/* Palette: Faded Cream #F0E8D8, Aged Charcoal #3A3430, Dusty Brown #6A5A4A,
   Vintage Teal #5A8A7A, Worn Rose #B87A7A, Light Cream #F8F0E5 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #6A5A4A;
    background-color: #F0E8D8;
    overflow-x: hidden;
    position: relative;
}

/* Holographic overlay shimmer */
.holographic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(90, 138, 122, 0.02) 25%,
        rgba(184, 122, 122, 0.02) 50%,
        rgba(90, 138, 122, 0.02) 75%,
        transparent 100%
    );
    background-size: 400% 400%;
    animation: holographicShift 12s ease-in-out infinite;
}

@keyframes holographicShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typography */
h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #3A3430;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

p {
    max-width: 65ch;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, #F8F0E5 0%, #F0E8D8 100%);
    text-align: center;
    padding: 2rem;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    color: #3A3430;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(90, 138, 122, 0.15) 45%,
        rgba(184, 122, 122, 0.15) 55%,
        transparent 70%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes titleShimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.accent-dot {
    color: #5A8A7A;
    display: inline-block;
}

.hero-tagline {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #6A5A4A;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

/* Wave Dividers */
.wave-divider {
    width: 100%;
    line-height: 0;
    position: relative;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

.wave-divider--hero {
    position: absolute;
    bottom: 0;
    left: 0;
}

.wave-divider--hero svg {
    height: 80px;
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem 0;
    position: relative;
    background-color: #F0E8D8;
}

.content-section--alt {
    background-color: #F8F0E5;
}

/* Organic Containers */
.organic-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 3.5rem;
    background: linear-gradient(135deg, #F8F0E5 0%, rgba(248, 240, 229, 0.6) 100%);
    border-radius: 30% 50% 40% 60% / 50% 40% 60% 30%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: sepia(0.2) saturate(0.8);
    border: 1px solid rgba(90, 138, 122, 0.15);
}

.organic-container--alt {
    background: linear-gradient(135deg, #F0E8D8 0%, rgba(240, 232, 216, 0.6) 100%);
    border-radius: 50% 30% 60% 40% / 40% 60% 30% 50%;
    border-color: rgba(184, 122, 122, 0.15);
}

.organic-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        transparent 20%,
        rgba(90, 138, 122, 0.08) 40%,
        rgba(184, 122, 122, 0.08) 60%,
        transparent 80%
    );
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.organic-container:hover::before {
    opacity: 1;
    animation: holographicShimmer 3s ease-in-out infinite;
}

@keyframes holographicShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.organic-container:hover {
    border-color: rgba(90, 138, 122, 0.3);
    transform: scale(1.01);
}

.organic-container--alt:hover {
    border-color: rgba(184, 122, 122, 0.3);
}

/* Progressive Disclosure - Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    padding: 5rem 2rem 3rem;
    text-align: center;
    background-color: #F0E8D8;
    position: relative;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3A3430;
    margin-bottom: 0.5rem;
}

.footer-sub {
    font-size: 0.875rem;
    color: #6A5A4A;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

/* Responsive */
@media (max-width: 768px) {
    .organic-container {
        padding: 2rem 2rem;
        border-radius: 20% 35% 25% 40% / 35% 25% 40% 20%;
    }

    .organic-container--alt {
        border-radius: 35% 20% 40% 25% / 25% 40% 20% 35%;
    }

    .content-section {
        padding: 3rem 1rem 0;
    }

    .wave-divider svg {
        height: 40px;
    }

    .wave-divider--hero svg {
        height: 50px;
    }
}
