:root {
  --ink: #eef4ff;
  --muted: #97a9c3;
  --deep: #050b14;
  --navy: #07111f;
  --panel: rgba(13, 27, 47, 0.66);
  --line: rgba(155, 194, 255, 0.14);
  --blue: #526fff;
  --cyan: #60d8ff;
  --violet: #8668ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(41, 72, 147, 0.32), transparent 43%),
    linear-gradient(150deg, #07111f 0%, #050b14 50%, #081321 100%);
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(131, 175, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 175, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.ambient__glow {
  position: absolute;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.16;
  transform: translate3d(0, 0, 0);
}

.ambient__glow--one {
  top: 8%;
  left: -22%;
  background: var(--blue);
}

.ambient__glow--two {
  right: -24%;
  top: 42%;
  background: var(--cyan);
}

.ambient__noise {
  position: absolute;
  inset: -30%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  animation: noise 0.25s steps(2) infinite;
}

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 4vw, 64px);
  color: #b7c5db;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.masthead__brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.masthead__signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.masthead__descriptor {
  color: #6f829d;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 130px 24px 120px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: -1;
  width: min(920px, 92vw);
  height: min(500px, 55vw);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(80, 111, 255, 0.12), transparent 68%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
}

.hero__content {
  width: min(960px, 100%);
  text-align: center;
}

.logo-lockup {
  position: relative;
  display: inline-flex;
  width: min(790px, 90vw);
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 5vw, 58px) clamp(26px, 6vw, 72px) clamp(22px, 4vw, 42px);
  border: 1px solid rgba(196, 218, 255, 0.15);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(7, 17, 31, 0.56);
  box-shadow:
    0 36px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 80px rgba(71, 105, 255, 0.08);
  backdrop-filter: blur(22px);
}

.logo-lockup::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(102, 138, 255, 0.42), transparent 32%, transparent 68%, rgba(96, 216, 255, 0.22));
  filter: blur(14px);
  opacity: 0.5;
}

.logo-lockup__mark {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.97;
}

