/**
 * Liquid glass bar — frosted blue-violet tint so hero/content reads clearly underneath
 * without visual clash (backdrop blur + soft gradient + specular edge).
 */
.site-header--glass {
  background:
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(226, 224, 255, 0.42) 42%,
      rgba(181, 175, 255, 0.38) 100%);
  background-color: rgba(244, 243, 255, 0.72);
  border-bottom: 1px solid rgba(96, 85, 242, 0.18);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.65),
    0 12px 40px -12px rgba(35, 26, 151, 0.18);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header--glass {
    background: var(--primary-100);
    border-bottom-color: rgba(96, 85, 242, 0.25);
    box-shadow: 0 8px 24px -10px rgba(35, 26, 151, 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header--glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(244, 243, 255, 0.96);
    border-bottom-color: rgba(96, 85, 242, 0.22);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
  }
}


/**
 * “Let’s Talk” — Figma Button 162:1454 (200×54, r30, fill #000517, stroke #231A97,
 * left accent 64.5×54 stroke #6055F2 + shadow −2px 0 6px rgb(17,190,240), label #231A97 18/Medium).
 * Hover: conic gradient border follows cursor (angle + origin).
 */
.site-header-talk {
  position: relative;
  height: 54px;
  width: min(200px, calc(100vw - 8rem));
  max-width: 200px;
  align-items: stretch;
  border-radius: 30px;
  border: 1px solid #231a97;
  cursor: pointer;
  isolation: isolate;
  padding: 0;
  margin: 0;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.2s ease;
}

.site-header-talk::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border-right: 0;
  box-shadow: -2px 0px 6px 0px #11BEF0;
  background: linear-gradient(90deg,
      rgba(96, 85, 242, 0.28) 0%,
      transparent 100%);
  pointer-events: none;
}

.site-header-talk__cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  transform: scale(0);
  border-radius: 50%;
  background-color: #6055f2;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.site-header-talk__cursor.active {
  transform: scale(1.1);
}

.site-header-talk:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(96, 85, 242, 0.35),
    0 0 28px rgba(17, 190, 240, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .site-header-talk:hover {
    border-color: #6055f2;
    background: #000517;
    background-clip: border-box;
    box-shadow: 0 0 0 1px #6055f2;
  }
}

/* Rolling character hover (reference: htmnl/script.js) */
.nav-menu-primary .nav-link-inner {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  line-height: 1.1;
}

.nav-menu-primary .char {
  position: relative;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-menu-primary .char::after {
  content: attr(data-char);
  position: absolute;
  top: 100%;
  left: 0;
  color: #2d68ff;
}

.nav-menu-primary a:hover .char {
  transform: translateY(-100%);
}

.nav-menu-primary:hover a:not(:hover) {
  opacity: 0.2;
  filter: blur(3px);
  transform: scale(0.95);
}

.nav-menu-primary a {
  transition:
    opacity 0.4s ease,
    filter 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu-primary a:hover {
  transform: translateX(1.875rem) scale(1.05);
}

/* “Say Hello,” outline — Figma stroke 2px #211F54 */
.say-hello-stroke {
  color: transparent;
  -webkit-text-stroke: 2px #211f54;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {

  .nav-menu-primary .char,
  .nav-menu-primary a {
    transition: none;
  }

  .nav-menu-primary a:hover .char {
    transform: none;
  }
}

@media (max-height: 550px) {
  
}