:root {
  /* Base */
  --bg-black: #050505;
  --bg-black-elevated: #0A0A0A;
  --bg-pure: #000000;

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

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.40);
  --text-faint: rgba(255, 255, 255, 0.22);

  /* Accents */
  --accent-magenta: #F97316;
  --accent-purple: #EA580C;
  --accent-bright: #FB923C;
  --accent-deep: #7C2D12;
  --accent-cyan: #FB923C;

  /* Glows */
  --accent-glow: rgba(249, 115, 22, 0.45);
  --accent-line: rgba(249, 115, 22, 0.30);
  --accent-aura: rgba(234, 88, 12, 0.25);

  --status-live: #34D399;

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

  /* Fonts */
  --font-display: 'Space Grotesk', 'Manrope', -apple-system, sans-serif;
  --font-sans: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', 'Manrope', ui-monospace, monospace;
}

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

/* Space Grotesk 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 ================= */

/* ─── DEVLPR animated atmosphere (replaces background video) ─── */
.bg-base {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%,   rgba(249, 115, 22, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 30%,  rgba(234, 88, 12, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 30% 70%,  rgba(251, 146, 60, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(249, 115, 22, 0.09) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
  animation: atmosphere 40s ease-in-out infinite alternate;
}
@keyframes atmosphere {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(2%, -1%) rotate(2deg) scale(1.05); }
  100% { transform: translate(-1%, 1%) rotate(-2deg) scale(0.98); }
}

.hero-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, black 12%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, black 12%, transparent 72%);
}

.orange-glow {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.orange-glow.glow-a { width: 620px; height: 620px; top: -180px; right: -160px; }
.orange-glow.glow-b { width: 480px; height: 480px; bottom: -140px; left: -140px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.16) 0%, transparent 70%); }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(22px, -32px) scale(1.05); }
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-30px, 22px) rotate(8deg); }
}
.floating      { animation: float 9s ease-in-out infinite; }
.floating-slow { animation: floatSlow 15s ease-in-out infinite; }

/* Ambient expanding rings, DEVLPR signature motion */
.bg-rings {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}

.aura-orb {
  position: fixed;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.18), rgba(249, 115, 22, 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(249, 115, 22,0.28) 20%, rgba(249, 115, 22,0.28) 80%, transparent 100%);
  pointer-events: none;
}
.edge-line-v {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(249, 115, 22,0.22) 25%, rgba(249, 115, 22,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: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-magenta);
  display: block;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.7);
  animation: brandDotPulse 2.4s ease-in-out infinite;
}
@keyframes brandDotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.78); }
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  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(255, 255, 255, 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(249, 115, 22,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(249, 115, 22,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(255, 255, 255, 0.62);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dash {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(249, 115, 22,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, #FFEDD5 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(255, 255, 255,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(255, 255, 255, 0.78);
  max-width: 540px;
  font-weight: 400;
}
.sub.sub-secondary {
  margin-top: 28px;
  font-size: 16px;
  color: rgba(255, 255, 255, 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(249, 115, 22,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(249, 115, 22,0.14);
  box-shadow: 0 0 30px rgba(249, 115, 22,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(255, 255, 255, 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(255, 255, 255, 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(249, 115, 22,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(255, 255, 255, 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(249, 115, 22,0.55);
  background: var(--glass-dark-hi);
  box-shadow: 0 0 40px rgba(249, 115, 22,0.18);
}
.pillar .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 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(255, 255, 255, 0.78);
}
.pillar .corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(249, 115, 22,0.5);
  border-right: 1px solid rgba(249, 115, 22,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(249, 115, 22,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(249, 115, 22,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, #141414 0%, #0A0A0A 60%, #0A0A0A 100%);
}
.vc-visual .tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 70% 30%, rgba(249, 115, 22,0.35), transparent 60%),
    linear-gradient(180deg, rgba(234, 88, 12,0.2), rgba(5, 5, 5,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(251, 146, 60,0.25));
  transition: filter 320ms var(--ease-editorial);
}
.venture-card:hover .vc-svg {
  filter: drop-shadow(0 0 18px rgba(251, 146, 60,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(255, 255, 255, 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(249, 115, 22,0.08);
}
.contact-form em {
  font-weight: 700;
  background: linear-gradient(120deg, #FFEDD5 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(255, 255, 255, 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(255, 255, 255, 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(255, 255, 255, 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(249, 115, 22,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(249, 115, 22,0.14);
  box-shadow: 0 0 28px rgba(249, 115, 22,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(249, 115, 22,0.15);
  display: none;
}
.tweaks::-webkit-scrollbar { width: 4px; }
.tweaks::-webkit-scrollbar-thumb { background: rgba(249, 115, 22,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(249, 115, 22,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(255, 255, 255, 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(251, 146, 60, 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: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}
.loader-bar {
  position: relative;
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #EA580C, #F97316, #FB923C);
  transform-origin: left;
  animation: loadProgress 1.2s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes loadProgress {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

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


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

  /* More breathing room above the big hero headline on mobile */
  .canvas[data-state="title"] { padding-top: 32px; }
  .canvas[data-state="title"] .left .eyebrow { margin-bottom: 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;
    text-shadow: 0 2px 24px rgba(5, 5, 5, 0.85), 0 0 12px rgba(5, 5, 5, 0.7);
  }
  .headline em {
    filter: drop-shadow(0 2px 14px rgba(5, 5, 5, 0.7));
  }
  .sub {
    text-shadow: 0 1px 12px rgba(5, 5, 5, 0.7);
  }
  /* 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(249, 115, 22, 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%;
  }

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