:root {
  --bg: #09111f;
  --bg-soft: #0f1d33;
  --card: rgba(13, 23, 41, 0.85);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #e9eefb;
  --muted: #9fb0cc;
  --gold: #e5b95a;
  --gold-strong: #ffcf72;
  --blue: #1e3f8a;
  --pixudi-a: #147efb;
  --pixudi-b: #00c9a7;
  --shadow-a: #8d3dff;
  --shadow-b: #09131f;
  --intent-a: #8b6d28;
  --intent-b: #182033;
  --kap-a: #142746;
  --kap-b: #0d1526;
  --radius: 24px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(40, 80, 180, 0.30), transparent 36%),
    radial-gradient(circle at bottom right, rgba(229, 185, 90, 0.12), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #0a1426 36%, #07101d 100%);
  color: var(--text);
}

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.13) 0 2px, transparent 2px),
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.11) 0 2px, transparent 2px);
  background-size: 24px 24px, 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 45%);
  opacity: .18;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 78%, rgba(229, 185, 90, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(16, 40, 85, .35) 0%, rgba(12, 22, 39, 0.2) 60%, rgba(12, 22, 39, 0) 100%);
}

.hero__content { position: relative; z-index: 1; }
.hero__eyebrow,
.section-heading__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero__topline {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3vw, 42px);
}
.brand--kap { color: white; }
.brand--x { color: #dfe7ff; }
.hero__divider {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}
.hero h1 span {
  display: block;
  color: var(--gold-strong);
}

.hero__lead {
  max-width: 800px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 26px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #dbe4ff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.hero__cta,
.project-actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 22px;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold), #f6d588);
  color: #0b1220;
  box-shadow: 0 12px 26px rgba(229, 185, 90, 0.22);
}
.btn--ghost {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
}
.btn--secondary {
  background: rgba(23, 102, 255, 0.12);
  color: #e8f0ff;
  border: 1px solid rgba(23, 102, 255, 0.34);
}

.hero__mini-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-card,
.info-card,
.stat-card,
.intent-showcase__card,
.focus-card,
.link-card {
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
  border-radius: 20px;
}
.mini-card {
  padding: 18px 18px 20px;
}
.mini-card__kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mini-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mini-card__text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

main { padding-bottom: 60px; }
.discover { padding: 36px 0 10px; }
.section-heading {
  max-width: 860px;
  margin-bottom: 26px;
}
.section-heading h2,
.cta-band h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.section-heading p,
.cta-band p { color: var(--muted); line-height: 1.7; font-size: 17px; }

.project-browser {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.project-nav {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-nav__item {
  appearance: none;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 18px;
  padding: 18px 18px;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}
.project-nav__item:hover {
  transform: translateX(4px);
  border-color: rgba(229,185,90,.34);
}
.project-nav__item.is-active {
  background: linear-gradient(180deg, rgba(229,185,90,.18), rgba(255,255,255,.05));
  border-color: rgba(229,185,90,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.project-nav__label { display: block; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.project-nav__meta { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }

.project-panels { position: relative; }
.project-panel {
  display: none;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.project-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%);
  pointer-events: none;
}
.project-panel.is-active { display: block; }
.project-panel > * { position: relative; z-index: 1; }

.theme--pixudi {
  background:
    radial-gradient(circle at top right, rgba(20,126,251,.28), transparent 30%),
    linear-gradient(135deg, rgba(8, 29, 56, .98), rgba(5, 22, 38, .98));
}
.theme--shadow {
  background:
    radial-gradient(circle at top right, rgba(141,61,255,.24), transparent 32%),
    linear-gradient(135deg, rgba(14, 10, 28, .98), rgba(5, 15, 26, .98));
}
.theme--intent {
  background:
    radial-gradient(circle at top right, rgba(229,185,90,.18), transparent 32%),
    linear-gradient(135deg, rgba(18, 24, 43, .98), rgba(11, 15, 28, .98));
}
.theme--kapcrew {
  background:
    radial-gradient(circle at top right, rgba(72,116,214,.16), transparent 36%),
    linear-gradient(135deg, rgba(12, 24, 47, .98), rgba(8, 15, 26, .98));
}

.project-panel__hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}
.project-panel__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}
.project-panel h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.project-panel p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.project-panel__badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
  color: #fff6df;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat-card { padding: 18px; }
.stat-card__value {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
}
.stat-card__label { color: var(--muted); line-height: 1.6; font-size: 14px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.info-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { padding: 20px; }
.info-card h4,
.intent-showcase__card h4,
.focus-card h4,
.company-cta h4 {
  font-size: 18px;
  margin: 0 0 10px;
}
.info-card ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.info-card p,
.intent-showcase__card p,
.focus-card p { margin: 0; }

.shadow-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.link-card {
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: .2s ease;
}
.link-card:hover { transform: translateY(-4px); border-color: rgba(141,61,255,.32); }
.link-card__title { display: block; font-weight: 800; margin-bottom: 8px; }
.link-card__text { color: var(--muted); line-height: 1.6; font-size: 15px; }

.intent-showcase,
.focus-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.intent-showcase__card,
.focus-card { padding: 20px; }
.company-cta {
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.company-cta p { margin: 0; }

.cta-band {
  padding: 34px 0 12px;
}
.cta-band__inner {
  border: 1px solid rgba(229,185,90,.18);
  background: linear-gradient(135deg, rgba(18, 29, 52, .96), rgba(10, 17, 30, .96));
  border-radius: 28px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer {
  padding: 28px 0 48px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
}
.footer__brand { font-weight: 800; letter-spacing: 0.08em; font-size: 13px; color: #ffffff; }
.footer p { color: var(--muted); margin: 8px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: white; }

@media (max-width: 1100px) {
  .stats-grid, .info-grid--three, .shadow-links, .intent-showcase, .focus-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .project-browser {
    grid-template-columns: 1fr;
  }
  .project-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .project-nav__item {
    min-width: 240px;
  }
  .project-nav__item:hover {
    transform: none;
  }
  .project-panel__hero,
  .cta-band__inner,
  .company-cta,
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero { padding-top: 40px; }
  .container { width: min(100% - 28px, 1200px); }
  .hero__lead { font-size: 16px; }
  .stats-grid,
  .info-grid,
  .info-grid--three,
  .shadow-links,
  .intent-showcase,
  .focus-columns {
    grid-template-columns: 1fr;
  }
  .project-panel {
    padding: 22px;
    border-radius: 22px;
  }
  .project-panel__badge { white-space: normal; }
  .btn { width: 100%; }
  .hero__cta,
  .project-actions,
  .cta-band__actions { width: 100%; }
}
