:root {
  --bg: #07100f;
  --bg-elevated: rgba(12, 24, 23, 0.82);
  --panel: rgba(244, 250, 244, 0.08);
  --panel-strong: rgba(244, 250, 244, 0.13);
  --text: #f4faf4;
  --muted: #a4bab3;
  --line: rgba(222, 238, 228, 0.18);
  --mint: #67f0bf;
  --coral: #ff7f6e;
  --gold: #ffd36d;
  --sky: #73bcff;
  --ink: #091211;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(103, 240, 191, 0.11), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(255, 127, 110, 0.13), transparent 25rem),
    linear-gradient(180deg, #081110 0%, #0c1214 44%, #07100f 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(103, 240, 191, 0.32);
}

#signal-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.72;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(103, 240, 191, 0.48);
  background: linear-gradient(135deg, rgba(103, 240, 191, 0.18), rgba(115, 188, 255, 0.13));
  color: var(--mint);
  font-weight: 800;
  overflow: hidden;
  border-radius: 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

nav {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 8px;
}

nav a:hover,
nav a:focus-visible {
  background: var(--panel);
  color: var(--text);
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: min(820px, calc(100vh - 72px));
  padding: clamp(44px, 6vw, 78px) clamp(18px, 6vw, 86px) clamp(32px, 5vw, 72px);
}

.hero-copy {
  max-width: 900px;
}

.hero-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(103, 240, 191, 0.24);
  border-radius: 8px;
  background: rgba(7, 16, 15, 0.46);
  backdrop-filter: blur(14px);
}

.hero-profile img {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(103, 240, 191, 0.72);
  border-radius: 999px;
  box-shadow:
    0 0 0 5px rgba(103, 240, 191, 0.08),
    0 0 30px rgba(103, 240, 191, 0.22);
  object-fit: cover;
}

.hero-profile span,
.hero-profile strong {
  display: block;
}

.hero-profile span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-profile strong {
  color: var(--text);
  font-size: 1rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  color: #d7e6df;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}

.button.secondary {
  background: rgba(244, 250, 244, 0.07);
  color: var(--text);
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(103, 240, 191, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(103, 240, 191, 0.17), transparent 34%),
    linear-gradient(330deg, rgba(255, 127, 110, 0.14), transparent 38%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 250, 244, 0.11);
  border-radius: 8px;
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

.hero-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.06;
}

.hero-panel p {
  color: #d8e6e0;
}

.hero-panel a,
.project-body a {
  color: var(--mint);
  font-weight: 900;
  text-decoration: none;
}

.hero-panel a:hover,
.project-body a:hover {
  text-decoration: underline;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 6vw, 86px) 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metrics div {
  min-height: 118px;
  padding: 24px;
  background: rgba(7, 16, 15, 0.75);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.showcase-section {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 6vw, 86px);
}

.cta {
  padding: clamp(44px, 6vw, 76px) clamp(18px, 6vw, 86px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading h2,
.cta h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:last-child,
.cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.project-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 15, 0.68);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 240, 191, 0.36);
  background: rgba(12, 24, 23, 0.82);
}

.project-card.featured {
  border-color: rgba(103, 240, 191, 0.34);
}

.project-visual {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background: #12201e;
}

.project-grid.compact .project-visual {
  min-height: 136px;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  pointer-events: none;
}

.project-visual::before {
  inset: 18px;
  border: 1px solid rgba(244, 250, 244, 0.18);
}

.project-visual::after {
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(244, 250, 244, 0.42);
  background:
    linear-gradient(90deg, rgba(244, 250, 244, 0.88) 0 0) 54% 50% / 13px 16px no-repeat,
    rgba(7, 16, 15, 0.48);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-42%, -50%) scale(0.52);
}

.project-visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.01);
}

.project-visual.has-thumbnail {
  background: #081110;
}

.project-visual.has-thumbnail::before {
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 15, 0.04), rgba(7, 16, 15, 0.62)),
    linear-gradient(90deg, rgba(103, 240, 191, 0.16), transparent 32%, rgba(255, 127, 110, 0.14));
}

