/* ========================================================
   tanso.club — members-only speakeasy for carbon enthusiasts
   Memphis Group + dopamine-neon, asymmetric geometric collage
   ======================================================== */

:root {
    --bg: #1a1a2e;
    --bg-light: #221f3a;
    --coral: #ff6b6b;
    --lime: #a8e06c;
    --cobalt: #4a6cf7;
    --yellow: #ffd93d;
    --pink: #ff2e93;
    --purple: #2d1b69;
    --white: #f8f8f2;

    --font-head: "Syne", "Inter", sans-serif;
    --font-body: "Rubik", "Inter", sans-serif;
    --font-impact: "Bungee", "Syne", sans-serif;
    --font-mono: "Space Mono", "Space", monospace;

    --nav-w: 56px;
    --elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.625;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
    padding-left: var(--nav-w);
}

img, svg { display: block; max-width: 100%; }

button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ===== ambient confetti drifting up ===== */
.confetti-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.55;
}
.confetti-bg::before,
.confetti-bg::after {
    content: "";
    position: absolute;
    inset: -10% -5%;
    background-image:
        radial-gradient(circle at 12% 18%, var(--coral) 0 5px, transparent 6px),
        radial-gradient(circle at 78% 82%, var(--yellow) 0 4px, transparent 5px),
        radial-gradient(circle at 42% 64%, var(--lime) 0 6px, transparent 7px),
        radial-gradient(circle at 88% 22%, var(--cobalt) 0 4px, transparent 5px),
        radial-gradient(circle at 22% 88%, var(--pink) 0 5px, transparent 6px),
        radial-gradient(circle at 58% 12%, var(--lime) 0 3px, transparent 4px);
    background-size: 720px 720px;
    opacity: 0.3;
    animation: drift 24s linear infinite;
}
.confetti-bg::after {
    animation-duration: 38s;
    animation-direction: reverse;
    opacity: 0.2;
    transform: scale(1.4) rotate(8deg);
}
@keyframes drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-720px); }
}

/* ===== side nav ===== */
.side-nav {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--nav-w);
    background: var(--bg);
    border-right: 3px solid var(--white);
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 0 14px;
    gap: 18px;
}
.side-nav-logo .atom-mini { width: 32px; height: 32px; animation: spin-slow 18s linear infinite; }
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.side-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
    padding-top: 22px;
}
.side-nav-item {
    width: 36px;
    height: 36px;
    color: var(--white);
    opacity: 0.55;
    transition: opacity .25s, transform .25s var(--elastic), color .25s;
    position: relative;
    cursor: pointer;
}
.side-nav-item svg { width: 100%; height: 100%; }
.side-nav-item:hover { opacity: 1; transform: scale(1.15) rotate(-6deg); }
.side-nav-item.active { opacity: 1; }
.side-nav-item.active::after {
    content: "";
    position: absolute;
    left: -16px; top: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--coral);
    transform: translateY(-50%);
}
.side-nav-item .nav-label {
    position: absolute;
    left: 46px; top: 50%;
    transform: translateY(-50%) translateX(-6px);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--bg);
    padding: 4px 8px;
    border: 2px solid var(--white);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity .2s, transform .2s var(--elastic);
    z-index: 5;
}
.side-nav-item:hover .nav-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.side-nav-meta {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--white);
    opacity: 0.5;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.25em;
}

/* ===== ticker strip (diagonal -5deg) ===== */
.ticker-strip {
    position: fixed;
    top: 14vh;
    left: -8%;
    right: -8%;
    height: 56px;
    background: var(--yellow);
    border-top: 3px solid var(--bg);
    border-bottom: 3px solid var(--bg);
    transform: rotate(-5deg);
    z-index: 40;
    overflow: hidden;
    box-shadow: 0 6px 0 var(--bg);
}
.ticker-track {
    display: flex;
    gap: 56px;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    padding: 0 32px;
    animation: ticker-roll 38s linear infinite;
    will-change: transform;
}
.ticker-track.paused { animation-play-state: paused; }
.ticker-item {
    font-family: var(--font-impact);
    font-size: 22px;
    color: var(--bg);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color .2s;
}
.ticker-item:hover { color: var(--pink); }
@keyframes ticker-roll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-tooltip {
    position: fixed;
    z-index: 70;
    max-width: 280px;
    padding: 12px 14px;
    background: var(--bg);
    color: var(--white);
    border: 3px solid var(--yellow);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 12px)) scale(0.92);
    transition: opacity .18s, transform .25s var(--elastic);
}
.ticker-tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) scale(1); }
.ticker-tooltip::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--yellow);
}

