/* polytical.club - Street-style political viewpoints */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.85;
    color: #F0E8D0;
    background-color: #181828;
    overflow-x: hidden;
}

/* === Typography === */
.domain-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 52px);
    color: #F0E8D0;
    opacity: 0;
    transition: opacity 800ms ease;
}

.domain-title.visible {
    opacity: 1;
}

.viewpoint-label {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D0A050;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.viewpoint-label.revealed {
    opacity: 1;
    transform: translateY(0);
}

.viewpoint-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 52px);
    color: #F0E8D0;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 700ms ease 100ms, transform 700ms ease 100ms;
}

.viewpoint-title.revealed {
    opacity: 1;
    transform: translateY(0);
}

.viewpoint-body {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.85;
    color: #F0E8D0;
    max-width: 660px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms ease 200ms, transform 800ms ease 200ms;
}

.viewpoint-body.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-caption {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 13px;
    color: #D08878;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 800ms ease 400ms;
}

.hero-caption.visible {
    opacity: 1;
}

/* === Hero Sections === */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-landing {
    background-color: #181828;
}

.hero-viewpoint {
    background-color: #181828;
    min-height: 80vh;
}

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

/* === Watercolor Washes === */
.watercolor-wash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1200ms ease;
}

.watercolor-wash.active {
    opacity: 1;
}

.wash-landing {
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(208, 160, 80, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(208, 136, 120, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(208, 160, 80, 0.1) 0%, transparent 80%);
}

.wash-amber {
    background:
        radial-gradient(ellipse 55% 45% at 30% 70%, rgba(208, 160, 80, 0.3) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 70% 30%, rgba(208, 160, 80, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(208, 136, 120, 0.1) 0%, transparent 70%);
}

.wash-rose {
    background:
        radial-gradient(ellipse 55% 45% at 25% 65%, rgba(208, 136, 120, 0.3) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 75% 35%, rgba(208, 136, 120, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 65% 55% at 50% 50%, rgba(224, 160, 160, 0.12) 0%, transparent 70%);
}

.wash-green {
    background:
        radial-gradient(ellipse 55% 45% at 35% 60%, rgba(80, 136, 72, 0.25) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 65% 40%, rgba(80, 136, 72, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(208, 160, 80, 0.1) 0%, transparent 70%);
}

.wash-amber-alt {
    background:
        radial-gradient(ellipse 50% 40% at 40% 75%, rgba(208, 160, 80, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 60% 25%, rgba(208, 136, 120, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 50% 50%, rgba(208, 160, 80, 0.08) 0%, transparent 75%);
}

.wash-footer {
    background:
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(208, 160, 80, 0.2) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 70% 50%, rgba(208, 136, 120, 0.15) 0%, transparent 60%);
}

/* === Bloom Pink Accent (Botanical) #E0A0A0 === */
.bloom-pink-accent {
    color: #E0A0A0;
}

/* === Botanical Elements === */
.botanical-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    pointer-events: none;
    padding: 0 10%;
}

.botanical-svg {
    width: 120px;
    height: 300px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1200ms ease, transform 1200ms ease;
}

.botanical-svg.grown {
    opacity: 1;
    transform: translateY(0);
}

.botanical-svg .stem,
.botanical-svg .leaf,
.botanical-svg .bloom {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1200ms ease;
}

.botanical-svg.grown .stem,
.botanical-svg.grown .leaf,
.botanical-svg.grown .bloom {
    stroke-dashoffset: 0;
}

.botanical-left {
    transition-delay: 0ms;
}

.botanical-center {
    transition-delay: 200ms;
    width: 140px;
    height: 350px;
}

.botanical-right {
    transition-delay: 400ms;
}

/* === Botanical Edges === */
.botanical-edge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

.edge-svg {
    width: 100%;
    height: 80px;
    display: block;
}

.edge-svg .stem,
.edge-svg .leaf,
.edge-svg .bloom {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1500ms ease;
}

.hero-viewpoint.in-view .edge-svg .stem,
.hero-viewpoint.in-view .edge-svg .leaf,
.hero-viewpoint.in-view .edge-svg .bloom {
    stroke-dashoffset: 0;
}

/* === Botanical Interludes === */
.botanical-interlude {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #181828;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.interlude-svg {
    width: 100%;
    max-width: 800px;
    height: 200px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms ease, transform 800ms ease;
}

.interlude-svg .stem,
.interlude-svg .leaf,
.interlude-svg .bloom {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1200ms ease;
}

.botanical-interlude.in-view .interlude-svg {
    opacity: 1;
    transform: translateY(0);
}

.botanical-interlude.in-view .interlude-svg .stem,
.botanical-interlude.in-view .interlude-svg .leaf,
.botanical-interlude.in-view .interlude-svg .bloom {
    stroke-dashoffset: 0;
}

/* === Hover Interactions === */
.hero-viewpoint .hero-content {
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 2.5rem;
    transition: border-color 400ms ease, box-shadow 400ms ease;
}

.hero-viewpoint .hero-content:hover {
    border-color: rgba(208, 160, 80, 0.3);
}

.hero-viewpoint .hero-content:hover .viewpoint-title {
    text-shadow: 0 0 30px rgba(208, 160, 80, 0.15);
}

.hero-viewpoint .hero-content:hover .viewpoint-body {
    text-shadow: 0 0 20px rgba(208, 160, 80, 0.08);
}

.botanical-svg:hover,
.edge-svg:hover,
.interlude-svg:hover {
    transform: scale(1.02);
    transition: transform 300ms ease;
}

/* === Duotone Section Variations === */
#hero-civic {
    background: linear-gradient(180deg, #181828 0%, #1a1a2e 100%);
}

#hero-justice {
    background: linear-gradient(180deg, #1a1a2e 0%, #181828 100%);
}

#hero-economy {
    background: linear-gradient(180deg, #181828 0%, #1c1c30 100%);
}

#hero-environment {
    background: linear-gradient(180deg, #1c1c30 0%, #181828 100%);
}

/* Section-specific warm tone text-shadow on hover */
#hero-civic .hero-content:hover .viewpoint-title {
    text-shadow: 0 0 30px rgba(208, 160, 80, 0.2);
}

#hero-justice .hero-content:hover .viewpoint-title {
    text-shadow: 0 0 30px rgba(208, 136, 120, 0.2);
}

#hero-economy .hero-content:hover .viewpoint-title {
    text-shadow: 0 0 30px rgba(80, 136, 72, 0.2);
}

#hero-environment .hero-content:hover .viewpoint-title {
    text-shadow: 0 0 30px rgba(208, 160, 80, 0.2);
}

