:root {
  --bg: #05060a;
  --bg-deep: #010102;
  --panel: #0d0f14;
  --panel-2: #141722;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #f7f8f8;
  --muted: #a5adbb;
  --faint: #6f7684;
  --violet: #7c73ff;
  --violet-strong: #5e6ad2;
  --cyan: #6be7ff;
  --green: #31d07d;
  --amber: #ffbd66;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(124, 115, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(107, 231, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, #070910 0%, var(--bg) 42%, var(--bg-deep) 100%);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: "cv01", "ss03";
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 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.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 70%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

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

.section-shell,
.nav {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background:
    linear-gradient(135deg, rgba(124, 115, 255, 0.96), rgba(107, 231, 255, 0.72)),
    #5e6ad2;
  box-shadow: 0 0 36px rgba(124, 115, 255, 0.32);
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e5e8ef;
  background: rgba(255,255,255,0.035);
  font-size: 13px;
  font-weight: 500;
}

.hero {
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 56px;
  align-items: center;
  padding: 96px 0 72px;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-copy h1,
.section-heading h2,
.studio-card h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: -0.056em;
  line-height: 0.96;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(52px, 6.3vw, 84px);
}

.hero-copy p {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #cbd1dc;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pulse,
.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 24px rgba(49, 208, 125, 0.8);
}

.hero-actions,
.proof-row,
.capability-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--violet-strong), var(--violet));
  box-shadow: 0 18px 48px rgba(94, 106, 210, 0.28);
}

.button.secondary {
  color: #e6e9f0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.button.large {
  min-height: 58px;
  padding-inline: 26px;
}

.proof-row {
  margin-top: 34px;
  color: #9ca5b4;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}

.proof-row span {
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255,255,255,0.024);
}

.hero-panel {
  position: relative;
  min-height: 610px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 28% 18%, rgba(124, 115, 255, 0.24), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 50%;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 0 80px rgba(124,115,255,0.12);
}

.panel-topbar {
  position: relative;
  z-index: 1;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(5, 6, 10, 0.56);
  color: var(--faint);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}

.panel-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.18);
}

.panel-topbar strong {
  margin-left: auto;
  color: #cfd5df;
  font-weight: 400;
}

.orbit-card,
.signal-grid,
.terminal-card,
.practice-card,
.method-panel,
.stats-card,
.studio-card,
.contact-section {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
}

.orbit-card {
  position: relative;
  z-index: 1;
  width: min(330px, 82%);
  margin: 68px auto 22px;
  padding: 26px;
  border-radius: 26px;
  text-align: center;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(18px);
}

.metric-label {
  color: var(--faint);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 8px;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.orbit-card p {
  margin: 10px auto 0;
  max-width: 220px;
  color: var(--muted);
  line-height: 1.5;
}

.signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(5, 6, 10, 0.44);
}

.signal-grid article {
  padding: 18px;
  border-radius: 17px;
  background: rgba(255,255,255,0.036);
}

.signal-grid h3,
.practice-card h3,
.timeline-item h3 {
  margin: 11px 0 4px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.signal-grid p,
.practice-card p,
.timeline-item p,
.studio-card p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.signal-dot.violet { background: var(--violet); box-shadow: 0 0 22px rgba(124,115,255,0.7); }
.signal-dot.blue { background: var(--cyan); box-shadow: 0 0 22px rgba(107,231,255,0.58); }
.signal-dot.amber { background: var(--amber); box-shadow: 0 0 22px rgba(255,189,102,0.58); }

.terminal-card {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(1, 1, 2, 0.7);
  color: #dfe5ee;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.terminal-card span { color: var(--green); }
.terminal-card .muted { color: #a9b2c1; }

.logo-strip {
  padding: 24px 0 82px;
  color: #d6dbe5;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: -0.035em;
}

.logo-strip p {
  margin: 0;
  padding: 24px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.practice-section,
.method-section,
.studio-section,
.contact-section {
  padding-block: 84px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2,
.studio-card h2,
.contact-section h2 {
  font-size: clamp(40px, 5.4vw, 70px);
}

.section-heading p,
.contact-section p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.practice-card {
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.practice-card:hover {
  transform: translateY(-3px);
  background: var(--surface-strong);
  border-color: rgba(255,255,255,0.16);
}

.practice-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 15% 20%, rgba(124,115,255,0.18), transparent 18rem),
    var(--surface);
}

.card-index {
  color: var(--violet);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}

.practice-card h3 {
  margin-top: 88px;
  font-size: 24px;
}

.product-status {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b9c2d0;
  background: rgba(255,255,255,0.035);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-grid .practice-card {
  min-height: 310px;
}

.portfolio-grid .practice-card h3 {
  margin-top: 54px;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
}

.method-panel,
.stats-card,
.studio-card,
.contact-section {
  border-radius: var(--radius-lg);
}

.method-panel {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.072), rgba(255,255,255,0.028)),
    rgba(8, 10, 18, 0.6);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.timeline-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(124, 115, 255, 0.12);
  color: #c5c1ff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}

.stats-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 26px;
  background: rgba(255,255,255,0.032);
}

.stat {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255,255,255,0.032);
}

.stat strong {
  display: block;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.studio-card {
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 78% 10%, rgba(107,231,255,0.16), transparent 20rem),
    radial-gradient(circle at 20% 80%, rgba(124,115,255,0.18), transparent 24rem),
    rgba(255,255,255,0.038);
}

.studio-card p {
  max-width: 850px;
  margin-top: 22px;
  font-size: 18px;
}

.capability-list {
  margin-top: 30px;
}

.capability-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce1eb;
  background: rgba(255,255,255,0.035);
  font-size: 13px;
  font-weight: 500;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 84px;
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, rgba(94,106,210,0.24), rgba(255,255,255,0.042));
}

.contact-section p {
  max-width: 660px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 58px;
  color: var(--faint);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .method-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-panel {
    min-height: 560px;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-section .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .section-shell,
  .nav {
    width: calc(100% - 28px);
    max-width: var(--max);
  }

  .hero {
    gap: 34px;
  }

  .hero-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .nav {
    height: auto;
    padding-block: 14px;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12.5vw, 56px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-row span {
    text-align: center;
  }

  .hero-panel {
    min-height: auto;
    padding: 12px;
    border-radius: 24px;
    width: 100%;
  }

  .hero-panel::before {
    width: 310px;
    height: 310px;
  }

  .orbit-card {
    margin-top: 30px;
  }

  .metric-value {
    font-size: 62px;
  }

  .signal-grid,
  .practice-grid,
  .stats-card {
    grid-template-columns: 1fr;
  }

  .signal-grid article {
    min-width: 0;
  }

  .practice-card.featured {
    grid-column: span 1;
  }

  .practice-card {
    min-height: 220px;
  }

  .practice-card h3 {
    margin-top: 48px;
  }

  .portfolio-grid .practice-card h3 {
    margin-top: 38px;
  }

  .method-panel {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