/* ===== main stage ===== */
.main-stage {
    position: relative;
    z-index: 5;
}
.section {
    position: relative;
    min-height: 100vh;
    padding: 120px 60px 100px;
    overflow: hidden;
}

/* ===== HERO SECTION ===== */
.section-hero { padding-top: 30vh; }

.memphis-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}
.confetti-bit {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 26px; height: 26px;
    background: var(--c);
    animation: float 9s ease-in-out infinite;
    animation-delay: var(--d);
    opacity: 0.7;
}
.bit-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.bit-circle { border-radius: 50%; }
.bit-zigzag { background: transparent; width: 40px; height: 12px; clip-path: polygon(0 0, 25% 100%, 50% 0, 75% 100%, 100% 0, 100% 30%, 75% 100%, 50% 30%, 25% 100%, 0 30%); background: var(--c); }
.bit-squiggle { background: transparent; width: 44px; height: 16px; clip-path: polygon(0 50%, 12.5% 0, 25% 50%, 37.5% 0, 50% 50%, 62.5% 0, 75% 50%, 87.5% 0, 100% 50%, 87.5% 100%, 75% 50%, 62.5% 100%, 50% 50%, 37.5% 100%, 25% 50%, 12.5% 100%); background: var(--c); }
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(8px, -14px) rotate(8deg); }
    50% { transform: translate(-6px, 6px) rotate(-6deg); }
    75% { transform: translate(10px, 12px) rotate(12deg); }
}

/* big circle in top-right, 50vw */
.zone {
    position: absolute;
    transition: transform .45s var(--elastic);
}
.zone-circle {
    top: -8vw;
    right: -10vw;
    width: 60vw;
    height: 60vw;
    max-width: 880px;
    max-height: 880px;
    border-radius: 50%;
    background: var(--coral);
    border: 4px solid var(--white);
    z-index: 10;
    transform-origin: 70% 30%;
    animation: hero-circle-in 1.1s var(--elastic) 0.2s both;
}
@keyframes hero-circle-in {
    from { transform: translate(60vw, -40vw) scale(0.4); opacity: 0; }
    to   { transform: translate(0,0) scale(1); opacity: 1; }
}
.zone-circle-inner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-30%, -10%);
    width: 60%;
    color: var(--white);
}
.zone-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--white);
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 18px;
}
.zone-headline {
    font-family: var(--font-impact);
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 22px;
}
.zone-headline .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotate(-12deg);
    animation: letter-in 0.55s var(--elastic) forwards;
}
@keyframes letter-in {
    to { opacity: 1; transform: translateY(0) rotate(0); }
}
.zone-sub {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.55;
    color: var(--white);
    max-width: 440px;
    margin-bottom: 24px;
}
.zone-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.btn {
    font-family: var(--font-impact);
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 14px 22px;
    border: 3px solid var(--bg);
    background: var(--yellow);
    color: var(--bg);
    transition: transform .2s var(--elastic), box-shadow .2s, background .2s;
    box-shadow: 4px 4px 0 var(--bg);
    position: relative;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--bg); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--bg); }
.btn-primary { background: var(--lime); }
.btn-ghost { background: var(--bg); color: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 var(--white); }
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--white); }
.btn-ghost:active { box-shadow: 1px 1px 0 var(--white); }

.zone-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.meta-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    background: var(--bg);
    color: var(--white);
    padding: 4px 10px;
    border: 2px solid var(--white);
}

/* big triangle, bottom-left */
.zone-triangle {
    bottom: 4vh;
    left: 4vw;
    width: 46vw;
    height: 36vw;
    max-width: 720px;
    max-height: 540px;
    background: var(--lime);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    border: 0;
    z-index: 12;
    animation: hero-tri-in 1.1s var(--elastic) 0.5s both;
}
@keyframes hero-tri-in {
    from { transform: translate(-50vw, 50vh) rotate(-30deg); opacity: 0; }
    to   { transform: translate(0,0) rotate(0); opacity: 1; }
}
.zone-triangle-inner {
    position: absolute;
    right: 6%;
    top: 28%;
    width: 56%;
    color: var(--purple);
    text-align: right;
}
.zone-tri-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.zone-tri-line {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(20px, 2.4vw, 36px);
    line-height: 1.1;
}
.zone-tri-line.big {
    font-family: var(--font-impact);
    font-size: clamp(36px, 4.8vw, 80px);
    color: var(--bg);
    letter-spacing: -0.01em;
}

