:root {
    color-scheme: dark;
    --bg: #07060d;
    --bg-deep: #030309;
    --surface: #0d0b17;
    --surface-2: #111020;
    --text: #f8f7ff;
    --muted: #aaa5bd;
    --muted-2: #77718b;
    --purple: #8b5cf6;
    --purple-bright: #a855f7;
    --magenta: #d946ef;
    --cyan: #38bdf8;
    --cyan-bright: #22d3ee;
    --success: #56e6b1;
    --danger: #ff7a9f;
    --line: rgba(181, 151, 255, 0.20);
    --line-strong: rgba(181, 151, 255, 0.42);
    --shadow-purple: 0 0 48px rgba(139, 92, 246, 0.18);
    --page: min(1520px, calc(100% - 64px));
    --header-h: 96px;
    --radius: 20px;
    --radius-sm: 12px;
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-ui: "Inter", "Segoe UI", sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    background: var(--bg);
    scroll-behavior: smooth;
    scrollbar-color: var(--purple) var(--bg-deep);
    scrollbar-width: thin;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background:
        radial-gradient(circle at 82% 4%, rgba(72, 32, 132, 0.16), transparent 34rem),
        linear-gradient(180deg, #06050c 0%, var(--bg) 45%, #05040a 100%);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: rgba(139, 92, 246, 0.45);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--bg-deep);
    border-radius: 99px;
    background: linear-gradient(var(--purple), var(--cyan));
}

img,
svg {
    display: block;
}

img {
    height: auto;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

[hidden] {
    display: none !important;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    letter-spacing: -0.045em;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    transform: translateY(-150%);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 700;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.neural-canvas {
    position: fixed;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.42;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.ambient {
    position: fixed;
    z-index: -3;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.10;
    pointer-events: none;
    animation: ambient-drift 24s var(--ease-smooth) infinite alternate;
}

.ambient-one {
    top: 5vh;
    right: -18vw;
    background: var(--purple);
}

.ambient-two {
    bottom: -22vw;
    left: -18vw;
    background: var(--cyan);
    animation-delay: -11s;
}

.grain {
    position: fixed;
    z-index: 100;
    inset: 0;
    opacity: 0.022;
    pointer-events: none;
    background-image:
        repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255,255,255,.22) 1px, transparent 1.6px, transparent 4px);
    background-size: 8px 8px;
    mix-blend-mode: soft-light;
}

.gradient-text {
    background: linear-gradient(100deg, var(--purple) 0%, var(--magenta) 48%, var(--cyan) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.site-header {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: var(--header-h);
    padding: 0 max(28px, calc((100vw - 1520px) / 2));
    border-bottom: 1px solid transparent;
    transition:
        height 300ms var(--ease-out),
        background 300ms ease,
        border-color 300ms ease,
        backdrop-filter 300ms ease;
}

.site-header::after {
    position: absolute;
    right: max(32px, calc((100vw - 1520px) / 2));
    bottom: -1px;
    left: max(32px, calc((100vw - 1520px) / 2));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.28), transparent);
    content: "";
}

.site-header.is-scrolled {
    height: 76px;
    border-bottom-color: rgba(181, 151, 255, 0.10);
    background: rgba(7, 6, 13, 0.80);
    backdrop-filter: blur(22px) saturate(130%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    align-content: center;
    width: 54px;
    height: 54px;
    padding: 7px 9px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.80);
    border-radius: 12px;
    background: rgba(11, 9, 22, 0.82);
    box-shadow:
        inset 0 0 22px rgba(139, 92, 246, 0.08),
        0 0 24px rgba(139, 92, 246, 0.08);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 0.92;
}

.brand-mark::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--purple), transparent 44%, var(--cyan));
    content: "";
    opacity: 0.75;
}

.brand-mark span:last-child {
    justify-self: end;
}

.brand-name {
    color: rgba(248, 247, 255, 0.95);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: clamp(26px, 3.2vw, 54px);
}

.desktop-nav a {
    position: relative;
    padding: 12px 0;
    color: #c5c0d4;
    font-size: 14px;
    font-weight: 600;
    transition: color 180ms ease;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    content: "";
    transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calm-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(181, 151, 255, 0.15);
    border-radius: 10px;
    background: rgba(13, 11, 23, 0.64);
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition:
        border-color 180ms ease,
        color 180ms ease,
        background 180ms ease;
}

.calm-toggle svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.calm-toggle:hover,
.calm-toggle[aria-pressed="true"] {
    border-color: rgba(56, 189, 248, 0.48);
    background: rgba(56, 189, 248, 0.08);
    color: #dff7ff;
}

.header-cta {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 16px;
    padding: 0 19px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.58);
    border-radius: 10px;
    background: rgba(13, 11, 23, 0.75);
    font-size: 13px;
    font-weight: 700;
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms var(--ease-out);
}

.header-cta::before {
    position: absolute;
    inset: 0;
    transform: translateX(-105%);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.10), transparent);
    content: "";
    transition: transform 550ms ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.10);
}

.header-cta:hover::before {
    transform: translateX(105%);
}

.header-cta svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(13, 11, 23, 0.86);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #fff;
    transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    z-index: 70;
    inset: 0;
    padding: calc(var(--header-h) + 30px) 24px 32px;
    background:
        radial-gradient(circle at 80% 15%, rgba(139, 92, 246, 0.18), transparent 45%),
        rgba(5, 4, 10, 0.98);
    backdrop-filter: blur(20px);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu-inner {
    display: flex;
    max-width: 580px;
    height: 100%;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.mobile-menu-inner > a:not(.mobile-invite) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(30px, 9vw, 54px);
    font-weight: 600;
    letter-spacing: -0.05em;
}

.mobile-menu-inner > a span {
    color: var(--purple);
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: 0.10em;
}

