:root {
    /* Palette pulled from the hero artwork */
    --foliage: #1f4d3a;
    --stone: #9c8869;
}

/* ============ HERO (parallax) ============ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: #021018;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 55%,
        var(--teal-mid) 0%,
        #041824 45%,
        #01080d 100%
    );
    z-index: 0;
}
.layer {
    position: absolute;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    will-change: transform, opacity;
    pointer-events: none;
    user-select: none;
}
.layer img {
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
}
.bg {
    top: -4%;
    left: 47%;
    width: 115%;
    z-index: 1;
    opacity: 1;
}
.people-gray {
    bottom: 26%;
    width: 50%;
    max-width: 900px;
    z-index: 2;
    opacity: 0;
}
.title {
    top: 14%;
    width: 52%;
    max-width: 920px;
    z-index: 3;
    opacity: 0;
}
.people-color {
    bottom: 26%;
    width: 42%;
    max-width: 760px;
    z-index: 4;
    opacity: 0;
}
.foreground {
    bottom: -2%;
    left: 47%;
    width: 108%;
    z-index: 5;
    opacity: 1;
}
.logos {
    top: 10%;
    width: 26%;
    max-width: 420px;
    min-width: 220px;
    z-index: 6;
    opacity: 0;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}
.logos img {
    background: transparent;
    padding: 0;
}

@media (max-width: 720px) {
    .hero {
        height: 100vh;
        min-height: 680px;
    }
    .hero::before {
        background: linear-gradient(
            180deg,
            #021824 0%,
            #052838 35%,
            #02141d 70%,
            #01080d 100%
        );
    }
    .bg {
        top: 10%;
        left: 50%;
        width: 130%;
        z-index: 1;
        opacity: 1;
    }
    .logos {
        top: 14%;
        left: 50%;
        width: 58%;
        max-width: none;
        z-index: 6;
    }
    .title {
        top: 26%;
        left: 50%;
        width: 62%;
        max-width: none;
        z-index: 3;
    }
    .foreground {
        bottom: -2%;
        left: 50%;
        width: 130%;
        z-index: 5;
    }
    .people-color {
        bottom: 24%;
        left: 50%;
        width: 78%;
        max-width: none;
        z-index: 4;
    }
    .people-gray {
        bottom: 28%;
        left: 50%;
        width: 88%;
        max-width: none;
        z-index: 2;
    }
}
@media (max-width: 420px) {
    .hero {
        min-height: 640px;
    }
    .logos {
        top: 13%;
        width: 64%;
    }
    .title {
        top: 25%;
        width: 66%;
    }
    .bg {
        top: 12%;
        width: 140%;
    }
    .foreground {
        width: 145%;
    }
    .people-color {
        bottom: 22%;
        width: 84%;
    }
    .people-gray {
        bottom: 26%;
        width: 94%;
    }
}

.vignette {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 55%,
        rgba(0, 0, 0, 0.55) 100%
    );
    opacity: 0;
    transition: opacity 1.2s ease 1.2s;
}
.ready .vignette {
    opacity: 1;
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    color: rgba(232, 246, 255, 0.78);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.8s ease 2.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ready .scroll-hint {
    opacity: 1;
}
.scroll-hint .line {
    width: 1px;
    height: 36px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--cyan-beam),
        transparent
    );
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,
    100% {
        transform: translateY(-6px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translate3d(-50%, -22px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes titleIn {
    from {
        opacity: 0;
        transform: translate3d(-50%, 18px, 0) scale(0.96);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translate3d(-50%, 0, 0) scale(1);
        filter: blur(0);
    }
}
@keyframes risePeople {
    from {
        opacity: 0;
        transform: translate3d(-50%, 60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}
.ready .people-gray {
    animation: risePeople 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s forwards;
}
.ready .people-color {
    animation: risePeople 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s forwards;
}
.ready .title {
    animation: titleIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 1.2s forwards;
}
.ready .logos {
    animation: dropIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.55s forwards;
}

/* ============ SECTION SHARED ============ */
section.nue-section {
    padding: 120px 8vw;
}
.nue-container {
    max-width: 1320px;
    margin: 0 auto;
}
.nue-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--teal-500);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.nue-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--teal-500);
}
h2.nue-display {
    font-family: "Fraunces", serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--ink);
    font-size: clamp(40px, 5.2vw, 76px);
    font-variation-settings: "opsz" 144;
}
.nue-display--center {
    text-align: center;
}
.nue-eyebrow--center {
    justify-content: center;
    display: inline-flex;
}

