:root {
  --bg: #060913;
  --bg-2: #0b1122;
  --panel: #0f172c;
  --line: #1c2745;
  --text: #e8ecf6;
  --muted: #9aa6c2;
  --vector: #1f6bff;      /* logo blue */
  --vector-2: #5b9bff;
  --forge: #ff6a1a;       /* molten orange */
  --forge-2: #ffb020;     /* amber */
  --radius: 16px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--vector); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--forge-2); outline-offset: 3px; border-radius: 6px; }

.vector-text { color: var(--vector-2); }
.forge-text {
  background: linear-gradient(90deg, var(--forge), var(--forge-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 19, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 39, 69, .7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 48px; width: auto; }
.footer .logo-mark { height: 34px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.wordmark .forge { color: var(--text); }
.wordmark .ai { color: var(--vector-2); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }
.btn-forge {
  color: #1a0b00;
  background: linear-gradient(90deg, var(--forge), var(--forge-2));
  box-shadow: 0 8px 30px -8px rgba(255, 106, 26, .6);
}
.btn-forge:hover { box-shadow: 0 10px 38px -6px rgba(255, 140, 30, .8); }
.btn-vector { color: #fff; background: var(--vector); box-shadow: 0 8px 28px -10px rgba(31, 107, 255, .8); }
.btn-vector:hover { background: #2d77ff; }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--vector-2); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(88vh, 820px); display: flex; align-items: center; isolation: isolate; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -300px; bottom: -520px;
  background: radial-gradient(closest-side, rgba(255, 106, 26, .38), rgba(255, 176, 32, .12) 45%, transparent 70%);
  filter: blur(10px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .75; transform: scale(1.05); } }
.hero-inner { padding: 96px 0 120px; max-width: 820px; margin-left: max(16px, (100% - 1160px) / 2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--muted); background: rgba(15, 23, 44, .6);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forge); box-shadow: 0 0 12px var(--forge); }
.hero h1 { margin-top: 22px; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 640px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trace { position: absolute; left: 0; right: 0; bottom: 18px; height: 60px; opacity: .55; }
.hero-trace svg { width: 100%; height: 100%; }
.hero-trace path { fill: none; stroke: var(--vector); stroke-width: 2; stroke-dasharray: 8 10; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }

/* Sections */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.kicker { font-family: var(--display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--forge-2); margin-bottom: .6em; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(15, 23, 44, .4));
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.card::before { /* vector edge that heats up on hover */
  content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--vector), var(--vector-2));
  border-radius: 2px; transition: background .3s ease;
}
.card:hover { border-color: #2a3a66; transform: translateY(-2px); }
.card:hover::before { background: linear-gradient(90deg, var(--forge), var(--forge-2)); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(31, 107, 255, .12); border: 1px solid rgba(91, 155, 255, .25); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--vector-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag { font-size: .82rem; color: var(--muted); margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.tag-live { color: #9fd4ff; }
.tag-link { color: var(--vector-2); font-weight: 600; text-decoration: none; }
.tag-link:hover { text-decoration: underline; }
.platform-kind { margin: 14px 0 0; font-family: var(--display); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--forge-2); }
.platform-kind + h3 { margin-top: 4px; }

.consult {
  margin-top: 28px; padding: 30px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid rgba(255, 106, 26, .35);
  background: radial-gradient(120% 180% at 100% 100%, rgba(255, 106, 26, .16), transparent 55%), var(--panel);
}
.consult h3 { font-size: 1.4rem; }
.consult p { margin: 0; max-width: 640px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.platform { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.platform-live {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  border-color: rgba(31, 107, 255, .45);
  background: radial-gradient(120% 120% at 0% 0%, rgba(31, 107, 255, .18), transparent 55%), var(--panel);
}
.platform h3 { font-size: 1.5rem; margin-top: 14px; }
.platform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.link { color: var(--vector-2); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); }
.badge-live { color: #1a0b00; border: 0; background: linear-gradient(90deg, var(--forge), var(--forge-2)); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--vector-2); }
.checks li::after { content: ""; position: absolute; left: 9px; top: calc(.55em - 3px); width: 6px; height: 6px; border-top: 2px solid var(--vector-2); border-right: 2px solid var(--vector-2); transform: rotate(45deg); }

/* Approach */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.approach-mark { width: 88px; height: 88px; margin-bottom: 18px; }
.approach-mark svg { width: 100%; height: 100%; fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mark-vector svg { stroke: var(--vector-2); }
.mark-vector .faint { stroke: rgba(91, 155, 255, .3); stroke-width: 3; }
.mark-forge svg { stroke: var(--forge); }
.mark-forge .spark { stroke: var(--forge-2); animation: spark 1.6s ease-in-out infinite; }
@keyframes spark { 50% { opacity: .25; } }
.approach h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* About */
.people { max-width: 760px; }
.person { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.person h3 { margin: 0; }
.role { margin: 2px 0 0; }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font: 700 1.1rem var(--display); color: #fff;
  background: linear-gradient(135deg, var(--vector), #0a2f7a);
  border: 1px solid rgba(91, 155, 255, .4);
}

/* Contact */
.contact-section { background: radial-gradient(80% 90% at 100% 100%, rgba(255, 106, 26, .12), transparent 60%); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.email-line a { color: var(--forge-2); font-weight: 600; }
.form { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
label { font-size: .9rem; font-weight: 600; color: var(--text); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vector-2); box-shadow: 0 0 0 3px rgba(31, 107, 255, .25); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: #7ee2a8; }
.form-status.err { color: #ff9a8a; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer nav a:hover { color: var(--text); }
.copy { margin: 0; font-size: .88rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; }
  .platform-live { grid-row: auto; }
  .approach, .contact { grid-template-columns: 1fr; gap: 40px; }
  .consult { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; }
  .nav-links a.btn { margin-top: 8px; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-inner { padding: 64px 0 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