.mobile-invite {
    margin-top: 32px;
}

.hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 58px) 0 88px;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    top: 0;
    right: -10%;
    width: 70%;
    height: 100%;
    background:
        radial-gradient(ellipse at 55% 42%, rgba(85, 35, 160, 0.14), transparent 58%),
        radial-gradient(ellipse at 70% 50%, rgba(56, 189, 248, 0.07), transparent 52%);
    content: "";
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    width: var(--page);
    margin: 0 auto;
    grid-template-columns: minmax(390px, 0.82fr) minmax(570px, 1.28fr);
    align-items: center;
    gap: clamp(28px, 2.8vw, 56px);
}

.hero-copy {
    position: relative;
    z-index: 3;
    padding-bottom: 60px;
}

.hero h1 {
    max-width: 750px;
    margin-bottom: 36px;
    font-size: clamp(64px, 6.1vw, 104px);
    font-weight: 700;
    line-height: 0.88;
}

.hero-line {
    display: block;
    width: max-content;
    white-space: nowrap;
}

.hero-intro {
    max-width: 620px;
    margin-bottom: 38px;
    color: #b3aec2;
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.58;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 60px;
    min-width: 204px;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition:
        transform 220ms var(--ease-out),
        border-color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease;
}

.button svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 220ms var(--ease-out);
}

.button:hover {
    transform: translateY(-3px);
}

.button:hover svg {
    transform: translateX(4px);
}

.button-primary {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(100deg, var(--purple), var(--magenta), var(--cyan)) border-box;
    box-shadow: 0 14px 40px rgba(139, 92, 246, 0.18);
}

.button-primary::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(100deg, rgba(139, 92, 246, 0.13), rgba(56, 189, 248, 0.08));
    content: "";
    opacity: 0;
    transition: opacity 220ms ease;
}

.button-primary:hover {
    box-shadow: 0 18px 44px rgba(139, 92, 246, 0.28);
}

.button-primary:hover::before {
    opacity: 1;
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(11, 9, 20, 0.74);
    color: #c5c0d4;
}

.button-secondary:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.05);
    color: #fff;
}

.hero-visual {
    position: relative;
    min-height: min(58vw, 640px);
    transform-style: preserve-3d;
    perspective: 1200px;
}

.club-map {
    position: absolute;
    z-index: 2;
    top: 55%;
    left: 50%;
    width: 100%;
    max-width: none;
    transform:
        translate(-50%, -50%)
        rotateX(var(--map-rx, 0deg))
        rotateY(var(--map-ry, 0deg));
    filter: drop-shadow(0 40px 54px rgba(0, 0, 0, 0.46));
    transform-origin: 50% 55%;
    transition: transform 180ms ease-out;
    animation: map-float 8s var(--ease-smooth) infinite alternate;
}

.orbit {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 94%;
    aspect-ratio: 1.9;
    transform: translate(-50%, -50%) rotate(-8deg);
    border: 1px solid rgba(181, 151, 255, 0.28);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-two {
    width: 82%;
    transform: translate(-50%, -50%) rotate(13deg);
    border-color: rgba(56, 189, 248, 0.15);
}

.orbit span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 0 5px rgba(139, 92, 246, 0.12),
        0 0 18px 5px var(--purple);
    animation: orbit-dot 14s linear infinite;
}

.orbit span:nth-child(2) {
    animation-delay: -7s;
}

.orbit-two span {
    background: var(--cyan);
    box-shadow: 0 0 18px 5px rgba(56, 189, 248, 0.70);
    animation-duration: 19s;
    animation-direction: reverse;
}

.map-hotspot {
    position: absolute;
    z-index: 5;
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(168, 85, 247, 0.78);
    border-radius: 50%;
    background: rgba(7, 6, 13, 0.88);
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.26);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 12px;
    transition:
        transform 220ms var(--ease-out),
        background 220ms ease,
        border-color 220ms ease;
}

.map-hotspot strong {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    padding: 6px 10px;
    transform: translateY(-50%) translateX(-6px);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(7, 6, 13, 0.88);
    color: #d7d2e6;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition:
        opacity 180ms ease,
        transform 180ms var(--ease-out);
}

.map-hotspot:hover,
.map-hotspot:focus-visible {
    transform: scale(1.12);
    border-color: var(--cyan);
    background: rgba(56, 189, 248, 0.12);
}

.map-hotspot:hover strong,
.map-hotspot:focus-visible strong {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.hotspot-arena {
    top: 29%;
    left: 36%;
}

.hotspot-chess {
    top: 29%;
    right: 17%;
}

.hotspot-rage {
    top: 49%;
    right: 5%;
}

.hotspot-lounge {
    bottom: 25%;
    left: 28%;
}

.hero-proof {
    position: relative;
    z-index: 3;
    display: grid;
    width: var(--page);
    margin: -16px auto 0;
    padding: 28px 30px;
    border: 1px solid rgba(181, 151, 255, 0.13);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(13, 11, 23, 0.82), rgba(7, 6, 13, 0.44));
    grid-template-columns: repeat(3, 1fr);
    backdrop-filter: blur(12px);
}

.hero-proof > div {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 0 24px;
}

.hero-proof > div + div {
    border-left: 1px solid var(--line);
}

.hero-proof svg {
    width: 32px;
    flex: 0 0 auto;
    fill: none;
    stroke: #a891ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
}

.hero-proof span {
    display: grid;
    gap: 2px;
}

.hero-proof strong {
    font-size: 13px;
}

.hero-proof small {
    color: var(--muted-2);
    font-size: 11px;
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    right: max(32px, calc((100vw - 1520px) / 2));
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-cue svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: scroll-nudge 1.8s ease-in-out infinite;
}

.js .reveal-line {
    transform: translateY(30px);
    opacity: 0;
    animation: line-reveal 800ms var(--ease-out) forwards;
}

