:root {
  color-scheme: dark;
  --bg: #090c10;
  --bg-soft: #0e1217;
  --text: #f4f5f6;
  --muted: #aeb6bf;
  --line: rgba(255,255,255,.14);
  --orange: #ff5a00;
  --orange-hover: #ff6d1f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html.locked, body.locked { overflow: hidden; height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,12,24,.64) 0%, rgba(3,12,24,.28) 44%, rgba(3,12,24,.06) 72%),
    linear-gradient(180deg, rgba(0,8,22,.12), transparent 58%, rgba(0,8,22,.18));
}
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px clamp(28px, 6vw, 88px);
  z-index: 2;
}
.brand {
  color: var(--orange);
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: .09em;
  text-decoration: none;
}
.nav { display: flex; gap: 30px; }
.nav a {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  text-decoration: none;
  transition: opacity .18s ease;
}
.nav a:hover { opacity: .66; }

.hero-copy {
  position: absolute;
  left: clamp(28px, 6vw, 88px);
  top: 24%;
  width: min(900px, calc(100% - 56px));
  transform: none;
}
.hero-copy h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.5rem, 4.1vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-copy > p {
  margin: 28px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(.92rem, 1.35vw, 1.12rem);
  letter-spacing: .015em;
}
.hero-cta {
  margin-top: 42px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.88);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
}
.hero-cta span { margin-left: 8px; }
.hero-cta:hover { color: var(--orange); border-color: var(--orange); }
.hero-cta:focus-visible, .nav a:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}

main { background: var(--bg); }
.section { border-top: 1px solid var(--line); }
.section-wrap {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(86px, 11vw, 148px) 0;
}
.kicker {
  margin: 0 0 26px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}
h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}
.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.capabilities article {
  min-height: 230px;
  padding: 32px 34px 0 0;
  border-right: 1px solid var(--line);
}
.capabilities article + article { padding-left: 34px; }
.capabilities article:last-child { border-right: 0; }
.capabilities h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 500;
}
.capabilities p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.section-method { background: var(--bg-soft); }
.method-grid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}
.method-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}
.method-copy .method-steps {
  margin-top: 40px;
  color: #fff;
  font-weight: 500;
  letter-spacing: .02em;
}
.method-steps span { color: var(--orange); margin: 0 .35em; }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}
.contact-form { display: grid; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  border-radius: 0;
  padding: 12px 0 14px;
  background: transparent;
  color: #fff;
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  margin-top: 8px;
}
.form-actions button {
  border: 1px solid var(--orange);
  padding: 14px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
}
.form-actions button:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.form-actions button:disabled { opacity: .55; cursor: wait; }
#form-status { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
#form-status.ok { color: #a6e6b0; }
#form-status.error { color: #ff9d8f; }

@media (max-width: 760px) {
  .topbar { padding: 24px 22px; }
  .nav { gap: 18px; }
  .nav a { font-size: 12px; }
  .hero-copy { left: 22px; top: 23%; width: calc(100% - 44px); transform: none; }
  .hero-copy h1 { font-size: clamp(2.35rem, 10vw, 4rem); }
  .hero-copy > p { max-width: 330px; line-height: 1.55; }
  .section-wrap { width: calc(100% - 44px); }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities article,
  .capabilities article + article { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capabilities article:last-child { border-bottom: 0; }
  .method-grid, .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 55px; }
}

@media (max-width: 430px) {
  .topbar { padding: 22px 18px; }
  .brand { font-size: 16px; }
  .nav { display: flex; gap: 12px; }
  .nav a { font-size: 11px; }
  .hero-image { object-position: 47% center; }
  .hero-copy h1 { letter-spacing: -.035em; }
}

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