:root {
  --ec_bg: #06080f;
  --ec_bg_soft: #0e1522;
  --ec_surface: rgba(10, 17, 30, 0.78);
  --ec_surface_strong: rgba(15, 24, 40, 0.92);
  --ec_text: #f4f7fb;
  --ec_text_soft: #a9b8d0;
  --ec_line: rgba(255, 255, 255, 0.1);
  --ec_signal: #d83933;
  --ec_signal_soft: rgba(216, 57, 51, 0.18);
  --ec_glow: rgba(58, 100, 255, 0.22);
  --ec_shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--ec_text);
  background:
    radial-gradient(circle at top, rgba(58, 100, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #04070d 0%, #09101b 38%, #05070c 100%);
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.ec_shell {
  width: min(1180px, calc(100% - 32px));
}

.ec_site_header {
  position: relative;
  overflow: clip;
}

.ec_navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  background: rgba(4, 8, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ec_brand,
.ec_hero_title,
.ec_section_heading h2,
.ec_capability_card h3,
.ec_signal_story h2,
.ec_contact .ec_section_heading h2,
.ec_footer_brand {
  font-family: "Space Grotesk", sans-serif;
}

.ec_brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ec_navbar .nav-link {
  color: var(--ec_text_soft);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 1rem;
}

.ec_navbar .nav-link:hover,
.ec_navbar .nav-link:focus {
  color: var(--ec_text);
}

.ec_nav_cta {
  margin-left: 1.25rem;
  padding: 0.8rem 1.3rem;
  color: var(--ec_text);
  background: var(--ec_signal);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ec_hero {
  position: relative;
  min-height: 92vh;
  padding: 7rem 0 4rem;
  display: flex;
  align-items: center;
}

.ec_hero_backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ec_starfield,
.ec_grid,
.ec_orbit {
  position: absolute;
  inset: 0;
}

.ec_starfield {
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 14%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 60% 64%, rgba(255, 255, 255, 0.44) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 44%, rgba(255, 255, 255, 0.44) 0 1px, transparent 1.5px),
    radial-gradient(circle at 35% 78%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px);
  opacity: 0.7;
}

.ec_grid {
  inset: auto -10% -18%;
  height: 55%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(520px) rotateX(76deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 25%, #000 100%);
}

.ec_orbit {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.ec_orbit_one {
  width: 760px;
  height: 760px;
  top: -280px;
  right: -120px;
}

.ec_orbit_two {
  width: 420px;
  height: 420px;
  top: 120px;
  left: -110px;
  border-color: rgba(216, 57, 51, 0.18);
}

.ec_kicker {
  margin-bottom: 1rem;
  color: #ff736d;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.ec_hero_title {
  max-width: 11ch;
  margin: 0 0 1.2rem;
  font-size: clamp(3.3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.ec_hero_copy {
  max-width: 680px;
  margin: 0 0 2rem;
  color: var(--ec_text_soft);
  font-size: 1.2rem;
  line-height: 1.6;
}

.ec_hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ec_btn_primary,
.ec_btn_secondary,
.ec_submit_button {
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.ec_btn_primary,
.ec_submit_button {
  color: var(--ec_text);
  background: linear-gradient(135deg, #f04d43 0%, #9f1f22 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 35px rgba(159, 31, 34, 0.32);
}

.ec_btn_secondary {
  color: var(--ec_text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ec_status_panel,
.ec_data_panel,
.ec_capability_card,
.ec_signal_story,
.ec_contact_card {
  position: relative;
  overflow: hidden;
  background: var(--ec_surface);
  border: 1px solid var(--ec_line);
  border-radius: 28px;
  box-shadow: var(--ec_shadow);
  backdrop-filter: blur(8px);
}

.ec_status_panel {
  padding: 1.7rem;
  margin-top: 2rem;
}

.ec_status_panel::before,
.ec_data_panel::before,
.ec_capability_card::before,
.ec_signal_story::before,
.ec_contact_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.ec_status_label,
.ec_data_panel span {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #8ba8d8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.ec_status_value,
.ec_data_panel strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.4;
}

.ec_status_copy,
.ec_data_panel p,
.ec_section_note,
.ec_capability_card p,
.ec_signal_story p,
.ec_contact .ec_section_heading p,
.ec_placeholder_banner p,
.ec_footer_copy {
  color: var(--ec_text_soft);
}

.ec_scroll_meter {
  width: 100%;
  height: 8px;
  margin: 1.4rem 0 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.ec_scroll_meter_bar {
  display: block;
  width: calc(var(--ec-scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, #ff847d 0%, #d83933 100%);
  border-radius: inherit;
  transition: width 0.14s linear;
}

.ec_section {
  position: relative;
  padding: 6rem 0;
}

.ec_intro {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ec_section_heading h2,
.ec_signal_story h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.ec_section_heading_split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.ec_section_note {
  max-width: 360px;
  margin: 0;
  line-height: 1.6;
}

.ec_data_panel {
  padding: 1.7rem;
}

.ec_capability_card {
  min-height: 100%;
  padding: 1.5rem;
  transform: translateY(0);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.ec_capability_card.is-active {
  border-color: rgba(216, 57, 51, 0.38);
  transform: translateY(-10px);
  background: rgba(17, 26, 42, 0.92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.ec_card_index {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--ec_signal_soft);
  color: #ff918d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ec_capability_card h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.ec_capability_card p {
  min-height: 9rem;
  line-height: 1.65;
}

.ec_card_media {
  margin-top: 1.35rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ec_card_media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ec_signal_story,
.ec_contact_card {
  padding: 2rem;
}

.ec_signal_story .ec_btn_primary {
  margin-top: 1rem;
}

.ec_placeholder_banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(216, 57, 51, 0.14), rgba(36, 61, 122, 0.28)),
    rgba(12, 18, 31, 0.78);
}

.ec_placeholder_size {
  color: #ffb7b4;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.ec_placeholder_banner strong {
  margin: 0.8rem 0;
  font-size: 1.6rem;
}

.ec_form_control {
  min-height: 54px;
  color: var(--ec_text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ec_form_control:focus {
  color: var(--ec_text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(216, 57, 51, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(216, 57, 51, 0.14);
}

textarea.ec_form_control {
  min-height: 180px;
  resize: vertical;
}

.ec_footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ec_footer_brand {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
}

.ec_footer_copy {
  margin: 0;
}

.ec_social_list {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.ec_social_list a {
  display: inline-flex;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--ec_text);
  background: rgba(255, 255, 255, 0.03);
}

.ec_reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .ec_reveal,
  .ec_capability_card,
  .ec_scroll_meter_bar {
    transition: none;
  }
}

@media (max-width: 991px) {
  .ec_navbar .nav-link,
  .ec_nav_cta {
    margin-left: 0;
  }

  .ec_nav_cta_wrap {
    margin-top: 1rem;
  }

  .ec_hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .ec_status_panel {
    margin-top: 1rem;
  }

  .ec_section_heading_split {
    display: block;
  }

  .ec_section_note {
    margin-top: 1rem;
    max-width: none;
  }

  .ec_capability_card p {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .ec_shell {
    width: min(100% - 24px, 1180px);
  }

  .ec_hero_title {
    max-width: 100%;
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .ec_hero_copy {
    font-size: 1.02rem;
  }

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

  .ec_btn_primary,
  .ec_btn_secondary,
  .ec_submit_button {
    text-align: center;
  }

  .ec_signal_story,
  .ec_contact_card,
  .ec_placeholder_banner {
    padding: 1.45rem;
  }

  .ec_social_list {
    justify-content: flex-start;
  }
}