.js .hero h1 .reveal-line:nth-child(2) {
    animation-delay: 100ms;
}

.js .hero-intro {
    animation-delay: 220ms;
}

.js .hero-actions {
    animation-delay: 340ms;
}

.js .reveal-visual {
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    animation: visual-reveal 1100ms 150ms var(--ease-out) forwards;
}

.section {
    position: relative;
    scroll-margin-top: 72px;
}

.spaces {
    min-height: 100svh;
    padding: 90px 0 120px;
    overflow: hidden;
}

.spaces::before {
    position: absolute;
    top: 8%;
    right: -10%;
    width: 60%;
    height: 74%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08), transparent 66%);
    content: "";
    pointer-events: none;
}

.section-path {
    position: absolute;
    top: 38px;
    left: 0;
    width: 46%;
    height: 72px;
    border-top: 1px solid rgba(139, 92, 246, 0.52);
    border-right: 1px solid rgba(139, 92, 246, 0.52);
    clip-path: polygon(0 0, 82% 0, 88% 70%, 100% 70%, 100% 100%, 86% 100%, 78% 28%, 0 28%);
}

.section-path span {
    position: absolute;
    top: -4px;
    right: 17%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 15px var(--purple);
    animation: node-pulse 2.8s ease-in-out infinite;
}

.spaces-heading {
    position: relative;
    z-index: 2;
    display: flex;
    width: var(--page);
    margin: 0 auto 30px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.spaces-heading h2 {
    font-size: clamp(52px, 5vw, 84px);
}

.spaces-heading h2,
.culture h2,
.minds h2,
.membership h2 {
    margin-bottom: 0;
    font-size: clamp(52px, 5.8vw, 96px);
    font-weight: 700;
    line-height: 0.95;
}

.spaces-heading p {
    max-width: 300px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: clamp(16px, 1.2vw, 20px);
}

.space-stage {
    position: relative;
    z-index: 2;
    width: var(--page);
    min-height: 500px;
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(181, 151, 255, 0.19);
    border-radius: 24px 24px 8px 8px;
    background: #05040a;
    box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
    isolation: isolate;
}

.space-stage::before,
.space-stage::after {
    position: absolute;
    z-index: 5;
    width: 50px;
    height: 50px;
    border-color: rgba(56, 189, 248, 0.66);
    content: "";
    pointer-events: none;
}

.space-stage::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-radius: 24px 0 0;
}

.space-stage::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.space-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.space-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    opacity: 1;
    transition:
        opacity 320ms ease,
        transform 900ms var(--ease-out);
}

.space-stage.is-changing .space-media img {
    transform: scale(1.035);
    opacity: 0.18;
}

.space-media-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 4, 10, 0.98) 0%, rgba(5, 4, 10, 0.89) 22%, rgba(5, 4, 10, 0.30) 45%, transparent 66%),
        linear-gradient(0deg, rgba(5, 4, 10, 0.68), transparent 36%);
    pointer-events: none;
}

.projection-scan {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -18%;
    width: 16%;
    transform: skewX(-10deg);
    background: linear-gradient(90deg, transparent, rgba(154, 111, 255, 0.07), rgba(56, 189, 248, 0.10), transparent);
    mix-blend-mode: screen;
    animation: projection-scan 10s linear infinite;
}

.rage-crack {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 420ms var(--ease-out),
        opacity 220ms ease;
}

.rage-crack path {
    fill: none;
    stroke: rgba(223, 246, 255, 0.88);
    stroke-dasharray: 1580;
    stroke-dashoffset: 1580;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.9));
}

.space-stage.is-cracked .rage-crack {
    transform: scale(1);
    opacity: 1;
}

.space-stage.is-cracked .rage-crack path {
    animation: draw-crack 700ms var(--ease-out) forwards;
}

.space-copy {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: clamp(28px, 5vw, 78px);
    width: min(480px, 39%);
    transform: translateY(-46%);
}

.space-index {
    margin-bottom: 14px;
    color: #ad71ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.space-copy h3 {
    margin-bottom: 20px;
    font-size: clamp(38px, 3.4vw, 58px);
    font-weight: 700;
    line-height: 1.01;
}

.space-copy > p:not(.space-index) {
    max-width: 430px;
    margin-bottom: 30px;
    color: #b7b1c7;
    font-size: clamp(15px, 1.14vw, 18px);
    line-height: 1.65;
}

.space-copy > * {
    transition:
        opacity 240ms ease,
        transform 320ms var(--ease-out);
}

.space-stage.is-changing .space-copy > * {
    transform: translateY(12px);
    opacity: 0;
}

.space-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-outline {
    min-height: 56px;
    border: 1px solid rgba(168, 85, 247, 0.75);
    background: rgba(7, 6, 13, 0.64);
}

.button-outline:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.12);
}

.button-crack {
    min-width: 176px;
    min-height: 56px;
    border: 1px solid rgba(255, 122, 159, 0.46);
    background: rgba(77, 14, 35, 0.34);
    color: #ffd9e4;
}

.button-crack svg {
    stroke: #ff8cab;
}

.stage-line {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 2px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--purple), rgba(139, 92, 246, .4) 45%, var(--cyan));
    opacity: 0.85;
}

.stage-line span {
    display: block;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: path-flow 5s linear infinite;
}

.space-controls {
    position: relative;
    z-index: 3;
    display: grid;
    width: var(--page);
    margin: 0 auto;
    padding: 26px 0 0;
    grid-template-columns: 1fr auto;
    gap: 28px;
}

.space-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.space-tabs button {
    position: relative;
    display: grid;
    min-height: 78px;
    align-content: start;
    gap: 4px;
    padding: 2px 24px 14px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: #888198;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    transition: color 180ms ease;
}

.space-tabs button:first-child {
    padding-left: 0;
}

