:root {
  /* Base */
  --bg-black: #06050A;
  --bg-black-elevated: #0A0812;
  --bg-pure: #000000;

  /* Glass */
  --glass-dark: rgba(12, 10, 18, 0.82);
  --glass-dark-hi: rgba(18, 16, 28, 0.90);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hi: rgba(255, 255, 255, 0.16);

  /* Text */
  --text-primary: #F5F3F8;
  --text-secondary: rgba(245, 243, 248, 0.65);
  --text-muted: rgba(245, 243, 248, 0.40);
  --text-faint: rgba(245, 243, 248, 0.22);

  /* Accents */
  --accent-magenta: #C026D3;
  --accent-purple: #7C3AED;
  --accent-bright: #E879F9;
  --accent-deep: #581C87;
  --accent-cyan: #22D3EE;

  /* Glows */
  --accent-glow: rgba(192, 38, 211, 0.45);
  --accent-line: rgba(192, 38, 211, 0.30);
  --accent-aura: rgba(124, 58, 237, 0.25);

  --status-live: #34D399;

  --ease-editorial: cubic-bezier(0.32, 0.72, 0, 1);

  /* Fonts */
  --font-display: 'Syne', 'Inter Tight', -apple-system, sans-serif;
  --font-sans: 'Inter Tight', 'Söhne', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Söhne Mono', ui-monospace, monospace;
}

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

/* Syne has no real italic — suppress synthetic oblique for consistent type */
em, i, cite { font-style: normal; }

html, body {
  height: 100vh;
  overflow: hidden;
  background: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ================= Background system ================= */

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.15) contrast(1.05);
}

.bg-base {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(88, 28, 135, 0.08), transparent 65%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(124, 58, 237, 0.04), transparent 75%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.aura-orb {
  position: fixed;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), rgba(192, 38, 211, 0.05) 40%, transparent 70%);
  filter: blur(100px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbDrift 80s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(-30%, -60%); }
  25%      { transform: translate(-70%, -40%); }
  50%      { transform: translate(-20%, -30%); }
  75%      { transform: translate(-50%, -70%); }
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 65%, rgba(0,0,0,0.32) 100%);
  z-index: 40;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 41;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Edge lines */
.edge-line-h {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(192,38,211,0.28) 20%, rgba(192,38,211,0.28) 80%, transparent 100%);
  pointer-events: none;
}
.edge-line-v {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(192,38,211,0.22) 25%, rgba(192,38,211,0.22) 75%, transparent 100%);
  pointer-events: none;
}

/* ================= Layout shell ================= */

.stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 5;
}

.chrome {
  position: absolute;
  inset: 0;
  padding: 36px 48px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  z-index: 10;
}

/* ================= Top row ================= */

.top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.brand-v {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(192, 38, 211, 0.55));
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.brand-name .bn-dot { color: var(--accent-bright); }

.nav-tokens {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 55%;
}

.nav-token {
  position: relative;
  padding: 10px 18px;
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  color: rgba(245, 243, 248, 0.80);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 280ms var(--ease-editorial), color 280ms var(--ease-editorial), background 280ms var(--ease-editorial), box-shadow 280ms var(--ease-editorial);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-token:hover {
  border-color: rgba(192,38,211,0.45);
  color: var(--text-primary);
}
.nav-token.active {
  border-color: var(--accent-magenta);
  color: var(--text-primary);
  background: var(--glass-dark-hi);
  box-shadow: 0 0 24px rgba(192,38,211,0.28);
}
.nav-token .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
  opacity: 0;
  transition: opacity 220ms var(--ease-editorial);
}
.nav-token.active .dot { opacity: 1; }

/* ================= Main content area ================= */

.canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 40px;
}

/* ================= Left column (headline / state content) ================= */

