/* ==========================================================================
   TechCrew - technical-ecosystem.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% 50%, 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;
}

/* ===== SPLIT FEATURE ===== */
.split-feature {
  padding: 8rem 2rem;
  background: var(--void-black);
  border-top: 1px solid var(--hairline);
}
.split-feature__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-feature__inner--reverse .split-feature__media { order: 2; }
.split-feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--void-card);
}
.split-feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.3) contrast(1.1) brightness(0.7);
  transition: filter 600ms var(--ease-quiet), transform 700ms var(--ease-quiet);
}
.split-feature__media:hover img {
  filter: grayscale(0) contrast(1.05) brightness(0.9);
  transform: scale(1.05);
}
.split-feature__content {
  padding: 0 1rem;
}
.split-feature__num {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--brand);
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.split-feature__title {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1; letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.split-feature__title em { font-style: normal; color: var(--brand); }
.split-feature__desc {
  font-weight: 300;
  font-size: 1.1rem; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
}
@media (max-width: 820px) {
  .split-feature { padding: 6rem 1.5rem; }
  .split-feature__inner { grid-template-columns: 1fr; gap: 2rem; }
  .split-feature__inner--reverse .split-feature__media { order: 0; }
}

/* ===== PARALLAX DEEP DIVE ===== */
.deep-dive {
  position: relative;
  border-top: 1px solid var(--hairline);
  background: var(--void-black);
}
.deep-dive__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.deep-dive__col {
  position: relative;
  padding: 8rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--hairline);
  overflow: hidden;
}
.deep-dive__col:last-child { border-right: none; }
.deep-dive__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.4) brightness(0.3);
  z-index: 0;
  will-change: transform;
}
.deep-dive__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,7,0.85) 0%, rgba(5,5,7,0.6) 50%, rgba(5,5,7,0.95) 100%);
}
.deep-dive__content {
  position: relative; z-index: 2;
  max-width: 480px;
}
.deep-dive__num {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--brand);
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.deep-dive__title {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1; letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.deep-dive__desc {
  font-weight: 300;
  font-size: 1.1rem; line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .deep-dive__grid { grid-template-columns: 1fr; }
  .deep-dive__col { border-right: none; border-bottom: 1px solid var(--hairline); padding: 5rem 1.5rem; }
}

/* ===== 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; } }

/* ===== 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; }
  #hero-canvas, #loader-canvas { display: none; }
  .fade-up { opacity: 1; transform: none; }
  .manifesto__text .word { opacity: 1; filter: none; }
  .hero__title .letter { opacity: 1; }
}