.space-tabs button::after {
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 50px;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    content: "";
    transition: transform 240ms var(--ease-out);
}

.space-tabs button:first-child::after {
    left: 0;
}

.space-tabs button span {
    color: #6e6683;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.space-tabs button:hover,
.space-tabs button[aria-selected="true"] {
    color: #fff;
}

.space-tabs button[aria-selected="true"] span {
    color: var(--purple);
}

.space-tabs button[aria-selected="true"]::after {
    transform: scaleX(1);
}

.space-pager {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.space-pager > span {
    align-self: center;
    margin-right: 8px;
    color: #d0ccdb;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
}

.space-pager > span strong {
    color: var(--purple);
}

.space-pager button,
.quote-arrow {
    display: grid;
    width: 54px;
    height: 54px;
    place-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(13, 11, 23, 0.72);
    cursor: pointer;
    transition:
        transform 180ms var(--ease-out),
        border-color 180ms ease,
        color 180ms ease;
}

.space-pager button:last-child {
    border-color: rgba(56, 189, 248, 0.48);
    color: var(--cyan);
}

.space-pager button:hover,
.quote-arrow:hover {
    transform: scale(1.06);
    border-color: var(--cyan);
}

.space-pager svg,
.quote-arrow svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.culture {
    padding: clamp(120px, 12vw, 210px) 0 clamp(110px, 10vw, 170px);
    overflow: hidden;
}

.culture::before {
    position: absolute;
    top: 12%;
    left: -20%;
    width: 64%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08), transparent 65%);
    content: "";
    pointer-events: none;
}

.culture-grid {
    position: relative;
    display: grid;
    width: var(--page);
    margin: auto;
    grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
    align-items: start;
    gap: clamp(70px, 10vw, 170px);
}

.culture-copy {
    position: sticky;
    top: 150px;
}

.culture-copy h2 {
    max-width: 650px;
    margin-bottom: 30px;
}

.culture-copy p {
    max-width: 560px;
    color: var(--muted);
    font-size: clamp(17px, 1.35vw, 21px);
}

.commitment-rail {
    position: relative;
    display: grid;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.commitment-rail::before {
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 36px;
    width: 1px;
    background: linear-gradient(var(--purple), rgba(139, 92, 246, 0.30), var(--cyan));
    content: "";
}

.commitment-rail li {
    position: relative;
    display: flex;
    min-height: 118px;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid rgba(181, 151, 255, 0.10);
    color: #dfdbea;
    font-size: clamp(17px, 1.35vw, 22px);
}

.commitment-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    place-content: center;
    border: 1px solid rgba(168, 85, 247, 0.65);
    border-radius: 50%;
    background: var(--bg);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.09);
}

.commitment-icon::before {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 18px;
    height: 1px;
    background: var(--purple);
    content: "";
}

.commitment-icon svg {
    width: 30px;
    fill: none;
    stroke: #b368ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.minds {
    padding: clamp(100px, 9vw, 150px) 0 clamp(120px, 10vw, 180px);
    overflow: hidden;
    border-top: 1px solid rgba(181, 151, 255, 0.08);
}

.minds::before {
    position: absolute;
    top: 18%;
    right: -20%;
    width: 72%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(62, 37, 120, 0.16), transparent 67%);
    content: "";
    pointer-events: none;
}

.minds-path {
    position: absolute;
    top: 55px;
    right: 3%;
    left: 3%;
    height: 80px;
    border-top: 1px solid rgba(139, 92, 246, 0.38);
    clip-path: polygon(0 20%, 36% 20%, 38% 0, 72% 0, 74% 20%, 100% 20%, 100% 42%, 73% 42%, 71% 21%, 39% 21%, 37% 42%, 0 42%);
}

.minds-path span {
    position: absolute;
    top: -4px;
    left: 72%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
    animation: node-pulse 3s ease-in-out infinite;
}

.minds-intro {
    position: relative;
    z-index: 2;
    display: flex;
    width: var(--page);
    margin: 0 auto 52px;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.minds-intro h2 {
    max-width: 850px;
}

.minds-intro p {
    max-width: 440px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 15px;
}

.quote-stage {
    position: relative;
    z-index: 2;
    display: grid;
    width: var(--page);
    min-height: 640px;
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(181, 151, 255, 0.15);
    border-radius: 24px 24px 8px 8px;
    background:
        linear-gradient(90deg, rgba(10, 8, 17, 0.98) 0%, rgba(10, 8, 17, 0.88) 48%, rgba(10, 8, 17, 0.28) 74%, rgba(10, 8, 17, 0.08)),
        var(--surface);
    grid-template-columns: 1.07fr 0.93fr;
}

.quote-stage::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--purple), transparent 48%, var(--cyan));
    content: "";
    opacity: 0.75;
}

.quote-content {
    position: relative;
    z-index: 3;
    display: flex;
    max-width: 820px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(44px, 5vw, 80px);
}

.quote-mark {
    position: absolute;
    top: 42px;
    left: clamp(44px, 5vw, 80px);
    color: var(--purple);
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
    opacity: 0.68;
}