.left {
  position: relative;
  z-index: 6;
  max-width: 820px;
  padding-bottom: 40px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.62);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dash {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(192,38,211,0.5);
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(52px, 6.6vw, 118px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.canvas[data-state="pkg"] .headline,
.canvas[data-state="vent"] .headline {
  font-size: clamp(44px, 5.4vw, 94px);
}
.headline .row { display: block; white-space: nowrap; }
.headline em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg, #FCE7FF 0%, var(--accent-bright) 45%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.headline .outline {
  -webkit-text-stroke: 1px rgba(245,243,248,0.55);
  color: transparent;
  font-weight: 500;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  animation: wordIn 720ms var(--ease-editorial) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.sub {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(245, 243, 248, 0.78);
  max-width: 540px;
  font-weight: 400;
}
.sub.sub-secondary {
  margin-top: 28px;
  font-size: 16px;
  color: rgba(245, 243, 248, 0.62);
}

/* CTA */
.cta-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(192,38,211,0.05);
  border: 1.5px solid var(--accent-magenta);
  border-radius: 999px;
  cursor: pointer;
  transition: background 300ms var(--ease-editorial), box-shadow 300ms var(--ease-editorial);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border: 1.5px solid var(--accent-bright);
  border-radius: 999px;
  opacity: 0;
  animation: ctaPulse 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.02); }
}
.cta:hover {
  background: rgba(192,38,211,0.14);
  box-shadow: 0 0 30px rgba(192,38,211,0.4);
}
.cta .arrow { font-family: var(--font-display); font-size: 18px; font-weight: 300; }

.cta-ghost {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: color 220ms var(--ease-editorial);
}
.cta-ghost:hover { color: var(--text-primary); }

/* Meta row under CTA */
.meta-row {
  margin-top: 44px;
  display: flex;
  gap: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 520px;
}
.meta-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.62);
  line-height: 1.5;
}
.meta-cell strong {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 2px;
}

/* ================= Right column (hero object / state content) ================= */

.right {
  position: relative;
  z-index: 5;
  height: min(68vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero glow object */
.hero-object {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  transition: opacity 600ms var(--ease-editorial), transform 600ms var(--ease-editorial);
}
.hero-object.dimmed {
  opacity: 0.28;
  transform: scale(1.12);
}

/* ================= Pagination ================= */

.pagination {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.pagination::before {
  content: "";
  position: absolute;
  right: 7px;
  top: -6px;
  bottom: -6px;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.page-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245, 243, 248, 0.58);
  cursor: pointer;
  padding: 2px 0;
  transition: color 260ms var(--ease-editorial);
}
.page-item:hover { color: var(--text-secondary); }
.page-item.active { color: var(--text-primary); }
.page-item .pg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 260ms var(--ease-editorial), box-shadow 260ms var(--ease-editorial), border-color 260ms var(--ease-editorial);
}
.page-item.active .pg-dot {
  background: var(--accent-magenta);
  border-color: var(--accent-magenta);
  box-shadow: 0 0 10px rgba(192,38,211,0.8);
}

/* ================= Ticker ================= */

.ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.60);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker-center {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ticker-center .em {
  color: var(--text-faint);
  letter-spacing: 0;
}
.ticker-center .mag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-magenta);
  box-shadow: 0 0 8px var(--accent-magenta);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.ticker-right { display: flex; gap: 22px; align-items: center; }
.ticker-right .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ticker-right .status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--status-live);
  box-shadow: 0 0 8px rgba(52,211,153,0.7);
}

/* ================= State reveals ================= */