/* big quad / rectangle, mid-left, slanted (the "navigation zone" replacement: a bold tall block) */
.zone-quad {
    top: 40vh;
    left: 2vw;
    width: 200px;
    padding: 22px 18px;
    background: var(--cobalt);
    border: 4px solid var(--white);
    color: var(--white);
    transform: rotate(-6deg);
    z-index: 14;
    animation: hero-quad-in 1.1s var(--elastic) 0.8s both;
    text-align: center;
}
@keyframes hero-quad-in {
    from { transform: translateX(-50vw) rotate(-30deg); opacity: 0; }
    to   { transform: translateX(0) rotate(-6deg); opacity: 1; }
}
.quad-num {
    font-family: var(--font-impact);
    font-size: 44px;
    color: var(--yellow);
    line-height: 1;
}
.quad-cap {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.3em;
    margin: 6px 0 12px;
    color: var(--white);
}
.quad-tag {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
    color: var(--white);
    text-transform: uppercase;
}

/* big atom mascot floating between layers */
.atom-big {
    position: absolute;
    bottom: 18vh;
    right: 22vw;
    width: 220px;
    height: 220px;
    z-index: 16;
    animation: atom-float 6s ease-in-out infinite, atom-spin 28s linear infinite;
    pointer-events: none;
}
.atom-big svg { width: 100%; height: 100%; }
@keyframes atom-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes atom-spin {
    from { filter: hue-rotate(0deg); }
    to   { filter: hue-rotate(360deg); }
}

/* Zone hover states (jostling) */
.zone-circle:hover { transform: scale(1.03) rotate(1.5deg); }
.zone-triangle:hover { transform: scale(1.03) rotate(-1.5deg) translate(5px, -5px); }
.zone-quad:hover { transform: rotate(-3deg) scale(1.05) translateX(8px); }

/* ===== MANIFESTO SECTION ===== */
.section-manifesto {
    background: var(--bg);
    padding-top: 140px;
}
.manifesto-stack {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: 1100px;
}
.section-manifesto .zone {
    position: absolute;
}

.zone-mani-circle {
    top: 0; left: 4%;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: var(--coral);
    border: 4px solid var(--white);
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--white);
    padding: 28px;
}
.zone-mani-tri {
    top: 20px; right: 4%;
    width: 360px; height: 360px;
    background: var(--cobalt);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    display: grid;
    place-items: center;
    color: var(--white);
    text-align: center;
}
.zone-mani-quad {
    top: 360px; left: 18%;
    width: 460px;
    padding: 28px;
    background: var(--lime);
    color: var(--purple);
    border: 4px solid var(--white);
    transform: rotate(-3deg);
    z-index: 4;
}
.zone-mani-stripe {
    top: 460px; right: 6%;
    width: 420px;
    padding: 28px;
    background: var(--bg-light);
    color: var(--white);
    border: 4px solid var(--yellow);
    background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,217,61,0.08) 4px 8px);
    transform: rotate(2deg);
    z-index: 3;
}
.zone-mani-rect {
    bottom: 0; left: 8%;
    width: 720px;
    padding: 36px 40px;
    background: var(--yellow);
    color: var(--purple);
    border: 4px solid var(--bg);
    z-index: 5;
    box-shadow: 10px 10px 0 var(--coral);
}

.mani-num {
    font-family: var(--font-impact);
    font-size: 48px;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 8px;
}
.mani-num.alt { color: var(--coral); }
.zone-callout {
    font-family: var(--font-impact);
    font-size: 80px;
    line-height: 0.92;
    color: var(--white);
    letter-spacing: -0.01em;
}
.zone-callout.small { font-size: 56px; color: var(--white); }
.zone-mani-quad .mani-h {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.05;
    color: var(--purple);
    margin-bottom: 8px;
}
.zone-mani-stripe .mani-h {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 8px;
}
.zone-mani-rect .mani-h {
    font-family: var(--font-impact);
    font-size: 56px;
    line-height: 1;
    color: var(--purple);
    margin-bottom: 14px;
}
.mani-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
}
.mani-body.dark { color: var(--purple); font-size: 18px; max-width: 540px; }
.zone-mani-quad .mani-body { color: var(--purple); }

/* ===== RITUALS SECTION ===== */
.section-rituals {
    background: var(--bg);
    background-image:
        repeating-linear-gradient(45deg, transparent 0 8px, rgba(168,224,108,0.05) 8px 12px);
    padding-top: 120px;
}
.section-header {
    max-width: 900px;
    margin: 0 auto 60px;
    padding-left: 6vw;
}
.section-header.right { text-align: right; padding-right: 6vw; padding-left: 0; }
.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--lime);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-impact);
    font-size: clamp(48px, 8vw, 120px);
    line-height: 0.92;
    color: var(--white);
    letter-spacing: -0.01em;
}
.section-title.alt { color: var(--yellow); }