.quote-content blockquote {
    margin: 26px 0 42px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(38px, 4.15vw, 68px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
    transition:
        transform 320ms var(--ease-out),
        opacity 240ms ease;
}

.quote-attribution {
    display: grid;
    gap: 5px;
    transition:
        transform 320ms var(--ease-out),
        opacity 240ms ease;
}

.quote-attribution strong {
    color: #bd74ff;
    font-family: var(--font-display);
    font-size: 22px;
}

.quote-attribution span {
    color: var(--muted);
    font-size: 13px;
}

.quote-attribution a {
    width: fit-content;
    margin-top: 9px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.42);
    color: #a9e9ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.quote-stage.is-changing blockquote,
.quote-stage.is-changing .quote-attribution {
    transform: translateY(14px);
    opacity: 0;
}

.portrait-frame {
    position: relative;
    z-index: 1;
    min-height: 640px;
    overflow: hidden;
}

.portrait-frame::before {
    position: absolute;
    z-index: 3;
    inset: 0;
    background:
        linear-gradient(90deg, #0a0811 0%, transparent 28%),
        linear-gradient(0deg, rgba(10, 8, 17, 0.78), transparent 30%);
    content: "";
    pointer-events: none;
}

.portrait-sprite {
    position: absolute;
    inset: 0;
    transform: scale(1.03);
    background-image: url("assets/images/minds-portraits.png");
    background-position: var(--portrait-x, 0%) var(--portrait-y, 0%);
    background-repeat: no-repeat;
    background-size: 300% 200%;
    filter: saturate(0.92) contrast(1.04);
    transition:
        background-position 0ms 180ms,
        transform 900ms var(--ease-out),
        opacity 260ms ease;
}

.quote-stage.is-changing .portrait-sprite {
    transform: scale(1.08);
    opacity: 0.14;
}

.portrait-scan {
    position: absolute;
    z-index: 4;
    top: -24%;
    right: 0;
    left: 0;
    height: 16%;
    background: linear-gradient(transparent, rgba(56, 189, 248, 0.10), transparent);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: portrait-scan 9s linear infinite;
}

.quote-controls {
    position: relative;
    z-index: 3;
    display: grid;
    width: var(--page);
    margin: 0 auto;
    padding: 22px 0 0;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
}

.quote-tabs {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.quote-tabs::-webkit-scrollbar {
    display: none;
}

.quote-tabs button {
    position: relative;
    min-height: 54px;
    flex: 1 0 auto;
    padding: 0 20px;
    border: 0;
    background: transparent;
    color: #8f899f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.quote-tabs button::after {
    position: absolute;
    right: 20px;
    bottom: -1px;
    left: 20px;
    height: 2px;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    content: "";
    transition: transform 220ms var(--ease-out);
}

.quote-tabs button:hover,
.quote-tabs button[aria-selected="true"] {
    color: #fff;
}

.quote-tabs button[aria-selected="true"]::after {
    transform: scaleX(1);
}

.quote-pause {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 99px;
    background: rgba(13, 11, 23, 0.72);
    color: #cbc6d8;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.quote-pause svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.quote-pause .play-icon {
    display: none;
}

.quote-pause[aria-pressed="true"] .pause-icon {
    display: none;
}

.quote-pause[aria-pressed="true"] .play-icon {
    display: block;
}

.context-note {
    position: relative;
    z-index: 2;
    display: flex;
    width: var(--page);
    margin: 34px auto 0;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--muted-2);
    font-size: 12px;
    text-align: center;
}

.context-note svg {
    width: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--purple);
    stroke-linecap: round;
    stroke-width: 1.6;
}

.membership {
    min-height: 100svh;
    padding: clamp(120px, 11vw, 190px) 0 90px;
    overflow: hidden;
    border-top: 1px solid rgba(181, 151, 255, 0.08);
}

.membership::before {
    position: absolute;
    top: 10%;
    left: -12%;
    width: 58%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12), transparent 65%);
    content: "";
    pointer-events: none;
}

.membership-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: var(--page);
    margin: auto;
    grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1.18fr);
    align-items: center;
    gap: clamp(60px, 8vw, 130px);
}

.membership-copy h2 {
    margin-bottom: 34px;
}

.membership-copy > p {
    max-width: 570px;
    margin-bottom: 54px;
    color: var(--muted);
    font-size: clamp(17px, 1.45vw, 22px);
}

.membership-orbit {
    position: absolute;
    top: 18%;
    left: -4%;
    width: 45vw;
    height: 45vw;
    max-width: 720px;
    max-height: 720px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.membership-orbit::before,
.membership-orbit::after {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(56, 189, 248, 0.11);
    border-radius: 50%;
    content: "";
}

.membership-orbit::after {
    inset: 20%;
    border-color: rgba(217, 70, 239, 0.12);
}

.membership-orbit span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 16px var(--purple);
    animation: membership-node 16s linear infinite;
}

.membership-orbit span:nth-child(2) {
    background: var(--cyan);
    animation-delay: -5s;
}

.membership-orbit span:nth-child(3) {
    animation-delay: -10s;
}

.safety-note {
    display: flex;
    max-width: 520px;
    align-items: center;
    gap: 18px;
    color: #9e98ae;
    font-size: 13px;
}

.safety-note svg {
    width: 48px;
    flex: 0 0 auto;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    fill: none;
    stroke: #9d71ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.form-shell {
    position: relative;
    min-height: 690px;
    padding: clamp(26px, 3vw, 44px);
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.46);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.08), transparent 35%),
        linear-gradient(145deg, rgba(17, 15, 32, 0.96), rgba(8, 7, 16, 0.98));
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.36),
        inset 0 1px rgba(255, 255, 255, 0.025);
}

.form-shell::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan));
    content: "";
}