.state-fade {
  animation: stateIn 820ms var(--ease-editorial) both;
}
@keyframes stateIn {
  from { opacity: 0; transform: translate3d(-24px, 0, 0); filter: blur(8px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
.state-fade-right {
  animation: stateInRight 820ms var(--ease-editorial) both;
}
@keyframes stateInRight {
  from { opacity: 0; transform: translate3d(32px, 0, 0); filter: blur(8px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* Staggered reveals inside left column */
.state-fade > * { animation: childRise 640ms var(--ease-editorial) both; }
.state-fade > .eyebrow   { animation-delay:   0ms; }
.state-fade > .headline  { animation: none; }
.state-fade > .sub       { animation-delay: 340ms; }
.state-fade > .cta-row   { animation-delay: 440ms; }
.state-fade > .meta-row  { animation-delay: 540ms; }
@keyframes childRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Staggered card reveals on right side */
.state-fade-right .pillar,
.state-fade-right .venture-card,
.state-fade-right .contact-form {
  animation: cardRise 720ms var(--ease-editorial) both;
}
.state-fade-right .pillar:nth-child(1),
.state-fade-right .venture-card:nth-child(1) { animation-delay: 180ms; }
.state-fade-right .pillar:nth-child(2),
.state-fade-right .venture-card:nth-child(2) { animation-delay: 260ms; }
.state-fade-right .pillar:nth-child(3),
.state-fade-right .venture-card:nth-child(3) { animation-delay: 340ms; }
.state-fade-right .pillar:nth-child(4),
.state-fade-right .venture-card:nth-child(4) { animation-delay: 420ms; }
.state-fade-right .contact-form { animation-delay: 180ms; }
@keyframes cardRise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ================= Packaging (4 pillars) ================= */

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 560px;
}
.pillar {
  position: relative;
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 30px 26px 26px;
  min-height: 180px;
  transition: border-color 300ms var(--ease-editorial), background 300ms var(--ease-editorial), box-shadow 300ms var(--ease-editorial);
  cursor: pointer;
  overflow: hidden;
}
/* Bento interlock: outer corners large, inner (grid-facing) corners tight */
.pillars .pillar:nth-child(1) { border-radius: 34px 10px 10px 10px; }
.pillars .pillar:nth-child(2) { border-radius: 10px 34px 10px 10px; }
.pillars .pillar:nth-child(3) { border-radius: 10px 10px 10px 34px; }
.pillars .pillar:nth-child(4) { border-radius: 10px 10px 34px 10px; }
.pillar:hover {
  border-color: rgba(192,38,211,0.55);
  background: var(--glass-dark-hi);
  box-shadow: 0 0 40px rgba(192,38,211,0.18);
}
.pillar .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245, 243, 248, 0.60);
  margin-bottom: 18px;
}
.pillar .title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.pillar .title em {
  font-style: normal;
  font-weight: 400;
  color: var(--accent-bright);
}
.pillar .desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 243, 248, 0.78);
}
.pillar .corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(192,38,211,0.5);
  border-right: 1px solid rgba(192,38,211,0.5);
  opacity: 0.5;
}

/* ================= Ventures ================= */

.ventures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 580px;
}
.venture-card {
  position: relative;
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 320ms var(--ease-editorial), transform 320ms var(--ease-editorial), box-shadow 320ms var(--ease-editorial);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.venture-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -12px rgba(192,38,211,0.28);
}
/* Bento corners — outer corner of each quadrant flares out */
.ventures .venture-card:nth-child(1) { border-radius: 28px 10px 10px 10px; }
.ventures .venture-card:nth-child(2) { border-radius: 10px 28px 10px 10px; }
.ventures .venture-card:nth-child(3) { border-radius: 10px 10px 10px 28px; }
.ventures .venture-card:nth-child(4) { border-radius: 10px 10px 28px 10px; }
.venture-card:hover {
  border-color: rgba(192,38,211,0.55);
}
.venture-card:hover .tint { opacity: 0.55; }
.venture-card:hover .vc-logo { color: var(--text-primary); }

.vc-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1a0a2a 0%, #0a0614 60%, #0a0812 100%);
}
.vc-visual .tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 70% 30%, rgba(192,38,211,0.35), transparent 60%),
    linear-gradient(180deg, rgba(124,58,237,0.2), rgba(6,5,10,0.4));
  opacity: 0.3;
  transition: opacity 360ms var(--ease-editorial);
  mix-blend-mode: screen;
}
.vc-visual .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}
.vc-svg-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.vc-svg {
  width: 52%;
  max-width: 130px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(232,121,249,0.25));
  transition: filter 320ms var(--ease-editorial);
}
.venture-card:hover .vc-svg {
  filter: drop-shadow(0 0 18px rgba(232,121,249,0.55));
}
.vc-svg [class^="vis-"] {
  transform-box: fill-box;
  transform-origin: center;
}
.vis-spin           { animation: vsSpin       18s linear infinite; }
.vis-spin-slow      { animation: vsSpin       28s linear infinite; }
.vis-spin-rev       { animation: vsSpin       22s linear reverse infinite; }
.vis-spin-rev-fast  { animation: vsSpin        9s linear reverse infinite; }
.vis-pulse          { animation: vsPulse     2.4s ease-in-out infinite; }
.vis-blink          { animation: vsBlink     1.1s steps(1) infinite; }
.vis-flicker        { animation: vsFlicker   2.6s ease-in-out infinite; }
@keyframes vsSpin    { to { transform: rotate(360deg); } }
@keyframes vsPulse   { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.65); opacity: 0.55; } }
@keyframes vsBlink   { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.05; } }
@keyframes vsFlicker { 0%, 100% { opacity: 0.9; } 30% { opacity: 0.45; } 65% { opacity: 1; } 80% { opacity: 0.6; } }