.rituals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
}
.ritual-card {
    position: relative;
    padding: 36px 32px 32px;
    border: 4px solid var(--white);
    background: var(--bg);
    overflow: hidden;
    transition: transform .3s var(--elastic);
    cursor: pointer;
    min-height: 280px;
}
.ritual-card:hover { transform: translate(-4px, -4px) rotate(-1deg); }
.ritual-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
}
.r-1 .ritual-shape {
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: var(--coral);
    border-radius: 50%;
}
.r-2 .ritual-shape {
    bottom: -60px; left: -50px;
    width: 220px; height: 180px;
    background: var(--lime);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.r-3 .ritual-shape {
    top: -50px; left: -50px;
    width: 180px; height: 180px;
    background: var(--cobalt);
    transform: rotate(20deg);
}
.r-4 .ritual-shape {
    bottom: -30px; right: -30px;
    width: 160px; height: 160px;
    background: var(--yellow);
    border-radius: 50%;
}
.ritual-when {
    position: relative;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ritual-title {
    position: relative;
    font-family: var(--font-impact);
    font-size: 38px;
    line-height: 1;
    color: var(--white);
    margin-bottom: 16px;
}
.ritual-body {
    position: relative;
    font-size: 16px;
    line-height: 1.55;
    color: var(--white);
    margin-bottom: 18px;
    max-width: 80%;
}
.ritual-tag {
    position: relative;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--lime);
    text-transform: uppercase;
}

/* ===== MEMBERS SECTION ===== */
.section-members {
    background: var(--bg);
    padding-top: 140px;
}
.members-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4vw;
}
.member-card {
    padding: 24px 22px;
    background: var(--bg-light);
    border: 3px solid var(--white);
    color: var(--white);
    cursor: pointer;
    transition: transform .3s var(--elastic), background .3s;
    position: relative;
    overflow: hidden;
}
.member-card::before {
    content: "";
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    opacity: 0.18;
    background: var(--yellow);
}
.m-1::before { background: var(--coral); }
.m-2::before { background: var(--cobalt); }
.m-3::before { background: var(--lime); }
.m-4::before { background: var(--pink); }
.m-1 { transform: rotate(-1.5deg); }
.m-2 { transform: rotate(1deg); margin-top: 24px; }
.m-3 { transform: rotate(-0.5deg); }
.m-4 { transform: rotate(1.5deg); margin-top: 18px; }
.member-card:hover { transform: rotate(0) translateY(-6px); }

.badge-strip {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--white);
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: transform .5s var(--elastic);
    animation: badge-pulse 2s ease-in-out infinite;
    position: relative;
}
.badge.b-coral { border-color: var(--coral); }
.badge.b-lime { border-color: var(--lime); }
.badge.b-cobalt { border-color: var(--cobalt); }
.badge.b-yellow { border-color: var(--yellow); }
.badge.b-pink { border-color: var(--pink); }
.badge .b-mark {
    font-family: var(--font-impact);
    font-size: 18px;
    color: var(--white);
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.badge:hover {
    transform: rotate(360deg) scale(1.18);
    animation-play-state: paused;
}
.badge::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0;
    transition: opacity .3s;
}
.badge:hover::after { opacity: 0.6; }

.member-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 4px;
}
.member-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}
.member-quote {
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
    font-style: italic;
}

/* ===== JOIN SECTION ===== */
.section-join {
    background: var(--bg);
    padding-top: 140px;
    padding-bottom: 140px;
    overflow: hidden;
}
.join-circle {
    position: relative;
    width: min(620px, 90vw);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background: var(--pink);
    border-radius: 50%;
    border: 5px solid var(--white);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 12%;
    z-index: 5;
}
.join-tri {
    position: absolute;
    top: 30%; left: 6%;
    width: 280px; height: 280px;
    background: var(--lime);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
    animation: gentle-rot 14s ease-in-out infinite;
}
.join-rect {
    position: absolute;
    bottom: 18%; right: 4%;
    width: 220px; height: 320px;
    background: var(--yellow);
    border: 4px solid var(--white);
    transform: rotate(8deg);
    z-index: 2;
    animation: gentle-rot-r 18s ease-in-out infinite;
}
@keyframes gentle-rot {
    0%,100% { transform: rotate(0); }
    50% { transform: rotate(8deg); }
}
@keyframes gentle-rot-r {
    0%,100% { transform: rotate(8deg); }
    50% { transform: rotate(-3deg); }
}
.join-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.join-title {
    font-family: var(--font-impact);
    font-size: clamp(40px, 5.6vw, 84px);
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 18px;
}
.join-body {
    font-size: 17px;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
.join-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 14px;
}
.join-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 16px;
    border: 3px solid var(--white);
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 14px;
    outline: none;
}
.join-input::placeholder { color: rgba(248,248,242,0.5); }
.btn-burst { background: var(--lime); color: var(--bg); border-color: var(--bg); box-shadow: 4px 4px 0 var(--bg); }
.btn-burst:hover { box-shadow: 6px 6px 0 var(--bg); }
.join-foot {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--white);
    opacity: 0.7;
    letter-spacing: 0.12em;
}

