/* ==========================================================================
   TechCrew - index.html
   Extracted from the page's inline <style> block. Load order and rule order
   are unchanged, so cascade/specificity behave exactly as before.
   ========================================================================== */

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

:root {
  --void-black: #050507;
  --void-dark:  #0A0A0F;
  --void-card:  #0D0D14;
  --brand:      #9d6cff;
  --brand-soft: #bb9cff;
  --brand-glow: rgba(157, 108, 255, 0.4);
  --ink-soft:   rgba(255,255,255,0.85);
  --ink-mute:   rgba(255,255,255,0.6);
  --ink-faint:  rgba(255,255,255,0.4);
  --hairline:   rgba(255,255,255,0.12);
  --hairline-brand: rgba(157, 108, 255, 0.3);
  --ease-quiet:    cubic-bezier(.22, 1, .36, 1);
  --ease-precise:  cubic-bezier(.4, 0, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
}

html { background: var(--void-black); scroll-behavior: auto; }
body {
  background: var(--void-black);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }
a, button { color: inherit; text-decoration: none; cursor: pointer; background: none; border: none; font: inherit; }

::selection { background: var(--brand); color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void-black); }
::-webkit-scrollbar-thumb { background: var(--hairline-brand); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* The custom cursor was removed - the browser's native cursor is used. */

/* ===== SCROLL PROGRESS ===== */
.nav-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--brand);
  z-index: 101;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 8px var(--brand);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 1.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 2rem);
  max-width: 940px;
  transition: top 400ms var(--ease-quiet);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(157, 108, 255, 0.12);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 400ms var(--ease-quiet), border-color 400ms var(--ease-quiet), box-shadow 400ms var(--ease-quiet);
}
.nav--scrolled .nav__inner {
  background: rgba(10, 10, 15, 0.82);
  border-color: rgba(157, 108, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(157, 108, 255, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.nav__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 13px;
  flex-shrink: 0;
}
.nav__logo img { height: 26px; width: auto; display: block; }
.nav__menu {
  display: flex; align-items: center; gap: 0.15rem;
  position: relative;
  background: rgba(255,255,255,0.03);
  padding: 0.3rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.04);
}
.nav__indicator {
  position: absolute; top: 0.3rem; left: 0;
  height: calc(100% - 0.6rem);
  background: rgba(157, 108, 255, 0.15);
  border: 1px solid rgba(157, 108, 255, 0.3);
  border-radius: 100px;
  opacity: 0;
  transition: left 500ms var(--ease-emphasis), width 500ms var(--ease-emphasis), opacity 300ms var(--ease-quiet);
  z-index: 1; pointer-events: none;
}
.nav__link {
  position: relative; z-index: 2;
  padding: 0.5rem 0.95rem;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink-mute);
  transition: color 300ms var(--ease-quiet);
  border-radius: 100px; white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active { color: white; }
.nav__cta {
  padding: 0.65rem 1.4rem;
  background: var(--brand);
  border-radius: 100px;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: white; flex-shrink: 0;
  transition: background 300ms var(--ease-quiet), box-shadow 300ms var(--ease-quiet), transform 300ms var(--ease-quiet);
  box-shadow: 0 0 20px rgba(157, 108, 255, 0.3);
}
.nav__cta:hover {
  background: var(--brand-soft);
  box-shadow: 0 0 30px rgba(157, 108, 255, 0.5);
  transform: scale(1.04);
}
/* --- Mobile nav toggle + drawer --- */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 300ms var(--ease-quiet), background 300ms var(--ease-quiet);
}
.nav__toggle:hover { border-color: var(--hairline-brand); background: rgba(157, 108, 255, 0.08); }
.nav__toggle-bars { display: block; position: relative; width: 16px; height: 1.5px; background: white; transition: background 200ms var(--ease-quiet); }
.nav__toggle-bars::before, .nav__toggle-bars::after {
  content: ''; position: absolute; left: 0;
  width: 16px; height: 1.5px; background: white;
  transition: transform 300ms var(--ease-quiet);
}
.nav__toggle-bars::before { top: -5px; }
.nav__toggle-bars::after  { top: 5px; }
.nav.is-open .nav__toggle-bars { background: transparent; }
.nav.is-open .nav__toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle-bars::after  { transform: translateY(-5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  margin-top: 0.6rem;
  padding: 0.75rem;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(157, 108, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 300ms var(--ease-quiet), transform 300ms var(--ease-quiet);
}
.nav.is-open .nav__drawer { opacity: 1; transform: none; pointer-events: auto; }
.nav__drawer a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink-mute);
  border-radius: 14px;
  transition: color 250ms var(--ease-quiet), background 250ms var(--ease-quiet);
}
.nav__drawer a:hover, .nav__drawer a.is-active { color: white; background: rgba(157, 108, 255, 0.12); }
.nav__drawer a.nav__drawer-cta { color: white; background: var(--brand); text-align: center; font-weight: 600; margin-top: 0.4rem; }
.nav__drawer a.nav__drawer-cta:hover { background: var(--brand-soft); }

