@font-face {
  font-family: "Red Hat Display";
  src: url("/fonts/red-hat-display-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand */
  --indigo: #4632DA;
  --indigo-deep: #3524B8;
  --cyan: #06D9FA;
  --slate: #3D4459;

  /* Grounds and text */
  --night: #10123A;
  --night-2: #1A1D52;
  --paper: #F5F6FB;
  --white: #FFFFFF;
  --ink: #1C1F36;
  --muted: #555B75;
  --line: #DDE0EC;
  --on-night: #E8EAF7;
  --on-night-muted: #A9ADD0;

  --display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1180px;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow-dark { color: var(--indigo); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-ghost { color: var(--on-night); border-color: rgba(232, 234, 247, .35); }
.btn-ghost:hover { border-color: var(--cyan); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(16, 18, 58, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-name { font: 700 1.15rem/1 var(--display); letter-spacing: .01em; }
.brand-name span { font-weight: 500; color: var(--on-night-muted); }

.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--on-night); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav a:hover { color: var(--cyan); }
.nav .nav-cta { padding: 9px 16px; border-radius: 999px; background: var(--indigo); color: var(--white); }
.nav .nav-cta:hover { background: var(--indigo-deep); color: var(--white); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(169, 173, 208, .16) 1px, transparent 0) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--on-night);
  padding-block: clamp(56px, 9vw, 112px) 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.lede { margin-top: 24px; max-width: 34rem; font-size: 1.1rem; color: var(--on-night-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.flight { margin: 0; }
.flight svg { width: 100%; height: auto; overflow: visible; }
.flight-trail { fill: none; stroke: rgba(169, 173, 208, .35); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.flight-line {
  fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: draw 1.8s cubic-bezier(.6, .05, .3, 1) both;
}
.waypoint circle { fill: var(--night); stroke: var(--cyan); stroke-width: 3; }
.waypoint .halo { fill: none; stroke: rgba(6, 217, 250, .3); stroke-width: 1.5; }
.waypoint.end circle:first-child { fill: var(--cyan); }
.waypoint { animation: pop .5s ease-out both; transform-box: fill-box; transform-origin: center; }
.wp-1 { animation-delay: .2s; }
.wp-2 { animation-delay: .9s; }
.wp-3 { animation-delay: 1.6s; }
.wp-label { fill: var(--on-night); font: 600 15px var(--body); letter-spacing: .14em; text-transform: uppercase; }

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: .3; } to { transform: scale(1); opacity: 1; } }

.stack {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem; font-weight: 500; color: var(--on-night-muted);
}

/* About */
.about { background: var(--white); padding-block: clamp(72px, 10vw, 128px); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 88px);
  align-items: end;
}
.about-grid .eyebrow { grid-column: 1 / -1; }
.statement {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.statement span { color: var(--indigo); font-weight: 700; }
.about-body { display: grid; gap: 16px; color: var(--muted); max-width: 34rem; }

/* Section heads */
.section-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }

/* Services */
.services { padding-block: clamp(72px, 10vw, 128px); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  list-style: none; margin: 0; padding: 0;
}
.service {
  display: grid; align-content: start; gap: 12px;
  padding-block: 32px 40px;
  border-top: 1px solid var(--line);
}
.icon {
  width: 40px; height: 40px; padding: 8px; margin-bottom: 6px;
  border-radius: 10px; background: rgba(70, 50, 218, .08);
  fill: none; stroke: var(--indigo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.service p { color: var(--muted); font-size: .95rem; }

/* Approach */
.approach {
  background: var(--night);
  color: var(--on-night);
  padding-block: clamp(72px, 10vw, 120px);
}
.approach h2 { color: var(--white); }
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  list-style: none; margin: 0; padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: grid; gap: 12px; align-content: start;
  padding-top: 36px;
  counter-increment: step;
}
.steps li::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 7px;
  border-top: 2px dotted rgba(169, 173, 208, .4);
}
.steps li::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid var(--cyan); background: var(--night);
}
.steps li:last-child::after { background: var(--cyan); }
.step-label {
  font: 700 1.5rem/1.1 var(--display); color: var(--white);
}
.step-label::before {
  content: "Step " counter(step);
  display: block; margin-bottom: 8px;
  font: 600 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.steps p { color: var(--on-night-muted); max-width: 30rem; }

/* Contact */
.contact { padding-block: clamp(72px, 10vw, 128px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-intro { display: grid; gap: 16px; align-content: start; }
.contact-intro h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }
.linkedin {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  margin-top: 8px; font-weight: 600; font-size: .95rem; color: var(--indigo); text-decoration: none;
}
.linkedin svg { width: 20px; height: 20px; fill: currentColor; }
.linkedin:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 18, 58, .06), 0 24px 48px -24px rgba(16, 18, 58, .22);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--body); color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 14px;
  transition: border-color .2s, background-color .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:hover, textarea:hover { border-color: #C3C7DB; }
input:focus, textarea:focus { outline: none; border-color: var(--indigo); background: var(--white); box-shadow: 0 0 0 3px rgba(70, 50, 218, .15); }
[aria-invalid="true"] { border-color: #C0352B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { font-size: .92rem; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1E7A4A; }
.form-status.err { color: #B0302A; }
button[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); font-size: .85rem; padding-block: 28px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer strong { color: var(--on-night); font-weight: 600; }
.site-footer a { color: var(--on-night); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--cyan); }

/* Privacy page */
.doc { padding-block: clamp(56px, 8vw, 96px); }
.doc-body { max-width: 42rem; display: grid; gap: 18px; }
.doc-body h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.1; }
.doc-body h2 { font-size: 1.3rem; margin-top: 16px; }
.doc-body p { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { align-items: start; }
  .flight { max-width: 520px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav li:not(:last-child) { display: none; }
  .service-grid, .steps, .field-row { grid-template-columns: minmax(0, 1fr); }
  .steps li::before { display: none; }
  .brand-name span { display: none; }
}

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