.vc-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.vc-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  transition: color 320ms var(--ease-editorial);
}
.vc-meta {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.60);
}
.vc-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--text-faint);
}

/* ================= Kontakt form ================= */

.contact-form {
  width: 100%;
  max-width: 440px;
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 0 60px rgba(192,38,211,0.08);
}
.contact-form em {
  font-weight: 700;
  background: linear-gradient(120deg, #FCE7FF 0%, var(--accent-bright) 45%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cf-head .t {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.62);
}
.cf-head .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.62);
}
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: 10px 0;
  outline: none;
  transition: border-color 260ms var(--ease-editorial);
  resize: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 243, 248, 0.42); }
.field input:focus, .field textarea:focus {
  border-bottom-color: var(--accent-magenta);
}
.field textarea { min-height: 52px; }
.submit-btn {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(192,38,211,0.05);
  border: 1.5px solid var(--accent-magenta);
  border-radius: 999px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 260ms var(--ease-editorial), box-shadow 260ms var(--ease-editorial);
}
.submit-btn:hover {
  background: rgba(192,38,211,0.14);
  box-shadow: 0 0 28px rgba(192,38,211,0.4);
}

/* ================= Tweaks panel ================= */

.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 300px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--glass-dark-hi);
  backdrop-filter: blur(32px) saturate(130%);
  -webkit-backdrop-filter: blur(32px) saturate(130%);
  border: 1px solid var(--glass-border-hi);
  border-radius: 6px;
  padding: 16px;
  z-index: 60;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  box-shadow: 0 0 40px rgba(192,38,211,0.15);
  display: none;
}
.tweaks::-webkit-scrollbar { width: 4px; }
.tweaks::-webkit-scrollbar-thumb { background: rgba(192,38,211,0.3); border-radius: 2px; }
.tweaks.visible { display: block; }
.tweaks h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tw-row {
  margin-bottom: 14px;
}
.tw-row .lab {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.tw-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-opt {
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 200ms var(--ease-editorial);
}
.tw-opt.active {
  border-color: var(--accent-magenta);
  color: var(--text-primary);
  background: rgba(192,38,211,0.1);
}
.tw-swatches { display: flex; gap: 6px; }
.tw-swatch {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color 200ms var(--ease-editorial);
}
.tw-swatch.active { border-color: var(--text-primary); }

/* ================= Custom Cursor ================= */

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }

  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(245, 243, 248, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate3d(-50%, -50%, 0);
    transition:
      width 260ms var(--ease-editorial),
      height 260ms var(--ease-editorial),
      border-color 260ms var(--ease-editorial),
      background-color 260ms var(--ease-editorial),
      opacity 200ms var(--ease-editorial);
    mix-blend-mode: difference;
    will-change: transform, width, height;
    opacity: 0;
  }

  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--accent-bright);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-50%, -50%, 0);
    box-shadow: 0 0 12px var(--accent-magenta);
    transition: opacity 200ms var(--ease-editorial), transform 180ms var(--ease-editorial);
    will-change: transform;
    opacity: 0;
  }

  body.cursor-ready .cursor-ring,
  body.cursor-ready .cursor-dot { opacity: 1; }

  body.cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--accent-bright);
    background: rgba(232, 121, 249, 0.08);
  }

  body.cursor-text .cursor-ring {
    width: 6px;
    height: 28px;
    border-radius: 2px;
    border-color: var(--accent-bright);
  }
  body.cursor-text .cursor-dot { opacity: 0; }
}