.visual-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 6px 8px;
  border: 1px solid rgba(244, 250, 244, 0.24);
  border-radius: 8px;
  background: rgba(7, 16, 15, 0.7);
  color: #eef8f2;
  font-size: 0.72rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.agent-visual {
  background:
    radial-gradient(circle at 30% 45%, var(--mint) 0 9px, transparent 10px),
    radial-gradient(circle at 68% 32%, var(--sky) 0 7px, transparent 8px),
    radial-gradient(circle at 68% 72%, var(--gold) 0 8px, transparent 9px),
    linear-gradient(135deg, #10201d, #1e3340);
}

.hue-visual {
  background:
    conic-gradient(from 120deg, #7cffc8, #ffe071, #ff7f6e, #73bcff, #7cffc8);
}

.guidance-visual,
.xrhome-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #1b283b, #26371f);
}

.sketch-visual {
  background:
    radial-gradient(circle at 38% 38%, #ff7f6e 0 5px, transparent 6px),
    radial-gradient(circle at 52% 51%, #ffd36d 0 5px, transparent 6px),
    radial-gradient(circle at 66% 44%, #67f0bf 0 5px, transparent 6px),
    linear-gradient(135deg, #15203c, #251833);
}

.picar-visual,
.drone-display-visual {
  background:
    linear-gradient(135deg, transparent 45%, rgba(103, 240, 191, 0.32) 46% 48%, transparent 49%),
    radial-gradient(circle at 70% 34%, rgba(115, 188, 255, 0.88), transparent 15%),
    #12201e;
}

.nodninja-visual {
  background:
    radial-gradient(circle at 24% 36%, #67f0bf 0 15px, transparent 16px),
    radial-gradient(circle at 54% 54%, #ff7f6e 0 18px, transparent 19px),
    radial-gradient(circle at 78% 31%, #ffd36d 0 13px, transparent 14px),
    linear-gradient(140deg, #17281f, #17212d);
}

.nodsaber-visual {
  background:
    linear-gradient(72deg, transparent 43%, rgba(103, 240, 191, 0.95) 44% 46%, transparent 47%),
    linear-gradient(110deg, transparent 49%, rgba(255, 127, 110, 0.95) 50% 52%, transparent 53%),
    #101821;
}

.bowling-visual {
  background:
    radial-gradient(circle at 52% 68%, #f4faf4 0 20px, transparent 21px),
    radial-gradient(circle at 70% 34%, #ffd36d 0 10px, transparent 11px),
    linear-gradient(145deg, #162127, #26332c);
}

.shooting-visual {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18px, #ff7f6e 19px 21px, transparent 22px 38px, #67f0bf 39px 42px, transparent 43px),
    linear-gradient(135deg, #10161d, #243225);
}

.newspaper-visual {
  background:
    repeating-linear-gradient(0deg, rgba(244, 250, 244, 0.12) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, #24261e, #132528);
}

.measurement-visual {
  background:
    linear-gradient(90deg, transparent 20%, rgba(255, 211, 109, 0.82) 21% 23%, transparent 24%),
    linear-gradient(180deg, transparent 30%, rgba(103, 240, 191, 0.72) 31% 33%, transparent 34%),
    #142022;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(103, 240, 191, 0.24);
  border-radius: 8px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 900;
}

.project-body h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.project-body p {
  flex: 1;
  color: var(--muted);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.list-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 15, 0.68);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.list-visual {
  grid-row: span 2;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(244, 250, 244, 0.16);
  border-radius: 8px;
  background: #12201e;
  position: relative;
}

.list-visual::before,
.list-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.list-visual::before {
  inset: 10px;
  border: 1px solid rgba(244, 250, 244, 0.16);
  border-radius: 8px;
}

.list-visual::after {
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: rgba(244, 250, 244, 0.72);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-36%, -50%);
}

.palm-thumb .list-visual {
  background:
    radial-gradient(circle at 48% 42%, rgba(103, 240, 191, 0.94) 0 13px, transparent 14px),
    radial-gradient(circle at 62% 68%, rgba(115, 188, 255, 0.82), transparent 18%),
    linear-gradient(135deg, #111c1d, #243927);
}

.voice-thumb .list-visual {
  background:
    repeating-radial-gradient(circle at 36% 50%, rgba(115, 188, 255, 0.26) 0 4px, transparent 5px 13px),
    linear-gradient(135deg, #101821, #261f39);
}

.hue-thumb .list-visual {
  background:
    conic-gradient(from 90deg, #67f0bf, #ffd36d, #ff7f6e, #73bcff, #67f0bf);
}

.media-thumb .list-visual {
  background:
    linear-gradient(90deg, transparent 30%, rgba(103, 240, 191, 0.75) 31% 34%, transparent 35%),
    radial-gradient(circle at 64% 52%, rgba(255, 127, 110, 0.92) 0 10px, transparent 11px),
    linear-gradient(135deg, #111820, #263222);
}

.list-card:hover,
.list-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(103, 240, 191, 0.36);
  outline: none;
}

.list-card span {
  color: var(--mint);
  font-weight: 900;
}

.list-card > span:not(.list-visual) {
  align-self: end;
}

.list-card strong {
  color: #dcebe4;
  font-size: 1.05rem;
}

.cta {
  margin: 0 clamp(18px, 6vw, 86px) clamp(32px, 6vw, 72px);
  border: 1px solid rgba(103, 240, 191, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(103, 240, 191, 0.13), transparent 35%),
    linear-gradient(315deg, rgba(255, 127, 110, 0.15), transparent 40%),
    rgba(7, 16, 15, 0.75);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .hero,
  .project-grid,
  .project-grid.compact {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    grid-column: auto;
    justify-content: flex-start;
    gap: 8px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .hero,
  .project-grid,
  .project-grid.compact,
  .metrics,
  .project-list {
    grid-template-columns: 1fr;
  }

  .list-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

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

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.7rem);
  }

  .panel-header {
    margin-bottom: 32px;
  }

  .hero-profile img {
    width: 50px;
    height: 50px;
  }

  footer {
    flex-direction: column;
  }
}

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