.membership-form {
    display: grid;
    gap: 17px;
    transition:
        transform 380ms var(--ease-out),
        opacity 240ms ease;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-row label,
.form-row:not(.two-column) {
    color: #f0edf7;
    font-size: 13px;
    font-weight: 700;
}

.form-row label {
    display: grid;
    gap: 7px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    border: 1px solid rgba(181, 151, 255, 0.20);
    border-radius: 10px;
    background: rgba(5, 4, 12, 0.68);
    color: #f9f7ff;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

input[type="text"],
input[type="email"] {
    min-height: 52px;
    padding: 0 15px;
}

textarea {
    min-height: 88px;
    padding: 13px 15px;
    resize: vertical;
    line-height: 1.5;
}

input::placeholder,
textarea::placeholder {
    color: #696277;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--cyan);
    background: rgba(10, 8, 20, 0.94);
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.10),
        0 0 24px rgba(56, 189, 248, 0.08);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.field-error {
    min-height: 0;
    color: #ff9bb7;
    font-size: 11px;
    font-weight: 500;
}

.interest-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.interest-fieldset legend {
    margin-bottom: 8px;
    color: #f0edf7;
    font-size: 13px;
    font-weight: 700;
}

.interest-fieldset legend span {
    color: var(--muted-2);
    font-weight: 400;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.interest-grid label {
    min-width: 0;
}

.interest-grid input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.interest-grid span {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(181, 151, 255, 0.22);
    border-radius: 8px;
    background: rgba(5, 4, 12, 0.52);
    color: #bdb8ca;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.interest-grid span::after {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 6px;
    height: 6px;
    border: 1px solid #81798f;
    border-radius: 50%;
    content: "";
}

.interest-grid input:focus-visible + span {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.interest-grid input:checked + span {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.12);
    color: #fff;
}

.interest-grid input:checked + span::after {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 9px rgba(56, 189, 248, 0.65);
}

.age-check {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.age-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.check-box {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-content: center;
    border: 1px solid rgba(181, 151, 255, 0.45);
    border-radius: 5px;
    background: rgba(5, 4, 12, 0.72);
    transition:
        border-color 180ms ease,
        background 180ms ease;
}

.check-box svg {
    width: 14px;
    fill: none;
    stroke: white;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    transition: stroke-dashoffset 180ms ease;
}

.age-check input:focus-visible + .check-box {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.age-check input:checked + .check-box {
    border-color: var(--purple);
    background: var(--purple);
}

.age-check input:checked + .check-box svg {
    stroke-dashoffset: 0;
}

.age-error {
    margin-top: -12px;
}

.privacy-line {
    display: flex;
    margin: -6px 0 0;
    align-items: center;
    gap: 8px;
    color: var(--muted-2);
    font-size: 10px;
}

.privacy-line svg {
    width: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: #80778f;
    stroke-linecap: round;
    stroke-width: 1.5;
}

.form-submit {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    background: linear-gradient(105deg, #7c3aed 0%, #7955f3 52%, #24bce9 100%);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 14px 38px rgba(100, 64, 220, 0.22);
    transition:
        transform 200ms var(--ease-out),
        box-shadow 200ms ease;
}

.form-submit::before {
    position: absolute;
    inset: 0;
    transform: translateX(-110%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
    content: "";
    transition: transform 650ms ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(100, 64, 220, 0.34);
}

.form-submit:hover::before {
    transform: translateX(110%);
}

.form-submit svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.form-status {
    min-height: 0;
    margin: 0;
    color: var(--danger);
    font-size: 11px;
    text-align: center;
}

.form-success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 42px;
    background:
        radial-gradient(circle at center, rgba(86, 230, 177, 0.08), transparent 44%),
        rgba(8, 7, 16, 0.96);
    text-align: center;
}

.form-success[hidden] {
    display: none;
}

.success-ring {
    display: grid;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    place-content: center;
    border: 1px solid rgba(86, 230, 177, 0.48);
    border-radius: 50%;
    box-shadow: 0 0 45px rgba(86, 230, 177, 0.13);
    animation: success-pulse 850ms var(--ease-out) both;
}

.success-ring svg {
    width: 48px;
    fill: none;
    stroke: var(--success);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.form-success h3 {
    margin-bottom: 12px;
    font-size: 34px;
}

.form-success p {
    max-width: 440px;
    margin-bottom: 28px;
    color: var(--muted);
}

.site-footer {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 170px;
    align-items: center;
    padding: 40px max(28px, calc((100vw - 1520px) / 2));
    border-top: 1px solid rgba(181, 151, 255, 0.18);
    background: rgba(3, 3, 9, 0.82);
    grid-template-columns: 1.15fr 1fr 0.75fr;
    gap: 36px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand > span:last-child {
    display: grid;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.15;
}

.footer-brand a {
    margin-top: 5px;
    color: #a775ff;
    font-size: 11px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0;
}

.footer-links button {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: #9e98ae;
    cursor: pointer;
    font-size: 12px;
    transition: color 180ms ease;
}

.footer-links button:last-child {
    border-right: 0;
}

.footer-links button:hover {
    color: #fff;
}

.site-footer > p {
    margin: 0;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.45;
    text-align: right;
}

.site-footer > p span {
    color: #9d6cff;
    font-weight: 700;
}

.info-dialog {
    width: min(620px, calc(100% - 32px));
    max-height: min(760px, calc(100svh - 40px));
    padding: 0;
    overflow: hidden auto;
    border: 1px solid rgba(168, 85, 247, 0.50);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.08), transparent 35%),
        #0b0914;
    color: var(--text);
    box-shadow: 0 40px 100px rgba(0,0,0,.70);
}

.info-dialog::backdrop {
    background: rgba(2, 2, 7, 0.78);
    backdrop-filter: blur(10px);
}

.dialog-close {
    position: sticky;
    z-index: 2;
    top: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    margin: 16px 16px 0 auto;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
}

.dialog-close svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

[data-dialog-content] {
    padding: 0 clamp(28px, 5vw, 52px) 48px;
}

[data-dialog-content] h2 {
    margin-bottom: 20px;
    font-size: clamp(36px, 6vw, 52px);
}

[data-dialog-content] h3 {
    margin: 28px 0 8px;
    font-size: 20px;
}

[data-dialog-content] p,
[data-dialog-content] li {
    color: #b7b1c7;
    font-size: 14px;
}

[data-dialog-content] a {
    color: #98e8ff;
    text-decoration: underline;
}

.noscript-note {
    position: fixed;
    z-index: 200;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px;
    border: 1px solid var(--purple);
    border-radius: 10px;
    background: var(--surface);
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.js .reveal {
    transform: translateY(28px);
    opacity: 0;
    transition:
        transform 700ms var(--ease-out),
        opacity 560ms ease;
}

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

@keyframes ambient-drift {
    0% { transform: translate3d(-2%, -3%, 0) scale(0.94); }
    100% { transform: translate3d(5%, 4%, 0) scale(1.08); }
}

@keyframes line-reveal {
    to { transform: translateY(0); opacity: 1; }
}

@keyframes visual-reveal {
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes map-float {
    0% {
        transform:
            translate(-50%, -49%)
            rotateX(var(--map-rx, 0deg))
            rotateY(var(--map-ry, 0deg));
    }
    100% {
        transform:
            translate(-50%, -51%)
            rotateX(var(--map-rx, 0deg))
            rotateY(var(--map-ry, 0deg));
    }
}

@keyframes orbit-dot {
    0% { left: 0; top: 50%; }
    25% { left: 50%; top: 0; }
    50% { left: 100%; top: 50%; }
    75% { left: 50%; top: 100%; }
    100% { left: 0; top: 50%; }
}

@keyframes scroll-nudge {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(4px); }
}

@keyframes node-pulse {
    0%, 100% { transform: scale(0.82); opacity: 0.62; }
    50% { transform: scale(1.25); opacity: 1; }
}

@keyframes projection-scan {
    to { left: 115%; }
}

@keyframes draw-crack {
    to { stroke-dashoffset: 0; }
}

@keyframes path-flow {
    from { transform: translateX(-100%); }
    to { transform: translateX(600%); }
}

@keyframes portrait-scan {
    to { top: 110%; }
}

@keyframes membership-node {
    0% { left: 0; top: 50%; }
    25% { left: 50%; top: 0; }
    50% { left: 100%; top: 50%; }
    75% { left: 50%; top: 100%; }
    100% { left: 0; top: 50%; }
}

@keyframes success-pulse {
    0% { transform: scale(0.72); opacity: 0; box-shadow: 0 0 0 0 rgba(86,230,177,.26); }
    55% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 0 24px rgba(86,230,177,0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(86,230,177,0); }
}

html.is-calm .neural-canvas {
    opacity: 0;
}

html.is-calm .ambient,
html.is-calm .orbit span,
html.is-calm .club-map,
html.is-calm .scroll-cue svg,
html.is-calm .section-path span,
html.is-calm .projection-scan,
html.is-calm .stage-line span,
html.is-calm .portrait-scan,
html.is-calm .membership-orbit span,
html.is-calm .minds-path span {
    animation: none !important;
}

html.is-calm .club-map {
    transform: translate(-50%, -50%);
}

html.is-calm .quote-stage,
html.is-calm .space-stage {
    scroll-behavior: auto;
}

@media (max-width: 1240px) {
    :root {
        --page: min(100% - 44px, 1120px);
    }

    .site-header {
        padding-inline: 22px;
    }

    .site-header::after {
        right: 22px;
        left: 22px;
    }

    .brand-name {
        display: none;
    }

    .desktop-nav {
        gap: 28px;
    }

    .calm-toggle span {
        display: none;
    }

    .calm-toggle {
        width: 46px;
        padding: 0;
        justify-content: center;
    }

    .hero-grid {
        grid-template-columns: minmax(350px, .78fr) minmax(520px, 1.22fr);
    }

    .hero h1 {
        font-size: clamp(60px, 7.2vw, 90px);
    }

    .hero-visual {
        min-height: 620px;
    }

    .club-map {
        width: 110%;
    }

    .membership-grid {
        grid-template-columns: minmax(340px, .75fr) minmax(560px, 1.25fr);
        gap: 56px;
    }
}

@media (max-width: 1020px) {
    :root {
        --header-h: 76px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .header-actions {
        grid-column: 2;
    }

    .menu-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-copy {
        max-width: 780px;
        padding-bottom: 10px;
    }

    .hero h1 {
        font-size: clamp(66px, 11vw, 104px);
    }

    .hero-visual {
        min-height: min(78vw, 740px);
    }

    .club-map {
        width: 104%;
    }

    .hotspot-arena { left: 33%; }
    .hotspot-lounge { left: 27%; }

    .hero-proof {
        margin-top: -32px;
    }

    .space-copy {
        width: min(460px, 48%);
    }

    .space-tabs {
        overflow-x: auto;
        grid-template-columns: repeat(5, minmax(140px, 1fr));
        scrollbar-width: thin;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .culture-copy {
        position: relative;
        top: auto;
        max-width: 760px;
    }

    .commitment-rail {
        max-width: 780px;
        margin-left: auto;
    }

    .minds-intro {
        align-items: start;
        flex-direction: column;
    }

    .quote-stage {
        min-height: 700px;
        grid-template-columns: 1fr 0.78fr;
    }

    .portrait-frame {
        min-height: 700px;
    }

    .quote-controls {
        grid-template-columns: auto 1fr auto;
    }

    .quote-pause {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .membership-copy {
        max-width: 780px;
    }

    .membership-orbit {
        top: 4%;
        width: 70vw;
        height: 70vw;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer > p {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 760px) {
    :root {
        --page: calc(100% - 32px);
    }

    body {
        font-size: 15px;
    }

    .site-header {
        padding-inline: 16px;
    }

    .site-header::after {
        right: 16px;
        left: 16px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        padding: 6px 8px;
        border-radius: 10px;
        font-size: 16px;
    }

    .header-actions {
        gap: 8px;
    }

    .calm-toggle,
    .menu-toggle {
        width: 44px;
        min-height: 44px;
        height: 44px;
    }

    .calm-toggle {
        width: auto;
        padding: 0 10px;
    }

    .calm-toggle span {
        display: inline;
        font-size: 10px;
    }

    .hero {
        padding-top: 116px;
        padding-bottom: 76px;
    }

    .hero h1 {
        margin-bottom: 24px;
        font-size: clamp(50px, 14.2vw, 76px);
        line-height: 0.94;
    }

    .hero-line {
        width: auto;
        white-space: normal;
    }

    .hero-intro {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
        min-height: 56px;
        justify-content: space-between;
    }

    .hero-visual {
        min-height: 72vw;
        margin-top: 18px;
    }

    .club-map {
        top: 48%;
        width: 112%;
    }

    .orbit {
        width: 105%;
    }

    .map-hotspot {
        min-width: 36px;
        min-height: 36px;
        font-size: 10px;
    }

    .map-hotspot strong {
        display: none;
    }

    .hotspot-arena { top: 29%; left: 31%; }
    .hotspot-chess { top: 28%; right: 13%; }
    .hotspot-rage { top: 48%; right: 1%; }
    .hotspot-lounge { bottom: 23%; left: 23%; }

    .hero-proof {
        margin-top: -10px;
        padding: 18px;
        grid-template-columns: 1fr;
    }

    .hero-proof > div {
        padding: 15px 0;
    }

    .hero-proof > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .scroll-cue {
        display: none;
    }

    .spaces {
        padding: 100px 0;
    }

    .spaces-heading {
        margin-bottom: 32px;
        align-items: start;
        flex-direction: column;
    }

    .spaces-heading h2,
    .culture h2,
    .minds h2,
    .membership h2 {
        font-size: clamp(48px, 13.5vw, 70px);
    }

    .space-stage {
        min-height: 720px;
    }

    .space-media {
        height: 45%;
    }

    .space-media-fade {
        background: linear-gradient(0deg, #05040a 0%, rgba(5, 4, 10, 0.32) 55%, transparent 100%);
    }

    .space-copy {
        top: auto;
        bottom: 44px;
        left: 24px;
        width: calc(100% - 48px);
        transform: none;
    }

    .space-copy h3 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .space-actions {
        flex-direction: column;
    }

    .stage-line {
        bottom: 18px;
    }

    .space-controls {
        grid-template-columns: 1fr;
    }

    .space-tabs {
        margin-inline: -16px;
        padding-inline: 16px;
        grid-template-columns: repeat(5, 126px);
        scroll-snap-type: x proximity;
    }

    .space-tabs button {
        min-height: 68px;
        padding-left: 12px;
        scroll-snap-align: start;
    }

    .space-tabs button:first-child {
        padding-left: 0;
    }

    .space-pager {
        justify-content: flex-end;
    }

    .culture {
        padding: 100px 0 110px;
    }

    .culture-grid {
        gap: 48px;
    }

    .culture-copy h2 {
        margin-bottom: 22px;
    }

    .culture-copy p {
        font-size: 16px;
    }

    .commitment-rail::before {
        left: 28px;
    }

    .commitment-rail li {
        min-height: 104px;
        gap: 18px;
        font-size: 15px;
    }

    .commitment-icon {
        width: 56px;
        height: 56px;
    }

    .commitment-icon svg {
        width: 24px;
    }

    .minds {
        padding: 100px 0 110px;
    }

    .quote-stage {
        min-height: 780px;
        grid-template-columns: 1fr;
    }

    .quote-content {
        z-index: 5;
        min-height: 470px;
        justify-content: flex-end;
        padding: 30px 24px 40px;
        background: linear-gradient(0deg, #0a0811 8%, rgba(10, 8, 17, 0.82) 70%, transparent);
    }

    .quote-mark {
        top: 90px;
        left: 24px;
        font-size: 70px;
    }

    .quote-content blockquote {
        margin-bottom: 30px;
        font-size: clamp(35px, 9.6vw, 48px);
    }

    .portrait-frame {
        position: absolute;
        inset: 0 0 auto;
        min-height: 390px;
    }

    .portrait-frame::before {
        background: linear-gradient(0deg, #0a0811 0%, transparent 42%);
    }

    .quote-controls {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .quote-tabs {
        scroll-snap-type: x proximity;
    }

    .quote-tabs button {
        padding-inline: 14px;
        scroll-snap-align: center;
    }

    .quote-pause {
        width: 100%;
        justify-content: center;
    }

    .context-note {
        align-items: flex-start;
        text-align: left;
    }

    .membership {
        padding: 110px 0 72px;
    }

    .membership-copy > p {
        margin-bottom: 34px;
        font-size: 16px;
    }

    .membership-orbit {
        width: 110vw;
        height: 110vw;
    }

    .form-shell {
        min-height: 0;
        padding: 22px 16px;
    }

    .form-row.two-column,
    .interest-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-success {
        min-height: 620px;
    }

    .site-footer {
        padding: 46px 20px;
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-links button {
        padding-inline: 12px;
    }

    .site-footer > p {
        grid-column: auto;
    }
}

@media (max-width: 440px) {
    .hero h1 {
        font-size: clamp(46px, 13.7vw, 60px);
    }

    .hero-visual {
        min-height: 88vw;
    }

    .club-map {
        width: 126%;
    }

    .map-hotspot {
        display: none;
    }

    .spaces-heading h2,
    .culture h2,
    .minds h2,
    .membership h2 {
        font-size: 47px;
    }

    .space-stage {
        min-height: 760px;
    }

    .space-media {
        height: 38%;
    }

    .space-copy h3 {
        font-size: 37px;
    }

    .quote-stage {
        min-height: 820px;
    }

    .quote-content blockquote {
        font-size: 34px;
    }

    .form-row.two-column,
    .interest-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-brand a {
        max-width: 230px;
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .neural-canvas {
        display: none;
    }

    .club-map {
        transform: translate(-50%, -50%) !important;
    }
}