@media (max-width: 1000px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__drawer { display: block; }
  .nav__inner { padding: 0.5rem 0.5rem 0.5rem 1rem; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__logo img { height: 22px; }
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--void-black);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.loader__grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
#loader-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.loader__corner {
  position: absolute;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
  z-index: 2;
}
.loader__corner--tl { top: 2rem; left: 2rem; }
.loader__corner--tr { top: 2rem; right: 2rem; }
.loader__corner--bl { bottom: 2rem; left: 2rem; }
.loader__corner--br { bottom: 2rem; right: 2rem; }

.loader__dial {
  position: relative; z-index: 2;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.loader__dial-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.loader__dial-track { fill: none; stroke: var(--hairline); stroke-width: 1; }
.loader__dial-progress {
  fill: none; stroke: var(--brand); stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--brand));
  stroke-dasharray: 282.74;
  stroke-dashoffset: 282.74;
}
.loader__dial-ticks {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: rotate-ticks 20s linear infinite;
}
@keyframes rotate-ticks { to { transform: rotate(360deg); } }
.loader__center {
  position: relative; z-index: 2;
  text-align: center;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(8px);
  padding: 2rem 3rem;
  border: 1px solid rgba(157, 108, 255, 0.2);
  display: flex; flex-direction: column; align-items: center;
}
.loader__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.loader__counter {
  font-weight: 200; font-size: 3.5rem;
  letter-spacing: -0.03em; color: white;
  display: flex; align-items: baseline;
  margin-bottom: 1rem; line-height: 1;
}
.loader__pct {
  font-size: 1.2rem; color: var(--ink-mute);
  margin-left: 4px; font-weight: 400;
}
.loader__status {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; color: var(--ink-soft);
  text-transform: uppercase;
  min-height: 1em; margin-bottom: 1.5rem;
}
.loader__meta {
  display: flex; gap: 2rem;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.25em; color: var(--ink-faint);
  border-top: 1px solid var(--hairline);
  padding-top: 1rem; width: 100%; justify-content: center;
}
.loader__flash {
  position: absolute; inset: 0;
  background: white; z-index: 3;
  opacity: 0; pointer-events: none;
  mix-blend-mode: screen;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh; min-height: 720px;
  overflow: hidden;
  background: var(--void-black);
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: 
    radial-gradient(ellipse at 50% 40%, rgba(5,5,7,0) 0%, rgba(5,5,7,0.6) 60%, rgba(5,5,7,0.95) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.4) 0%, rgba(5,5,7,0) 30%, rgba(5,5,7,0) 70%, rgba(5,5,7,0.9) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem 2rem 3rem;
  pointer-events: none;
}
.hero__title-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.hero__label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.35em; color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 2rem; opacity: 0;
  display: flex; align-items: center; gap: 1rem;
}
.hero__label::before { content: ''; width: 32px; height: 1px; background: var(--brand); }
.hero__title {
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: white;
  margin-bottom: 2rem;
  text-transform: uppercase;
  perspective: 1000px;
}
.hero__title .word-wrapper {
  display: inline-block;
  white-space: nowrap;
}
.hero__title .letter {
  display: inline-block;
  transform-origin: bottom;
  will-change: transform, opacity, filter;
  opacity: 0;
}
.hero__sub {
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45; color: var(--ink-soft);
  max-width: 780px; opacity: 0;
  letter-spacing: 0.01em;
}


