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

:root{
  --sid-bg: #ffffff;
  --sid-ink: #111111;
  --sid-muted: #eeeeee;
  --sid-accent: #111111; /* keep as current unless you want a real accent */
}


/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

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

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo span {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo img {
  height: 65px;
}

.navigation a {
  margin-left: 24px;
  font-size: 14px;
  opacity: 0.8;
}

.navigation a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  padding: 120px 0 100px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  font-size: 18px;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid #f2f2f2;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.section p {
  max-width: 700px;
  opacity: 0.85;
}

/* Ventures */
.ventures-list {
  list-style: none;
  margin-top: 24px;
}

.ventures-list li {
  padding: 8px 0;
  font-size: 16px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  opacity: 0.7;
}

/* Hidden toggle (optional) */
.secret-toggle {
  display: none;
}

/* Canvas overlay */
#pixelCanvas {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

#pixelCanvas.on {
  opacity: 1;
}

/* Pixel Mode: same colors, different “universe” */
body.pixel-mode {
  background: var(--sid-bg);
  color: var(--sid-ink);
}

/* Slight “retro” motion + crisp edges */
body.pixel-mode * {
  text-rendering: geometricPrecision;
}

/* Pixel grid overlay using your muted tone */
body.pixel-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, var(--sid-muted) 1px, transparent 1px),
    linear-gradient(to bottom, var(--sid-muted) 1px, transparent 1px);
  background-size: 16px 16px;
  animation: sidGridDrift 6s linear infinite;
}

@keyframes sidGridDrift {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(16px,16px,0); }
}

/* “Glitch” vibe for the hero title (subtle) */
body.pixel-mode .hero h1 {
  position: relative;
  animation: sidGlitch 2.2s steps(8, end) infinite;
  text-shadow:
    2px 0 0 rgba(0,0,0,0.25),
    -2px 0 0 rgba(0,0,0,0.12);
}

@keyframes sidGlitch {
  0%   { transform: translate(0,0); }
  12%  { transform: translate(1px,-1px); }
  24%  { transform: translate(-1px,1px); }
  36%  { transform: translate(2px,0); }
  48%  { transform: translate(-2px,0); }
  60%  { transform: translate(1px,1px); }
  72%  { transform: translate(0,-1px); }
  100% { transform: translate(0,0); }
}

/* Make sections feel “animated” without changing layout */
body.pixel-mode .section,
body.pixel-mode .site-header {
  animation: sidFloat 3.6s ease-in-out infinite;
}

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

