/* Hero refinement, scoped to the opening composition and its header.
   Local project webfonts: see fonts.css and the distributed OFL licenses. */
.header {
  height: 96px;
  border-bottom-color: rgba(255,255,255,.07);
}


.brand-slot {
  border-color: #5d6278;
  color: #c6cadd;
  background: rgba(8,13,34,.3);
}
/* Dark-background review variant derived from the recovered Brand Kit. */
.brand-approved {
  display: block;
  flex: 0 0 auto;
  width: 196px;
  height: 46px;
}
.brand-approved img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 700px) {
  .brand-approved { width: 158px; height: 38px; }
}
.header nav { gap: 32px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.header .nav-contact { border-color: #555b76; padding: 12px 19px; }
.hero {
  isolation: isolate;
  min-height: 680px;
  padding-top: 96px;
  background: #080d22;
}
.hero-content {
  padding-top: clamp(70px,9vh,108px);
  padding-bottom: 72px;
}
.hero .eyebrow { font-size: 12px; letter-spacing: .23em; color: #adb5d0; }
.hero .signal { width: 5px; height: 5px; box-shadow: 0 0 12px #8e6dff66; }
.hero h1 {
  font-family: "Mindiak Plex", sans-serif;
  font-size: clamp(44px,4.55vw,65px);
  font-weight: 500;
  font-stretch: normal;
  line-height: 1.13;
  letter-spacing: -.038em;
  margin-top: 30px;
  text-wrap: initial;
}
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 > span + span { margin-top: 4px; }
.hero h1 .accent { color: #a69ae8; }
.hero-subtitle {
  max-width: 590px;
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  color: #c8cde0;
  text-wrap: pretty;
}
.hero .actions { gap: 32px; margin-top: 32px; }
.hero .primary {
  min-height: 56px;
  padding: 18px 23px;
  background: #7560dc;
  border: 1px solid #a99ae847;
  box-shadow: 0 5px 28px #080d2240, inset 0 1px 0 #ffffff12;
  font-weight: 500;
  gap: 32px;
}
.hero .primary:hover { background: #6b55cd; transform: translateY(-2px); }
.hero .text-link { border-bottom-color: #636881; font-size: 13px; }
.hero-bottom {
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 12px;
  color: #a2aac5;
  letter-spacing: .05em;
  align-items: center;
}
.hero-bottom:before { background: rgba(255,255,255,.12); }
.hero-bottom > span { font-variant-numeric: tabular-nums; letter-spacing: .15em; }
.hero-bottom a { align-items: center; gap: 18px; }
.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #727a964d;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.wave {
  z-index: -1;
  opacity: .95;
  background: radial-gradient(ellipse at 90% 49%,#4a327931,transparent 43%),
              radial-gradient(ellipse at 70% 90%,#25479d1c,transparent 36%);
  mask-image: linear-gradient(90deg,transparent 28%,#000 67%);
}
.wave svg { width: 100%; height: 100%; inset: 0; }
@media (min-width: 1600px) {
  .header { padding-inline: max(var(--gutter),calc((100vw - 1440px)/2 + var(--gutter))); }
}
@media (min-width: 1024px) and (min-height: 800px) {
  .hero { min-height: min(860px,calc(100svh - 56px)); }
  .hero-content { padding-top: clamp(90px,12vh,130px); }
}
@media (max-width: 1023px) {
  .hero { min-height: 740px; }
  .hero h1 { font-size: clamp(42px,5.6vw,56px); max-width: 800px; }
  .hero h1 > span { white-space: normal; }
  .hero-content { padding-top: 74px; padding-bottom: 60px; }
  .hero-subtitle { max-width: 480px; font-size: 16px; }
  .wave { mask-image: linear-gradient(90deg,transparent 20%,#000 85%); opacity: .7; }
  .wave svg { width: 145%; left: -20%; }
  .header nav { gap: 20px; }
}
@media (max-width: 700px) {
  .header { height: 86px; }
  .header nav { top: 85px; gap: 6px; }
  .header nav { font-size: 16px; }
  .menu-toggle { font-size: 14px; }
  .hero { padding-top: 86px; min-height: 0; }
  .hero-content { padding-top: 62px; padding-bottom: 52px; }
  .hero h1 { font-size: clamp(36px,8.6vw,48px); line-height: 1.13; margin-top: 27px; letter-spacing: -.035em; }
  .hero h1 > span + span { margin-top: 8px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .2em; }
  .hero-subtitle { font-size: 15px; margin-top: 28px; max-width: 360px; }
  .hero .actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 28px; }
  .hero .primary { min-height: 54px; padding: 16px 20px; gap: 32px; }
  .hero-bottom { font-size: 12px; padding-top: 16px; padding-bottom: 20px; flex-wrap: wrap; }
  .hero-bottom > span { max-width: none; flex-shrink: 0; }
  .hero-bottom a { gap: 12px; text-align: right; }
  .scroll-arrow { width: 28px; height: 28px; flex-shrink: 0; }
  .wave { opacity: .55; mask-image: linear-gradient(90deg,transparent 22%,#000); }
  .wave svg { width: 220%; height: 90%; left: -90%; top: 12%; }
}


@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
}