/* ===== MANIFESTO ===== */
.manifesto { padding: 12rem 2rem; background: var(--void-black); position: relative; }
.manifesto__inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.35em; color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--brand); }
.manifesto__text {
  font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.4; letter-spacing: -0.01em;
  color: white; margin-bottom: 4rem;
}
.manifesto__text .word {
  display: inline-block;
  opacity: 0.08;
  filter: blur(12px) brightness(30%);
  will-change: filter, opacity;
  margin-right: 0.2em;
}
.manifesto__text-2 {
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7; color: var(--ink-soft);
  max-width: 820px;
}
.manifesto__meta {
  margin-top: 5rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
}
.manifesto__meta-item span {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--ink-faint);
  text-transform: uppercase;
  display: block; margin-bottom: 0.6rem;
}
.manifesto__meta-item p {
  font-size: 14px; font-weight: 400;
  color: var(--ink-soft); line-height: 1.5;
}
@media (max-width: 720px) {
  .manifesto { padding: 6rem 1.5rem; }
  .manifesto__meta { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== GALLERY ===== */
.gallery { padding: 10rem 2rem; background: var(--void-black); position: relative; }
.gallery__inner { max-width: 1400px; margin: 0 auto; }
.gallery__header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end;
  margin-bottom: 4rem;
}
.gallery__title {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase;
}
.gallery__title em { font-style: normal; color: var(--brand); }
.gallery__desc {
  font-weight: 300; font-size: 1.05rem;
  line-height: 1.65; color: var(--ink-soft);
  max-width: 460px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.gallery__item {
  position: relative; overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--void-card);
  transition: border-color 400ms var(--ease-emphasis);
}
.gallery__item--feature { grid-column: span 2; grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:hover { border-color: var(--brand); }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.3) contrast(1.1) brightness(0.65);
  transition: filter 600ms var(--ease-quiet), transform 700ms var(--ease-quiet);
}
.gallery__item:hover img {
  filter: grayscale(0) contrast(1.05) brightness(0.9);
  transform: scale(1.05);
}
.gallery__item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(5,5,7,0.95) 0%, rgba(5,5,7,0.6) 50%, rgba(5,5,7,0) 100%);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.gallery__item-num { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--brand); }
.gallery__item-cat { font-size: 11px; font-weight: 500; letter-spacing: 0.25em; color: var(--ink-mute); text-transform: uppercase; }
.gallery__item-name { font-size: 1.1rem; font-weight: 600; color: white; letter-spacing: -0.01em; }
@media (max-width: 820px) {
  .gallery { padding: 6rem 1.5rem; }
  .gallery__header { grid-template-columns: 1fr; gap: 2rem; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--feature, .gallery__item--wide { grid-column: span 1; grid-row: span 1; }
}

/* ===== PARALLAX ===== */
.parallax {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--void-black);
}
.parallax__image {
  position: absolute;
  top: -15%; left: 0; right: 0;
  height: 130%;
  background-image: url('https://picsum.photos/seed/concert-stage-purple-lights-crowd/2560/1440');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.2) contrast(1.15) brightness(0.5);
  will-change: transform;
}
.parallax__overlay {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(157,108,255,0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5,5,7,0.85) 0%, rgba(5,5,7,0.4) 40%, rgba(5,5,7,0.4) 60%, rgba(5,5,7,0.95) 100%);
  pointer-events: none;
}
.parallax__content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}
.parallax__title {
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.95; letter-spacing: -0.04em;
  text-transform: uppercase; color: white;
  margin-bottom: 2rem;
}
.parallax__title em { font-style: normal; color: var(--brand); }
.parallax__desc {
  font-weight: 300; font-size: 1.15rem;
  line-height: 1.6; color: var(--ink-soft);
  max-width: 520px; margin: 0 auto;
}
.parallax__meta {
  position: absolute; bottom: 3rem; left: 2rem; right: 2rem;
  z-index: 2;
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; color: var(--ink-mute);
  text-transform: uppercase;
}
.parallax__meta span { color: var(--brand); }
@media (max-width: 720px) {
  .parallax__meta { flex-direction: column; gap: 0.5rem; }
}

