/*
Theme Name: Mankumawabu
Theme URI: https://mankumawabu.com/
Author: Nikolaus
Description: Minimalistisches Gutenberg Onepager-Theme mit einem atmosphärischen, kosmischen Fullscreen-Visual als Platzhalter.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mankumawabu
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    color-scheme: dark;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #020304;
}

body {
    overflow: hidden;
}

.wp-site-blocks {
    min-height: 100svh;
    padding: 0;
}

.mankumawabu-stage {
    position: relative;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background-color: #020304;
    background-image: url('./assets/images/mankumawabu-visual.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.mankumawabu-stage::before,
.mankumawabu-stage::after {
    content: "";
    position: absolute;
    inset: -12%;
    pointer-events: none;
}

.mankumawabu-stage::before {
    z-index: 1;
    background:
        radial-gradient(circle at 50% 49%, rgba(255, 233, 190, .20) 0, rgba(255, 222, 162, .08) 12%, transparent 30%),
        radial-gradient(circle at 50% 74%, rgba(255, 229, 176, .12) 0, transparent 22%);
    mix-blend-mode: screen;
    animation: mankumawabu-pulse 7s ease-in-out infinite;
}

.mankumawabu-stage::after {
    z-index: 2;
    opacity: .42;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255,225,170,.8) 0 1px, transparent 1.7px);
    background-size: 190px 190px, 270px 270px;
    background-position: 20px 40px, 120px 10px;
    animation: mankumawabu-drift 32s linear infinite;
}

.mankumawabu-stage__beam {
    position: absolute;
    z-index: 3;
    top: -10%;
    left: 50%;
    width: 1px;
    height: 120%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent 0%, rgba(255,244,219,.15) 20%, rgba(255,238,196,.9) 50%, rgba(255,244,219,.2) 80%, transparent 100%);
    box-shadow: 0 0 14px rgba(255, 230, 180, .55), 0 0 34px rgba(255, 230, 180, .25);
    opacity: .65;
    animation: mankumawabu-beam 5.5s ease-in-out infinite;
}

.mankumawabu-stage__vignette {
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0,0,0,.18), transparent 25%, transparent 75%, rgba(0,0,0,.28)),
        radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.52) 100%);
}

.mankumawabu-stage__accessibility-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


.mankumawabu-brand {
    position: absolute;
    z-index: 6;
    top: clamp(1.4rem, 4vw, 2.7rem);
    left: 50%;
    width: max-content;
    max-width: calc(100% - 2rem);
    margin: 0;
    transform: translateX(-50%);
    color: #f6ead1;
    font-size: clamp(1.15rem, 2vw, 1.85rem);
    font-weight: 400;
    letter-spacing: .28em;
    line-height: 1;
    text-transform: lowercase;
    text-shadow: 0 0 18px rgba(236, 205, 148, .34);
}

.mankumawabu-brand a {
    color: inherit;
    text-decoration: none;
}

.mankumawabu-hero {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: max(4.5vw, 2rem);
    width: min(34rem, calc(100% - 4rem));
    margin: 0 !important;
    transform: translateY(-45%);
    color: #f6ead1;
}

.mankumawabu-signal {
    margin: 0 0 1.7rem;
    color: #d9b97b;
    font-size: .72rem !important;
    letter-spacing: .65em;
    opacity: .9;
    text-shadow: 0 0 12px rgba(217, 185, 123, .4);
}

.mankumawabu-headline {
    margin: 0;
    color: #f7edd9;
    font-size: clamp(2.25rem, 4.3vw, 4.6rem);
    font-weight: 300;
    letter-spacing: .18em;
    line-height: 1.28;
    text-transform: uppercase;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .75), 0 0 18px rgba(246, 234, 209, .08);
}

.mankumawabu-copy {
    max-width: 28rem;
    margin: 1.6rem 0 0;
    color: rgba(246, 234, 209, .68);
    font-size: clamp(.95rem, 1.25vw, 1.15rem);
    line-height: 1.75;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .85);
}

.mankumawabu-actions {
    margin-top: 2rem;
}

.mankumawabu-button .wp-block-button__link {
    min-width: 18rem;
    padding: 1.05rem 1.65rem;
    border: 1px solid rgba(217, 185, 123, .72);
    border-radius: .35rem;
    background: rgba(5, 6, 7, .28);
    color: #f7edd9;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(217, 185, 123, .08) inset, 0 0 22px rgba(217, 185, 123, .15);
    backdrop-filter: blur(5px);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.mankumawabu-button .wp-block-button__link:hover,
.mankumawabu-button .wp-block-button__link:focus-visible {
    border-color: #efd59f;
    background: rgba(217, 185, 123, .13);
    box-shadow: 0 0 28px rgba(217, 185, 123, .28);
    transform: translateY(-2px);
}

@keyframes mankumawabu-pulse {
    0%, 100% { opacity: .62; transform: scale(.985); }
    50% { opacity: 1; transform: scale(1.025); }
}

@keyframes mankumawabu-drift {
    from { transform: translate3d(0, 0, 0) scale(1.02); }
    to { transform: translate3d(-75px, 55px, 0) scale(1.06); }
}

@keyframes mankumawabu-beam {
    0%, 100% { opacity: .34; filter: blur(.1px); }
    50% { opacity: .85; filter: blur(.45px); }
}



@media (max-width: 782px) {
    body {
        overflow: auto;
    }

    .mankumawabu-stage {
        background-position: 58% center;
    }

    .mankumawabu-brand {
        top: 1.6rem;
        font-size: clamp(.95rem, 5vw, 1.3rem);
        letter-spacing: .18em;
    }

    .mankumawabu-hero {
        top: auto;
        bottom: clamp(2rem, 8vh, 5rem);
        left: 1.35rem;
        width: calc(100% - 2.7rem);
        transform: none;
    }

    .mankumawabu-signal {
        margin-bottom: 1rem;
    }

    .mankumawabu-headline {
        font-size: clamp(2rem, 10vw, 3.35rem);
        letter-spacing: .11em;
        line-height: 1.16;
    }

    .mankumawabu-copy {
        max-width: 24rem;
        margin-top: 1rem;
        font-size: .93rem;
        line-height: 1.55;
    }

    .mankumawabu-actions {
        margin-top: 1.35rem;
    }

    .mankumawabu-button,
    .mankumawabu-button .wp-block-button__link {
        width: 100%;
    }

    .mankumawabu-button .wp-block-button__link {
        min-width: 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mankumawabu-stage::before,
    .mankumawabu-stage::after,
    .mankumawabu-stage__beam {
        animation: none;
    }
}
