@layer components {
  .site-top {
    position: sticky;
    top: 0;
    z-index: 999;
    background: hsl(258 42% 7% / 0.96);
    border-bottom: 1px solid hsl(255 28% 94% / 0.08);
  }

  .site-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
  }

  .wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
    color: var(--on-dark);
  }

  .wordmark:hover {
    text-decoration: none;
  }

  .wordmark-glyph {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), var(--brand));
  }

  .top-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 1px solid hsl(255 28% 94% / 0.25);
    border-radius: var(--r-sm);
    cursor: pointer;
  }

  .mobile-toggle span {
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: var(--on-dark);
  }

  .nav-sheet {
    position: fixed;
    inset: 0;
    z-index: 998;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--bg);
    color: var(--on-dark);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav-sheet[data-open="true"] {
    transform: translateX(0);
  }

  .nav-sheet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
  }

  .nav-sheet-close {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid hsl(255 28% 94% / 0.25);
    border-radius: var(--r-sm);
    color: var(--on-dark);
    font-size: 1.4rem;
    cursor: pointer;
  }

  .nav-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .nav-link {
    display: block;
    padding: 0.7rem 0;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    font-size: 1.45rem;
    color: var(--on-dark);
    border-bottom: 1px solid hsl(255 28% 94% / 0.08);
  }

  .nav-link:hover {
    color: var(--accent);
    text-decoration: none;
  }

  .nav-sheet-cta {
    margin-top: auto;
  }

  body[data-lock="true"] {
    overflow: hidden;
  }

  @media (min-width: 900px) {
    .mobile-toggle {
      display: none;
    }

    .nav-sheet {
      position: static;
      transform: none;
      flex-direction: row;
      align-items: center;
      padding: 0;
      background: transparent;
    }

    .nav-sheet-bar,
    .nav-sheet-cta {
      display: none;
    }

    .nav-list {
      flex-direction: row;
      align-items: center;
      gap: 1.5rem;
      margin: 0;
    }

    .nav-link {
      font-family: "DM Sans", sans-serif;
      font-weight: 400;
      font-size: 0.98rem;
      color: var(--on-dark-soft);
      padding: 0.4rem 0;
      border-bottom: 0;
    }

    .nav-link:hover,
    .nav-link[aria-current="page"] {
      color: var(--on-dark);
    }

    .nav-link[aria-current="page"] {
      box-shadow: inset 0 -2px 0 var(--accent);
    }

    .top-cta {
      display: inline-flex;
    }
  }
}