/* ===== STORYLINE ===== */
.storyline { position: relative; background: var(--void-black); }
.storyline__header {
  padding: 10rem 2rem 5rem;
  text-align: center;
  max-width: 720px; margin: 0 auto;
}
.storyline__intro-text {
  font-weight: 300; font-size: 1.1rem;
  color: var(--ink-soft); line-height: 1.6;
  margin-top: 1.5rem;
}
.storyline__sticky {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
}
#storyline-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.storyline__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(5,5,7,0.2) 60%, rgba(5,5,7,0.7) 100%);
  pointer-events: none;
}
.storyline__title {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase; color: white;
}
.storyline__timeline {
  position: absolute;
  left: 50%; top: 10%; bottom: 10%;
  width: 4px; z-index: 3;
  transform: translateX(-50%);
}
.storyline__timeline-line { position: absolute; inset: 0; background: var(--hairline); border-radius: 4px; }
.storyline__timeline-progress {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(157, 108, 255, 0.2) 0%, var(--brand) 100%);
  transform-origin: top; transform: scaleY(0);
  border-radius: 4px;
  box-shadow: 0 0 15px var(--brand), 0 0 30px rgba(157, 108, 255, 0.4);
}
.storyline__timeline-node {
  position: absolute; left: 50%; top: 0;
  width: 16px; height: 16px;
  background: white;
  border: 2px solid var(--brand);
  transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 4;
  box-shadow: 0 0 15px white, 0 0 30px var(--brand), 0 0 60px var(--brand);
}
.storyline__timeline-node::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  animation: node-pulse 2s infinite ease-out;
}
@keyframes node-pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.storyline__steps { position: relative; z-index: 4; pointer-events: none; }
.storyline__step {
  height: 75vh;
  display: flex; align-items: center;
  padding: 0 8vw; position: relative;
}
.storyline__step--left { justify-content: flex-start; }
.storyline__step--right { justify-content: flex-end; }
.storyline__step--center { justify-content: center; }
.storyline__step-inner {
  position: relative;
  width: 45%; max-width: 480px;
  pointer-events: auto;
  opacity: 0; transform: translateY(60px);
  transition: opacity 800ms var(--ease-quiet), transform 800ms var(--ease-quiet);
}
.storyline__step--center .storyline__step-inner { width: 60%; max-width: 720px; text-align: center; }
.storyline__step--left .storyline__step-inner { text-align: right; }
.storyline__step--right .storyline__step-inner { text-align: left; }
.storyline__step.is-active .storyline__step-inner { opacity: 1; transform: none; }
.storyline__step-inner::after {
  content: '';
  position: absolute; top: 50%;
  width: 50px; height: 1px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 800ms var(--ease-quiet) 400ms;
}
.storyline__step--left .storyline__step-inner::after { right: -60px; background: linear-gradient(90deg, var(--brand), transparent); }
.storyline__step--right .storyline__step-inner::after { left: -60px; background: linear-gradient(-90deg, var(--brand), transparent); }
.storyline__step--center .storyline__step-inner::after { display: none; }
.storyline__step.is-active .storyline__step-inner::after { opacity: 1; }
.storyline__step-num { font-size: 12px; font-weight: 600; letter-spacing: 0.4em; color: var(--brand); text-transform: uppercase; margin-bottom: 1.5rem; }
.storyline__step-title { font-weight: 700; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.025em; color: white; margin-bottom: 1rem; text-transform: uppercase; }
.storyline__step-tag { font-weight: 400; font-size: clamp(0.95rem, 1.2vw, 1.15rem); color: var(--brand-soft); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.5rem; }
.storyline__step-desc { font-weight: 300; font-size: clamp(0.95rem, 1.15vw, 1.1rem); line-height: 1.6; color: var(--ink-soft); max-width: 520px; margin: 0 auto; }
.storyline__step--left .storyline__step-desc { margin-left: auto; }
.storyline__step--right .storyline__step-desc { margin-right: auto; }
.storyline__arrow { color: var(--brand); font-size: 1.5rem; margin-top: 2rem; opacity: 0.5; }
@media (max-width: 820px) {
  .storyline__step { padding: 0 4vw; }
  .storyline__step-inner { width: 80% !important; max-width: none !important; text-align: left !important; }
  .storyline__step--left, .storyline__step--right { justify-content: flex-start !important; }
  .storyline__step-inner::after { display: none !important; }
  .storyline__timeline { display: none; }
}