/* Section-specific viewpoint label colors */
#hero-civic .viewpoint-label { color: #D0A050; }
#hero-justice .viewpoint-label { color: #D08878; }
#hero-economy .viewpoint-label { color: #508848; }
#hero-environment .viewpoint-label { color: #D0A050; }

/* === Community Board (Footer) === */
.community-board {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #181828;
    border-top: 1px solid #484858;
    overflow: hidden;
}

.botanical-border-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

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

.border-svg .stem,
.border-svg .leaf,
.border-svg .bloom {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1500ms ease;
}

.community-board.in-view .border-svg .stem,
.community-board.in-view .border-svg .leaf,
.community-board.in-view .border-svg .bloom {
    stroke-dashoffset: 0;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 660px;
    padding: 3rem 2rem;
}

.footer-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: clamp(22px, 2.5vw, 36px);
    color: #F0E8D0;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.footer-title.revealed {
    opacity: 1;
    transform: translateY(0);
}

.footer-text {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.85;
    color: #F0E8D0;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease 150ms, transform 700ms ease 150ms;
}

.footer-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

.footer-caption {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 13px;
    color: #D0A050;
    opacity: 0;
    transition: opacity 700ms ease 300ms;
}

.footer-caption.revealed {
    opacity: 1;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero-viewpoint {
        min-height: 100vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .botanical-container {
        padding: 0 5%;
    }

    .botanical-svg {
        width: 80px;
        height: 200px;
    }

    .botanical-center {
        width: 100px;
        height: 240px;
    }

    .botanical-interlude {
        height: 150px;
    }

    .footer-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .botanical-svg {
        width: 60px;
        height: 160px;
    }

    .botanical-center {
        width: 80px;
        height: 200px;
    }
}