/* ============ EVENT META BAR ============ */
.meta-bar {
    background: var(--teal-deep);
    color: rgba(255, 255, 255, 0.92);
    padding: 32px 8vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(126, 233, 226, 0.15);
    border-bottom: 1px solid rgba(126, 233, 226, 0.15);
}
.meta-bar .item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meta-bar .label {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cyan-beam);
    font-weight: 600;
}
.meta-bar .value {
    font-family: "Fraunces", serif;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}
.meta-bar .divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.18);
}
.meta-bar .cta-pair {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--cyan-beam);
    color: var(--teal-deep);
}
.btn-primary:hover {
    background: var(--cyan-soft);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ============ ABOUT ============ */
.about {
    background: var(--paper);
    position: relative;
}
.about .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about h2.nue-display {
    margin-bottom: 32px;
}
.about p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 18px;
}
.about .quote {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--teal-deep);
    border-left: 2px solid var(--cyan-beam);
    padding: 8px 0 8px 22px;
    margin: 28px 0;
}
.about .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.about .stat .num {
    font-family: "Fraunces", serif;
    font-size: 48px;
    font-weight: 500;
    color: var(--teal-deep);
    line-height: 1;
    letter-spacing: -0.02em;
}
.about .stat .lab {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 10px;
}
.about .image-frame {
    position: sticky;
    top: 120px;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    background: var(--teal-mid);
}
.about .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ WHY BALI ============ */
.why-bali {
    background: var(--teal-deep);
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    overflow: hidden;
}
.why-bali .bg-parallax {
    position: absolute;
    inset: -10% -2% -10% -2%;
    background-image: url("../assets/bali-melasti.webp");
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    opacity: 0.28;
    filter: saturate(0.85) contrast(0.98);
    z-index: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
}
.why-bali::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 50% 50%,
            rgba(2, 24, 36, 0.35) 0%,
            rgba(2, 24, 36, 0.85) 75%,
            var(--teal-deep) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 24, 36, 0.6) 0%,
            rgba(2, 24, 36, 0.4) 50%,
            rgba(2, 24, 36, 0.7) 100%
        );
    z-index: 1;
    pointer-events: none;
}
.why-bali::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(126, 233, 226, 0.18) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 2;
}
.why-bali .nue-container {
    position: relative;
    z-index: 3;
}
.why-bali__inner {
    max-width: 880px;
    text-align: center;
}
.why-bali__p {
    margin: 0 auto 22px;
    max-width: 62ch;
}
.why-bali__p--last {
    margin-bottom: 36px;
}
.why-bali__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.why-bali .nue-eyebrow {
    color: var(--cyan-beam);
}
.why-bali .nue-eyebrow::before {
    background: var(--cyan-beam);
}
.why-bali h2.nue-display {
    color: #fff;
}
.why-bali p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 20px;
}

/* ============ SPONSORS ============ */
.sponsors {
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.sponsors .head {
    text-align: center;
    margin-bottom: 64px;
}
.sponsor-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}
.sponsor-logo-box {
    height: 90px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}
.sponsor-logo-box:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}
.sponsor-logo-box .placeholder {
    width: 100%;
    height: 100%;
    border: 1px dashed var(--line);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fraunces", serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    text-align: center;
    padding: 8px;
    background: rgba(10, 20, 24, 0.02);
}

/* ============ CTA STRIP ============ */
.cta-strip {
    background: var(--teal-deep);
    color: #fff;
    text-align: center;
    padding: 120px 8vw;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 20% 30%,
            rgba(126, 233, 226, 0.18) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 80% 70%,
            rgba(126, 233, 226, 0.12) 0%,
            transparent 50%
        );
    pointer-events: none;
}
.cta-strip > * {
    position: relative;
    z-index: 2;
}
.cta-strip h2.nue-display {
    color: #fff;
    margin: 0 auto 24px;
    max-width: 18ch;
}
.cta-strip p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.7;
    max-width: 54ch;
    margin: 0 auto 36px;
}
.cta-strip .pair {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    section.nue-section {
        padding: 80px 6vw;
    }
    .about .grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about .image-frame {
        position: relative;
        top: auto;
        aspect-ratio: 5/4;
    }
    .meta-bar {
        padding: 24px 6vw;
        flex-direction: column;
        align-items: flex-start;
    }
    .meta-bar .divider {
        display: none;
    }
}
@media (max-width: 720px) {
    .about .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .about .stat .num {
        font-size: 32px;
    }
}