/* ===== ECOSYSTEM ===== */
.ecosystem { padding: 10rem 2rem; background: var(--void-black); position: relative; }
.ecosystem__inner { max-width: 1400px; margin: 0 auto; }
.ecosystem__header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 5rem; }
.ecosystem__title { font-weight: 800; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; }
.ecosystem__title em { font-style: normal; color: var(--brand); }
.ecosystem__desc { font-weight: 300; font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); max-width: 460px; }
.ecosystem__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ecosystem__card {
  border: 1px solid var(--hairline);
  background: var(--void-card);
  padding: 2rem 1.5rem;
  transition: border-color 400ms var(--ease-emphasis), transform 400ms var(--ease-emphasis);
  position: relative; overflow: hidden;
}
.ecosystem__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform 500ms var(--ease-emphasis);
}
.ecosystem__card:hover { border-color: var(--hairline-brand); transform: translateY(-4px); }
.ecosystem__card:hover::before { transform: scaleX(1); }
.ecosystem__card-num { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; color: var(--brand); text-transform: uppercase; margin-bottom: 1.5rem; }
.ecosystem__card-title { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 0.75rem; text-transform: uppercase; }
.ecosystem__card-desc { font-size: 0.9rem; font-weight: 300; color: var(--ink-mute); line-height: 1.5; }
@media (max-width: 980px) { .ecosystem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ecosystem { padding: 6rem 1.5rem; } .ecosystem__header { grid-template-columns: 1fr; gap: 2rem; } .ecosystem__grid { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.footer { padding: 10rem 2rem 3rem; background: var(--void-black); position: relative; border-top: 1px solid var(--hairline-brand); }
.footer__inner { max-width: 1400px; margin: 0 auto; }
.footer__cta { margin-bottom: 6rem; text-align: center; }
.footer__cta-label { font-size: 11px; font-weight: 600; letter-spacing: 0.35em; color: var(--brand); text-transform: uppercase; margin-bottom: 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.footer__cta-label::before, .footer__cta-label::after { content: ''; width: 32px; height: 1px; background: var(--brand); }
.footer__cta-title { font-weight: 900; font-size: clamp(2.5rem, 7vw, 7rem); line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 3rem; text-transform: uppercase; }
.footer__cta-title em { font-style: normal; color: var(--brand); }
.footer__cta-button { display: inline-flex; align-items: center; gap: 1rem; font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; padding: 1.4rem 2.5rem; border: 1px solid var(--brand); color: white; transition: background 300ms var(--ease-quiet), color 300ms var(--ease-quiet), box-shadow 300ms var(--ease-quiet); }
.footer__cta-button:hover { background: var(--brand); color: white; box-shadow: 0 0 30px var(--brand-glow); }
.footer__cta-button::after { content: '→'; transition: transform 300ms var(--ease-quiet); }
.footer__cta-button:hover::after { transform: translateX(6px); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2.5rem; border-top: 1px solid var(--hairline); padding-top: 4rem; }
.footer__col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 1.5rem; }
.footer__col .footer__subhead { margin-top: 1.75rem; }
.footer__col p, .footer__col a { font-size: 14px; font-weight: 400; color: var(--ink-soft); line-height: 1.8; display: block; transition: color 200ms var(--ease-quiet); }
.footer__col a:hover { color: var(--brand); }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer__brand img { height: 34px; width: auto; display: block; }
.footer__brand-name { font-weight: 700; font-size: 18px; letter-spacing: 0.1em; color: white; text-transform: uppercase; }
.footer__brand-desc { font-size: 0.95rem !important; color: var(--ink-soft) !important; line-height: 1.5; max-width: 320px; }
.footer__bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; font-size: 11px; font-weight: 500; letter-spacing: 0.25em; color: var(--ink-faint); text-transform: uppercase; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer { padding: 6rem 1.5rem 3rem; } .footer__grid { grid-template-columns: 1fr; gap: 2rem; } .footer__bottom { flex-direction: column; gap: 1rem; } }

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed; inset: 0;
  z-index: 10001;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-quiet), visibility 400ms var(--ease-quiet);
  perspective: 1000px;
}
.popup-overlay.is-active { opacity: 1; visibility: visible; }