/* ===== FOOTER ===== */
.site-foot {
    padding: 60px 6vw 80px;
    border-top: 3px solid var(--white);
    background: var(--bg);
    background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(248,248,242,0.04) 4px 8px);
}
.foot-row {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}
.foot-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-impact);
    font-size: 22px;
    color: var(--yellow);
}
.foot-mark .atom-mini { width: 36px; height: 36px; }
.foot-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    max-width: 480px;
}
.foot-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--white);
    opacity: 0.6;
    letter-spacing: 0.16em;
}

/* ===== confetti burst layer ===== */
.burst-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    overflow: visible;
}
.burst-bit {
    position: absolute;
    width: 14px;
    height: 14px;
    will-change: transform, opacity;
    animation: burst-pop 1.2s cubic-bezier(0.22, 0.7, 0.3, 1) forwards;
}
.burst-bit.t-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.burst-bit.t-circle { border-radius: 50%; }
.burst-bit.t-rect { border-radius: 2px; }
.burst-bit.t-zigzag { width: 22px; height: 8px; clip-path: polygon(0 0, 25% 100%, 50% 0, 75% 100%, 100% 0, 100% 30%, 75% 100%, 50% 30%, 25% 100%, 0 30%); }
@keyframes burst-pop {
    0%   { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) translate(var(--bx), var(--by)) rotate(var(--br)); opacity: 0; }
}

/* ===== scroll reveal helper ===== */
.section .zone, .ritual-card, .member-card {
    /* baseline state for reveal handled in JS */
}
.reveal-pre { opacity: 0; transform: scale(0.6); }
.reveal-in { opacity: 1; transform: scale(1); transition: opacity .6s ease, transform .9s var(--elastic); }

/* ===== responsive ===== */
@media (max-width: 1080px) {
    .members-rail { grid-template-columns: repeat(2, 1fr); }
    .rituals-grid { grid-template-columns: 1fr; }
    .zone-mani-rect { width: 86%; }
    .zone-mani-quad { width: 60%; }
    .zone-mani-stripe { width: 56%; }
    .manifesto-stack { height: 1240px; }
}
@media (max-width: 760px) {
    body { padding-left: 0; }
    .side-nav {
        flex-direction: row;
        width: 100%;
        height: 56px;
        bottom: auto;
        right: 0;
        border-right: 0;
        border-bottom: 3px solid var(--white);
        padding: 0 14px;
        gap: 14px;
    }
    .side-nav-list {
        flex-direction: row;
        gap: 12px;
        padding-top: 0;
        padding-left: 8px;
    }
    .side-nav-item { width: 28px; height: 28px; }
    .side-nav-item .nav-label { display: none; }
    .side-nav-meta { display: none; }
    .ticker-strip { top: 80px; height: 44px; }
    .ticker-item { font-size: 16px; }
    .section { padding: 80px 24px 60px; }
    .section-hero { padding-top: 26vh; }
    .zone-circle { width: 92vw; height: 92vw; right: -28vw; top: -10vw; }
    .zone-circle-inner { transform: translate(-12%, -10%); width: 88%; }
    .zone-triangle { width: 90vw; height: 60vw; left: -10vw; bottom: 10vh; }
    .zone-triangle-inner { right: 4%; top: 20%; width: 70%; }
    .zone-quad { left: 12px; top: 32vh; width: 140px; }
    .atom-big { right: 4vw; bottom: 4vh; width: 140px; height: 140px; }
    .manifesto-stack { height: auto; display: flex; flex-direction: column; gap: 18px; }
    .section-manifesto .zone { position: static; transform: none !important; width: 100% !important; height: auto !important; min-height: 220px; }
    .zone-mani-circle { border-radius: 32px; }
    .zone-mani-tri { clip-path: none; padding: 32px; }
    .zone-callout { font-size: 60px; }
    .members-rail { grid-template-columns: 1fr; }
    .m-1, .m-2, .m-3, .m-4 { transform: none; margin-top: 0; }
    .foot-row { grid-template-columns: 1fr; text-align: left; }
    .join-tri, .join-rect { display: none; }
}
