﻿:root {
  --bg: #090c10;
  --bg-elevated: #10151c;
  --surface: #111922;
  --surface-strong: #16202b;
  --text: #e7edf3;
  --muted: #9ca9b6;
  --accent: #3dbddd;
  --accent-soft: rgba(61, 189, 221, 0.14);
  --accent-line: rgba(61, 189, 221, 0.34);
  --stroke: rgba(255, 255, 255, 0.11);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --radius: 14px;
  --maxw: 1120px;
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.32);
  --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1080px 620px at 84% 8%, rgba(61, 189, 221, 0.08), transparent 62%),
    radial-gradient(900px 640px at 6% 28%, rgba(61, 189, 221, 0.05), transparent 60%),
    var(--bg);
}

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

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

a:focus-visible {
  outline: 2px solid rgba(61, 189, 221, 0.85);
  outline-offset: 3px;
  border-radius: 6px;
}

p {
  margin: 0 0 16px;
  color: rgba(231, 237, 243, 0.82);
  font-size: 17px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 12, 16, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(9px);
}

.nav.scrolled {
  background: rgba(9, 12, 16, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.brand:focus-visible {
  outline: 2px solid rgba(61, 189, 221, 0.82);
  outline-offset: 4px;
  border-radius: 8px;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(231, 237, 243, 0.86);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  border: 1px solid transparent;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.nav-links a:focus-visible {
  outline: 2px solid rgba(61, 189, 221, 0.86);
  outline-offset: 2px;
  border-radius: 10px;
  background: rgba(61, 189, 221, 0.12);
  box-shadow: inset 0 0 0 1px rgba(61, 189, 221, 0.38);
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(231, 237, 243, 0.72);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.4vw, 66px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-weight: 680;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-weight: 610;
}

.subhead {
  max-width: 58ch;
  margin-bottom: 22px;
  color: rgba(231, 237, 243, 0.84);
  font-size: 18px;
}

.page-main {
  padding-top: 62px;
}

.page-intro {
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta-tight {
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(16, 21, 28, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  background: rgba(18, 26, 35, 0.9);
}

.btn:focus-visible {
  outline: 2px solid rgba(61, 189, 221, 0.9);
  outline-offset: 3px;
  border-color: rgba(61, 189, 221, 0.44);
}

.btn.primary {
  border-color: rgba(61, 189, 221, 0.3);
  background: rgba(61, 189, 221, 0.15);
  box-shadow: 0 0 0 1px rgba(61, 189, 221, 0.18) inset, var(--shadow-soft);
}

.btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 189, 221, 0.17);
  flex: 0 0 auto;
}

.card {
  background: linear-gradient(180deg, rgba(20, 27, 36, 0.78), rgba(15, 22, 30, 0.74));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.image-card {
  padding: 12px;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  transform: translateY(4px);
}

.hairline {
  height: 1px;
  width: 100%;
  margin: 26px 0;
  background: rgba(61, 189, 221, 0.16);
}

.energy-break {
  position: relative;
  height: 18px;
  margin: 38px 0;
}

.energy-break::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07);
}

.energy-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
  overflow: hidden;
}

.energy-line::before {
  content: "";
  position: absolute;
  left: -26%;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(61, 189, 221, 0.9), rgba(0, 0, 0, 0));
  filter: drop-shadow(0 0 8px rgba(61, 189, 221, 0.28));
  animation: energySweep 11s ease-in-out infinite;
}

@keyframes energySweep {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(280%);
  }

  100% {
    transform: translateX(0);
  }
}

.section {
  padding: 56px 0;
}

.panel-section {
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.28), rgba(18, 24, 33, 0.16));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.project-card {
  max-width: 900px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 14px;
}

.bullets div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(231, 237, 243, 0.82);
}

.bullets .mark {
  margin-top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: rgba(61, 189, 221, 0.8);
  box-shadow: 0 0 0 3px rgba(61, 189, 221, 0.13);
  flex: 0 0 auto;
}

.small {
  font-size: 13px;
  color: rgba(231, 237, 243, 0.74);
}

.label-row {
  margin-bottom: 8px;
}

.section-kicker {
  margin-bottom: 10px;
}

.flush-title {
  margin-bottom: 6px;
}

.stack-space {
  height: 18px;
}

.contact-link {
  margin-bottom: 0;
  color: rgba(231, 237, 243, 0.92);
  font-weight: 620;
}

.contact-link-tight {
  margin-bottom: 8px;
}

.footer {
  margin-top: 36px;
  padding: 34px 0 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.footer-links {
  margin-top: 10px;
}

.footer-links span {
  display: inline-block;
  margin: 0 8px;
  color: rgba(231, 237, 243, 0.45);
}

.footer a {
  color: rgba(231, 237, 243, 0.8);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(16, 21, 28, 0.62);
  padding: 7px 11px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231, 237, 243, 0.78);
}

.pill .spark {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 189, 221, 0.13);
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.94em;
  color: rgba(231, 237, 243, 0.92);
  background: rgba(9, 12, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 6px;
}

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

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 52px);
  }
}

@media (max-width: 760px) {
  .nav-inner {
    min-height: 64px;
  }

  .nav-links {
    gap: 7px;
  }

  .bullets {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-row {
    width: 100%;
  }

  .footer-links span {
    margin: 0 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .btn:hover {
    transform: none;
  }
}