.popup-card {
  position: relative;
  width: 90%;
  max-width: 460px;
  background: rgba(13, 13, 20, 0.9);
  border: 1px solid rgba(157, 108, 255, 0.25);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(157, 108, 255, 0.15);
  padding: 3rem;
  transform-style: preserve-3d;
  transform: translateY(50px) scale(0.95) rotateX(20deg);
  opacity: 0;
  transition: transform 800ms var(--ease-emphasis), opacity 600ms ease;
}
.popup-overlay.is-active .popup-card {
  transform: translateY(0) scale(1) rotateX(0);
  opacity: 1;
}
.popup-card.is-tilting {
  transition: none;
}

#popup-canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.popup-content {
  position: relative;
  z-index: 1;
  transform: translateZ(40px); /* 3D pop-out effect */
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  transition: all 200ms ease;
  z-index: 2;
}
.popup-close:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: rotate(90deg);
}
.popup-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.popup-label::before { content: ''; width: 24px; height: 1px; background: var(--brand); }
.popup-title {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.popup-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.popup-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.popup-input::placeholder { color: var(--ink-faint); }
.popup-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 10px rgba(157, 108, 255, 0.2);
}
.popup-button {
  padding: 1rem;
  background: var(--brand);
  color: white;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 300ms ease, box-shadow 300ms ease;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.popup-button:hover {
  background: var(--brand-soft);
  box-shadow: 0 0 20px var(--brand-glow);
}
.popup-button.is-pending, .popup-button:disabled { opacity: 0.6; pointer-events: none; }

/* Popup form validation & status */
.popup-sr-only, .form-honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-error {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b8a;
  margin-top: -0.5rem;
}
.form-error:empty { display: none; }
.popup-input.is-invalid { border-color: #ff6b8a; }
.popup-input.is-invalid:focus { box-shadow: 0 0 10px rgba(255, 107, 138, 0.25); }
.form-status {
  margin-top: 0.85rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff6b8a;
  line-height: 1.6;
}
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--brand-soft); }

.popup-success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.popup-success h4 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.popup-success p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.popup-meta {
  margin-top: 1.5rem;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  text-align: center;
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
}

/* ===== FADE UP ===== */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-quiet), transform 1s var(--ease-quiet); will-change: opacity, transform; }
.fade-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  #storyline-canvas, #hero-canvas, #loader-canvas, #popup-canvas { display: none; }
  .fade-up { opacity: 1; transform: none; }
  .manifesto__text .word { opacity: 1; filter: none; }
  .storyline__step-inner { opacity: 1; transform: none; }
  .hero__title .letter { opacity: 1; }
}