/* ================= Loading Sequence ================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
  transition: opacity 700ms var(--ease-editorial), visibility 0s linear 700ms;
}
.loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(124, 58, 237, 0.24), transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 40%, rgba(192, 38, 211, 0.18), transparent 70%);
  opacity: 0.8;
  animation: loaderAura 2.8s ease-in-out infinite;
}
@keyframes loaderAura {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.9;  transform: scale(1.06); }
}

.loader-v {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 24px rgba(192, 38, 211, 0.6));
  animation: loaderVPulse 1.6s ease-in-out infinite;
}
@keyframes loaderVPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 18px rgba(192,38,211,0.5)); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 36px rgba(192,38,211,0.85)); }
}

.loader-bar {
  position: relative;
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-magenta), transparent);
  animation: loaderSweep 1.4s ease-in-out infinite;
}
@keyframes loaderSweep {
  0%   { left: -40%; }
  100% { left: 100%; }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

body.loaded .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ================= Intro Scene ================= */
/* Full-screen black cinematic logo + slogan. First scroll zooms into the mark, revealing the landing beneath. */

body.intro-active {
  overflow: hidden;
}
/* Hide the landing chrome while intro is up */
body.intro-active .stage,
body.intro-active .edge-line-h,
body.intro-active .edge-line-v,
body.intro-active .pagination,
body.intro-active .ticker,
body.intro-active .nav-tokens,
body.intro-active .vignette,
body.intro-active .noise,
body.intro-active .aura-orb,
body.intro-active .bg-base {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Video keeps rendering but sits behind the black intro; user doesn't see it */
body.intro-active .bg-video { opacity: 0; }

/* When user triggers exit: reveal the stage cinematically as the logo zooms in */
body.intro-exiting .bg-video,
body.intro-exiting .stage,
body.intro-exiting .vignette,
body.intro-exiting .noise,
body.intro-exiting .aura-orb,
body.intro-exiting .bg-base,
body.intro-exiting .edge-line-h,
body.intro-exiting .edge-line-v,
body.intro-exiting .pagination,
body.intro-exiting .ticker,
body.intro-exiting .nav-tokens {
  visibility: visible;
  animation: stageEmerge 2000ms cubic-bezier(0.65, 0, 0.25, 1) 700ms both;
}
@keyframes stageEmerge {
  from { opacity: 0; transform: scale(1.08); filter: blur(22px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

.intro-scene {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: radial-gradient(ellipse at center, #0a060f 0%, #000 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  overflow: hidden;
  padding: 0 24px;
  text-align: center;
}

.intro-aura {
  position: absolute;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(192, 38, 211, 0.30) 0%,
    rgba(124, 58, 237, 0.14) 32%,
    transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: introAuraBreath 5s ease-in-out infinite;
}
/* Idle animates only non-conflicting properties — exit can hijack transform/opacity cleanly */
@keyframes introAuraBreath {
  0%, 100% { filter: blur(60px) brightness(1);    }
  50%      { filter: blur(70px) brightness(1.25); }
}

.intro-mark {
  position: relative;
  width: 280px;
  height: 280px;
  will-change: transform, filter, opacity;
}
.intro-v {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  object-fit: contain;
  animation: introVPulse 2.6s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes introVPulse {
  0%, 100% { transform: scale(1);    filter: brightness(1); }
  50%      { transform: scale(1.04); filter: brightness(1.12); }
}
body.intro-exiting .intro-v { animation: none; }
/* Glow lives on ::before — its own render surface, so idle pulse doesn't
   touch the mark's transform/filter chain. Exit zoom can hijack the parent cleanly. */
.intro-mark::before {
  content: "";
  position: absolute;
  inset: -80% -70%;
  background: radial-gradient(ellipse at 50% 55%,
    rgba(232, 121, 249, 0.42) 0%,
    rgba(192, 38, 211, 0.18) 38%,
    transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
  animation: introMarkHalo 3.4s ease-in-out infinite;
}
@keyframes introMarkHalo {
  0%, 100% { filter: blur(30px) brightness(1);    }
  50%      { filter: blur(38px) brightness(1.45); }
}

.intro-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: -42px;
  font-size: clamp(38px, 4.6vw, 64px);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(192, 38, 211, 0.4);
}
.intro-wordmark .wm-dot { color: var(--accent-bright); }

.intro-slogan {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgba(245, 243, 248, 0.58);
  max-width: 640px;
}

.intro-hint {
  position: absolute;
  bottom: clamp(28px, 5vh, 56px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 243, 248, 0.48);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: introHintBlink 2.4s ease-in-out infinite;
}
.intro-hint::before,
.intro-hint::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
/* Idle blink uses color only — leaves opacity/transform free for exit take-over */
@keyframes introHintBlink {
  0%, 100% { color: rgba(245, 243, 248, 0.42); }
  50%      { color: rgba(245, 243, 248, 0.85); }
}

/* Exit: single continuous motion — one duration, one curve, one timeline. */
body.intro-exiting .intro-scene,
body.intro-exiting .intro-mark,
body.intro-exiting .intro-aura,
body.intro-exiting .intro-wordmark,
body.intro-exiting .intro-slogan,
body.intro-exiting .intro-hint {
  animation-duration: 2800ms;
  animation-timing-function: cubic-bezier(0.65, 0, 0.25, 1);
  animation-fill-mode: forwards;
}
body.intro-exiting .intro-scene   { animation-name: introSceneOut;  pointer-events: none; }
body.intro-exiting .intro-mark    { animation-name: introMarkZoom;  }
body.intro-exiting .intro-aura    { animation-name: introAuraZoom;  }
body.intro-exiting .intro-wordmark,
body.intro-exiting .intro-slogan  { animation-name: introTextOut; }
body.intro-exiting .intro-hint    { animation-name: introHintOut; }

@keyframes introMarkZoom {
  from { transform: scale(1);  filter: blur(0);    opacity: 1; }
  to   { transform: scale(80); filter: blur(80px); opacity: 0; }
}
@keyframes introAuraZoom {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(6); opacity: 0; }
}
@keyframes introSceneOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes introTextOut {
  from { opacity: 1; transform: none;                          filter: blur(0); }
  to   { opacity: 0; transform: translateY(-24px) scale(0.88); filter: blur(14px); }
}
/* Hint has translateX(-50%) for centering; preserve it so it doesn't snap left on exit */
@keyframes introHintOut {
  from { opacity: 1; transform: translateX(-50%);                          filter: blur(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-18px) scale(0.92); filter: blur(10px); }
}

/* ================= Responsive — Tablet & Mobile ================= */

@media (max-width: 900px) {
  /* Unlock page scroll so content can flow vertically */
  html, body {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #root, .stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  /* Chrome becomes flow layout */
  .chrome {
    position: relative;
    inset: auto;
    padding: 20px 20px 128px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Top row: brand only; pagination handles nav */
  .top-row { flex-wrap: wrap; gap: 12px; align-items: center; }
  .nav-tokens { display: none; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 20px; height: 20px; }

  /* Canvas → single column */
  .canvas {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 8px;
    align-items: flex-start;
  }
  .left {
    max-width: 100%;
    padding-bottom: 8px;
  }
  .right {
    height: auto;
    min-height: auto;
  }

  /* Headlines scale down properly on narrow viewports */
  .headline {
    font-size: clamp(40px, 11vw, 72px);
    line-height: 1.0;
  }
  /* Allow wrap on mobile if needed — no overflow */
  .headline .row { white-space: normal; }
  .canvas[data-state="pkg"] .headline,
  .canvas[data-state="vent"] .headline {
    font-size: clamp(36px, 9.5vw, 64px);
  }

  .sub {
    font-size: 18px;
    line-height: 1.5;
    max-width: 100%;
    margin-top: 22px;
  }

  .cta-row { flex-wrap: wrap; gap: 14px; margin-top: 28px; }
  .cta { padding: 14px 20px; font-size: 11px; }
  .cta-ghost { font-size: 10px; }

  .meta-row {
    flex-wrap: wrap;
    gap: 20px 28px;
    max-width: 100%;
    margin-top: 28px;
    padding-top: 16px;
  }
  .meta-cell { font-size: 11px; letter-spacing: 0.12em; }
  .meta-cell strong { font-size: 24px; }

  .eyebrow { margin-bottom: 20px; font-size: 11px; letter-spacing: 0.16em; }

  /* Right-side content panels */
  .pillars {
    position: static !important;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }
  .pillar { min-height: auto; padding: 22px 20px 20px; border-radius: 22px; }
  /* Neutralise the desktop bento radii; alternate corner flare for vertical flow */
  .pillars .pillar:nth-child(odd)  { border-radius: 26px 12px 12px 22px; }
  .pillars .pillar:nth-child(even) { border-radius: 12px 26px 22px 12px; }
  .pillar .title { font-size: 24px; }
  .pillar .desc { font-size: 15px; line-height: 1.55; }
  .pillar .num { font-size: 11px; }

  .ventures {
    position: static !important;
    display: flex;
    grid-template-columns: none;
    max-width: 100%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 10px;
    margin: 0 -6px;
    scrollbar-width: none;
  }
  .ventures::-webkit-scrollbar { display: none; }
  .venture-card {
    flex: 0 0 72%;
    min-width: 220px;
    aspect-ratio: 3 / 4;
    scroll-snap-align: start;
    border-radius: 20px;
  }
  /* Carousel: flared outer ends; reset bento radii */
  .ventures .venture-card:nth-child(1) { border-radius: 24px 10px 10px 24px; }
  .ventures .venture-card:nth-child(4) { border-radius: 10px 24px 24px 10px; }
  .ventures .venture-card:nth-child(2),
  .ventures .venture-card:nth-child(3) { border-radius: 10px; }

  .contact-form {
    position: static !important;
    max-width: 100%;
    padding: 24px 22px;
    border-radius: 24px;
  }
  .field input, .field textarea { font-size: 16px; /* prevents iOS auto-zoom */ }

  /* Pagination: fixed bottom bar */
  .pagination {
    position: fixed;
    top: auto;
    right: auto;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 4px;
    background: var(--glass-dark-hi);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid var(--glass-border-hi);
    border-radius: 999px;
    padding: 8px 10px;
    z-index: 50;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  }
  .pagination::before { display: none; }
  .page-item {
    padding: 8px 12px;
    border-radius: 999px;
    gap: 8px;
  }
  .page-item.active {
    background: rgba(192, 38, 211, 0.14);
  }

  /* Ticker simpler */
  .ticker {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    padding-top: 12px;
  }
  .ticker-center { flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
  .ticker-center .em { display: none; }
  .ticker-right { gap: 12px; }

  /* Strip desktop-only chrome */
  .edge-line-h, .edge-line-v { display: none; }
  .vignette { display: none; }
  .aura-orb {
    width: min(800px, 140vw);
    height: min(800px, 140vw);
    left: 75%;
  }

  /* Push the video's focal area toward the right edge + darken left for content */
  .bg-video {
    object-position: 80% center;
  }
  .bg-base {
    background:
      linear-gradient(95deg,
        rgba(6, 5, 10, 0.88) 0%,
        rgba(6, 5, 10, 0.72) 30%,
        rgba(6, 5, 10, 0.28) 60%,
        transparent 85%);
    mix-blend-mode: normal;
  }

  /* Horizontal slide-in feels wrong once stacked */
  .state-fade,
  .state-fade-right {
    animation-name: stateInMobile;
  }
  @keyframes stateInMobile {
    from { opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(6px); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
  }
}

@media (max-width: 480px) {
  .chrome { padding: 18px 16px 120px; gap: 24px; }
  .headline { font-size: clamp(36px, 10.5vw, 54px); }
  .canvas[data-state="pkg"] .headline,
  .canvas[data-state="vent"] .headline { font-size: clamp(32px, 9vw, 48px); }
  .sub { font-size: 17px; line-height: 1.55; }
  .meta-cell strong { font-size: 22px; }
  .meta-cell { font-size: 11px; }
  .pillar .title { font-size: 22px; }
  .pillar .desc { font-size: 14px; }
  .brand-name { font-size: 16px; }
  .eyebrow { font-size: 10.5px; }
}