.logo-lockup__name {
  margin-top: clamp(4px, 1.2vw, 12px);
  color: #f6f8ff;
  font-family: "Arial Narrow", "Avenir Next Condensed", ui-sans-serif, sans-serif;
  font-size: clamp(1.42rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: clamp(0.22em, 0.6vw, 0.36em);
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(0.16em);
}

.hero__copy {
  max-width: 760px;
  margin: clamp(46px, 7vh, 72px) auto 0;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  color: #7f9abf;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

h1,
h2,
h3,
blockquote {
  margin-top: 0;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
}

.hero__intro {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #6e829f;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: rgba(127, 154, 191, 0.25);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.capabilities {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(100px, 15vw, 190px) 0;
}

.section-heading {
  display: grid;
  max-width: 820px;
  margin-bottom: clamp(52px, 7vw, 84px);
  grid-template-columns: 0.85fr 1.15fr;
  column-gap: clamp(36px, 8vw, 100px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 560;
  line-height: 1.02;
}

.section-heading > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 320px;
  grid-column: span 2;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(19, 38, 65, 0.72), rgba(8, 18, 32, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  transition: border-color 300ms ease, transform 300ms ease, background 300ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(70px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card:hover {
  border-color: rgba(111, 151, 255, 0.34);
  background: linear-gradient(145deg, rgba(23, 47, 80, 0.8), rgba(8, 18, 32, 0.7));
  transform: translateY(-4px);
}

.service-card:hover::after {
  opacity: 0.15;
}

.service-card--wide {
  display: grid;
  min-height: 240px;
  grid-column: span 4;
  grid-template-columns: 130px 1fr;
  align-items: center;
}

.service-card__number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #536783;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.service-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 58px;
  border: 1px solid rgba(111, 151, 255, 0.24);
  border-radius: 15px;
  background: rgba(83, 111, 255, 0.08);
  place-items: center;
}

.service-card__icon svg {
  width: 24px;
  fill: none;
  stroke: #9eb2ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card--wide .service-card__icon {
  width: 72px;
  height: 72px;
  margin: 0;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 560;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.promise {
  position: relative;
  display: grid;
  min-height: 74vh;
  place-items: center;
  padding: 120px 24px;
  overflow: hidden;
}

.promise::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(900px, 92vw);
  height: min(620px, 80vw);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(69, 102, 227, 0.16), rgba(23, 55, 92, 0.05) 45%, transparent 70%);
  transform: translate(-50%, -50%);
}

.promise__line {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 180, 231, 0.24), transparent);
  transform: translateX(-50%);
}

.promise__content {
  max-width: 1120px;
  text-align: center;
}

.promise blockquote {
  margin-bottom: 30px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 510;
  line-height: 1.07;
}

.promise__content > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact {
  display: grid;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(100px, 13vw, 170px) 0;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(56px, 9vw, 120px);
  align-items: start;
}

.contact__intro {
  position: sticky;
  top: 80px;
}

.contact__intro .eyebrow {
  justify-content: flex-start;
}

.contact__intro h2 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 550;
  line-height: 1.02;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact__availability {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 38px;
  color: #7f94b1;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact__panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(19, 38, 65, 0.78), rgba(8, 18, 32, 0.7));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label {
  color: #aebdd1;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-field label span {
  color: #607590;
  font-size: 0.62rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(151, 178, 220, 0.18);
  border-radius: 11px;
  outline: none;
  background: rgba(3, 10, 19, 0.64);
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field input,
.form-field select {
  height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(96, 216, 255, 0.58);
  background: rgba(5, 15, 28, 0.84);
  box-shadow: 0 0 0 3px rgba(96, 216, 255, 0.08);
}

.form-field--hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.form-field--captcha {
  width: 240px;
  max-width: 100%;
}

.form-field--captcha input {
  width: 150px;
  letter-spacing: .15em;
}

.submit-button {
  display: inline-flex;
  min-height: 54px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(129, 167, 255, 0.52);
  border-radius: 12px;
  background: linear-gradient(135deg, #405bd9, #536fff 55%, #438dc8);
  box-shadow: 0 12px 34px rgba(58, 86, 204, 0.24);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.submit-button:hover {
  box-shadow: 0 16px 44px rgba(58, 86, 204, 0.36);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.submit-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.submit-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-note {
  margin: -6px 0 0;
  color: #607590;
  font-size: 0.72rem;
}

.form-status {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 11px;
  font-size: 0.9rem;
}

.form-status--success {
  border-color: rgba(77, 220, 164, 0.3);
  background: rgba(31, 155, 107, 0.12);
  color: #a9efd4;
}

.form-status--error {
  border-color: rgba(255, 119, 128, 0.32);
  background: rgba(190, 51, 62, 0.11);
  color: #ffc0c5;
}

.footer {
  display: flex;
  width: min(var(--max), calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: #687c98;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal--delay-one {
  transition-delay: 100ms;
}

.reveal--delay-two {
  transition-delay: 200ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

@keyframes noise {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(2%, -1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, 1%, 0); }
  100% { transform: translate3d(-2%, -1%, 0); }
}

@media (max-width: 900px) {
  .section-heading {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .section-heading > p:last-child {
    max-width: 600px;
  }

  .service-card {
    grid-column: span 3;
  }

  .service-card--wide {
    grid-column: span 6;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact__intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .masthead {
    padding: 22px;
  }

  .masthead__descriptor {
    display: none;
  }

  .hero {
    min-height: 920px;
    padding-inline: 16px;
  }

  .logo-lockup {
    width: 100%;
    border-radius: 22px;
  }

  .logo-lockup__name {
    letter-spacing: 0.2em;
  }

  .capabilities {
    width: min(100% - 32px, var(--max));
    padding-block: 100px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--wide {
    display: block;
    min-height: 290px;
    grid-column: auto;
    padding: 28px;
  }

  .service-card--wide .service-card__icon,
  .service-card__icon {
    width: 54px;
    height: 54px;
    margin: 0 0 58px;
  }

  .contact {
    width: calc(100% - 32px);
    gap: 44px;
    padding-block: 100px;
  }

  .contact__panel {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-field--captcha {
    width: 100%;
  }

  .submit-button {
    width: 100%;
  }

  .footer {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.captcha-image {
  border: 1px solid var(--line);
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.captcha-refresh {
  justify-self: start;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #b5caff;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.captcha-refresh:focus-visible {
  outline: 2px solid #b5caff;
  outline-offset: 4px;
}
