:root {
  --bg: #0b0d17;
  --bg-2: #11142a;
  --surface: #151933;
  --text: #eef0fb;
  --muted: #a3a9c9;
  --border: #262b4d;
  --green: #4ade80;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --pink: #f472b6;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; }

a { color: var(--cyan); }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Colour helpers: set --c, used by children */
.c-green, .accent-green   { --c: var(--green); }
.c-cyan, .accent-cyan     { --c: var(--cyan); }
.c-violet, .accent-violet { --c: var(--violet); }
.c-amber, .accent-amber   { --c: var(--amber); }
.c-pink, .accent-pink     { --c: var(--pink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 13, 23, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.1rem; }
.brand img { width: 24px; height: auto; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 104px 0 80px; }
.glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(74, 222, 128, 0.22), transparent 70%),
    radial-gradient(35% 45% at 75% 20%, rgba(167, 139, 250, 0.28), transparent 70%),
    radial-gradient(35% 40% at 60% 80%, rgba(34, 211, 238, 0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 14px;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); line-height: 1.08; margin: 0 0 20px; max-width: 20ch; }
.grad {
  background: linear-gradient(90deg, var(--green), var(--cyan) 50%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.lead.narrow { max-width: 70ch; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s, transform 0.15s;
}
.btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-color: transparent;
  color: #06110b;
}

.hero-tags { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
}

/* Sections */
.section { padding: 72px 16px; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-kicker {
  color: var(--c);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 6px;
}
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 28px; line-height: 1.2; }
h3 { font-size: 1.2rem; margin: 0 0 6px; }

/* Grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* Project cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--c);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -12px color-mix(in srgb, var(--c) 45%, transparent);
}
.media { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-logo { display: flex; align-items: center; justify-content: center; padding: 28px; }
.media-logo img { width: auto; height: auto; max-width: 85%; max-height: 100%; object-fit: contain; }
.media-logo.vv { background: radial-gradient(80% 90% at 50% 50%, #12301f, #070a0f); }
.media-logo.farhold { background: radial-gradient(80% 90% at 50% 60%, #3a3215, #120f07); }
.media-logo.synthkit { background: #212121; }
.media-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.media-art.vida { background: radial-gradient(80% 90% at 50% 50%, #2c1f5c, #0b0717); color: var(--violet); }
.wave { width: 70%; }
.art-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: 0.3em; color: #fff; }

.body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.body p { margin: 8px 0; }
.kind {
  color: var(--c);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px !important;
}
.impact { color: var(--muted); font-size: 0.95rem; }
.links { margin-top: auto !important; padding-top: 8px; display: flex; gap: 16px; }
.links a { color: var(--c, var(--cyan)); font-weight: 600; text-decoration: none; }
.links a:hover { text-decoration: underline; }

.tags { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
}

/* Community features */
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.feature h3 { color: var(--c); }
.feature p { color: var(--muted); margin: 6px 0 0; }

/* Approach */
.principle {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, var(--surface)), var(--surface) 60%);
  border: 1px solid var(--border);
}
.principle .num { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--c); font-size: 0.9rem; letter-spacing: 0.1em; }
.principle h3 { margin-top: 6px; }
.principle p { color: var(--muted); margin: 6px 0 0; }

/* Contact */
.cta {
  text-align: center;
  padding: 56px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(74, 222, 128, 0.18), transparent 70%),
    radial-gradient(60% 80% at 80% 100%, rgba(167, 139, 250, 0.22), transparent 70%),
    var(--surface);
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 56ch; margin: 0 auto; }
.cta .actions { justify-content: center; }

.footer { padding: 32px 16px 48px; color: var(--muted); font-size: 0.85rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 12px;
  margin-top: -24px;
  position: relative;
}
.stat {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, var(--surface)), var(--surface) 70%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat .value { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.9rem; line-height: 1.1; color: var(--c); }
.stat .label { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

/* Experience timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline > li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 0 22px 0;
  border-bottom: 1px solid var(--border);
}
.timeline > li:last-child { border-bottom: 0; }
.timeline .when {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--c);
  font-size: 0.95rem;
  padding-top: 2px;
}
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 4px 0 0; max-width: 72ch; }
.wins { margin: 10px 0 0; padding-left: 18px; color: var(--text); max-width: 72ch; }
.wins li { margin-bottom: 4px; }
.wins li::marker { color: var(--c); }
.edu { color: var(--muted); font-size: 0.9rem; margin-top: 20px; }

/* Company logos */
.brand-mural { --b: #ff4b4b; }
.brand-elastic { --b: #00bfb3; }
.brand-zepz { --b: #7b61ff; }
.brand-sendwave { --b: #2bb3ff; }
.brand-worldremit { --b: #e5007d; }
.brand-vv { --b: var(--green); }
.brand-iotec { --b: var(--amber); }
.brand-entropia { --b: var(--pink); }
.logos {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.logos li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
}
.logos svg, .logos img { width: 22px; height: 22px; color: var(--b); }
.mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--b);
  color: #0b0d17;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.co { display: flex; align-items: center; gap: 10px; }
.co-mark { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: var(--b); }
.co-mark svg, .co-mark img { width: 24px; height: 24px; }

/* Company cards */
.section.tight { padding-top: 40px; padding-bottom: 40px; }
.companies {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 12px;
}
.companies li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.companies strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.companies small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
.co-logo { flex: none; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--b); }
.co-logo svg, .co-logo img { width: 28px; height: 28px; }
.co-logo .mono { width: 28px; height: 28px; font-size: 1rem; }

/* Engagements */
.engage {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--c);
  background: var(--surface);
}
.engage h3 { margin-bottom: 2px; }
.engage .when-line { color: var(--c); font-weight: 600; font-size: 0.9rem; margin: 0 0 10px; }
.engage p { color: var(--muted); margin: 0; }
.big-num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--c) !important; margin: 4px 0 6px !important; }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.skill-group {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  background: var(--surface);
}
.skill-group h3 { font-size: 1rem; color: var(--c); margin-bottom: 4px; }

@media (min-width: 900px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .companies { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .timeline > li { grid-template-columns: 1fr; gap: 4px; }
  .stats { margin-top: 0; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 0.85rem; }
  .nav nav a.hide-sm { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 16px; }
}
