:root {
  --bg: #06080d;
  --cyan: oklch(0.75 0.14 200);
  --cyan-bright: oklch(0.82 0.14 200);
  --green: oklch(0.72 0.14 160);
  --green-bright: oklch(0.78 0.14 160);
  --ink: #e7ebf2;
  --ink-strong: #f5f7fb;
  --ink-mid: #a3acbe;
  --ink-soft: #9aa4b8;
  --ink-faint: #5c6478;
  --hairline: rgba(255, 255, 255, 0.08);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover { color: var(--cyan-bright); }

::selection { background: oklch(0.75 0.14 200 / 0.3); }

.page {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 13, 0.75);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 19px;
  color: #f2f5fa;
  white-space: nowrap;
}

.wordmark-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px oklch(0.75 0.14 200 / 0.8);
}

.wordmark-tld { color: var(--cyan); }

.wordmark-sm {
  font-size: 16px;
  margin-bottom: 8px;
}

.wordmark-sm .wordmark-dot {
  width: 7px;
  height: 7px;
  box-shadow: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: #aab3c4;
}

.nav-link:hover { color: #f2f5fa; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04141a;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--cyan-bright);
  color: #04141a;
}

.btn-lg {
  padding: 14px 28px;
  border-radius: 9px;
  font-size: 15.5px;
}

.btn-primary.btn-lg:hover { transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--hairline);
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #cdd3e0;
}

.mobile-cta {
  padding: 12px 20px;
  color: #04141a;
}

.hero {
  position: relative;
  padding: 120px 32px 100px;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, black, transparent);
}

.hero-glow {
  position: absolute;
  filter: blur(40px);
  z-index: 0;
}

.hero-glow-cyan {
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, oklch(0.7 0.13 200 / 0.22), transparent 70%);
}

.hero-glow-green {
  top: 120px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, oklch(0.7 0.13 155 / 0.16), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px oklch(0.72 0.14 155 / 0.9);
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  max-width: 900px;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(90deg, oklch(0.78 0.14 200), oklch(0.75 0.14 160));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-mid);
  max-width: 640px;
  margin: 0 0 40px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.section {
  padding: 100px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-divided { border-top: 1px solid var(--hairline); }

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.section-head p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.eyebrow-cyan { color: var(--cyan); }
.eyebrow-green { color: var(--green); }

.card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s, transform 0.2s;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #f2f5fa;
  margin: 0 0 10px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.card-hover-cyan:hover {
  border-color: oklch(0.75 0.14 200 / 0.5);
  transform: translateY(-3px);
}

.card-hover-green:hover {
  border-color: oklch(0.72 0.14 160 / 0.5);
  transform: translateY(-3px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-tile-cyan { background: oklch(0.75 0.14 200 / 0.12); }
.icon-tile-green { background: oklch(0.72 0.14 160 / 0.12); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-card-featured {
  grid-column: 1 / -1;
  border-color: oklch(0.75 0.14 200 / 0.35);
  background: linear-gradient(160deg, oklch(0.75 0.14 200 / 0.07), rgba(255, 255, 255, 0.015));
}

.work-kind {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}

.work-card h3 { margin: 0; }

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tag {
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 12px;
  color: #dbe0ec;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

.work-link svg { flex-shrink: 0; }

.expertise-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.founder-card { scroll-margin-top: 100px; }

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, oklch(0.75 0.14 200), oklch(0.7 0.14 160));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 22px;
  color: #04141a;
  margin-bottom: 20px;
}

.founder-card h3 {
  font-size: 21px;
  margin: 0 0 4px;
}

.founder-role {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 24px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cert span {
  font-size: 13.5px;
  color: #c4cbdc;
  line-height: 1.4;
}

.founder-note {
  font-size: 13.5px;
  color: #8b95a8;
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.label-mono {
  font-size: 12.5px;
  font-family: var(--mono);
  color: #8b95a8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.track-record {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.track-record-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.track-record-list span {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-faint);
}

.tech-stack {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}

.tech-stack .label-mono {
  display: block;
  margin-bottom: 16px;
}

.tech-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tech-tab {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #8b95a8;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--mono);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tech-tab[aria-selected="true"] {
  border-color: var(--cyan);
  background: oklch(0.75 0.14 200 / 0.14);
  color: oklch(0.85 0.14 200);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 44px;
}

.tech-badge {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: #dbe0ec;
  font-family: var(--mono);
}

.contact-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, oklch(0.72 0.14 200 / 0.16), transparent 70%);
  filter: blur(30px);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-inner h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.contact-lede {
  font-size: 15.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0 0 36px;
}

.btn-mail {
  padding: 16px 28px;
  border-radius: 10px;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 28px;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-location span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-note {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13.5px;
  color: #8b95a8;
}

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

@media (max-width: 860px) {
  .desktop-nav, .desktop-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .services-grid, .portfolio-grid, .expertise-grid { grid-template-columns: 1fr; }
  .work-card-featured { grid-column: auto; }
  .contact-panel { padding: 36px 24px; }
  .hero { padding: 88px 24px 72px; }
  .section { padding: 72px 24px; }
}

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

.notice {
  text-align: center;
  padding-top: 160px;
}

.notice-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink-strong);
  margin: 0 0 16px;
}

.notice-lede {
  font-size: 16px;
  color: var(--ink-mid);
  margin: 0 0 32px;
}
